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_put_nohdr - Add a netlink attribute without header*@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_put_nohdr(struct sk_buff *skb, int attrlen, const void *data)

Type:int

Parameter:

TypeParameterName
struct sk_buff *skb
intattrlen
const void *data
878  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
881  __nla_put_nohdr - Add a netlink attribute without header*@skb: socket buffer to add attribute to*@attrlen: length of attribute payload*@data: head of attribute payload* The caller is responsible to ensure that the skb provides enough
882  Return 0