Lines Matching refs:rt_family
74 r->rt_family = AF_UNSPEC; in route_constructor()
144 nl_dump_line(p, "%s ", nl_af2str(r->rt_family, buf, sizeof(buf))); in route_dump_line()
314 uint8_t rt_family; in route_keygen() member
336 rkey->rt_family = route->rt_family; in route_keygen()
347 "hash 0x%x\n", route, rkey->rt_family, rkey->rt_tos, in route_keygen()
363 if (route->rt_family == AF_MPLS) in route_id_attrs_get()
380 diff |= ROUTE_DIFF(FAMILY, a->rt_family != b->rt_family); in route_compare()
492 if (new_route->rt_family != AF_INET6 || in route_update()
689 route->rt_family = family; in rtnl_route_set_family()
699 return route->rt_family; in rtnl_route_get_family()
705 if (addr->a_family != route->rt_family) in rtnl_route_set_dst()
708 route->rt_family = addr->a_family; in rtnl_route_set_dst()
732 if (addr->a_family != route->rt_family) in rtnl_route_set_src()
735 route->rt_family = addr->a_family; in rtnl_route_set_src()
834 if (addr->a_family != route->rt_family) in rtnl_route_set_pref_src()
837 route->rt_family = addr->a_family; in rtnl_route_set_pref_src()
964 if (route->rt_family == AF_MPLS) in rtnl_route_guess_scope()
1053 route->rt_family); in parse_multipath()
1074 route->rt_family); in parse_multipath()
1139 route->rt_family = family = rtm->rtm_family; in rtnl_route_parse()
1264 addr = nl_addr_alloc_attr(tb[RTA_NEWDST], route->rt_family); in rtnl_route_parse()
1354 .rtm_family = route->rt_family, in rtnl_route_build_msg()
1386 if (route->rt_family != AF_MPLS) in rtnl_route_build_msg()