Lines Matching defs:rt
95 struct rtentry *rt;
135 /* XXX in6_ifstat_inc(rt->rt_ifp, ifs6_in_discard) */
151 /* XXX in6_ifstat_inc(rt->rt_ifp, ifs6_in_discard) */
335 } else if ((rt = ip6forward_rt->ro_rt) == 0 ||
362 rt = ip6forward_rt->ro_rt;
372 in6_addr2scopeid(rt->rt_ifp, &ip6->ip6_src)) {
375 in6_ifstat_inc(rt->rt_ifp, ifs6_in_discard);
385 if_name(m->m_pkthdr.rcvif), if_name(rt->rt_ifp));
399 if (m->m_pkthdr.len > rt->rt_ifp->if_mtu) {
400 in6_ifstat_inc(rt->rt_ifp, ifs6_in_toobig);
409 mtu = rt->rt_ifp->if_mtu;
416 * encapsulated packet as "rt->rt_ifp".
444 if (rt->rt_flags & RTF_GATEWAY)
445 dst = (struct sockaddr_in6 *)rt->rt_gateway;
456 if (rt->rt_ifp == m->m_pkthdr.rcvif && !srcrt &&
457 (rt->rt_flags & (RTF_DYNAMIC|RTF_MODIFIED)) == 0) {
458 if ((rt->rt_ifp->if_flags & IFF_POINTOPOINT) != 0) {
487 if (ip6_fw_chk_ptr(&ip6, rt->rt_ifp, &port, &m)) {
503 if ((rt->rt_ifp->if_flags & IFF_LOOPBACK) != 0) {
516 if ((rt->rt_flags & (RTF_BLACKHOLE|RTF_REJECT)) == 0)
524 if_name(rt->rt_ifp));
531 origifp = rt->rt_ifp;
541 error = nd6_output(rt->rt_ifp, origifp, m, dst, rt, locked);
543 in6_ifstat_inc(rt->rt_ifp, ifs6_out_discard);
547 in6_ifstat_inc(rt->rt_ifp, ifs6_out_forward);
562 icmp6_redirect_output(mcopy, rt);