Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\sock.h Create Date:2022-07-28 06:09:28
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sock_recv_timestamp

Proto:static inline void sock_recv_timestamp(struct msghdr *msg, struct sock *sk, struct sk_buff *skb)

Type:void

Parameter:

TypeParameterName
struct msghdr *msg
struct sock *sk
struct sk_buff *skb
2372  kt = tstamp
2373  hwtstamps = skb_hwtstamps(skb)
2381  If sock_flag(sk, %SO_TIMESTAMP setting ) || sk_tsflags & SOF_TIMESTAMPING_RX_SOFTWARE || kt && sk_tsflags & SOF_TIMESTAMPING_SOFTWARE || hwtstamp && sk_tsflags & SOF_TIMESTAMPING_RAW_HARDWARE Then __sock_recv_timestamp(msg, sk, skb)
2387  Else sock_write_timestamp(sk, kt)
2390  If sock_flag(sk, push wifi status to userspace ) && wifi_acked_valid Then __sock_recv_wifi_status(msg, sk, skb)