summaryrefslogtreecommitdiffstats
path: root/include/net/tcp.h
diff options
context:
space:
mode:
authorAlexey Kodanev <alexey.kodanev@oracle.com>2017-03-09 13:53:55 +0300
committerDavid S. Miller <davem@davemloft.net>2017-03-09 18:25:34 -0800
commita30aad50c26cac63026e5dfcc2e055ae63fe6ef7 (patch)
treeb805ec64727ce857ebde0ef9694bd50cca74ba1a /include/net/tcp.h
parent9efd3831d5ae3babb45a37ae7d6b18642a0745de (diff)
downloadlinux-stable-a30aad50c26cac63026e5dfcc2e055ae63fe6ef7.tar.gz
linux-stable-a30aad50c26cac63026e5dfcc2e055ae63fe6ef7.tar.bz2
linux-stable-a30aad50c26cac63026e5dfcc2e055ae63fe6ef7.zip
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/tcp.h')
-rw-r--r--include/net/tcp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 6ec4ea652f3f..bede8f7fa742 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -1816,7 +1816,7 @@ struct tcp_request_sock_ops {
struct dst_entry *(*route_req)(const struct sock *sk, struct flowi *fl,
const struct request_sock *req,
bool *strict);
- __u32 (*init_seq)(const struct sk_buff *skb, u32 *tsoff);
+ __u32 (*init_seq_tsoff)(const struct sk_buff *skb, u32 *tsoff);
int (*send_synack)(const struct sock *sk, struct dst_entry *dst,
struct flowi *fl, struct request_sock *req,
struct tcp_fastopen_cookie *foc,