函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:static inline int genlmsg_multicast_netns(const struct genl_family *family, struct net *net, struct sk_buff *skb, unsigned int portid, unsigned int group, gfp_t flags)

返回类型:int

参数:

类型参数名称
const struct genl_family *family
struct net *net
struct sk_buff *skb
unsigned intportid
unsigned intgroup
gfp_tflags
295  如果WARN_ON_ONCE(group >= n_mcgrps)则返回:负EINVAL
297  group等于private group
298  返回: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
调用者
名称描述
genlmsg_multicastgenlmsg_multicast - multicast a netlink message to the default netns*@family: the generic netlink family*@skb: netlink message as socket buffer*@portid: own netlink portid to avoid sending to yourself*@group: offset of multicast group in groups