Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:la_put_in_addr - Add an IPv4 address netlink attribute to a socket* buffer*@skb: socket buffer to add attribute to*@attrtype: attribute type*@addr: IPv4 address

Proto:static inline int nla_put_in_addr(struct sk_buff *skb, int attrtype, __be32 addr)

Type:int

Parameter:

TypeParameterName
struct sk_buff *skb
intattrtype
__be32addr
1450  tmp = addr
1452  Return la_put_be32 - Add a __be32 netlink attribute to a socket buffer*@skb: socket buffer to add attribute to*@attrtype: attribute type*@value: numeric value