Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__nla_put - Add a netlink attribute to a socket buffer*@skb: socket buffer to add attribute to*@attrtype: attribute type*@attrlen: length of attribute payload*@data: head of attribute payload* The caller is responsible to ensure that the skb provides

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

Type:void

Parameter:

TypeParameterName
struct sk_buff *skb
intattrtype
intattrlen
const void *data
775  nla = __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
776  No 3D Now!(la_data - head of payload*@nla: netlink attribute, data, attrlen)
Caller
NameDescribe
nla_putla_put - Add a netlink attribute to a socket buffer*@skb: socket buffer to add attribute to*@attrtype: attribute type*@attrlen: length of attribute payload*@data: head of attribute payload* Returns -EMSGSIZE if the tailroom of the skb is insufficient to