函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__skb_unlink

函数原型:static inline void __skb_unlink(struct sk_buff *skb, struct sk_buff_head *list)

返回类型:void

参数:

类型参数名称
struct sk_buff *skb
struct sk_buff_head *list
2022  qlen自减
2023  next等于 These two members must be first.
2024  prev等于prev
2025  These two members must be first. = prev = NULL
2026  WRITE_ONCE(prev, prev)
2027  WRITE_ONCE( These two members must be first. , next)
调用者
名称描述
__skb_dequeue__skb_dequeue - remove from the head of the queue*@list: list to dequeue from* Remove the head of the list. This function does not take any locks* so must be used with appropriate locks held only. The head item is* returned or %NULL if the list is empty.
__skb_dequeue_tail__skb_dequeue_tail - remove from the tail of the queue*@list: list to dequeue from* Remove the tail of the list. This function does not take any locks* so must be used with appropriate locks held only. The tail item is
sk_eat_skb不再需要发布一个skb
tcp_unlink_write_queue