Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:_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,

Proto:static inline void _sock_tx_timestamp(struct sock *sk, __u16 tsflags, __u8 *tx_flags, __u32 *tskey)

Type:void

Parameter:

TypeParameterName
struct sock *sk
__u16tsflags
__u8 *tx_flags
__u32 *tskey
2428  If Value for the false possibility is greater at compile time(tsflags) Then
2429  __sock_tx_timestamp(tsflags, tx_flags)
2430  If tsflags & SOF_TIMESTAMPING_OPT_ID && tskey && tsflags & 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. Then tskey = sk_tskey++
2434  If Value for the false possibility is greater at compile time(sock_flag(sk, push wifi status to userspace )) Then tx_flags |= SKBTX_WIFI_STATUS