Lines Matching refs:rt
328 struct rtable *rt; in igmpv3_newpack() local
348 rt = ip_route_output_ports(net, &fl4, NULL, IGMPV3_ALL_MCR, 0, in igmpv3_newpack()
351 if (IS_ERR(rt)) { in igmpv3_newpack()
356 skb_dst_set(skb, &rt->dst); in igmpv3_newpack()
678 struct rtable *rt; in igmp_send_report() local
697 rt = ip_route_output_ports(net, &fl4, NULL, dst, 0, in igmp_send_report()
700 if (IS_ERR(rt)) in igmp_send_report()
707 ip_rt_put(rt); in igmp_send_report()
712 skb_dst_set(skb, &rt->dst); in igmp_send_report()
1711 struct rtable *rt = ip_route_output(net, in ip_mc_find_dev() local
1714 if (!IS_ERR(rt)) { in ip_mc_find_dev()
1715 dev = rt->dst.dev; in ip_mc_find_dev()
1716 ip_rt_put(rt); in ip_mc_find_dev()