Lines Matching full:family

13  * @name: name of the multicast group, names are per-family
25 * struct genl_family - generic netlink family
26 * @id: protocol family identifier (private)
28 * @name: name of family
32 * @netnsok: set to true if the family can handle network
41 * @mcgrps: multicast groups used by this family
46 * @mcgrp_offset: starting number of multicast group IDs in this family
48 * @ops: the operations supported by this family
49 * @n_ops: number of operations supported by this family
50 * @small_ops: the small-struct operations supported by this family
51 * @n_small_ops: number of small-struct operations supported by this family
54 * can be attached at the family level or at the operation level.
138 * @internal_flags: flags used by the family
159 * @internal_flags: flags used by the family
162 * @policy: netlink policy (takes precedence over family policy)
186 * @family: generic netlink family - for internal genl code usage
191 const struct genl_family *family; member
202 int genl_register_family(struct genl_family *family);
203 int genl_unregister_family(const struct genl_family *family);
204 void genl_notify(const struct genl_family *family, struct sk_buff *skb,
208 const struct genl_family *family, int flags, u8 cmd);
226 * @family: genetlink message family
233 const struct genl_family *family, in genlmsg_parse_deprecated() argument
238 return __nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype, in genlmsg_parse_deprecated()
245 * @family: genetlink message family
252 const struct genl_family *family, in genlmsg_parse() argument
257 return __nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype, in genlmsg_parse()
279 * @family: generic netlink family
287 const struct genl_family *family, in genlmsg_put_reply() argument
290 return genlmsg_put(skb, info->snd_portid, info->snd_seq, family, in genlmsg_put_reply()
317 * @family: the generic netlink family
324 static inline int genlmsg_multicast_netns(const struct genl_family *family, in genlmsg_multicast_netns() argument
328 if (WARN_ON_ONCE(group >= family->n_mcgrps)) in genlmsg_multicast_netns()
330 group = family->mcgrp_offset + group; in genlmsg_multicast_netns()
336 * @family: the generic netlink family
342 static inline int genlmsg_multicast(const struct genl_family *family, in genlmsg_multicast() argument
346 return genlmsg_multicast_netns(family, &init_net, skb, in genlmsg_multicast()
352 * @family: the generic netlink family
360 int genlmsg_multicast_allns(const struct genl_family *family,
435 * @family: the generic netlink family
445 static inline int genl_set_err(const struct genl_family *family, in genl_set_err() argument
449 if (WARN_ON_ONCE(group >= family->n_mcgrps)) in genl_set_err()
451 group = family->mcgrp_offset + group; in genl_set_err()
455 static inline int genl_has_listeners(const struct genl_family *family, in genl_has_listeners() argument
458 if (WARN_ON_ONCE(group >= family->n_mcgrps)) in genl_has_listeners()
460 group = family->mcgrp_offset + group; in genl_has_listeners()