函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\sock.h Create Date:2022-07-27 07:07:00
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:sock_recv_timestamp

函数原型:static inline void sock_recv_timestamp(struct msghdr *msg, struct sock *sk, struct sk_buff *skb)

返回类型:void

参数:

类型参数名称
struct msghdr *msg
struct sock *sk
struct sk_buff *skb
2372  kt等于tstamp
2373  hwtstamps等于skb_hwtstamps(skb)
2381  如果sock_flag(sk, %SO_TIMESTAMP setting )或sk_tsflags按位与SOF_TIMESTAMPING_RX_SOFTWAREktsk_tsflags按位与SOF_TIMESTAMPING_SOFTWAREhwtstampsk_tsflags按位与SOF_TIMESTAMPING_RAW_HARDWARE__sock_recv_timestamp(msg, sk, skb)
2387  否则sock_write_timestamp(sk, kt)
2390  如果sock_flag(sk, push wifi status to userspace )且wifi_acked_valid__sock_recv_wifi_status(msg, sk, skb)