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()
662 rt->rt_gw_family = AF_INET; in fill_route_from_fnhe()
788 if (rt->rt_gw_family != AF_INET || rt->rt_gw4 != old_gw) in __ip_do_redirect()
1495 rt->rt_gw_family = AF_INET; in rt_bind_exception()
1622 rt->rt_gw_family = nhc->nhc_gw_family; in rt_set_nexthop()
1652 rt->rt_gw_family = AF_INET; in rt_set_nexthop()
1687 rt->rt_gw_family = 0; in rt_dst_alloc()
1715 new_rt->rt_gw_family = rt->rt_gw_family; in rt_dst_clone()
1716 if (rt->rt_gw_family == AF_INET) in rt_dst_clone()
1718 else if (rt->rt_gw_family == AF_INET6) in rt_dst_clone()
2783 rt->rt_gw_family = ort->rt_gw_family; in ipv4_blackhole_route()
2784 if (rt->rt_gw_family == AF_INET) in ipv4_blackhole_route()
2786 else if (rt->rt_gw_family == AF_INET6) in ipv4_blackhole_route()
2918 if (rt->rt_gw_family == AF_INET && in rt_fill_info()
2921 } else if (rt->rt_gw_family == AF_INET6) { in rt_fill_info()