Merge branch 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm
[sfrench/cifs-2.6.git] / include / net / tc_act / tc_pedit.h
1 #ifndef __NET_TC_PED_H
2 #define __NET_TC_PED_H
3
4 #include <net/act_api.h>
5
6 struct tcf_pedit_key_ex {
7         enum pedit_header_type htype;
8         enum pedit_cmd cmd;
9 };
10
11 struct tcf_pedit {
12         struct tc_action        common;
13         unsigned char           tcfp_nkeys;
14         unsigned char           tcfp_flags;
15         struct tc_pedit_key     *tcfp_keys;
16         struct tcf_pedit_key_ex *tcfp_keys_ex;
17 };
18 #define to_pedit(a) ((struct tcf_pedit *)a)
19
20 #endif /* __NET_TC_PED_H */