Lines Matching defs:rt
97 struct rtentry *rt = NULL;
139 /* XXX in6_ifstat_inc(rt->rt_ifp, ifs6_in_discard) */
158 /* XXX in6_ifstat_inc(rt->rt_ifp, ifs6_in_discard) */
362 rt = rin6.ro_rt;
374 if (in6_setscope(&src_in6, rt->rt_ifp, &outzone)) {
392 in6_ifstat_inc(rt->rt_ifp, ifs6_in_discard);
402 if_name(m->m_pkthdr.rcvif), if_name(rt->rt_ifp));
419 in6_setscope(&dst_in6, rt->rt_ifp, &outzone) != 0 ||
426 if (rt->rt_flags & RTF_GATEWAY)
427 dst = (struct sockaddr_in6 *)rt->rt_gateway;
438 if (V_ip6_sendredirects && rt->rt_ifp == m->m_pkthdr.rcvif && !srcrt &&
442 (rt->rt_flags & (RTF_DYNAMIC|RTF_MODIFIED)) == 0) {
443 if ((rt->rt_ifp->if_flags & IFF_POINTOPOINT) != 0) {
469 if ((rt->rt_ifp->if_flags & IFF_LOOPBACK) != 0) {
482 if ((rt->rt_flags & (RTF_BLACKHOLE|RTF_REJECT)) == 0)
490 if_name(rt->rt_ifp));
497 origifp = rt->rt_ifp;
511 error = pfil_run_hooks(&V_inet6_pfil_hook, &m, rt->rt_ifp, PFIL_OUT, NULL);
555 if (m->m_pkthdr.len > IN6_LINKMTU(rt->rt_ifp)) {
556 in6_ifstat_inc(rt->rt_ifp, ifs6_in_toobig);
565 mtu = IN6_LINKMTU(rt->rt_ifp);
572 * encapsulated packet as "rt->rt_ifp".
595 error = nd6_output(rt->rt_ifp, origifp, m, dst, rt);
597 in6_ifstat_inc(rt->rt_ifp, ifs6_out_discard);
601 in6_ifstat_inc(rt->rt_ifp, ifs6_out_forward);
615 icmp6_redirect_output(mcopy, rt);
646 if (rt != NULL
651 RTFREE(rt);