summaryrefslogtreecommitdiffstats
path: root/include/net/secure_seq.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2017-06-07 19:34:39 +0200
committerDavid S. Miller <davem@davemloft.net>2017-06-08 16:53:29 +0200
commit5d2ed0521ac98f1ae0243fe52b8ebf95e2abf791 (patch)
treea339d50c4c0977fa75bc467fafd93ff6a922dec2 /include/net/secure_seq.h
parenttcp: Namespaceify sysctl_tcp_window_scaling (diff)
downloadlinux-5d2ed0521ac98f1ae0243fe52b8ebf95e2abf791.tar.xz
linux-5d2ed0521ac98f1ae0243fe52b8ebf95e2abf791.zip
tcp: Namespaceify sysctl_tcp_timestamps
Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/secure_seq.h')
-rw-r--r--include/net/secure_seq.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/net/secure_seq.h b/include/net/secure_seq.h
index b94006f6fbdd..031bf16d1521 100644
--- a/include/net/secure_seq.h
+++ b/include/net/secure_seq.h
@@ -8,10 +8,11 @@ u32 secure_ipv6_port_ephemeral(const __be32 *saddr, const __be32 *daddr,
__be16 dport);
u32 secure_tcp_seq(__be32 saddr, __be32 daddr,
__be16 sport, __be16 dport);
-u32 secure_tcp_ts_off(__be32 saddr, __be32 daddr);
+u32 secure_tcp_ts_off(const struct net *net, __be32 saddr, __be32 daddr);
u32 secure_tcpv6_seq(const __be32 *saddr, const __be32 *daddr,
__be16 sport, __be16 dport);
-u32 secure_tcpv6_ts_off(const __be32 *saddr, const __be32 *daddr);
+u32 secure_tcpv6_ts_off(const struct net *net,
+ const __be32 *saddr, const __be32 *daddr);
u64 secure_dccp_sequence_number(__be32 saddr, __be32 daddr,
__be16 sport, __be16 dport);
u64 secure_dccpv6_sequence_number(__be32 *saddr, __be32 *daddr,