Lines Matching defs:group
70 * Bit 0 is marked as already used since group 0 is invalid.
72 * abuses the API and thinks it can statically use group 1.
73 * That group will typically conflict with other groups that
78 * also abused this API and relied on family == group ID, we
79 * cater to that by giving it a static family and group ID.
270 /* special-case our own group and hacks */
412 * multicast group ID, so we use reserved IDs
1367 static int genl_bind(struct net *net, int group)
1382 i = group - family->mcgrp_offset;
1409 /* we'll bump the group number right afterwards */
1452 static int genlmsg_mcast(struct sk_buff *skb, u32 portid, unsigned long group,
1468 portid, group, flags);
1478 err = nlmsg_multicast(prev->genl_sock, skb, portid, group, flags);
1491 unsigned int group, gfp_t flags)
1493 if (WARN_ON_ONCE(group >= family->n_mcgrps))
1495 group = family->mcgrp_offset + group;
1496 return genlmsg_mcast(skb, portid, group, flags);
1501 struct genl_info *info, u32 group, gfp_t flags)
1510 if (WARN_ON_ONCE(group >= family->n_mcgrps))
1512 group = family->mcgrp_offset + group;
1513 nlmsg_notify(sk, skb, info->snd_portid, group, report, flags);