summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2025-06-18 01:24:29 +0300
committerJakub Kicinski <kuba@kernel.org>2025-06-18 01:24:30 +0300
commitb9ebe0cd5d53852e2edd7c7ffb0879712a9f8cdf (patch)
tree585235f37d8bd09a28c1efee494424a90a81e65d /include/net
parentd74520f39cdbb24bd626410fd06f6c37d9a94fc9 (diff)
parent2410251cde0bac9f660f276307d6c967466eef0c (diff)
downloadlinux-b9ebe0cd5d53852e2edd7c7ffb0879712a9f8cdf.tar.xz
Merge branch 'io_uring-cmd-for-tx-timestamps'
Pavel Begunkov says: ==================== io_uring cmd for tx timestamps (part) Apply the networking helpers for the io_uring timestamp API. ==================== Link: https://patch.msgid.link/cover.1750065793.git.asml.silence@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/sock.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/sock.h b/include/net/sock.h
index 70c0b570a21f..ca532227cbfd 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -2677,6 +2677,10 @@ void __sock_recv_timestamp(struct msghdr *msg, struct sock *sk,
void __sock_recv_wifi_status(struct msghdr *msg, struct sock *sk,
struct sk_buff *skb);
+bool skb_has_tx_timestamp(struct sk_buff *skb, const struct sock *sk);
+int skb_get_tx_timestamp(struct sk_buff *skb, struct sock *sk,
+ struct timespec64 *ts);
+
static inline void
sock_recv_timestamp(struct msghdr *msg, struct sock *sk, struct sk_buff *skb)
{