Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:nlmsg_hdr

Proto:static inline struct nlmsghdr *nlmsg_hdr(const struct sk_buff *skb)

Type:struct nlmsghdr

Parameter:

TypeParameterName
const struct sk_buff *skb
16  Return data
Caller
NameDescribe
kauditd_printk_skbkauditd_print_skb - Print the audit record to the ring buffer*@skb: audit record* Whatever the reason, this packet may not make it to the auditd connection* so write it via printk so the information isn't completely lost.
kauditd_send_multicast_skbkauditd_send_multicast_skb - Send a record to any multicast listeners*@skb: audit record* Description:* Write a multicast message to anyone listening in the initial network* namespace. This function doesn't consume an skb as might be expected since
audit_get_feature
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.
audit_log_endaudit_log_end - end one audit record*@ab: the audit_buffer* We can not do a netlink send inside an irq context because it blocks (last* arg, flags, is not set to MSG_DONTWAIT), so the audit buffer is placed on a* queue and a tasklet is scheduled to remove
send_replySend taskstats data in @skb to listener with nl_pid @pid
send_cpu_listenersSend taskstats data in @skb to listeners registered for @cpu's exit data
selinux_nlmsg_perm