tcp: rename tcp_skb_timestamp()
authorEric Dumazet <edumazet@google.com>
Fri, 20 Oct 2023 12:57:41 +0000 (12:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Oct 2023 08:35:01 +0000 (09:35 +0100)
commitd1a02ed66fe62aa2edd77bd54e270ebc33bd12ff
tree037c2e87d2deab26135a119690d0862beeff5138
parent16cf6477741bdaa287d5e4531a1a503618a41a22
tcp: rename tcp_skb_timestamp()

This helper returns a 32bit TCP TSval from skb->tstamp.

As we are going to support usec or ms units soon, rename it
to tcp_skb_timestamp_ts() and add a boolean to select the unit.

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