函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\netlink.h Create Date:2022-07-27 07:04:58
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:static inline int nla_put_in_addr(struct sk_buff *skb, int attrtype, __be32 addr)

返回类型:int

参数:

类型参数名称
struct sk_buff *skb
intattrtype
__be32addr
1450  tmp等于addr
1452  返回: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