Use dentry_path() to create full path to inode object
[pohmelfs.git] / include / linux / tc_act / tc_pedit.h
blob716cfabcd5b2fa6064588b118b7721f29477bf30
1 #ifndef __LINUX_TC_PED_H
2 #define __LINUX_TC_PED_H
4 #include <linux/types.h>
5 #include <linux/pkt_cls.h>
7 #define TCA_ACT_PEDIT 7
9 enum {
10 TCA_PEDIT_UNSPEC,
11 TCA_PEDIT_TM,
12 TCA_PEDIT_PARMS,
13 __TCA_PEDIT_MAX
15 #define TCA_PEDIT_MAX (__TCA_PEDIT_MAX - 1)
17 struct tc_pedit_key {
18 __u32 mask; /* AND */
19 __u32 val; /*XOR */
20 __u32 off; /*offset */
21 __u32 at;
22 __u32 offmask;
23 __u32 shift;
26 struct tc_pedit_sel {
27 tc_gen;
28 unsigned char nkeys;
29 unsigned char flags;
30 struct tc_pedit_key keys[0];
32 #define tc_pedit tc_pedit_sel
34 #endif