函数逻辑报告

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_splice

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

返回类型:void

参数:

类型参数名称
const struct sk_buff_head *list
struct sk_buff *prev
struct sk_buff *next
1878  first等于 These two members must be first.
1879  last等于prev
1881  WRITE_ONCE(prev, prev)
1882  WRITE_ONCE( These two members must be first. , first)
1884  WRITE_ONCE( These two members must be first. , next)
1885  WRITE_ONCE(prev, last)
调用者
名称描述
skb_queue_splice为栈加入两个skb链表
skb_queue_splice_init加入两个skb链表并清空
skb_queue_splice_tail加入两个skb链表队列
skb_queue_splice_tail_init加入两个skb链表并清空