函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__skb_queue_head_init - initialize non-spinlock portions of sk_buff_head*@list: queue to initialize* This initializes only the list and queue length aspects of* an sk_buff_head object

函数原型:static inline void __skb_queue_head_init(struct sk_buff_head *list)

返回类型:void

参数:

类型参数名称
struct sk_buff_head *list
1829  prev等于 These two members must be first. 等于list
1830  qlen等于0
调用者
名称描述
skb_queue_head_initThis function creates a split out lock class for each invocation;* this is needed for now since a whole lot of users of the skb-queue* infrastructure in drivers have different locking usage (in hardirq)* than the networking core (in softirq only)
skb_queue_splice_init加入两个skb链表并清空
skb_queue_splice_tail_init加入两个skb链表并清空