Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\genetlink.h Create Date:2022-07-28 11:48:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

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

Proto: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)

Type:int

Parameter:

TypeParameterName
const struct genl_family *family
struct net *net
struct sk_buff *skb
unsigned intportid
unsigned intgroup
gfp_tflags
295  If WARN_ON_ONCE(group >= n_mcgrps) Then Return -EINVAL
297  group = private + group
298  Return 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