Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\skbuff.h Create Date:2022-07-28 05:52:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

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

Proto:static inline void __skb_insert(struct sk_buff *newsk, struct sk_buff *prev, struct sk_buff *next, struct sk_buff_head *list)

Type:void

Parameter:

TypeParameterName
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++