Lines Matching refs:rcvif
410 } else if (m->m_pkthdr.rcvif->if_index < M2MMAX)
411 ip6stat.ip6s_m2m[m->m_pkthdr.rcvif->if_index]++;
419 in6_ifstat_inc(m->m_pkthdr.rcvif, ifs6_in_receive);
458 inifp = m->m_pkthdr.rcvif;
471 in6_ifstat_inc(m->m_pkthdr.rcvif, ifs6_in_hdrerr);
503 in6_ifstat_inc(m->m_pkthdr.rcvif, ifs6_in_addrerr);
508 (m->m_pkthdr.rcvif->if_flags & IFF_LOOPBACK) == 0) {
510 in6_ifstat_inc(m->m_pkthdr.rcvif, ifs6_in_addrerr);
529 in6_ifstat_inc(m->m_pkthdr.rcvif, ifs6_in_addrerr);
543 in6_ifstat_inc(m->m_pkthdr.rcvif, ifs6_in_addrerr);
549 if ((m->m_pkthdr.rcvif->if_flags & IFF_LOOPBACK) == 0) {
564 = htons(m->m_pkthdr.rcvif->if_index);
567 = htons(m->m_pkthdr.rcvif->if_index);
579 if ((m->m_pkthdr.rcvif->if_flags & IFF_LOOPBACK) != 0 &&
582 if (!(ia6 = in6ifa_ifpwithaddr(m->m_pkthdr.rcvif, &ip6->ip6_dst))) {
592 deliverifp = m->m_pkthdr.rcvif;
603 in6_ifstat_inc(m->m_pkthdr.rcvif, ifs6_in_mcast);
608 IN6_LOOKUP_MULTI(ip6->ip6_dst, m->m_pkthdr.rcvif, in6m);
614 in6_ifstat_inc(m->m_pkthdr.rcvif, ifs6_in_discard);
617 deliverifp = m->m_pkthdr.rcvif;
646 in6_addr2scopeid(m->m_pkthdr.rcvif, &ip6->ip6_dst);
747 in6_ifstat_inc(m->m_pkthdr.rcvif, ifs6_in_discard);
784 in6_ifstat_inc(m->m_pkthdr.rcvif, ifs6_in_discard);
805 in6_ifstat_inc(m->m_pkthdr.rcvif, ifs6_in_discard);
806 in6_ifstat_inc(m->m_pkthdr.rcvif, ifs6_in_hdrerr);
844 in6_ifstat_inc(m->m_pkthdr.rcvif, ifs6_in_truncated);
867 if (ip6_mrouter && ip6_mforward(ip6, m->m_pkthdr.rcvif, m)) {
898 in6_ifstat_inc(m->m_pkthdr.rcvif, ifs6_in_addrerr);
926 in6_ifstat_inc(m->m_pkthdr.rcvif, ifs6_in_truncated);
1328 pi6.ipi6_ifindex = (m && m->m_pkthdr.rcvif)
1329 ? m->m_pkthdr.rcvif->if_index