Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:la_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

Proto:int nla_append(struct sk_buff *skb, int attrlen, const void *data)

Type:int

Parameter:

TypeParameterName
struct sk_buff *skb
intattrlen
const void *data
897  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 < NLA_ALIGN(attrlen)) Then Return -EMSGSIZE
900  skb_put_data(skb, data, attrlen)
901  Return 0