Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\nlattr.c Create Date:2022-07-28 07:16:28
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:la_reserve - reserve room for attribute on the skb*@skb: socket buffer to reserve room on*@attrtype: attribute type*@attrlen: length of attribute payload* Adds a netlink attribute header to a socket buffer and reserves

Proto:struct nlattr *nla_reserve(struct sk_buff *skb, int attrtype, int attrlen)

Type:struct nlattr

Parameter:

TypeParameterName
struct sk_buff *skb
intattrtype
intattrlen
704  If Value for the false possibility is greater at compile time(skb_tailroom - bytes at buffer end*@skb: buffer to check* Return the number of bytes of free space at the tail of an sk_buff < la_total_size - total length of attribute including padding*@payload: length of payload) Then Return NULL
707  Return __nla_reserve - reserve room for attribute on the skb*@skb: socket buffer to reserve room on*@attrtype: attribute type*@attrlen: length of attribute payload* Adds a netlink attribute header to a socket buffer and reserves
Caller
NameDescribe
nla_align_64bitla_align_64bit - 64-bit align the nla_data() of next attribute*@skb: socket buffer the message is stored in*@padattr: attribute type for the padding* Conditionally emit a padding netlink attribute in order to make