• Home
  • Raw
  • Download

Lines Matching refs:family

64 static int parse_mcast_grps(struct genl_family *family, struct nlattr *grp_attr)  in parse_mcast_grps()  argument
94 err = genl_family_add_grp(family, id, name); in parse_mcast_grps()
108 struct genl_family *family; in ctrl_msg_parser() local
112 family = genl_family_alloc(); in ctrl_msg_parser()
113 if (family == NULL) { in ctrl_msg_parser()
128 family->ce_msgtype = info->nlh->nlmsg_type; in ctrl_msg_parser()
129 genl_family_set_id(family, in ctrl_msg_parser()
131 genl_family_set_name(family, in ctrl_msg_parser()
136 genl_family_set_version(family, version); in ctrl_msg_parser()
141 genl_family_set_hdrsize(family, hdrsize); in ctrl_msg_parser()
146 genl_family_set_maxattr(family, maxattr); in ctrl_msg_parser()
173 err = genl_family_add_op(family, id, flags); in ctrl_msg_parser()
181 err = parse_mcast_grps(family, info->attrs[CTRL_ATTR_MCAST_GROUPS]); in ctrl_msg_parser()
186 err = pp->pp_cb((struct nl_object *) family, pp); in ctrl_msg_parser()
188 genl_family_put(family); in ctrl_msg_parser()
431 struct genl_family *family; in genl_ctrl_resolve() local
434 family = genl_ctrl_probe_by_name(sk, name); in genl_ctrl_resolve()
435 if (family == NULL) { in genl_ctrl_resolve()
440 err = genl_family_get_id(family); in genl_ctrl_resolve()
441 genl_family_put(family); in genl_ctrl_resolve()
446 static int genl_ctrl_grp_by_name(const struct genl_family *family, in genl_ctrl_grp_by_name() argument
451 nl_list_for_each_entry(grp, &family->gf_mc_grps, list) { in genl_ctrl_grp_by_name()
475 struct genl_family *family; in genl_ctrl_resolve_grp() local
478 family = genl_ctrl_probe_by_name(sk, family_name); in genl_ctrl_resolve_grp()
479 if (family == NULL) { in genl_ctrl_resolve_grp()
484 err = genl_ctrl_grp_by_name(family, grp_name); in genl_ctrl_resolve_grp()
485 genl_family_put(family); in genl_ctrl_resolve_grp()