Changeset 63564 in vbox for trunk/src/VBox/HostDrivers/VBoxNetAdp/win
- Timestamp:
- Aug 16, 2016 2:05:03 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 110219
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetAdp/win/VBoxNetAdp-win.cpp
r62719 r63564 197 197 pAdapter->hAdapter = hAdapter; 198 198 pAdapter->pGlobals = &g_VBoxNetAdpGlobals; 199 // TODO:Use netadp structure instead!199 /// @todo Use netadp structure instead! 200 200 /* Use a locally administered version of the OUI we use for the guest NICs. */ 201 201 pAdapter->MacAddr.au8[0] = 0x08 | 2; … … 207 207 pAdapter->MacAddr.au8[5] = uIfIndex & 0xFF; 208 208 209 // TODO:Statistics?209 /// @todo Statistics? 210 210 211 211 *ppAdapter = pAdapter; … … 265 265 } 266 266 267 // TODO:Registry?268 269 // TODO:WDM stack?270 271 // TODO:DPC?267 /// @todo Registry? 268 269 /// @todo WDM stack? 270 271 /// @todo DPC? 272 272 273 273 GAttrs.Header.Type = NDIS_OBJECT_TYPE_MINIPORT_ADAPTER_GENERAL_ATTRIBUTES; … … 277 277 GAttrs.MediaType = NdisMedium802_3; 278 278 GAttrs.PhysicalMediumType = NdisPhysicalMediumUnspecified; 279 GAttrs.MtuSize = 1500; // TODO279 GAttrs.MtuSize = 1500; /// @todo 280 280 GAttrs.MaxXmitLinkSpeed = VBOXNETADPWIN_LINK_SPEED; 281 281 GAttrs.XmitLinkSpeed = VBOXNETADPWIN_LINK_SPEED; … … 284 284 GAttrs.MediaConnectState = vboxNetAdpWinGetConnectState(pAdapter); 285 285 GAttrs.MediaDuplexState = MediaDuplexStateFull; 286 GAttrs.LookaheadSize = 1500; // TODO286 GAttrs.LookaheadSize = 1500; /// @todo 287 287 GAttrs.MacOptions = VBOXNETADP_MAC_OPTIONS; 288 288 GAttrs.SupportedPacketFilters = VBOXNETADP_SUPPORTED_FILTERS; 289 GAttrs.MaxMulticastListSize = 32; // TODO289 GAttrs.MaxMulticastListSize = 32; /// @todo 290 290 291 291 GAttrs.MacAddressLength = ETH_LENGTH_OF_ADDRESS; … … 334 334 PVBOXNETADP_ADAPTER pAdapter = (PVBOXNETADP_ADAPTER)MiniportAdapterContext; 335 335 LogFlow(("==>vboxNetAdpWinHaltEx\n")); 336 // TODO:Stop something?336 /// @todo Stop something? 337 337 if (pAdapter) 338 338 vboxNetAdpWinFreeAdapter(pAdapter); … … 403 403 case OID_GEN_RECEIVE_BUFFER_SPACE: 404 404 case OID_GEN_TRANSMIT_BUFFER_SPACE: 405 // TODO:Make configurable405 /// @todo Make configurable 406 406 ulTmp = VBOXNETADP_MAX_FRAME_SIZE * 40; 407 407 break; … … 418 418 pStats->Header.Revision = NDIS_STATISTICS_INFO_REVISION_1; 419 419 pStats->Header.Size = NDIS_SIZEOF_STATISTICS_INFO_REVISION_1; 420 // TODO:We need some stats, don't we?420 /// @todo We need some stats, don't we? 421 421 break; 422 422 } … … 490 490 break; 491 491 } 492 // TODO:For the time being we simply ignore lookahead settings.492 /// @todo For the time being we simply ignore lookahead settings. 493 493 pSet->BytesRead = sizeof(ULONG); 494 494 Status = NDIS_STATUS_SUCCESS; … … 502 502 break; 503 503 } 504 // TODO:For the time being we simply ignore packet filter settings.504 /// @todo For the time being we simply ignore packet filter settings. 505 505 pSet->BytesRead = pSet->InformationBufferLength; 506 506 Status = NDIS_STATUS_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.