Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sk_add_node_rcu

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

Type:void

Parameter:

TypeParameterName
struct sock *sk
struct hlist_head *list
706  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.
707  If IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_IPV6) && sk_reuseport && sk_family == IP version 6 Then hlist_add_tail_rcu*@n: the element to add to the hash list
710  Else adds the specified element to the specified hlist