函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:属性数据长度

函数原型:static inline int nlmsg_attrlen(const struct nlmsghdr *nlh, int hdrlen)

返回类型:int

参数:

类型参数名称
const struct nlmsghdr *nlh
inthdrlen
534  返回:消息有效载荷长度NLMSG_ALIGN(hdrlen)
调用者
名称描述
__nlmsg_parse__nlmsg_parse - parse attributes of a netlink message*@nlh: netlink message header*@hdrlen: length of family specific header*@tb: destination array with maxtype+1 elements*@maxtype: maximum attribute type to be expected*@policy: validation
nlmsg_find_attr发现在Netlink消息的特定属性
nlmsg_validate_deprecatedlmsg_validate_deprecated - validate a netlink message including attributes*@nlh: netlinket message header*@hdrlen: length of familiy specific header*@maxtype: maximum attribute type to be expected*@policy: validation policy*@extack: extended ACK report