函数逻辑报告

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

函数名称:__skb_queue_purge - empty a list*@list: list to empty* Delete all buffers on an &sk_buff list. Each buffer is removed from* the list and one reference dropped. This function does not take the

函数原型:static inline void __skb_queue_purge(struct sk_buff_head *list)

返回类型:void

参数:

类型参数名称
struct sk_buff_head *list
2753  当((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.) != NULL)循环
2754  释放缓存