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)
133 const struct genl_family *family; member
309 genl_info_init_ntf(struct genl_info *info, const struct genl_family *family, in genl_info_init_ntf() argument
315 info->family = family; in genl_info_init_ntf()
325 void *__genl_sk_priv_get(struct genl_family *family, struct sock *sk);
326 void *genl_sk_priv_get(struct genl_family *family, struct sock *sk);
327 int genl_register_family(struct genl_family *family);
328 int genl_unregister_family(const struct genl_family *family);
329 void genl_notify(const struct genl_family *family, struct sk_buff *skb,
333 const struct genl_family *family, int flags, u8 cmd);
338 return genlmsg_put(skb, info->snd_portid, info->snd_seq, info->family, in __genlmsg_iput()
384 const struct genl_family *family, in genlmsg_parse_deprecated() argument
389 return __nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype, in genlmsg_parse_deprecated()
403 const struct genl_family *family, in genlmsg_parse() argument
408 return __nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype, in genlmsg_parse()
438 const struct genl_family *family, in genlmsg_put_reply() argument
441 return genlmsg_put(skb, info->snd_portid, info->snd_seq, family, in genlmsg_put_reply()
482 genlmsg_multicast_netns_filtered(const struct genl_family *family, in genlmsg_multicast_netns_filtered() argument
488 if (WARN_ON_ONCE(group >= family->n_mcgrps)) in genlmsg_multicast_netns_filtered()
490 group = family->mcgrp_offset + group; in genlmsg_multicast_netns_filtered()
504 static inline int genlmsg_multicast_netns(const struct genl_family *family, in genlmsg_multicast_netns() argument
508 return genlmsg_multicast_netns_filtered(family, net, skb, portid, in genlmsg_multicast_netns()
520 static inline int genlmsg_multicast(const struct genl_family *family, in genlmsg_multicast() argument
524 return genlmsg_multicast_netns(family, &init_net, skb, in genlmsg_multicast()
537 int genlmsg_multicast_allns(const struct genl_family *family,
622 static inline int genl_set_err(const struct genl_family *family, in genl_set_err() argument
626 if (WARN_ON_ONCE(group >= family->n_mcgrps)) in genl_set_err()
628 group = family->mcgrp_offset + group; in genl_set_err()
632 static inline int genl_has_listeners(const struct genl_family *family, in genl_has_listeners() argument
635 if (WARN_ON_ONCE(group >= family->n_mcgrps)) in genl_has_listeners()
637 group = family->mcgrp_offset + group; in genl_has_listeners()