函数逻辑报告

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_tx_timestamp - checks whether the outgoing packet is to be time stamped*@sk: socket sending this packet*@tsflags: timestamping flags to use*@tx_flags: completed with instructions for time stamping*@tskey: filled in with next sk_tskey (not for TCP,

函数原型:static inline void _sock_tx_timestamp(struct sock *sk, __u16 tsflags, __u8 *tx_flags, __u32 *tskey)

返回类型:void

参数:

类型参数名称
struct sock *sk
__u16tsflags
__u8 *tx_flags
__u32 *tskey
2428  如果此条件成立可能性小(为编译器优化)(tsflags)则
2429  __sock_tx_timestamp(tsflags, tx_flags)
2430  如果tsflags按位与SOF_TIMESTAMPING_OPT_IDtskeytsflags按位与SO_TIMESTAMPING flags are either for recording a packet timestamp or for* reporting the timestamp to user space.* Recording flags can be set both via socket options and control messages.tskey等于sk_tskey自加
2434  如果此条件成立可能性小(为编译器优化)(sock_flag(sk, push wifi status to userspace ))则tx_flags或等于SKBTX_WIFI_STATUS
调用者
名称描述
sock_tx_timestamp
skb_setup_tx_timestamp