Home
last modified time | relevance | path

Searched refs:rt_gw_family (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/net/ipv4/
Dxfrm4_policy.c89 xdst->u.rt.rt_gw_family = rt->rt_gw_family; in xfrm4_fill_dst()
90 if (rt->rt_gw_family == AF_INET) in xfrm4_fill_dst()
92 else if (rt->rt_gw_family == AF_INET6) in xfrm4_fill_dst()
Droute.c443 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()
[all …]
/kernel/linux/linux-5.10/include/net/
Droute.h60 u8 rt_gw_family; member
87 if (rt->rt_gw_family == AF_INET) in rt_nexthop()
386 if (likely(rt->rt_gw_family == AF_INET)) { in ip_neigh_for_gw()
388 } else if (rt->rt_gw_family == AF_INET6) { in ip_neigh_for_gw()
/kernel/linux/linux-5.10/drivers/net/appletalk/
Dipddp.c125 if (rtable->rt_gw_family == AF_INET) in ipddp_xmit()
/kernel/linux/linux-5.10/net/mpls/
Dmpls_iptunnel.c136 if (rt->rt_gw_family == AF_INET6) in mpls_xmit()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun.c107 if (mlx5_lag_is_multipath(mdev) && rt->rt_gw_family != AF_INET) { in mlx5e_route_lookup_ipv4_get()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_span.c436 if (rt->rt_gw_family == AF_INET) in mlxsw_sp_span_gretap4_route()
439 else if (rt->rt_gw_family == AF_INET6) in mlxsw_sp_span_gretap4_route()
/kernel/linux/linux-5.10/net/atm/
Dclip.c349 if (rt->rt_gw_family == AF_INET) in clip_start_xmit()