linux/net/sched/sch_etf.c

// SPDX-License-Identifier: GPL-2.0

/* net/sched/sch_etf.c  Earliest TxTime First queueing discipline.
 *
 * Authors:	Jesus Sanchez-Palencia <[email protected]>
 *		Vinicius Costa Gomes <[email protected]>
 */

#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/errqueue.h>
#include <linux/rbtree.h>
#include <linux/skbuff.h>
#include <linux/posix-timers.h>
#include <net/netlink.h>
#include <net/sch_generic.h>
#include <net/pkt_sched.h>
#include <net/sock.h>

#define DEADLINE_MODE_IS_ON(x)
#define OFFLOAD_IS_ON(x)
#define SKIP_SOCK_CHECK_IS_SET(x)

struct etf_sched_data {};

static const struct nla_policy etf_policy[TCA_ETF_MAX + 1] =;

static inline int validate_input_params(struct tc_etf_qopt *qopt,
					struct netlink_ext_ack *extack)
{}

static bool is_packet_valid(struct Qdisc *sch, struct sk_buff *nskb)
{}

static struct sk_buff *etf_peek_timesortedlist(struct Qdisc *sch)
{}

static void reset_watchdog(struct Qdisc *sch)
{}

static void report_sock_error(struct sk_buff *skb, u32 err, u8 code)
{}

static int etf_enqueue_timesortedlist(struct sk_buff *nskb, struct Qdisc *sch,
				      struct sk_buff **to_free)
{}

static void timesortedlist_drop(struct Qdisc *sch, struct sk_buff *skb,
				ktime_t now)
{}

static void timesortedlist_remove(struct Qdisc *sch, struct sk_buff *skb)
{}

static struct sk_buff *etf_dequeue_timesortedlist(struct Qdisc *sch)
{}

static void etf_disable_offload(struct net_device *dev,
				struct etf_sched_data *q)
{}

static int etf_enable_offload(struct net_device *dev, struct etf_sched_data *q,
			      struct netlink_ext_ack *extack)
{}

static int etf_init(struct Qdisc *sch, struct nlattr *opt,
		    struct netlink_ext_ack *extack)
{}

static void timesortedlist_clear(struct Qdisc *sch)
{}

static void etf_reset(struct Qdisc *sch)
{}

static void etf_destroy(struct Qdisc *sch)
{}

static int etf_dump(struct Qdisc *sch, struct sk_buff *skb)
{}

static struct Qdisc_ops etf_qdisc_ops __read_mostly =;
MODULE_ALIAS_NET_SCH();

static int __init etf_module_init(void)
{}

static void __exit etf_module_exit(void)
{}
module_init()
module_exit()
MODULE_LICENSE();
MODULE_DESCRIPTION();