Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:dev_alloc_skb - allocate an skbuff for rx on a specific device*@dev: network device to receive on*@length: length to allocate* Allocate a new &sk_buff and assign it a usage count of one

Proto:static inline struct sk_buff *netdev_alloc_skb(struct net_device *dev, unsigned int length)

Type:struct sk_buff

Parameter:

TypeParameterName
struct net_device *dev
unsigned intlength
2781  Return __netdev_alloc_skb(dev, length, DOC: Useful GFP flag combinations* Useful GFP flag combinations* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~* Useful GFP flag combinations that are commonly used. It is recommended* that subsystems start with one of these combinations and then set/clear)