Lines Matching defs:ifp
251 struct ifnet *ifp;
341 pr[i].handler(pr[i].ifp, POLL_ONLY, count);
454 pr[i].handler(pr[i].ifp, arg, cycles);
468 ether_poll_register(poll_handler_t *h, if_t ifp)
473 KASSERT(ifp != NULL, ("%s: ifp is NULL", __func__));
495 if (pr[i].ifp == ifp && pr[i].handler != NULL) {
498 " already registered\n", ifp->if_xname);
503 pr[poll_handlers].ifp = ifp;
515 ether_poll_deregister(if_t ifp)
519 KASSERT(ifp != NULL, ("%s: ifp is NULL", __func__));
524 if (pr[i].ifp == ifp) /* found it */
528 ifp->if_xname);
535 pr[i].ifp = pr[poll_handlers].ifp;