Lines Matching defs:group
12 * struct genl_multicast_group - generic netlink multicast group
13 * @name: name of the multicast group, names are per-family
43 * @mcgrp_offset: starting number of multicast group IDs in this family
187 struct genl_info *info, u32 group, gfp_t flags);
303 * @group: offset of multicast group in groups array
308 u32 portid, unsigned int group, gfp_t flags)
310 if (WARN_ON_ONCE(group >= family->n_mcgrps))
312 group = family->mcgrp_offset + group;
313 return nlmsg_multicast(net->genl_sock, skb, portid, group, flags);
321 * @group: offset of multicast group in groups array
326 unsigned int group, gfp_t flags)
329 portid, group, flags);
337 * @group: offset of multicast group in groups array
344 unsigned int group, gfp_t flags);
419 * @group: the broadcast group that will notice the error
420 * (this is the offset of the multicast group in the groups array)
428 u32 group, int code)
430 if (WARN_ON_ONCE(group >= family->n_mcgrps))
432 group = family->mcgrp_offset + group;
433 return netlink_set_err(net->genl_sock, portid, group, code);
437 struct net *net, unsigned int group)
439 if (WARN_ON_ONCE(group >= family->n_mcgrps))
441 group = family->mcgrp_offset + group;
442 return netlink_has_listeners(net->genl_sock, group);