函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:la_put_be16 - Add a __be16 netlink attribute to a socket buffer*@skb: socket buffer to add attribute to*@attrtype: attribute type*@value: numeric value

函数原型:static inline int nla_put_be16(struct sk_buff *skb, int attrtype, __be16 value)

返回类型:int

参数:

类型参数名称
struct sk_buff *skb
intattrtype
__be16value
1205  tmp等于value
1207  返回: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
调用者
名称描述
nla_put_net16la_put_net16 - Add 16-bit network byte order netlink attribute to a socket buffer*@skb: socket buffer to add attribute to*@attrtype: attribute type*@value: numeric value