Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
sch_sfb.c File Reference
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/skbuff.h>
#include <linux/random.h>
#include <linux/jhash.h>
#include <net/ip.h>
#include <net/pkt_sched.h>
#include <net/inet_ecn.h>
#include <net/flow_keys.h>

Go to the source code of this file.

Data Structures

struct  sfb_bucket
 
struct  sfb_bins
 
struct  sfb_sched_data
 
struct  sfb_skb_cb
 

Macros

#define SFB_BUCKET_SHIFT   4
 
#define SFB_NUMBUCKETS   (1 << SFB_BUCKET_SHIFT) /* N bins per Level */
 
#define SFB_BUCKET_MASK   (SFB_NUMBUCKETS - 1)
 
#define SFB_LEVELS   (32 / SFB_BUCKET_SHIFT) /* L */
 

Macro Definition Documentation

#define SFB_BUCKET_MASK   (SFB_NUMBUCKETS - 1)

Definition at line 39 of file sch_sfb.c.

#define SFB_BUCKET_SHIFT   4

Definition at line 37 of file sch_sfb.c.

#define SFB_LEVELS   (32 / SFB_BUCKET_SHIFT) /* L */

Definition at line 40 of file sch_sfb.c.

#define SFB_NUMBUCKETS   (1 << SFB_BUCKET_SHIFT) /* N bins per Level */

Definition at line 38 of file sch_sfb.c.