tc_gact.h
01: #ifndef __LINUX_TC_GACT_H
02: #define __LINUX_TC_GACT_H
03:
04: #include <linux/types.h>
05: #include <linux/pkt_cls.h>
06:
07: #define TCA_ACT_GACT 5
08: struct tc_gact {
09: tc_gen;
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 )
18: __u16 ptype;
19: __u16 pval;
20: int paction;
21: };
22:
23: enum {
24: TCA_GACT_UNSPEC,
25: TCA_GACT_TM,
26: TCA_GACT_PARMS,
27: TCA_GACT_PROB,
28: __TCA_GACT_MAX
29: };
30: #define TCA_GACT_MAX (__TCA_GACT_MAX - 1)
31:
32: #endif
33:
© Andrew Scott 2006 -
2025,
All Rights Reserved