Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\netdevice.h Create Date:2022-07-28 06:04:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:____dev_forward_skb

Proto:static __always_inline int ____dev_forward_skb(struct net_device *dev, struct sk_buff *skb)

Type:int

Parameter:

TypeParameterName
struct net_device *dev
struct sk_buff *skb
3743  If 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 || Value for the false possibility is greater at compile time(!is_skb_forwardable(dev, skb)) Then
3745  atomic_long_inc( & rx_dropped)
3746  free an sk_buff
3747  Return packet dropped
3750  skb_scrub_packet(skb, true)
3751  priority = 0
3752  Return 0