Lines Matching full:family
13 * @name: name of the multicast group, names are per-family
23 * struct genl_family - generic netlink family
24 * @id: protocol family identifier (private)
26 * @name: name of family
30 * @netnsok: set to true if the family can handle network
38 * @mcgrps: multicast groups used by this family
40 * @mcgrp_offset: starting number of multicast group IDs in this family
42 * @ops: the operations supported by this family
43 * @n_ops: number of operations supported by this family
44 * @small_ops: the small-struct operations supported by this family
45 * @n_small_ops: number of small-struct operations supported by this family
117 * @internal_flags: flags used by the family
138 * @internal_flags: flags used by the family
141 * @policy: netlink policy (takes precedence over family policy)
165 * @family: generic netlink family - for internal genl code usage
170 const struct genl_family *family; member
181 int genl_register_family(struct genl_family *family);
182 int genl_unregister_family(const struct genl_family *family);
183 void genl_notify(const struct genl_family *family, struct sk_buff *skb,
187 const struct genl_family *family, int flags, u8 cmd);
205 * @family: genetlink message family
212 const struct genl_family *family, in genlmsg_parse_deprecated() argument
217 return __nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype, in genlmsg_parse_deprecated()
224 * @family: genetlink message family
231 const struct genl_family *family, in genlmsg_parse() argument
236 return __nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype, in genlmsg_parse()
258 * @family: generic netlink family
266 const struct genl_family *family, in genlmsg_put_reply() argument
269 return genlmsg_put(skb, info->snd_portid, info->snd_seq, family, in genlmsg_put_reply()
296 * @family: the generic netlink family
303 static inline int genlmsg_multicast_netns(const struct genl_family *family, in genlmsg_multicast_netns() argument
307 if (WARN_ON_ONCE(group >= family->n_mcgrps)) in genlmsg_multicast_netns()
309 group = family->mcgrp_offset + group; in genlmsg_multicast_netns()
315 * @family: the generic netlink family
321 static inline int genlmsg_multicast(const struct genl_family *family, in genlmsg_multicast() argument
325 return genlmsg_multicast_netns(family, &init_net, skb, in genlmsg_multicast()
331 * @family: the generic netlink family
339 int genlmsg_multicast_allns(const struct genl_family *family,
413 * @family: the generic netlink family
423 static inline int genl_set_err(const struct genl_family *family, in genl_set_err() argument
427 if (WARN_ON_ONCE(group >= family->n_mcgrps)) in genl_set_err()
429 group = family->mcgrp_offset + group; in genl_set_err()
433 static inline int genl_has_listeners(const struct genl_family *family, in genl_has_listeners() argument
436 if (WARN_ON_ONCE(group >= family->n_mcgrps)) in genl_has_listeners()
438 group = family->mcgrp_offset + group; in genl_has_listeners()