Lines Matching refs:new_rt
1665 struct rtable *new_rt; in rt_dst_clone() local
1667 new_rt = dst_alloc(&ipv4_dst_ops, dev, 1, DST_OBSOLETE_FORCE_CHK, in rt_dst_clone()
1670 if (new_rt) { in rt_dst_clone()
1671 new_rt->rt_genid = rt_genid_ipv4(dev_net(dev)); in rt_dst_clone()
1672 new_rt->rt_flags = rt->rt_flags; in rt_dst_clone()
1673 new_rt->rt_type = rt->rt_type; in rt_dst_clone()
1674 new_rt->rt_is_input = rt->rt_is_input; in rt_dst_clone()
1675 new_rt->rt_iif = rt->rt_iif; in rt_dst_clone()
1676 new_rt->rt_pmtu = rt->rt_pmtu; in rt_dst_clone()
1677 new_rt->rt_mtu_locked = rt->rt_mtu_locked; in rt_dst_clone()
1678 new_rt->rt_gw_family = rt->rt_gw_family; in rt_dst_clone()
1680 new_rt->rt_gw4 = rt->rt_gw4; in rt_dst_clone()
1682 new_rt->rt_gw6 = rt->rt_gw6; in rt_dst_clone()
1683 INIT_LIST_HEAD(&new_rt->rt_uncached); in rt_dst_clone()
1685 new_rt->dst.input = rt->dst.input; in rt_dst_clone()
1686 new_rt->dst.output = rt->dst.output; in rt_dst_clone()
1687 new_rt->dst.error = rt->dst.error; in rt_dst_clone()
1688 new_rt->dst.lastuse = jiffies; in rt_dst_clone()
1689 new_rt->dst.lwtstate = lwtstate_get(rt->dst.lwtstate); in rt_dst_clone()
1691 return new_rt; in rt_dst_clone()