Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
act_police.c File Reference
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/skbuff.h>
#include <linux/rtnetlink.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <net/act_api.h>
#include <net/netlink.h>

Go to the source code of this file.

Data Structures

struct  tc_police_compat
 

Macros

#define L2T(p, L)   qdisc_l2t((p)->tcfp_R_tab, L)
 
#define L2T_P(p, L)   qdisc_l2t((p)->tcfp_P_tab, L)
 
#define POL_TAB_MASK   15
 

Functions

 MODULE_AUTHOR ("Alexey Kuznetsov")
 
 MODULE_DESCRIPTION ("Policing actions")
 
 MODULE_LICENSE ("GPL")
 
 module_init (police_init_module)
 
 module_exit (police_cleanup_module)
 

Macro Definition Documentation

#define L2T (   p,
  L 
)    qdisc_l2t((p)->tcfp_R_tab, L)

Definition at line 25 of file act_police.c.

#define L2T_P (   p,
  L 
)    qdisc_l2t((p)->tcfp_P_tab, L)

Definition at line 26 of file act_police.c.

#define POL_TAB_MASK   15

Definition at line 28 of file act_police.c.

Function Documentation

MODULE_AUTHOR ( "Alexey Kuznetsov"  )
MODULE_DESCRIPTION ( "Policing actions )
module_exit ( police_cleanup_module  )
module_init ( police_init_module  )
MODULE_LICENSE ( "GPL"  )