函数逻辑报告

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

函数名称:lmsg_next - next netlink message in message stream*@nlh: netlink message header*@remaining: number of bytes remaining in message stream* Returns the next netlink message in the message stream and* decrements remaining by the size of the current message.

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

返回类型:struct nlmsghdr

参数:

类型参数名称
const struct nlmsghdr *nlh
int *remaining
560  totlen等于NLMSG_ALIGN( Length of message including header )
562  remaining减等于totlen
564  返回:nlhtotlen
调用者
名称描述
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.