Home
last modified time | relevance | path

Searched refs:rt6 (Results 1 – 10 of 10) sorted by relevance

/Linux-v4.19/net/ipv6/
Dxfrm6_policy.c87 path->u.rt6.rt6i_nfheader_len = nfheader_len; in xfrm6_init_path()
100 xdst->u.rt6.rt6i_idev = in6_dev_get(dev); in xfrm6_fill_dst()
101 if (!xdst->u.rt6.rt6i_idev) { in xfrm6_fill_dst()
108 xdst->u.rt6.rt6i_flags = rt->rt6i_flags & (RTF_ANYCAST | in xfrm6_fill_dst()
111 xdst->u.rt6.rt6i_gateway = rt->rt6i_gateway; in xfrm6_fill_dst()
112 xdst->u.rt6.rt6i_dst = rt->rt6i_dst; in xfrm6_fill_dst()
113 xdst->u.rt6.rt6i_src = rt->rt6i_src; in xfrm6_fill_dst()
114 INIT_LIST_HEAD(&xdst->u.rt6.rt6i_uncached); in xfrm6_fill_dst()
115 rt6_uncached_list_add(&xdst->u.rt6); in xfrm6_fill_dst()
245 if (likely(xdst->u.rt6.rt6i_idev)) in xfrm6_dst_destroy()
[all …]
Droute.c1350 struct rt6_info *rt6 = rt6_ex->rt6i; in __rt6_find_exception_spinlock() local
1351 bool matched = ipv6_addr_equal(daddr, &rt6->rt6i_dst.addr); in __rt6_find_exception_spinlock()
1355 matched = ipv6_addr_equal(saddr, &rt6->rt6i_src.addr); in __rt6_find_exception_spinlock()
1385 struct rt6_info *rt6 = rt6_ex->rt6i; in __rt6_find_exception_rcu() local
1386 bool matched = ipv6_addr_equal(daddr, &rt6->rt6i_dst.addr); in __rt6_find_exception_rcu()
1390 matched = ipv6_addr_equal(saddr, &rt6->rt6i_src.addr); in __rt6_find_exception_rcu()
2324 struct rt6_info *rt6 = (struct rt6_info *)dst; in __ip6_rt_update_pmtu() local
2344 if (!rt6_cache_allowed_for_pmtu(rt6)) { in __ip6_rt_update_pmtu()
2345 rt6_do_update_pmtu(rt6, mtu); in __ip6_rt_update_pmtu()
2347 if (rt6->rt6i_flags & RTF_CACHE) in __ip6_rt_update_pmtu()
[all …]
Dicmp.c409 const struct rt6_info *rt6 = skb_rt6_info(skb); in icmp6_iif() local
411 if (rt6) in icmp6_iif()
412 iif = rt6->rt6i_idev->dev->ifindex; in icmp6_iif()
/Linux-v4.19/drivers/net/
Dvrf.c50 struct rt6_info __rcu *rt6; member
403 struct rt6_info *rt6; in vrf_ip6_out_redirect() local
407 rt6 = rcu_dereference(vrf->rt6); in vrf_ip6_out_redirect()
408 if (likely(rt6)) { in vrf_ip6_out_redirect()
409 dst = &rt6->dst; in vrf_ip6_out_redirect()
478 struct rt6_info *rt6 = rtnl_dereference(vrf->rt6); in vrf_rt6_release() local
482 RCU_INIT_POINTER(vrf->rt6, NULL); in vrf_rt6_release()
488 if (rt6) { in vrf_rt6_release()
489 dst = &rt6->dst; in vrf_rt6_release()
502 struct rt6_info *rt6; in vrf_rt6_create() local
[all …]
/Linux-v4.19/net/mpls/
Dmpls_iptunnel.c51 struct rt6_info *rt6 = NULL; in mpls_xmit() local
100 rt6 = (struct rt6_info *)dst; in mpls_xmit()
143 else if (rt6) in mpls_xmit()
144 err = neigh_xmit(NEIGH_ND_TABLE, out_dev, &rt6->rt6i_gateway, in mpls_xmit()
/Linux-v4.19/include/net/
Dip6_route.h195 const struct rt6_info *rt6 = NULL; in skb_rt6_info() local
198 rt6 = container_of(dst, struct rt6_info, dst); in skb_rt6_info()
200 return rt6; in skb_rt6_info()
Dxfrm.h994 struct rt6_info rt6; member
/Linux-v4.19/drivers/infiniband/core/
Daddr.c336 struct rt6_info *rt6; in has_gateway() local
343 rt6 = container_of(dst, struct rt6_info, dst); in has_gateway()
344 return rt6->rt6i_flags & RTF_GATEWAY; in has_gateway()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_span.c403 struct rt6_info *rt6; in mlxsw_sp_span_gretap6_route() local
416 rt6 = container_of(dst, struct rt6_info, dst); in mlxsw_sp_span_gretap6_route()
420 *daddrp = rt6->rt6i_gateway; in mlxsw_sp_span_gretap6_route()
/Linux-v4.19/net/ipv4/
Dip_tunnel.c529 struct rt6_info *rt6 = (struct rt6_info *)skb_dst(skb); in tnl_update_pmtu() local
531 if (rt6 && mtu < dst_mtu(skb_dst(skb)) && in tnl_update_pmtu()
535 rt6->rt6i_dst.plen == 128) { in tnl_update_pmtu()
536 rt6->rt6i_flags |= RTF_MODIFIED; in tnl_update_pmtu()