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
29 * @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
68 struct nlattr **genl_family_attrbuf(const struct genl_family *family);
117 * @internal_flags: flags used by the family
138 int genl_register_family(struct genl_family *family);
139 int genl_unregister_family(const struct genl_family *family);
140 void genl_notify(const struct genl_family *family, struct sk_buff *skb,
144 const struct genl_family *family, int flags, u8 cmd);
162 * @family: genetlink message family
169 const struct genl_family *family, in genlmsg_parse() argument
174 return nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype, in genlmsg_parse()
196 * @family: generic netlink family
204 const struct genl_family *family, in genlmsg_put_reply() argument
207 return genlmsg_put(skb, info->snd_portid, info->snd_seq, family, in genlmsg_put_reply()
234 * @family: the generic netlink family
241 static inline int genlmsg_multicast_netns(const struct genl_family *family, in genlmsg_multicast_netns() argument
245 if (WARN_ON_ONCE(group >= family->n_mcgrps)) in genlmsg_multicast_netns()
247 group = family->mcgrp_offset + group; in genlmsg_multicast_netns()
253 * @family: the generic netlink family
259 static inline int genlmsg_multicast(const struct genl_family *family, in genlmsg_multicast() argument
263 return genlmsg_multicast_netns(family, &init_net, skb, in genlmsg_multicast()
269 * @family: the generic netlink family
277 int genlmsg_multicast_allns(const struct genl_family *family,
351 * @family: the generic netlink family
361 static inline int genl_set_err(const struct genl_family *family, in genl_set_err() argument
365 if (WARN_ON_ONCE(group >= family->n_mcgrps)) in genl_set_err()
367 group = family->mcgrp_offset + group; in genl_set_err()
371 static inline int genl_has_listeners(const struct genl_family *family, in genl_has_listeners() argument
374 if (WARN_ON_ONCE(group >= family->n_mcgrps)) in genl_has_listeners()
376 group = family->mcgrp_offset + group; in genl_has_listeners()