Lines Matching refs:rt_gw_family
443 if (likely(rt->rt_gw_family == AF_INET)) { in ipv4_neigh_lookup()
445 } else if (rt->rt_gw_family == AF_INET6) { in ipv4_neigh_lookup()
468 if (rt->rt_gw_family == AF_INET) { in ipv4_confirm_neigh()
470 } else if (rt->rt_gw_family == AF_INET6) { in ipv4_confirm_neigh()
653 rt->rt_gw_family = AF_INET; in fill_route_from_fnhe()
779 if (rt->rt_gw_family != AF_INET || rt->rt_gw4 != old_gw) in __ip_do_redirect()
1480 rt->rt_gw_family = AF_INET; in rt_bind_exception()
1607 rt->rt_gw_family = nhc->nhc_gw_family; in rt_set_nexthop()
1637 rt->rt_gw_family = AF_INET; in rt_set_nexthop()
1672 rt->rt_gw_family = 0; in rt_dst_alloc()
1700 new_rt->rt_gw_family = rt->rt_gw_family; in rt_dst_clone()
1701 if (rt->rt_gw_family == AF_INET) in rt_dst_clone()
1703 else if (rt->rt_gw_family == AF_INET6) in rt_dst_clone()
2757 rt->rt_gw_family = ort->rt_gw_family; in ipv4_blackhole_route()
2758 if (rt->rt_gw_family == AF_INET) in ipv4_blackhole_route()
2760 else if (rt->rt_gw_family == AF_INET6) in ipv4_blackhole_route()
2892 if (rt->rt_gw_family == AF_INET && in rt_fill_info()
2895 } else if (rt->rt_gw_family == AF_INET6) { in rt_fill_info()