函数逻辑报告

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

函数名称:Netlink消息不包括填充长度

函数原型:static inline int nlmsg_msg_size(int payload)

返回类型:int

参数:

类型参数名称
intpayload
476  返回:NLMSG_HDRLENpayload
调用者
名称描述
nlmsg_total_sizeNetlink消息包括填充长度
nlmsg_padlen邮件尾部填充的长度
__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_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