JustKernel

Ray Of Hope

network rate limiter NDIS

QEMU + crude and simple rate limiter

For Windows paravirtualized guest NDIS driver. Manage the flow in ring buffer. iff –git a/NetKVM/NDIS5/Common/ParaNdis-Common.c b/NetKVM/NDIS5/Common/ParaNdis-Common.c index fe84133..c2cbf00 100644 — a/NetKVM/NDIS5/Common/ParaNdis-Common.c +++ b/NetKVM/NDIS5/Common/ParaNdis-Common.c @@ -805,7 +805,7 @@ NDIS_STATUS ParaNdis_InitializeContext( pContext->ReuseBufferProc = ReuseReceiveBufferRegular; – + NdisInitializeEvent(&pContext->ResetEvent); DEBUG_EXIT_STATUS(0, status); return status; @@ -1433,7 +1433,7 @@ void ReuseReceiveBufferRegular(PARANDIS_ADAPTER *pContext, pIONetDescriptor pBuf /********************************************************** It is called from Rx processing […]

Tags:

Posted in qemu, virtualization | No Comments »