mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 00:10:09 +00:00
018a7bf1e5
It seems that all of the include/netfilter_{ipv4,ipv6}/{ipt,ip6t}_*.h which share constants include the corresponding include/netfilter/xp_*.h files. Neither ipt_policy.h not ip6t_policy.h do. Make these consistant with the norm. Signed-off-by: Andy Whitcroft <apw@canonical.com> Signed-off-by: Patrick McHardy <kaber@trash.net>
23 lines
693 B
C
23 lines
693 B
C
#ifndef _IPT_POLICY_H
|
|
#define _IPT_POLICY_H
|
|
|
|
#include <linux/netfilter/xt_policy.h>
|
|
|
|
#define IPT_POLICY_MAX_ELEM XT_POLICY_MAX_ELEM
|
|
|
|
/* ipt_policy_flags */
|
|
#define IPT_POLICY_MATCH_IN XT_POLICY_MATCH_IN
|
|
#define IPT_POLICY_MATCH_OUT XT_POLICY_MATCH_OUT
|
|
#define IPT_POLICY_MATCH_NONE XT_POLICY_MATCH_NONE
|
|
#define IPT_POLICY_MATCH_STRICT XT_POLICY_MATCH_STRICT
|
|
|
|
/* ipt_policy_modes */
|
|
#define IPT_POLICY_MODE_TRANSPORT XT_POLICY_MODE_TRANSPORT
|
|
#define IPT_POLICY_MODE_TUNNEL XT_POLICY_MODE_TUNNEL
|
|
|
|
#define ipt_policy_spec xt_policy_spec
|
|
#define ipt_policy_addr xt_policy_addr
|
|
#define ipt_policy_elem xt_policy_elem
|
|
#define ipt_policy_info xt_policy_info
|
|
|
|
#endif /* _IPT_POLICY_H */
|