函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\netlink.h Create Date:2022-07-27 07:04:55
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

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

函数原型:static inline int nlmsg_multicast(struct sock *sk, struct sk_buff *skb, u32 portid, unsigned int group, gfp_t flags)

返回类型:int

参数:

类型参数名称
struct sock *sk
struct sk_buff *skb
u32portid
unsigned intgroup
gfp_tflags
966  dst_group等于group
968  err等于netlink_broadcast(sk, skb, portid, group, flags)
969  如果err大于0则err等于0
972  返回:err
调用者
名称描述
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
genlmsg_multicast_netnsgenlmsg_multicast_netns - multicast a netlink message to a specific netns*@family: the generic netlink family*@net: the net namespace*@skb: netlink message as socket buffer*@portid: own netlink portid to avoid sending to yourself*@group: offset of