Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:skb_put_data

Proto:static inline void *skb_put_data(struct sk_buff *skb, const void *data, unsigned int len)

Type:void

Parameter:

TypeParameterName
struct sk_buff *skb
const void *data
unsigned intlen
2233  tmp = add data to a buffer
2235  No 3D Now!(tmp, data, len)
2237  Return tmp
Caller
NameDescribe
alloc_uevent_skb
uevent_net_broadcast
nla_appendla_append - Add a netlink attribute without header or padding*@skb: socket buffer to add attribute to*@attrlen: length of attribute payload*@data: head of attribute payload* Returns -EMSGSIZE if the tailroom of the skb is insufficient to store