aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/netfilter/ipset
diff options
context:
space:
mode:
authorJeremy Sowden <jeremy@azazel.net>2019-08-07 15:16:59 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2019-08-13 12:14:39 +0200
commita1b2f04ea527397fcacacd09e0d690927feef429 (patch)
tree9cc5a7d115782ffc262f5811fc25989475464fd5 /include/linux/netfilter/ipset
parentnetfilter: inline four headers files into another one. (diff)
downloadwireguard-linux-a1b2f04ea527397fcacacd09e0d690927feef429.tar.xz
wireguard-linux-a1b2f04ea527397fcacacd09e0d690927feef429.zip
netfilter: add missing includes to a number of header-files.
A number of netfilter header-files used declarations and definitions from other headers without including them. Added include directives to make those declarations and definitions available. Signed-off-by: Jeremy Sowden <jeremy@azazel.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/linux/netfilter/ipset')
-rw-r--r--include/linux/netfilter/ipset/ip_set_getport.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/netfilter/ipset/ip_set_getport.h b/include/linux/netfilter/ipset/ip_set_getport.h
index ac6a11d38a19..a906df06948b 100644
--- a/include/linux/netfilter/ipset/ip_set_getport.h
+++ b/include/linux/netfilter/ipset/ip_set_getport.h
@@ -2,6 +2,10 @@
#ifndef _IP_SET_GETPORT_H
#define _IP_SET_GETPORT_H
+#include <linux/skbuff.h>
+#include <linux/types.h>
+#include <uapi/linux/in.h>
+
extern bool ip_set_get_ip4_port(const struct sk_buff *skb, bool src,
__be16 *port, u8 *proto);