mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 11:20:49 +07:00
headers, xtables: Add missing #include <linux/netfilter.h>
Various headers use union nf_inet_addr, defined in <linux/netfilter.h>. Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Acked-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
598aaff2ee
commit
5740bb5693
@ -2,6 +2,7 @@
|
|||||||
#define _XT_CONNLIMIT_H
|
#define _XT_CONNLIMIT_H
|
||||||
|
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
|
#include <linux/netfilter.h>
|
||||||
|
|
||||||
struct xt_connlimit_data;
|
struct xt_connlimit_data;
|
||||||
|
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
#define _XT_CONNTRACK_H
|
#define _XT_CONNTRACK_H
|
||||||
|
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
|
#include <linux/netfilter.h>
|
||||||
#include <linux/netfilter/nf_conntrack_tuple_common.h>
|
#include <linux/netfilter/nf_conntrack_tuple_common.h>
|
||||||
|
|
||||||
#define XT_CONNTRACK_STATE_BIT(ctinfo) (1 << ((ctinfo)%IP_CT_IS_REPLY+1))
|
#define XT_CONNTRACK_STATE_BIT(ctinfo) (1 << ((ctinfo)%IP_CT_IS_REPLY+1))
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
#define _LINUX_NETFILTER_XT_IPRANGE_H 1
|
#define _LINUX_NETFILTER_XT_IPRANGE_H 1
|
||||||
|
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
|
#include <linux/netfilter.h>
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
IPRANGE_SRC = 1 << 0, /* match source IP address */
|
IPRANGE_SRC = 1 << 0, /* match source IP address */
|
||||||
|
Loading…
Reference in New Issue
Block a user