Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:This helper checks if a socket is a full socket,* ie _not_ a timewait or request socket.

Proto:static inline bool sk_fullsock(const struct sock *sk)

Type:bool

Parameter:

TypeParameterName
const struct sock *sk
2500  Return 1 << sk_state & ~(TCPF_TIME_WAIT | TCPF_NEW_SYN_RECV)
Caller
NameDescribe
__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