函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

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

返回类型:int

参数:

类型参数名称
struct sk_buff *skb
intattrtype
s16value
1370  tmp等于value
1372  返回: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