函数逻辑报告

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_ok(const struct nlmsghdr *nlh, int remaining)

返回类型:int

参数:

类型参数名称
const struct nlmsghdr *nlh
intremaining
544  返回:remaining大于等于sizeof(structnlmsghdr)且 Length of message including header 大于等于sizeof(structnlmsghdr)且 Length of message including header 小于等于remaining
调用者
名称描述
audit_receiveaudit_receive - receive messages from a netlink control socket*@skb: the message buffer* Parse the provided skb and deal with any messages that may be present,* malformed skbs are discarded.