Lines Matching defs:ifp
336 struct ifnet *ifp = pThis->u.s.ifp;
341 VBOXCURVNET_SET(ifp->if_vnet);
363 ether_demux(ifp, m);
381 int rc = ether_output_frame(ifp, m);
427 struct ifnet *ifp = pThis->u.s.ifp;
432 VBOXCURVNET_SET(ifp->if_vnet);
459 ether_demux(ifp, m);
472 struct ifnet *ifp = pThis->u.s.ifp;
477 VBOXCURVNET_SET(ifp->if_vnet);
504 ether_output_frame(ifp, m);
518 struct ifnet *ifp;
524 ifp = ASMAtomicUoReadPtrT(&pThis->u.s.ifp, struct ifnet *);
525 VBOXCURVNET_SET(ifp->if_vnet);
537 ether_output_frame(ifp, m);
564 m->m_pkthdr.rcvif = ifp;
565 ifp->if_input(ifp, m);
581 struct ifnet *ifp;
586 ifp = ifunit(pThis->szName);
587 if (ifp == NULL)
596 ASMAtomicUoWritePtr(&pThis->u.s.ifp, ifp);
598 bcopy(IF_LLADDR(ifp), &pThis->u.s.MacAddr, ETHER_ADDR_LEN);
638 struct ifnet *ifp, *ifp0;
640 ifp = ASMAtomicUoReadPtrT(&pThis->u.s.ifp, struct ifnet *);
641 VBOXCURVNET_SET(ifp->if_vnet);
647 if (ifp != ifp0)
683 pThis->u.s.ifp = NULL;
691 struct ifnet *ifp;
702 ifp = ASMAtomicUoReadPtrT(&pThis->u.s.ifp, struct ifnet *);
703 VBOXCURVNET_SET(ifp->if_vnet);
710 pThis->u.s.flags = ifp->if_flags;
711 ifpromisc(ifp, 1);
714 snprintf(path, sizeof(path), "%s:", ifp->if_xname);
726 snprintf(con->path, NG_PATHSIZ, "vboxnetflt_%s:", ifp->if_xname);
741 ifp->if_xname);
750 ifpromisc(ifp, 0);
753 snprintf(path, sizeof(path), "vboxnetflt_%s:", ifp->if_xname);