I am reading tap-win32/tapdrvr.c code. I found in DriverEntry function,before call NdisMRegisterMiniport, have two lines: l_Properties->TransferDataHandler = AdapterReceive; /* DISPATCH_LEVEL */ l_Properties->SendHandler = AdapterTransmit; /* DISPATCH_LEVEL */
But I found AdapterReceive function have nothing, AdapterTransmit function recv data from network card。 i can't understand. Who send data in this driver? thinks -- It is the tears of the earth that keep here smiles in bloom.