diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netfilter/xt_MARK.h | 21 | ||||
-rw-r--r-- | include/linux/netfilter_ipv4/ipt_MARK.h | 19 | ||||
-rw-r--r-- | include/linux/netfilter_ipv6/ip6t_MARK.h | 8 |
3 files changed, 21 insertions, 27 deletions
diff --git a/include/linux/netfilter/xt_MARK.h b/include/linux/netfilter/xt_MARK.h new file mode 100644 index 00000000..b021e93e --- /dev/null +++ b/include/linux/netfilter/xt_MARK.h @@ -0,0 +1,21 @@ +#ifndef _XT_MARK_H_target +#define _XT_MARK_H_target + +/* Version 0 */ +struct xt_mark_target_info { + unsigned long mark; +}; + +/* Version 1 */ +enum { + XT_MARK_SET=0, + XT_MARK_AND, + XT_MARK_OR, +}; + +struct xt_mark_target_info_v1 { + unsigned long mark; + u_int8_t mode; +}; + +#endif /*_XT_MARK_H_target */ diff --git a/include/linux/netfilter_ipv4/ipt_MARK.h b/include/linux/netfilter_ipv4/ipt_MARK.h deleted file mode 100644 index 1b6502fb..00000000 --- a/include/linux/netfilter_ipv4/ipt_MARK.h +++ /dev/null @@ -1,19 +0,0 @@ -#ifndef _IPT_MARK_H_target -#define _IPT_MARK_H_target - -struct ipt_mark_target_info { - unsigned long mark; -}; - -enum { - IPT_MARK_SET=0, - IPT_MARK_AND, - IPT_MARK_OR -}; - -struct ipt_mark_target_info_v1 { - unsigned long mark; - u_int8_t mode; -}; - -#endif /*_IPT_MARK_H_target*/ diff --git a/include/linux/netfilter_ipv6/ip6t_MARK.h b/include/linux/netfilter_ipv6/ip6t_MARK.h deleted file mode 100644 index 7ade8d8f..00000000 --- a/include/linux/netfilter_ipv6/ip6t_MARK.h +++ /dev/null @@ -1,8 +0,0 @@ -#ifndef _IP6T_MARK_H_target -#define _IP6T_MARK_H_target - -struct ip6t_mark_target_info { - unsigned long mark; -}; - -#endif /*_IPT_MARK_H_target*/ |