函数逻辑报告

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

函数原型:static inline struct sk_buff *skb_peek(const struct sk_buff_head *list_)

返回类型:struct sk_buff

参数:

类型参数名称
const struct sk_buff_head *list_
1746  skb等于 These two members must be first.
1748  如果skb恒等于list_skb = NULL
1750  返回:skb
调用者
名称描述
__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.
qdisc_peek_dequeuedgeneric pseudo peek method for non-work-conserving qdisc
qdisc_dequeue_peekedse instead of qdisc->dequeue() for all qdiscs queried with ->peek()
tcp_write_queue_head
tcp_send_head