Home
last modified time | relevance | path

Searched refs:new_rt (Results 1 – 2 of 2) sorted by relevance

/linux/net/ipv4/
H A Droute.c1671 struct rtable *new_rt; in rt_dst_clone() local
1673 new_rt = dst_alloc(&ipv4_dst_ops, dev, DST_OBSOLETE_FORCE_CHK, in rt_dst_clone()
1676 if (new_rt) { in rt_dst_clone()
1677 new_rt->rt_genid = rt_genid_ipv4(dev_net(dev)); in rt_dst_clone()
1678 new_rt->rt_flags = rt->rt_flags; in rt_dst_clone()
1679 new_rt->rt_type = rt->rt_type; in rt_dst_clone()
1680 new_rt->rt_is_input = rt->rt_is_input; in rt_dst_clone()
1681 new_rt->rt_iif = rt->rt_iif; in rt_dst_clone()
1682 new_rt->rt_pmtu = rt->rt_pmtu; in rt_dst_clone()
1683 new_rt->rt_mtu_locked = rt->rt_mtu_locked; in rt_dst_clone()
[all …]
H A Dip_output.c335 struct rtable *new_rt; in ip_mc_finish_output() local
355 new_rt = rt_dst_clone(net->loopback_dev, skb_rtable(skb)); in ip_mc_finish_output()
356 if (new_rt) { in ip_mc_finish_output()
357 new_rt->rt_iif = 0; in ip_mc_finish_output()
359 skb_dst_set(skb, &new_rt->dst); in ip_mc_finish_output()