函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:sock_flag

函数原型:static inline bool sock_flag(const struct sock *sk, enum sock_flags flag)

返回类型:bool

参数:

类型参数名称
const struct sock *sk
enum sock_flagsflag
842  返回:st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from
调用者
名称描述
reuseport_array_update_check
sk_add_backlogThe per-socket spinlock must be held here.
sk_set_bitNote:* We use sk->sk_wq_raw, from contexts knowing this* pointer is not NULL and cannot disappear/change.
sk_clear_bit
sk_wake_async
sock_skb_set_dropcount
sock_recv_timestamp
sock_recv_ts_and_drops
_sock_tx_timestamp_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,
tcp_inq