#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/jiffies.h>
#include <linux/string.h>
#include <linux/in.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/skbuff.h>
#include <linux/jhash.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include <net/netlink.h>
#include <net/pkt_sched.h>
#include <net/flow_keys.h>
#include <net/red.h>
Go to the source code of this file.
#define SFQ_ALLOT_SHIFT 3 |
#define SFQ_DEFAULT_FLOWS 128 |
#define SFQ_DEFAULT_HASH_DIVISOR 1024 |
#define SFQ_EMPTY_SLOT 0xffff |
#define SFQ_MAX_FLOWS (0x10000 - SFQ_MAX_DEPTH - 1) /* max number of flows */ |
#define sfq_unlink |
( |
|
q, |
|
|
|
x, |
|
|
|
n, |
|
|
|
p |
|
) |
| |
Value:n =
q->slots[
x].dep.next; \
p =
q->slots[
x].dep.prev; \
sfq_dep_head(
q,
p)->next =
n; \
sfq_dep_head(
q,
n)->prev =
p
Definition at line 239 of file sch_sfq.c.
#define slot_queue_walk |
( |
|
slot, |
|
|
|
skb |
|
) |
| |