tcp: add tcp_rtt_tsopt_us()
authorEric Dumazet <edumazet@google.com>
Fri, 20 Oct 2023 12:57:44 +0000 (12:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Oct 2023 08:35:01 +0000 (09:35 +0100)
commitb04c3320885a88a94e4bbb2f9dbc4871c9bc336f
treea85e80c6ea9ef3708e3b6240dfe6adf3537fb97e
parent9d0c00f5ca05be9e89649c156f9d5b9421fc534e
tcp: add tcp_rtt_tsopt_us()

Before adding usec TS support, add tcp_rtt_tsopt_us() helper
to factorize code.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c