Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sk_add_node

Proto:static inline void sk_add_node(struct sock *sk, struct hlist_head *list)

Type:void

Parameter:

TypeParameterName
struct sock *sk
struct hlist_head *list
700  Grab socket reference count. This operation is valid onlywhen sk is ALREADY grabbed f.e. it is found in hash tableor a list and the lookup is made under lock preventing hash tablemodifications.
701  __sk_add_node(sk, list)