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

Name:qdisc_replace

Proto:static inline struct Qdisc *qdisc_replace(struct Qdisc *sch, struct Qdisc *new, struct Qdisc **pold)

Type:struct Qdisc

Parameter:

TypeParameterName
struct Qdisc *sch
struct Qdisc *new
struct Qdisc **pold
1172  sch_tree_lock(sch)
1173  old = pold
1174  pold = new
1175  If (old != NULL) Then qdisc_tree_flush_backlog(old)
1177  sch_tree_unlock(sch)
1179  Return old