Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\audit.c Create Date:2022-07-28 11:22:37
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

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

Proto:static void kauditd_send_multicast_skb(struct sk_buff *skb)

Type:void

Parameter:

TypeParameterName
struct sk_buff *skb
773  sock = audit_get_sk - Return the audit socket for the given network namespace*@net: the destination network namespace* Description:* Returns the sock pointer if valid, NULL otherwise. The caller must ensure
779  If Not netlink_has_listeners(sock, AUDIT_NLGRP_READLOG) Then Return
792  copy = create private copy of an sk_buff
793  If Not copy Then Return
795  nlh = nlmsg_hdr(copy)
796  Length of message including header = len
798  lmsg_multicast - multicast a netlink message*@sk: netlink socket to spread messages to*@skb: netlink message as socket buffer*@portid: own netlink portid to avoid sending to yourself*@group: multicast group id*@flags: allocation flags