fb: remove fb_save_state() and fb_restore_state operations
[safe/jmp/linux-2.6] / include / linux / tc_act / tc_pedit.h
1 #ifndef __LINUX_TC_PED_H
2 #define __LINUX_TC_PED_H
3
4 #include <linux/types.h>
5 #include <linux/pkt_cls.h>
6
7 #define TCA_ACT_PEDIT 7
8
9 enum
10 {
11         TCA_PEDIT_UNSPEC,
12         TCA_PEDIT_TM,
13         TCA_PEDIT_PARMS,
14         __TCA_PEDIT_MAX
15 };
16 #define TCA_PEDIT_MAX (__TCA_PEDIT_MAX - 1)
17                                                                                 
18 struct tc_pedit_key
19 {
20         __u32           mask;  /* AND */
21         __u32           val;   /*XOR */
22         __u32           off;  /*offset */
23         __u32           at;
24         __u32           offmask;
25         __u32           shift;
26 };
27                                                                                 
28 struct tc_pedit_sel
29 {
30         tc_gen;
31         unsigned char           nkeys;
32         unsigned char           flags;
33         struct tc_pedit_key     keys[0];
34 };
35 #define tc_pedit tc_pedit_sel
36
37 #endif