diff options
author | Alexey Kodanev <alexey.kodanev@oracle.com> | 2017-03-09 05:53:55 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-09 21:25:34 -0500 |
commit | a30aad50c26cac63026e5dfcc2e055ae63fe6ef7 (patch) | |
tree | b805ec64727ce857ebde0ef9694bd50cca74ba1a /include/net/secure_seq.h | |
parent | 9efd3831d5ae3babb45a37ae7d6b18642a0745de (diff) |
tcp: rename *_sequence_number() to *_seq_and_tsoff()
The functions that are returning tcp sequence number also setup
TS offset value, so rename them to better describe their purpose.
No functional changes in this patch.
Suggested-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.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.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/net/secure_seq.h b/include/net/secure_seq.h index 0caee631a836..fe236b3429f0 100644 --- a/include/net/secure_seq.h +++ b/include/net/secure_seq.h | |||
@@ -6,10 +6,10 @@ | |||
6 | u32 secure_ipv4_port_ephemeral(__be32 saddr, __be32 daddr, __be16 dport); | 6 | u32 secure_ipv4_port_ephemeral(__be32 saddr, __be32 daddr, __be16 dport); |
7 | u32 secure_ipv6_port_ephemeral(const __be32 *saddr, const __be32 *daddr, | 7 | u32 secure_ipv6_port_ephemeral(const __be32 *saddr, const __be32 *daddr, |
8 | __be16 dport); | 8 | __be16 dport); |
9 | u32 secure_tcp_sequence_number(__be32 saddr, __be32 daddr, | 9 | u32 secure_tcp_seq_and_tsoff(__be32 saddr, __be32 daddr, |
10 | __be16 sport, __be16 dport, u32 *tsoff); | ||
11 | u32 secure_tcpv6_seq_and_tsoff(const __be32 *saddr, const __be32 *daddr, | ||
10 | __be16 sport, __be16 dport, u32 *tsoff); | 12 | __be16 sport, __be16 dport, u32 *tsoff); |
11 | u32 secure_tcpv6_sequence_number(const __be32 *saddr, const __be32 *daddr, | ||
12 | __be16 sport, __be16 dport, u32 *tsoff); | ||
13 | u64 secure_dccp_sequence_number(__be32 saddr, __be32 daddr, | 13 | u64 secure_dccp_sequence_number(__be32 saddr, __be32 daddr, |
14 | __be16 sport, __be16 dport); | 14 | __be16 sport, __be16 dport); |
15 | u64 secure_dccpv6_sequence_number(__be32 *saddr, __be32 *daddr, | 15 | u64 secure_dccpv6_sequence_number(__be32 *saddr, __be32 *daddr, |