Searched refs:ort (Results 1 – 3 of 3) sorted by relevance
/net/netfilter/ipvs/ |
D | ip_vs_xmit.c | 168 struct rtable *ort; /* Original route */ in __ip_vs_get_out_rt() local 236 ort = skb_rtable(skb); in __ip_vs_get_out_rt() 238 !(ort->rt_flags & RTCF_LOCAL)) { in __ip_vs_get_out_rt() 261 ort = skb_rtable(skb); in __ip_vs_get_out_rt() 263 ort->dst.ops->update_pmtu(&ort->dst, sk, NULL, mtu); in __ip_vs_get_out_rt() 348 struct rt6_info *ort; /* Original route */ in __ip_vs_get_out_rt_v6() local 412 ort = (struct rt6_info *) skb_dst(skb); in __ip_vs_get_out_rt_v6() 414 !__ip_vs_is_local_route6(ort)) { in __ip_vs_get_out_rt_v6() 439 ort = (struct rt6_info *) skb_dst(skb); in __ip_vs_get_out_rt_v6() 441 ort->dst.ops->update_pmtu(&ort->dst, sk, NULL, mtu); in __ip_vs_get_out_rt_v6()
|
/net/ipv6/ |
D | route.c | 68 static struct rt6_info *ip6_rt_copy(struct rt6_info *ort, 814 static struct rt6_info *rt6_alloc_cow(struct rt6_info *ort, in rt6_alloc_cow() argument 824 rt = ip6_rt_copy(ort, daddr); in rt6_alloc_cow() 828 if (ort->rt6i_dst.plen != 128 && in rt6_alloc_cow() 829 ipv6_addr_equal(&ort->rt6i_dst.addr, daddr)) in rt6_alloc_cow() 847 static struct rt6_info *rt6_alloc_clone(struct rt6_info *ort, in rt6_alloc_clone() argument 850 struct rt6_info *rt = ip6_rt_copy(ort, daddr); in rt6_alloc_clone() 989 struct rt6_info *rt, *ort = (struct rt6_info *) dst_orig; in ip6_blackhole_route() local 992 rt = dst_alloc(&ip6_dst_blackhole_ops, ort->dst.dev, 1, DST_OBSOLETE_NONE, 0); in ip6_blackhole_route() 1003 if (dst_metrics_read_only(&ort->dst)) in ip6_blackhole_route() [all …]
|
/net/ipv4/ |
D | route.c | 2169 struct rtable *ort = (struct rtable *) dst_orig; in ipv4_blackhole_route() local 2180 new->dev = ort->dst.dev; in ipv4_blackhole_route() 2184 rt->rt_is_input = ort->rt_is_input; in ipv4_blackhole_route() 2185 rt->rt_iif = ort->rt_iif; in ipv4_blackhole_route() 2186 rt->rt_pmtu = ort->rt_pmtu; in ipv4_blackhole_route() 2189 rt->rt_flags = ort->rt_flags; in ipv4_blackhole_route() 2190 rt->rt_type = ort->rt_type; in ipv4_blackhole_route() 2191 rt->rt_gateway = ort->rt_gateway; in ipv4_blackhole_route() 2192 rt->rt_uses_gateway = ort->rt_uses_gateway; in ipv4_blackhole_route()
|