Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
sch_hfsc.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/compiler.h>
#include <linux/spinlock.h>
#include <linux/skbuff.h>
#include <linux/string.h>
#include <linux/slab.h>
#include <linux/list.h>
#include <linux/rbtree.h>
#include <linux/init.h>
#include <linux/rtnetlink.h>
#include <linux/pkt_sched.h>
#include <net/netlink.h>
#include <net/pkt_sched.h>
#include <net/pkt_cls.h>
#include <asm/div64.h>

Go to the source code of this file.

Data Structures

struct  internal_sc
 
struct  runtime_sc
 
struct  hfsc_class
 
struct  hfsc_sched
 

Macros

#define HT_INFINITY   0xffffffffffffffffULL /* infinite time value */
 
#define SM_SHIFT   (30 - PSCHED_SHIFT)
 
#define ISM_SHIFT   (8 + PSCHED_SHIFT)
 
#define SM_MASK   ((1ULL << SM_SHIFT) - 1)
 
#define ISM_MASK   ((1ULL << ISM_SHIFT) - 1)
 

Enumerations

enum  hfsc_class_flags { HFSC_RSC = 0x1, HFSC_FSC = 0x2, HFSC_USC = 0x4 }
 

Functions

 MODULE_LICENSE ("GPL")
 
 module_init (hfsc_init)
 
 module_exit (hfsc_cleanup)
 

Macro Definition Documentation

#define HT_INFINITY   0xffffffffffffffffULL /* infinite time value */

Definition at line 185 of file sch_hfsc.c.

#define ISM_MASK   ((1ULL << ISM_SHIFT) - 1)

Definition at line 388 of file sch_hfsc.c.

#define ISM_SHIFT   (8 + PSCHED_SHIFT)

Definition at line 385 of file sch_hfsc.c.

#define SM_MASK   ((1ULL << SM_SHIFT) - 1)

Definition at line 387 of file sch_hfsc.c.

#define SM_SHIFT   (30 - PSCHED_SHIFT)

Definition at line 384 of file sch_hfsc.c.

Enumeration Type Documentation

Enumerator:
HFSC_RSC 
HFSC_FSC 
HFSC_USC 

Definition at line 105 of file sch_hfsc.c.

Function Documentation

module_exit ( hfsc_cleanup  )
module_init ( hfsc_init  )
MODULE_LICENSE ( "GPL"  )