Lines Matching refs:group
74 * Bit 0 is marked as already used since group 0 is invalid.
76 * abuses the API and thinks it can statically use group 1.
77 * That group will typically conflict with other groups that
82 * also abused this API and relied on family == group ID, we
83 * cater to that by giving it a static family and group ID.
476 /* special-case our own group and hacks */
665 * multicast group ID, so we use reserved IDs
1670 static int genl_bind(struct net *net, int group)
1685 i = group - family->mcgrp_offset;
1712 /* we'll bump the group number right afterwards */
1755 static int genlmsg_mcast(struct sk_buff *skb, u32 portid, unsigned long group,
1771 portid, group, flags);
1781 err = nlmsg_multicast(prev->genl_sock, skb, portid, group, flags);
1794 unsigned int group, gfp_t flags)
1796 if (WARN_ON_ONCE(group >= family->n_mcgrps))
1799 group = family->mcgrp_offset + group;
1800 return genlmsg_mcast(skb, portid, group, flags);
1805 struct genl_info *info, u32 group, gfp_t flags)
1810 if (WARN_ON_ONCE(group >= family->n_mcgrps))
1813 group = family->mcgrp_offset + group;
1814 nlmsg_notify(sk, skb, info->snd_portid, group,