Searched refs:new_rt (Results 1 – 2 of 2) sorted by relevance
1709 struct rtable *new_rt; in rt_dst_clone() local1711 new_rt = dst_alloc(&ipv4_dst_ops, dev, DST_OBSOLETE_FORCE_CHK, in rt_dst_clone()1714 if (new_rt) { in rt_dst_clone()1715 new_rt->rt_genid = rt_genid_ipv4(dev_net(dev)); in rt_dst_clone()1716 new_rt->rt_flags = rt->rt_flags; in rt_dst_clone()1717 new_rt->rt_type = rt->rt_type; in rt_dst_clone()1718 new_rt->rt_is_input = rt->rt_is_input; in rt_dst_clone()1719 new_rt->rt_iif = rt->rt_iif; in rt_dst_clone()1720 new_rt->rt_pmtu = rt->rt_pmtu; in rt_dst_clone()1721 new_rt->rt_mtu_locked = rt->rt_mtu_locked; in rt_dst_clone()[all …]
336 struct rtable *new_rt; in ip_mc_finish_output() local356 new_rt = rt_dst_clone(net->loopback_dev, skb_rtable(skb)); in ip_mc_finish_output()357 if (new_rt) { in ip_mc_finish_output()358 new_rt->rt_iif = 0; in ip_mc_finish_output()360 skb_dst_set(skb, &new_rt->dst); in ip_mc_finish_output()