Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
tc_gact.h
Go to the documentation of this file.
1 #ifndef __LINUX_TC_GACT_H
2 #define __LINUX_TC_GACT_H
3 
4 #include <linux/types.h>
5 #include <linux/pkt_cls.h>
6 
7 #define TCA_ACT_GACT 5
8 struct tc_gact {
10 
11 };
12 
13 struct tc_gact_p {
14 #define PGACT_NONE 0
15 #define PGACT_NETRAND 1
16 #define PGACT_DETERM 2
17 #define MAX_RAND (PGACT_DETERM + 1 )
20  int paction;
21 };
22 
23 enum {
29 };
30 #define TCA_GACT_MAX (__TCA_GACT_MAX - 1)
31 
32 #endif