Lines Matching defs:pRequest
427 DECLINLINE(void) vboxNetLwfWinInitOidRequest(PVBOXNETLWF_OIDREQ pRequest)
429 NdisZeroMemory(pRequest, sizeof(VBOXNETLWF_OIDREQ));
431 NdisInitializeEvent(&pRequest->Event);
433 pRequest->Request.Header.Type = NDIS_OBJECT_TYPE_OID_REQUEST;
434 pRequest->Request.Header.Revision = NDIS_OID_REQUEST_REVISION_1;
435 pRequest->Request.Header.Size = NDIS_SIZEOF_OID_REQUEST_REVISION_1;
437 pRequest->Request.RequestId = (PVOID)VBOXNETLWF_REQ_ID;
440 static NDIS_STATUS vboxNetLwfWinSyncOidRequest(PVBOXNETLWF_MODULE pModuleCtx, PVBOXNETLWF_OIDREQ pRequest)
442 NDIS_STATUS Status = NdisFOidRequest(pModuleCtx->hFilter, &pRequest->Request);
445 NdisWaitEvent(&pRequest->Event, 0);
446 Status = pRequest->Status;
551 IN PNDIS_OID_REQUEST pRequest,
554 LogFlow(("==>"__FUNCTION__": module=%p req=%p status=0x%x\n", hModuleCtx, pRequest, Status));
556 PNDIS_OID_REQUEST pOriginal = *((PNDIS_OID_REQUEST*)(pRequest->SourceReserved));
561 Assert(pPrev == pRequest);
563 Log5((__FUNCTION__": completed rq type=%d oid=%x\n", pRequest->RequestType, pRequest->DATA.QUERY_INFORMATION.Oid));
564 vboxNetLwfWinCopyOidRequestResults(pRequest, pOriginal);
565 if ( pRequest->RequestType == NdisRequestQueryInformation
566 && pRequest->DATA.QUERY_INFORMATION.Oid == OID_GEN_CURRENT_PACKET_FILTER)
569 vboxNetLwfWinDumpFilterTypes(*(ULONG*)pRequest->DATA.QUERY_INFORMATION.InformationBuffer);
570 vboxNetLwfWinOverridePacketFiltersUp(pModuleCtx, (ULONG*)pRequest->DATA.QUERY_INFORMATION.InformationBuffer);
572 vboxNetLwfWinDumpFilterTypes(*(ULONG*)pRequest->DATA.QUERY_INFORMATION.InformationBuffer);
574 NdisFreeCloneOidRequest(pModuleCtx->hFilter, pRequest);
580 Log((__FUNCTION__": locally originated request (%p) completed, status=0x%x\n", pRequest, Status));
581 PVBOXNETLWF_OIDREQ pRqWrapper = RT_FROM_MEMBER(pRequest, VBOXNETLWF_OIDREQ, Request);