函数逻辑报告

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_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.

函数原型:static inline struct sk_buff *__skb_dequeue(struct sk_buff_head *list)

返回类型:struct sk_buff

参数:

类型参数名称
struct sk_buff_head *list
2040  skb等于skb_peek - peek at the head of an &sk_buff_head*@list_: list to peek at* Peek an &sk_buff. Unlike most other operations you _MUST_* be careful with this one. A peek leaves the buffer on the* list and someone else may run off with it. You must hold
2041  如果skb__skb_unlink(skb, list)
2043  返回:skb
调用者
名称描述
audit_send_list
__skb_queue_purge__skb_queue_purge - empty a list*@list: list to empty* Delete all buffers on an &sk_buff list. Each buffer is removed from* the list and one reference dropped. This function does not take the
qdisc_dequeue_peekedse instead of qdisc->dequeue() for all qdiscs queried with ->peek()