linux/net/sched/sch_blackhole.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * net/sched/sch_blackhole.c	Black hole queue
 *
 * Authors:	Thomas Graf <[email protected]>
 *
 * Note: Quantum tunneling is not supported.
 */

#include <linux/init.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/skbuff.h>
#include <net/pkt_sched.h>

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

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

static struct Qdisc_ops blackhole_qdisc_ops __read_mostly =;

static int __init blackhole_init(void)
{}
device_initcall()