Lines Matching defs:PoolParams
813 NET_BUFFER_LIST_POOL_PARAMETERS PoolParams;
814 NdisZeroMemory(&PoolParams, sizeof(PoolParams));
815 PoolParams.Header.Type = NDIS_OBJECT_TYPE_DEFAULT;
816 PoolParams.Header.Revision = NET_BUFFER_LIST_POOL_PARAMETERS_REVISION_1;
817 PoolParams.Header.Size = sizeof(PoolParams);
818 PoolParams.ProtocolId = NDIS_PROTOCOL_ID_DEFAULT;
819 PoolParams.fAllocateNetBuffer = TRUE;
820 PoolParams.ContextSize = 0; /** @todo Do we need to consider underlying drivers? I think not. */
821 PoolParams.PoolTag = VBOXNETLWF_MEM_TAG;
823 PoolParams.DataSize = 2048; /** @todo figure out the optimal size, use several pools if necessary, make configurable, etc */
826 pModuleCtx->hPool = NdisAllocateNetBufferListPool(hFilter, &PoolParams);