函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:____dev_forward_skb

函数原型:static __always_inline int ____dev_forward_skb(struct net_device *dev, struct sk_buff *skb)

返回类型:int

参数:

类型参数名称
struct net_device *dev
struct sk_buff *skb
3743  如果skb_orphan_frags - orphan the frags contained in a buffer*@skb: buffer to orphan frags from*@gfp_mask: allocation mask for replacement pages* For each frag in the SKB which needs a destructor (i此条件成立可能性小(为编译器优化)(!is_skb_forwardable(dev, skb))则
3745  atomic_long_inc( & rx_dropped)
3746  释放缓存
3747  返回:packet dropped
3750  skb_scrub_packet(skb, true)
3751  priority等于0
3752  返回:0