Searched refs:rt6 (Results 1 – 13 of 13) sorted by relevance
| /Linux-v5.4/net/ipv6/ |
| D | xfrm6_policy.c | 79 xdst->u.rt6.rt6i_idev = in6_dev_get(dev); in xfrm6_fill_dst() 80 if (!xdst->u.rt6.rt6i_idev) { in xfrm6_fill_dst() 87 xdst->u.rt6.rt6i_flags = rt->rt6i_flags & (RTF_ANYCAST | in xfrm6_fill_dst() 90 xdst->u.rt6.rt6i_gateway = rt->rt6i_gateway; in xfrm6_fill_dst() 91 xdst->u.rt6.rt6i_dst = rt->rt6i_dst; in xfrm6_fill_dst() 92 xdst->u.rt6.rt6i_src = rt->rt6i_src; in xfrm6_fill_dst() 93 INIT_LIST_HEAD(&xdst->u.rt6.rt6i_uncached); in xfrm6_fill_dst() 94 rt6_uncached_list_add(&xdst->u.rt6); in xfrm6_fill_dst() 122 if (likely(xdst->u.rt6.rt6i_idev)) in xfrm6_dst_destroy() 123 in6_dev_put(xdst->u.rt6.rt6i_idev); in xfrm6_dst_destroy() [all …]
|
| D | fib6_rules.c | 108 if (res.rt6) in fib6_rule_lookup() 109 return &res.rt6->dst; in fib6_rule_lookup() 250 res->rt6 = rt; in __fib6_rule_action() 266 struct rt6_info *rt = res->rt6; in fib6_rule_suppress()
|
| D | route.c | 1511 struct rt6_info *rt6 = rt6_ex->rt6i; in __rt6_find_exception_spinlock() local 1512 bool matched = ipv6_addr_equal(daddr, &rt6->rt6i_dst.addr); in __rt6_find_exception_spinlock() 1516 matched = ipv6_addr_equal(saddr, &rt6->rt6i_src.addr); in __rt6_find_exception_spinlock() 1546 struct rt6_info *rt6 = rt6_ex->rt6i; in __rt6_find_exception_rcu() local 1547 bool matched = ipv6_addr_equal(daddr, &rt6->rt6i_dst.addr); in __rt6_find_exception_rcu() 1551 matched = ipv6_addr_equal(saddr, &rt6->rt6i_src.addr); in __rt6_find_exception_rcu() 2498 struct rt6_info *rt6; in ip6_route_output_flags() local 2502 rt6 = (struct rt6_info *)dst; in ip6_route_output_flags() 2504 if (list_empty(&rt6->rt6i_uncached) && !dst_hold_safe(dst)) { in ip6_route_output_flags() 2701 struct rt6_info *rt6 = (struct rt6_info *)dst; in __ip6_rt_update_pmtu() local [all …]
|
| D | icmp.c | 406 const struct rt6_info *rt6 = skb_rt6_info(skb); in icmp6_dev() local 408 if (rt6) in icmp6_dev() 409 dev = rt6->rt6i_idev->dev; in icmp6_dev()
|
| /Linux-v5.4/drivers/net/ |
| D | vrf.c | 46 struct rt6_info __rcu *rt6; member 411 struct rt6_info *rt6; in vrf_ip6_out_redirect() local 415 rt6 = rcu_dereference(vrf->rt6); in vrf_ip6_out_redirect() 416 if (likely(rt6)) { in vrf_ip6_out_redirect() 417 dst = &rt6->dst; in vrf_ip6_out_redirect() 486 struct rt6_info *rt6 = rtnl_dereference(vrf->rt6); in vrf_rt6_release() local 490 RCU_INIT_POINTER(vrf->rt6, NULL); in vrf_rt6_release() 496 if (rt6) { in vrf_rt6_release() 497 dst = &rt6->dst; in vrf_rt6_release() 510 struct rt6_info *rt6; in vrf_rt6_create() local [all …]
|
| /Linux-v5.4/net/mpls/ |
| D | mpls_iptunnel.c | 46 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-v5.4/include/net/ |
| D | ip6_route.h | 215 const struct rt6_info *rt6 = NULL; in skb_rt6_info() local 218 rt6 = container_of(dst, struct rt6_info, dst); in skb_rt6_info() 220 return rt6; in skb_rt6_info()
|
| D | ip6_fib.h | 199 struct rt6_info *rt6; member
|
| D | xfrm.h | 930 struct rt6_info rt6; member
|
| /Linux-v5.4/drivers/infiniband/core/ |
| D | addr.c | 351 struct rt6_info *rt6; in has_gateway() local 358 rt6 = container_of(dst, struct rt6_info, dst); in has_gateway() 359 return rt6->rt6i_flags & RTF_GATEWAY; in has_gateway()
|
| /Linux-v5.4/net/ipv4/ |
| D | ip_tunnel.c | 521 struct rt6_info *rt6; in tnl_update_pmtu() local 524 rt6 = skb_valid_dst(skb) ? (struct rt6_info *)skb_dst(skb) : in tnl_update_pmtu() 528 if (rt6 && mtu < dst_mtu(skb_dst(skb)) && in tnl_update_pmtu() 531 rt6->rt6i_dst.plen == 128) { in tnl_update_pmtu() 532 rt6->rt6i_flags |= RTF_MODIFIED; in tnl_update_pmtu()
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum_span.c | 407 struct rt6_info *rt6; in mlxsw_sp_span_gretap6_route() local 420 rt6 = container_of(dst, struct rt6_info, dst); in mlxsw_sp_span_gretap6_route() 424 *daddrp = rt6->rt6i_gateway; in mlxsw_sp_span_gretap6_route()
|
| /Linux-v5.4/net/xfrm/ |
| D | xfrm_policy.c | 2506 path->u.rt6.rt6i_nfheader_len = nfheader_len; in xfrm_init_path()
|