Lines Matching refs:family
13 * @name: name of the multicast group, names are per-family
27 * struct genl_family - generic netlink family
29 * @name: name of family
33 * @netnsok: set to true if the family can handle network
42 * @mcgrps: multicast groups used by this family
47 * @ops: the operations supported by this family
48 * @n_ops: number of operations supported by this family
49 * @small_ops: the small-struct operations supported by this family
50 * @n_small_ops: number of small-struct operations supported by this family
56 * can be attached at the family level or at the operation level.
88 /* protocol family identifier */
90 /* starting number of multicast group IDs in this family */
98 * @family: generic netlink family
109 const struct genl_family *family;
154 * @internal_flags: flags used by the family
175 * @internal_flags: flags used by the family
178 * @policy: netlink policy (takes precedence over family policy)
203 * @internal_flags: flags used by the family
206 * @policy: netlink policy (takes precedence over family policy)
278 * @family: pointer to the genetlink family
285 genl_info_init_ntf(struct genl_info *info, const struct genl_family *family,
291 info->family = family;
301 int genl_register_family(struct genl_family *family);
302 int genl_unregister_family(const struct genl_family *family);
303 void genl_notify(const struct genl_family *family, struct sk_buff *skb,
307 const struct genl_family *family, int flags, u8 cmd);
312 return genlmsg_put(skb, info->snd_portid, info->snd_seq, info->family,
351 * @family: genetlink message family
358 const struct genl_family *family,
363 return __nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype,
370 * @family: genetlink message family
377 const struct genl_family *family,
382 return __nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype,
404 * @family: generic netlink family
412 const struct genl_family *family,
415 return genlmsg_put(skb, info->snd_portid, info->snd_seq, family,
442 * @family: the generic netlink family
449 static inline int genlmsg_multicast_netns(const struct genl_family *family,
453 if (WARN_ON_ONCE(group >= family->n_mcgrps))
455 group = family->mcgrp_offset + group;
461 * @family: the generic netlink family
467 static inline int genlmsg_multicast(const struct genl_family *family,
471 return genlmsg_multicast_netns(family, &init_net, skb,
477 * @family: the generic netlink family
485 int genlmsg_multicast_allns(const struct genl_family *family,
560 * @family: the generic netlink family
570 static inline int genl_set_err(const struct genl_family *family,
574 if (WARN_ON_ONCE(group >= family->n_mcgrps))
576 group = family->mcgrp_offset + group;
580 static inline int genl_has_listeners(const struct genl_family *family,
583 if (WARN_ON_ONCE(group >= family->n_mcgrps))
585 group = family->mcgrp_offset + group;