diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2011-06-09 21:15:37 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2011-12-27 20:31:38 +0100 |
commit | a4c6f9d3636db538025f9622c008192a0835cc23 (patch) | |
tree | 725c79a8d16b5c57bb5dadb0e83bd09ce985a0b5 /include/linux/netfilter_ipv4 | |
parent | d446a8202c81d95f91b1682fc67e7fadd9a31389 (diff) | |
download | linux-a4c6f9d3636db538025f9622c008192a0835cc23.tar.gz linux-a4c6f9d3636db538025f9622c008192a0835cc23.tar.bz2 linux-a4c6f9d3636db538025f9622c008192a0835cc23.zip |
netfilter: xtables: give xt_ecn its own name
Use the new macro and struct names in xt_ecn.h, and put the old
definitions into a definition-forwarding ipt_ecn.h.
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/linux/netfilter_ipv4')
-rw-r--r-- | include/linux/netfilter_ipv4/ipt_ecn.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/include/linux/netfilter_ipv4/ipt_ecn.h b/include/linux/netfilter_ipv4/ipt_ecn.h index b1124ec76190..0e0c063dbf60 100644 --- a/include/linux/netfilter_ipv4/ipt_ecn.h +++ b/include/linux/netfilter_ipv4/ipt_ecn.h @@ -2,5 +2,14 @@ #define _IPT_ECN_H #include <linux/netfilter/xt_ecn.h> +#define ipt_ecn_info xt_ecn_info -#endif /* _IPT_ECN_H */ +enum { + IPT_ECN_IP_MASK = XT_ECN_IP_MASK, + IPT_ECN_OP_MATCH_IP = XT_ECN_OP_MATCH_IP, + IPT_ECN_OP_MATCH_ECE = XT_ECN_OP_MATCH_ECE, + IPT_ECN_OP_MATCH_CWR = XT_ECN_OP_MATCH_CWR, + IPT_ECN_OP_MATCH_MASK = XT_ECN_OP_MATCH_MASK, +}; + +#endif /* IPT_ECN_H */ |