函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:孤立一个缓存区

函数原型:static inline void skb_orphan(struct sk_buff *skb)

返回类型:void

参数:

类型参数名称
struct sk_buff *skb
2706  如果destructor
2707  destructor(skb)
2708  destructor = NULL
2709  sk = NULL
2710  否则
2711  BUG_ON(sk)
调用者
名称描述
skb_set_owner_rQueue a received datagram if it will fit. Stream and sequenced* protocols can't normally use this as they need to fit buffers in* and play with them.* Inlined as it's very short and called for pretty much every* packet ever received.
sk_eat_skb不再需要发布一个skb