Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net...
[deliverable/linux.git] / include / uapi / linux / tc_act / tc_gact.h
CommitLineData
1da177e4
LT
1#ifndef __LINUX_TC_GACT_H
2#define __LINUX_TC_GACT_H
3
2d594c0c 4#include <linux/types.h>
1da177e4
LT
5#include <linux/pkt_cls.h>
6
7#define TCA_ACT_GACT 5
d94d9fee 8struct tc_gact {
1da177e4
LT
9 tc_gen;
10
11};
12
d94d9fee 13struct tc_gact_p {
1da177e4
LT
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
d94d9fee 23enum {
1da177e4
LT
24 TCA_GACT_UNSPEC,
25 TCA_GACT_TM,
26 TCA_GACT_PARMS,
27 TCA_GACT_PROB,
9854518e 28 TCA_GACT_PAD,
1da177e4
LT
29 __TCA_GACT_MAX
30};
31#define TCA_GACT_MAX (__TCA_GACT_MAX - 1)
32
33#endif
This page took 1.317875 seconds and 5 git commands to generate.