Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
cls_flow.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/list.h>
#include <linux/jhash.h>
#include <linux/random.h>
#include <linux/pkt_cls.h>
#include <linux/skbuff.h>
#include <linux/in.h>
#include <linux/ip.h>
#include <linux/ipv6.h>
#include <linux/if_vlan.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <net/pkt_cls.h>
#include <net/ip.h>
#include <net/route.h>
#include <net/flow_keys.h>

Go to the source code of this file.

Data Structures

struct  flow_head
 
struct  flow_filter
 

Macros

#define CTTUPLE(skb, member)
 
#define FLOW_KEYS_NEEDED
 

Functions

 module_init (cls_flow_init)
 
 module_exit (cls_flow_exit)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Patrick McHardy <[email protected]>")
 
 MODULE_DESCRIPTION ("TC flow classifier")
 

Macro Definition Documentation

#define CTTUPLE (   skb,
  member 
)
Value:
({ \
goto fallback; \
0; \
})

Definition at line 140 of file cls_flow.c.

#define FLOW_KEYS_NEEDED
Value:
((1 << FLOW_KEY_SRC) | \
(1 << FLOW_KEY_DST) | \
(1 << FLOW_KEY_PROTO) | \
(1 << FLOW_KEY_PROTO_SRC) | \
(1 << FLOW_KEY_PROTO_DST) | \
(1 << FLOW_KEY_NFCT_SRC) | \
(1 << FLOW_KEY_NFCT_DST) | \

Definition at line 271 of file cls_flow.c.

Function Documentation

MODULE_AUTHOR ( "Patrick McHardy <[email protected]>"  )
MODULE_DESCRIPTION ( "TC flow classifier"  )
module_exit ( cls_flow_exit  )
module_init ( cls_flow_init  )
MODULE_LICENSE ( "GPL"  )