commit | 16cf6477741bdaa287d5e4531a1a503618a41a22 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Fri Oct 20 12:57:40 2023 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Oct 23 09:35:01 2023 +0100 |
tree | 8dc3a25443b1a4c83a54eb58b42e85ee24975ad8 | |
parent | 2a7c8d291ffeba69a47d8528987156f625cc05b0 [diff] |
tcp: replace tcp_time_stamp_raw() In preparation of usec TCP TS support, remove tcp_time_stamp_raw() in favor of tcp_clock_ts() helper. This helper will return a suitable 32bit result to feed TS values, depending on a socket field. Also add tcp_tw_tsval() and tcp_rsk_tsval() helpers to factorize the details. We do not yet support usec timestamps. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>