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: allocate an skbuff for sending

Proto:static inline struct sk_buff *dev_alloc_skb(unsigned int length)

Type:struct sk_buff

Parameter:

TypeParameterName
unsigned intlength
2794  Return 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
Caller
NameDescribe
build_test_skb