Lines Matching refs:nh_family
932 nhm->nh_family = AF_UNSPEC; in nh_fill_node()
954 nhm->nh_family = nhi->family; in nh_fill_node()
1158 nhm->nh_family = AF_UNSPEC; in nh_fill_res_bucket()
1248 static int nh_check_attr_fdb_group(struct nexthop *nh, u8 *nh_family, in nh_check_attr_fdb_group() argument
1260 if (*nh_family == AF_UNSPEC) { in nh_check_attr_fdb_group()
1261 *nh_family = nhi->family; in nh_check_attr_fdb_group()
1262 } else if (*nh_family != nhi->family) { in nh_check_attr_fdb_group()
1275 u8 nh_family = AF_UNSPEC; in nh_check_attr_group() local
1325 if (nhg_fdb && nh_check_attr_fdb_group(nh, &nh_family, extack)) in nh_check_attr_group()
2876 nhi->family = cfg->nh_family; in nexthop_create()
2887 switch (cfg->nh_family) { in nexthop_create()
3042 switch (nhm->nh_family) { in rtm_to_nh_config()
3061 cfg->nh_family = nhm->nh_family; in rtm_to_nh_config()
3082 if (nhm->nh_family != AF_UNSPEC) { in rtm_to_nh_config()
3152 switch (cfg->nh_family) { in rtm_to_nh_config()
3493 if (nh_dump_filtered(nh, filter, nhm->nh_family)) in rtm_dump_nexthop_cb()
3645 if (nh_dump_filtered(nhge->nh, &dd->filter, nhm->nh_family)) in rtm_dump_nexthop_bucket_nh()