Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\netlink.h Create Date:2022-07-28 06:06:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:static inline struct nlmsghdr *nlmsg_next(const struct nlmsghdr *nlh, int *remaining)

Type:struct nlmsghdr

Parameter:

TypeParameterName
const struct nlmsghdr *nlh
int *remaining
560  totlen = NLMSG_ALIGN( Length of message including header )
562  remaining -= totlen
564  Return nlh + totlen
Caller
NameDescribe
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.