函数逻辑报告 |
Source Code:lib\nlattr.c |
Create Date:2022-07-27 08:14:58 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:int nla_put(struct sk_buff *skb, int attrtype, int attrlen, const void *data)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct sk_buff * | skb | |
int | attrtype | |
int | attrlen | |
const void * | data |
831 | 如果此条件成立可能性小(为编译器优化)(缓存区尾部字节 < 属性的总长度,包括填充)则返回:负EMSGSIZE |
835 | 返回:0 |
名称 | 描述 |
---|---|
mk_reply | |
nla_put_u8 | la_put_u8 - Add a u8 netlink attribute to a socket buffer*@skb: socket buffer to add attribute to*@attrtype: attribute type*@value: numeric value |
nla_put_u16 | la_put_u16 - Add a u16 netlink attribute to a socket buffer*@skb: socket buffer to add attribute to*@attrtype: attribute type*@value: numeric value |
nla_put_be16 | 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 |
nla_put_le16 | 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 |
nla_put_u32 | la_put_u32 - Add a u32 netlink attribute to a socket buffer*@skb: socket buffer to add attribute to*@attrtype: attribute type*@value: numeric value |
nla_put_be32 | 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 |
nla_put_le32 | la_put_le32 - Add a __le32 netlink attribute to a socket buffer*@skb: socket buffer to add attribute to*@attrtype: attribute type*@value: numeric value |
nla_put_s8 | la_put_s8 - Add a s8 netlink attribute to a socket buffer*@skb: socket buffer to add attribute to*@attrtype: attribute type*@value: numeric value |
nla_put_s16 | 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 |
nla_put_s32 | la_put_s32 - Add a s32 netlink attribute to a socket buffer*@skb: socket buffer to add attribute to*@attrtype: attribute type*@value: numeric value |
nla_put_string | 添加一个字符串属性为Netlink套接字缓冲区 |
nla_put_flag | 添加标志该属性设置为一个套接字缓冲区 |
nla_put_in6_addr | 添加一个IPv6地址Netlink属性插座 |
nla_nest_start_noflag | la_nest_start_noflag - Start a new level of nested attributes*@skb: socket buffer to add attributes to*@attrtype: attribute type of container* This function exists for backward compatibility to use in APIs which never |
xfrm_mark_put |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |