Lines Matching refs:family
13 * @name: name of the multicast group, names are per-family
26 * struct genl_family - generic netlink family
27 * @id: protocol family identifier (private)
29 * @name: name of family
33 * @netnsok: set to true if the family can handle network
41 * @mcgrps: multicast groups used by this family
43 * @mcgrp_offset: starting number of multicast group IDs in this family
45 * @ops: the operations supported by this family
46 * @n_ops: number of operations supported by this family
47 * @small_ops: the small-struct operations supported by this family
48 * @n_small_ops: number of small-struct operations supported by this family
120 * @internal_flags: flags used by the family
141 * @internal_flags: flags used by the family
144 * @policy: netlink policy (takes precedence over family policy)
168 * @family: generic netlink family - for internal genl code usage
173 const struct genl_family *family;
184 int genl_register_family(struct genl_family *family);
185 int genl_unregister_family(const struct genl_family *family);
186 void genl_notify(const struct genl_family *family, struct sk_buff *skb,
190 const struct genl_family *family, int flags, u8 cmd);
208 * @family: genetlink message family
215 const struct genl_family *family,
220 return __nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype,
227 * @family: genetlink message family
234 const struct genl_family *family,
239 return __nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype,
261 * @family: generic netlink family
269 const struct genl_family *family,
272 return genlmsg_put(skb, info->snd_portid, info->snd_seq, family,
299 * @family: the generic netlink family
306 static inline int genlmsg_multicast_netns(const struct genl_family *family,
310 if (WARN_ON_ONCE(group >= family->n_mcgrps))
312 group = family->mcgrp_offset + group;
318 * @family: the generic netlink family
324 static inline int genlmsg_multicast(const struct genl_family *family,
328 return genlmsg_multicast_netns(family, &init_net, skb,
334 * @family: the generic netlink family
342 int genlmsg_multicast_allns(const struct genl_family *family,
416 * @family: the generic netlink family
426 static inline int genl_set_err(const struct genl_family *family,
430 if (WARN_ON_ONCE(group >= family->n_mcgrps))
432 group = family->mcgrp_offset + group;
436 static inline int genl_has_listeners(const struct genl_family *family,
439 if (WARN_ON_ONCE(group >= family->n_mcgrps))
441 group = family->mcgrp_offset + group;