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:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:generic pseudo peek method for non-work-conserving qdisc

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

Type:struct sk_buff

Parameter:

TypeParameterName
struct Qdisc *sch
1081  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
1084  If Not skb Then
1085  skb = dequeue(sch)
1087  If skb Then
1091  qlen++
1095  Return skb