Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/appletalk/
Dipddp.c54 static int ipddp_create(struct ipddp_route *new_rt);
196 static int ipddp_create(struct ipddp_route *new_rt) in ipddp_create() argument
203 rt->ip = new_rt->ip; in ipddp_create()
204 rt->at = new_rt->at; in ipddp_create()
/Linux-v5.15/net/ipv4/
Droute.c1649 struct rtable *new_rt; in rt_dst_clone() local
1651 new_rt = dst_alloc(&ipv4_dst_ops, dev, 1, DST_OBSOLETE_FORCE_CHK, in rt_dst_clone()
1654 if (new_rt) { in rt_dst_clone()
1655 new_rt->rt_genid = rt_genid_ipv4(dev_net(dev)); in rt_dst_clone()
1656 new_rt->rt_flags = rt->rt_flags; in rt_dst_clone()
1657 new_rt->rt_type = rt->rt_type; in rt_dst_clone()
1658 new_rt->rt_is_input = rt->rt_is_input; in rt_dst_clone()
1659 new_rt->rt_iif = rt->rt_iif; in rt_dst_clone()
1660 new_rt->rt_pmtu = rt->rt_pmtu; in rt_dst_clone()
1661 new_rt->rt_mtu_locked = rt->rt_mtu_locked; in rt_dst_clone()
[all …]
Dip_output.c321 struct rtable *new_rt; in ip_mc_finish_output() local
341 new_rt = rt_dst_clone(net->loopback_dev, skb_rtable(skb)); in ip_mc_finish_output()
342 if (new_rt) { in ip_mc_finish_output()
343 new_rt->rt_iif = 0; in ip_mc_finish_output()
345 skb_dst_set(skb, &new_rt->dst); in ip_mc_finish_output()