函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\audit.c Create Date:2022-07-27 12:25:32
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:static void kauditd_send_multicast_skb(struct sk_buff *skb)

返回类型:void

参数:

类型参数名称
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  如果非netlink_has_listeners(sock, AUDIT_NLGRP_READLOG)则返回
792  copy等于创建私有sk_buff
793  如果非copy则返回
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