Home
last modified time | relevance | path

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

/linux-6.3-rc2/net/ipv6/
A Dxfrm6_policy.c78 xdst->u.rt6.rt6i_idev = in6_dev_get(dev); in xfrm6_fill_dst()
79 if (!xdst->u.rt6.rt6i_idev) { in xfrm6_fill_dst()
90 xdst->u.rt6.rt6i_dst = rt->rt6i_dst; in xfrm6_fill_dst()
91 xdst->u.rt6.rt6i_src = rt->rt6i_src; in xfrm6_fill_dst()
93 rt6_uncached_list_add(&xdst->u.rt6); in xfrm6_fill_dst()
121 if (likely(xdst->u.rt6.rt6i_idev)) in xfrm6_dst_destroy()
122 in6_dev_put(xdst->u.rt6.rt6i_idev); in xfrm6_dst_destroy()
124 if (xdst->u.rt6.rt6i_uncached_list) in xfrm6_dst_destroy()
125 rt6_uncached_list_del(&xdst->u.rt6); in xfrm6_dst_destroy()
138 if (xdst->u.rt6.rt6i_idev->dev == dev) { in xfrm6_dst_ifdown()
[all …]
A Dfib6_rules.c111 if (res.rt6) in fib6_rule_lookup()
112 return &res.rt6->dst; in fib6_rule_lookup()
256 res->rt6 = rt; in __fib6_rule_action()
275 struct rt6_info *rt = res->rt6; in fib6_rule_suppress()
A Droute.c1386 return rt6->sernum == rt_genid_ipv6(dev_net(rt6->dst.dev)); in rt6_is_valid()
2635 struct rt6_info *rt6; in ip6_route_output_flags() local
2639 rt6 = (struct rt6_info *)dst; in ip6_route_output_flags()
2871 rt6_do_update_pmtu(rt6, mtu); in __ip6_rt_update_pmtu()
2873 if (rt6->rt6i_flags & RTF_CACHE) in __ip6_rt_update_pmtu()
2890 .gw = &rt6->rt6i_gateway, in __ip6_rt_update_pmtu()
5614 if (rt6) { in rt6_fill_node()
5615 rt6_dst = &rt6->rt6i_dst; in rt6_fill_node()
5616 rt6_src = &rt6->rt6i_src; in rt6_fill_node()
5617 rt6_flags = rt6->rt6i_flags; in rt6_fill_node()
[all …]
A Dicmp.c424 const struct rt6_info *rt6 = skb_rt6_info(skb); in icmp6_dev() local
426 if (rt6) in icmp6_dev()
427 dev = rt6->rt6i_idev->dev; in icmp6_dev()
/linux-6.3-rc2/net/mpls/
A Dmpls_iptunnel.c46 struct rt6_info *rt6 = NULL; in mpls_xmit() local
95 rt6 = (struct rt6_info *)dst; in mpls_xmit()
142 } else if (rt6) { in mpls_xmit()
143 if (ipv6_addr_v4mapped(&rt6->rt6i_gateway)) { in mpls_xmit()
145 err = neigh_xmit(NEIGH_ARP_TABLE, out_dev, &rt6->rt6i_gateway.s6_addr32[3], in mpls_xmit()
148 err = neigh_xmit(NEIGH_ND_TABLE, out_dev, &rt6->rt6i_gateway, in mpls_xmit()
/linux-6.3-rc2/drivers/net/
A Dvrf.c704 struct rt6_info *rt6; in vrf_ip6_out_redirect() local
708 rt6 = rcu_dereference(vrf->rt6); in vrf_ip6_out_redirect()
709 if (likely(rt6)) { in vrf_ip6_out_redirect()
710 dst = &rt6->dst; in vrf_ip6_out_redirect()
805 struct rt6_info *rt6 = rtnl_dereference(vrf->rt6); in vrf_rt6_release() local
815 if (rt6) { in vrf_rt6_release()
816 dst = &rt6->dst; in vrf_rt6_release()
829 struct rt6_info *rt6; in vrf_rt6_create() local
842 if (!rt6) in vrf_rt6_create()
847 rcu_assign_pointer(vrf->rt6, rt6); in vrf_rt6_create()
[all …]
/linux-6.3-rc2/include/net/
A Dip6_route.h213 const struct rt6_info *rt6 = NULL; in skb_rt6_info() local
216 rt6 = container_of(dst, struct rt6_info, dst); in skb_rt6_info()
218 return rt6; in skb_rt6_info()
A Dip6_fib.h232 struct rt6_info *rt6; member
A Dxfrm.h947 struct rt6_info rt6; member
/linux-6.3-rc2/drivers/infiniband/core/
A Daddr.c352 struct rt6_info *rt6; in has_gateway() local
359 rt6 = container_of(dst, struct rt6_info, dst); in has_gateway()
360 return rt6->rt6i_flags & RTF_GATEWAY; in has_gateway()
/linux-6.3-rc2/net/ipv4/
A Dip_tunnel.c517 struct rt6_info *rt6; in tnl_update_pmtu() local
520 rt6 = skb_valid_dst(skb) ? (struct rt6_info *)skb_dst(skb) : in tnl_update_pmtu()
524 if (rt6 && mtu < dst_mtu(skb_dst(skb)) && in tnl_update_pmtu()
527 rt6->rt6i_dst.plen == 128) { in tnl_update_pmtu()
528 rt6->rt6i_flags |= RTF_MODIFIED; in tnl_update_pmtu()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_span.c529 struct rt6_info *rt6; in mlxsw_sp_span_gretap6_route() local
542 rt6 = container_of(dst, struct rt6_info, dst); in mlxsw_sp_span_gretap6_route()
546 *daddrp = rt6->rt6i_gateway; in mlxsw_sp_span_gretap6_route()
/linux-6.3-rc2/net/xfrm/
A Dxfrm_policy.c2580 path->u.rt6.rt6i_nfheader_len = nfheader_len; in xfrm_init_path()

Completed in 63 milliseconds