linux/net/sched/sch_fifo.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * net/sched/sch_fifo.c	The simplest FIFO queue.
 *
 * Authors:	Alexey Kuznetsov, <[email protected]>
 */

#include <linux/module.h>
#include <linux/slab.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/skbuff.h>
#include <net/pkt_sched.h>
#include <net/pkt_cls.h>

/* 1 band FIFO pseudo-"scheduler" */

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

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

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

static void fifo_offload_init(struct Qdisc *sch)
{}

static void fifo_offload_destroy(struct Qdisc *sch)
{}

static int fifo_offload_dump(struct Qdisc *sch)
{}

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

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

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

static void fifo_destroy(struct Qdisc *sch)
{}

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

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

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

struct Qdisc_ops pfifo_qdisc_ops __read_mostly =;
EXPORT_SYMBOL();

struct Qdisc_ops bfifo_qdisc_ops __read_mostly =;
EXPORT_SYMBOL();

struct Qdisc_ops pfifo_head_drop_qdisc_ops __read_mostly =;

/* Pass size change message down to embedded FIFO */
int fifo_set_limit(struct Qdisc *q, unsigned int limit)
{}
EXPORT_SYMBOL();

struct Qdisc *fifo_create_dflt(struct Qdisc *sch, struct Qdisc_ops *ops,
			       unsigned int limit,
			       struct netlink_ext_ack *extack)
{}
EXPORT_SYMBOL();
MODULE_DESCRIPTION();