Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\netlink.h Create Date:2022-07-28 06:06:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:la_put_le16 - Add a __le16 netlink attribute to a socket buffer*@skb: socket buffer to add attribute to*@attrtype: attribute type*@value: numeric value

Proto:static inline int nla_put_le16(struct sk_buff *skb, int attrtype, __le16 value)

Type:int

Parameter:

TypeParameterName
struct sk_buff *skb
intattrtype
__le16value
1231  tmp = value
1233  Return la_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