Skip to content

Commit

Permalink
headers, xtables: Add missing #include <linux/netfilter.h>
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ben Hutchings authored and David S. Miller committed Aug 26, 2011
1 parent 598aaff commit 5740bb5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/netfilter/xt_connlimit.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#define _XT_CONNLIMIT_H

#include <linux/types.h>
#include <linux/netfilter.h>

struct xt_connlimit_data;

Expand Down
1 change: 1 addition & 0 deletions include/linux/netfilter/xt_conntrack.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#define _XT_CONNTRACK_H

#include <linux/types.h>
#include <linux/netfilter.h>
#include <linux/netfilter/nf_conntrack_tuple_common.h>

#define XT_CONNTRACK_STATE_BIT(ctinfo) (1 << ((ctinfo)%IP_CT_IS_REPLY+1))
Expand Down
1 change: 1 addition & 0 deletions include/linux/netfilter/xt_iprange.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#define _LINUX_NETFILTER_XT_IPRANGE_H 1

#include <linux/types.h>
#include <linux/netfilter.h>

enum {
IPRANGE_SRC = 1 << 0, /* match source IP address */
Expand Down

0 comments on commit 5740bb5

Please sign in to comment.