Home
last modified time | relevance | path

Searched refs:ort (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/net/ipv6/
Droute.c79 static void ip6_rt_copy_init(struct rt6_info *rt, struct rt6_info *ort);
932 static struct rt6_info *ip6_rt_cache_alloc(struct rt6_info *ort, in ip6_rt_cache_alloc() argument
942 if (ort->rt6i_flags & (RTF_CACHE | RTF_PCPU)) in ip6_rt_cache_alloc()
943 ort = (struct rt6_info *)ort->dst.from; in ip6_rt_cache_alloc()
945 rt = __ip6_dst_alloc(dev_net(ort->dst.dev), ort->dst.dev, 0); in ip6_rt_cache_alloc()
950 ip6_rt_copy_init(rt, ort); in ip6_rt_cache_alloc()
957 if (!rt6_is_gw_or_nonexthop(ort)) { in ip6_rt_cache_alloc()
958 if (ort->rt6i_dst.plen != 128 && in ip6_rt_cache_alloc()
959 ipv6_addr_equal(&ort->rt6i_dst.addr, daddr)) in ip6_rt_cache_alloc()
1205 struct rt6_info *rt, *ort = (struct rt6_info *) dst_orig; in ip6_blackhole_route() local
[all …]
/linux-4.4.14/net/ipv4/
Droute.c2360 struct rtable *ort = (struct rtable *) dst_orig; in ipv4_blackhole_route() local
2371 new->dev = ort->dst.dev; in ipv4_blackhole_route()
2375 rt->rt_is_input = ort->rt_is_input; in ipv4_blackhole_route()
2376 rt->rt_iif = ort->rt_iif; in ipv4_blackhole_route()
2377 rt->rt_pmtu = ort->rt_pmtu; in ipv4_blackhole_route()
2380 rt->rt_flags = ort->rt_flags; in ipv4_blackhole_route()
2381 rt->rt_type = ort->rt_type; in ipv4_blackhole_route()
2382 rt->rt_gateway = ort->rt_gateway; in ipv4_blackhole_route()
2383 rt->rt_uses_gateway = ort->rt_uses_gateway; in ipv4_blackhole_route()
/linux-4.4.14/net/netfilter/ipvs/
Dip_vs_xmit.c209 struct rtable *ort = skb_rtable(skb); in maybe_update_pmtu() local
212 ort->dst.ops->update_pmtu(&ort->dst, sk, NULL, mtu); in maybe_update_pmtu()