Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\sch_generic.h Create Date:2022-07-28 06:07:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:se instead of qdisc->dequeue() for all qdiscs queried with ->peek()

Proto:static inline struct sk_buff *qdisc_dequeue_peeked(struct Qdisc *sch)

Type:struct sk_buff

Parameter:

TypeParameterName
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  If skb Then
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  If qdisc_is_percpu_stats(sch) Then
1134  Else
1136  qlen--
1138  Else
1139  skb = dequeue(sch)
1142  Return skb