函数逻辑报告

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

函数名称:Insert an sk_buff on a list.* The "__skb_xxxx()" functions are the non-atomic ones that* can only be called with interrupts disabled.

函数原型:static inline void __skb_insert(struct sk_buff *newsk, struct sk_buff *prev, struct sk_buff *next, struct sk_buff_head *list)

返回类型:void

参数:

类型参数名称
struct sk_buff *newsk
struct sk_buff *prev
struct sk_buff *next
struct sk_buff_head *list
1867  WRITE_ONCE( These two members must be first. , next)
1868  WRITE_ONCE(prev, prev)
1869  WRITE_ONCE(prev, newsk)
1870  WRITE_ONCE( These two members must be first. , newsk)
1871  qlen自加
调用者
名称描述
__skb_queue_after__skb_queue_after - queue a buffer at the list head*@list: list to use*@prev: place after this buffer*@newsk: buffer to queue* Queue a buffer int the middle of a list. This function takes no locks
__skb_queue_before