repo.or.cz
/
pohmelfs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Linux v2.6.15-rc6
[pohmelfs.git]
/
include
/
linux
/
tc_act
/
tc_gact.h
blob
23a03eb630db07996c69d2b12b0c09d7eac45171
1
#ifndef __LINUX_TC_GACT_H
2
#define __LINUX_TC_GACT_H
3
4
#include <linux/pkt_cls.h>
5
6
#define TCA_ACT_GACT 5
7
struct
tc_gact
8
{
9
tc_gen
;
10
11
};
12
13
struct
tc_gact_p
14
{
15
#define PGACT_NONE 0
16
#define PGACT_NETRAND 1
17
#define PGACT_DETERM 2
18
#define MAX_RAND (PGACT_DETERM + 1 )
19
__u16 ptype
;
20
__u16 pval
;
21
int
paction
;
22
};
23
24
enum
25
{
26
TCA_GACT_UNSPEC
,
27
TCA_GACT_TM
,
28
TCA_GACT_PARMS
,
29
TCA_GACT_PROB
,
30
__TCA_GACT_MAX
31
};
32
#define TCA_GACT_MAX (__TCA_GACT_MAX - 1)
33
34
#endif