Lines Matching refs:family
16 #define MODULE_ALIAS_GENL_FAMILY(family) \ argument
17 MODULE_ALIAS_NET_PF_PROTO_NAME(PF_NETLINK, NETLINK_GENERIC, "-family-" family)
134 const struct genl_family *family; member
313 genl_info_init_ntf(struct genl_info *info, const struct genl_family *family, in genl_info_init_ntf() argument
319 info->family = family; in genl_info_init_ntf()
329 void *__genl_sk_priv_get(struct genl_family *family, struct sock *sk);
330 void *genl_sk_priv_get(struct genl_family *family, struct sock *sk);
331 int genl_register_family(struct genl_family *family);
332 int genl_unregister_family(const struct genl_family *family);
333 void genl_notify(const struct genl_family *family, struct sk_buff *skb,
337 const struct genl_family *family, int flags, u8 cmd);
342 return genlmsg_put(skb, info->snd_portid, info->snd_seq, info->family, in __genlmsg_iput()
388 const struct genl_family *family, in genlmsg_parse_deprecated() argument
393 return __nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype, in genlmsg_parse_deprecated()
407 const struct genl_family *family, in genlmsg_parse() argument
412 return __nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype, in genlmsg_parse()
442 const struct genl_family *family, in genlmsg_put_reply() argument
445 return genlmsg_put(skb, info->snd_portid, info->snd_seq, family, in genlmsg_put_reply()
486 genlmsg_multicast_netns_filtered(const struct genl_family *family, in genlmsg_multicast_netns_filtered() argument
492 if (WARN_ON_ONCE(group >= family->n_mcgrps)) { in genlmsg_multicast_netns_filtered()
496 group = family->mcgrp_offset + group; in genlmsg_multicast_netns_filtered()
510 static inline int genlmsg_multicast_netns(const struct genl_family *family, in genlmsg_multicast_netns() argument
514 return genlmsg_multicast_netns_filtered(family, net, skb, portid, in genlmsg_multicast_netns()
526 static inline int genlmsg_multicast(const struct genl_family *family, in genlmsg_multicast() argument
530 return genlmsg_multicast_netns(family, &init_net, skb, in genlmsg_multicast()
543 int genlmsg_multicast_allns(const struct genl_family *family,
628 static inline int genl_set_err(const struct genl_family *family, in genl_set_err() argument
632 if (WARN_ON_ONCE(group >= family->n_mcgrps)) in genl_set_err()
634 group = family->mcgrp_offset + group; in genl_set_err()
638 static inline int genl_has_listeners(const struct genl_family *family, in genl_has_listeners() argument
641 if (WARN_ON_ONCE(group >= family->n_mcgrps)) in genl_has_listeners()
643 group = family->mcgrp_offset + group; in genl_has_listeners()