函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:se instead of qdisc->dequeue() for all qdiscs queried with ->peek()

函数原型:static inline struct sk_buff *qdisc_dequeue_peeked(struct Qdisc *sch)

返回类型:struct sk_buff

参数:

类型参数名称
struct Qdisc *sch
1127  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
1129  如果skb
1130  skb等于__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.
1131  如果qdisc_is_percpu_stats(sch)则
1134  否则
1136  qlen自减
1138  否则
1139  skb等于dequeue(sch)
1142  返回:skb