函数逻辑报告 |
Source Code:include\net\netlink.h |
Create Date:2022-07-27 07:04:55 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:有效载荷的长度
函数原型:static inline int nla_len(const struct nlattr *nla)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct nlattr * | nla |
1083 | 返回:nla_len减NLA_HDRLEN |
名称 | 描述 |
---|---|
nla_validate_array | |
validate_nla | |
nla_strlcpy | la_strlcpy - Copy string attribute payload into a sized buffer*@dst: where to copy the string to*@nla: attribute to copy the string from*@dstsize: size of destination buffer* Copies at most dstsize - 1 bytes into the destination buffer. |
nla_strdup | la_strdup - Copy string attribute payload into a newly allocated buffer*@nla: attribute to copy the string from*@flags: the type of memory to allocate (see kmalloc).* Returns a pointer to the allocated buffer or NULL on error. |
nla_memcpy | la_memcpy - Copy a netlink attribute into another memory area*@dest: where to copy to memcpy*@src: netlink attribute to copy from*@count: size of the destination area* Note: The number of bytes copied is limited by the length of* attribute's payload |
nla_memcmp | 内存比较 |
nla_strcmp | 字符串比较 |
parse | |
nla_find_nested | 在一组嵌套属性中查找属性 |
nla_parse_nested | la_parse_nested - parse nested attributes*@tb: destination array with maxtype+1 elements*@maxtype: maximum attribute type to be expected*@nla: attribute containing the nested attributes*@policy: validation policy*@extack: extended ACK report struct* See |
nla_parse_nested_deprecated | la_parse_nested_deprecated - parse nested attributes*@tb: destination array with maxtype+1 elements*@maxtype: maximum attribute type to be expected*@nla: attribute containing the nested attributes*@policy: validation policy*@extack: extended ACK report |
nla_memdup | la_memdup - duplicate attribute memory (kmemdup)*@src: netlink attribute to duplicate from*@gfp: GFP mask |
__nla_validate_nested | la_validate_nested - Validate a stream of nested attributes*@start: container attribute*@maxtype: maximum attribute type to be expected*@policy: validation policy*@validate: validation strictness*@extack: extended ACK report struct* Validates all |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |