aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/net/secure_seq.h
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2022-07-20 16:57:58 -0700
committerDavid S. Miller <davem@davemloft.net>2022-07-22 12:53:22 +0100
commit949d6b405e6160ae44baea39192d67b39cb7eeac (patch)
treeae84afaae8ee6a3d1ea2543b46655493fb1eca19 /include/net/secure_seq.h
parentMerge branch 'sfc-E100-VF-respresenters' (diff)
downloadwireguard-linux-949d6b405e6160ae44baea39192d67b39cb7eeac.tar.xz
wireguard-linux-949d6b405e6160ae44baea39192d67b39cb7eeac.zip
net: add missing includes and forward declarations under net/
This patch adds missing includes to headers under include/net. All these problems are currently masked by the existing users including the missing dependency before the broken header. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/secure_seq.h')
-rw-r--r--include/net/secure_seq.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/secure_seq.h b/include/net/secure_seq.h
index dac91aa38c5a..21e7fa2a1813 100644
--- a/include/net/secure_seq.h
+++ b/include/net/secure_seq.h
@@ -4,6 +4,8 @@
#include <linux/types.h>
+struct net;
+
u64 secure_ipv4_port_ephemeral(__be32 saddr, __be32 daddr, __be16 dport);
u64 secure_ipv6_port_ephemeral(const __be32 *saddr, const __be32 *daddr,
__be16 dport);