Lines Matching refs:ifp
276 struct ifnet *ifp = (m->m_pkthdr.rcvif != NULL) ? m->m_pkthdr.rcvif: NULL;
315 if (ifp->if_udp_stat != NULL)
316 atomic_add_64(&ifp->if_udp_stat->port0, 1);
333 if (ifp->if_udp_stat != NULL)
334 atomic_add_64(&ifp->if_udp_stat->badlength, 1);
374 if (ifp->if_udp_stat != NULL)
375 atomic_add_64(&ifp->if_udp_stat->badchksum, 1);
387 isbroadcast = in_broadcast(ip->ip_dst, ifp);
432 if (ip_restrictrecvif && ifp != NULL &&
433 (ifp->if_eflags & IFEF_RESTRICTED_RECV) &&
489 blocked = imo_multi_filter(imo, ifp,
569 if (ifp->if_udp_stat != NULL)
570 atomic_add_64(&ifp->if_udp_stat->port_unreach, 1);
627 ip->ip_dst, uh->uh_dport, 1, ifp);
630 if (ifp->if_udp_stat != NULL)
631 atomic_add_64(&ifp->if_udp_stat->port_unreach, 1);
664 if (ifp && ifp->if_type != IFT_LOOP)
677 if (ifp->if_udp_stat != NULL)
678 atomic_add_64(&ifp->if_udp_stat->cleanup, 1);
688 if (ifp->if_udp_stat != NULL)
689 atomic_add_64(&ifp->if_udp_stat->badipsec, 1);
1234 struct ifnet *ifp;
1269 ifp = ifindex2ifnet[pktinfo->ipi_ifindex];
1270 if (ifp == NULL) {
1278 *outif = ifp;