diff options
author | Alexey Kodanev <alexey.kodanev@oracle.com> | 2017-03-09 13:53:55 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-10 05:25:34 +0300 |
commit | a30aad50c26cac63026e5dfcc2e055ae63fe6ef7 (patch) | |
tree | b805ec64727ce857ebde0ef9694bd50cca74ba1a /include/net/secure_seq.h | |
parent | 9efd3831d5ae3babb45a37ae7d6b18642a0745de (diff) | |
download | linux-a30aad50c26cac63026e5dfcc2e055ae63fe6ef7.tar.xz |
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 @@ u32 secure_ipv4_port_ephemeral(__be32 saddr, __be32 daddr, __be16 dport); u32 secure_ipv6_port_ephemeral(const __be32 *saddr, const __be32 *daddr, __be16 dport); -u32 secure_tcp_sequence_number(__be32 saddr, __be32 daddr, +u32 secure_tcp_seq_and_tsoff(__be32 saddr, __be32 daddr, + __be16 sport, __be16 dport, u32 *tsoff); +u32 secure_tcpv6_seq_and_tsoff(const __be32 *saddr, const __be32 *daddr, __be16 sport, __be16 dport, u32 *tsoff); -u32 secure_tcpv6_sequence_number(const __be32 *saddr, const __be32 *daddr, - __be16 sport, __be16 dport, u32 *tsoff); u64 secure_dccp_sequence_number(__be32 saddr, __be32 daddr, __be16 sport, __be16 dport); u64 secure_dccpv6_sequence_number(__be32 *saddr, __be32 *daddr, |