函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:This helper checks if a socket is a full socket,* ie _not_ a timewait or request socket.

函数原型:static inline bool sk_fullsock(const struct sock *sk)

返回类型:bool

参数:

类型参数名称
const struct sock *sk
2500  返回:1左移sk_state位按位与TCPF_TIME_WAIT按位或TCPF_NEW_SYN_RECV的值的反
调用者
名称描述
__cgroup_bpf_run_filter_skb__cgroup_bpf_run_filter_skb() - Run a program for packet filtering*@sk: The socket sending or receiving traffic*@skb: The skb that is being sent or received*@type: The type of program to be exectuted* If no socket is passed, or the socket is not of type
sk_pacing_shift_updateDefault TCP Small queue budget is ~1 ms of data (1sec >> 10)* Some wifi drivers need to tweak it to get more chunks.* They can use this helper from their ndo_start_xmit()
inet6_sk