repo.or.cz
/
mmotm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fed up with those stupid warnings
[mmotm.git]
/
include
/
linux
/
tc_act
/
tc_gact.h
blob
e895c0a396291a64e3010a4f30824bdfab20ceb7
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
9
{
10
tc_gen
;
11
12
};
13
14
struct
tc_gact_p
15
{
16
#define PGACT_NONE 0
17
#define PGACT_NETRAND 1
18
#define PGACT_DETERM 2
19
#define MAX_RAND (PGACT_DETERM + 1 )
20
__u16 ptype
;
21
__u16 pval
;
22
int
paction
;
23
};
24
25
enum
26
{
27
TCA_GACT_UNSPEC
,
28
TCA_GACT_TM
,
29
TCA_GACT_PARMS
,
30
TCA_GACT_PROB
,
31
__TCA_GACT_MAX
32
};
33
#define TCA_GACT_MAX (__TCA_GACT_MAX - 1)
34
35
#endif