Home
last modified time | relevance | path

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

/net/ipv6/
Droute.c75 static struct rt6_info *ip6_rt_copy(struct rt6_info *ort,
871 static struct rt6_info *rt6_alloc_cow(struct rt6_info *ort, in rt6_alloc_cow() argument
881 rt = ip6_rt_copy(ort, daddr); in rt6_alloc_cow()
884 if (ort->rt6i_dst.plen != 128 && in rt6_alloc_cow()
885 ipv6_addr_equal(&ort->rt6i_dst.addr, daddr)) in rt6_alloc_cow()
901 static struct rt6_info *rt6_alloc_clone(struct rt6_info *ort, in rt6_alloc_clone() argument
904 struct rt6_info *rt = ip6_rt_copy(ort, daddr); in rt6_alloc_clone()
1042 struct rt6_info *rt, *ort = (struct rt6_info *) dst_orig; in ip6_blackhole_route() local
1045 rt = dst_alloc(&ip6_dst_blackhole_ops, ort->dst.dev, 1, DST_OBSOLETE_NONE, 0); in ip6_blackhole_route()
1056 if (dst_metrics_read_only(&ort->dst)) in ip6_blackhole_route()
[all …]
/net/ipv4/
Droute.c2251 struct rtable *ort = (struct rtable *) dst_orig; in ipv4_blackhole_route() local
2262 new->dev = ort->dst.dev; in ipv4_blackhole_route()
2266 rt->rt_is_input = ort->rt_is_input; in ipv4_blackhole_route()
2267 rt->rt_iif = ort->rt_iif; in ipv4_blackhole_route()
2268 rt->rt_pmtu = ort->rt_pmtu; in ipv4_blackhole_route()
2271 rt->rt_flags = ort->rt_flags; in ipv4_blackhole_route()
2272 rt->rt_type = ort->rt_type; in ipv4_blackhole_route()
2273 rt->rt_gateway = ort->rt_gateway; in ipv4_blackhole_route()
2274 rt->rt_uses_gateway = ort->rt_uses_gateway; in ipv4_blackhole_route()
/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()