Changeset 69250 in vbox for trunk/src/VBox/HostDrivers/VBoxNetAdp/win
- Timestamp:
- Oct 24, 2017 7:18:49 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 118565
- Location:
- trunk/src/VBox/HostDrivers/VBoxNetAdp/win
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetAdp/win/VBoxNetAdp-win.cpp
r65720 r69250 13 13 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the 14 14 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 15 * 16 * The contents of this file may alternatively be used under the terms 17 * of the Common Development and Distribution License Version 1.0 18 * (CDDL) only, as it comes in the "COPYING.CDDL" file of the 19 * VirtualBox OSE distribution, in which case the provisions of the 20 * CDDL are applicable instead of those of the GPL. 21 * 22 * You may elect to license modified versions of this file under the 23 * terms and conditions of either the GPL or the CDDL or both. 15 24 */ 16 25 … … 148 157 PVBOXNETADPGLOBALS pGlobals; 149 158 /** Adapter state in NDIS, used for assertions only */ 150 VBOXNETADPWIN_ADAPTER_STATE volatile enmAdapterState; // @todo do we need it really?159 VBOXNETADPWIN_ADAPTER_STATE volatile enmAdapterState; /// @todo do we need it really? 151 160 /** The trunk state. */ 152 161 INTNETTRUNKIFSTATE volatile enmTrunkState; … … 725 734 Assert(pThis->MyPort.u32Version == INTNETTRUNKIFPORT_VERSION); 726 735 727 // @todo Do we really need to handle this?736 /// @todo Do we really need to handle this? 728 737 } 729 738 … … 853 862 pAdapter->pSwitchPort = pSwitchPort; 854 863 *ppIfPort = &pAdapter->MyPort; 855 NdisReleaseSpinLock(&g_VBoxNetAdpGlobals.Lock); // @todo too early? adp should have been connected by the time we do this864 NdisReleaseSpinLock(&g_VBoxNetAdpGlobals.Lock); /// @todo too early? adp should have been connected by the time we do this 856 865 Log(("vboxNetAdpWinFactoryCreateAndConnect: found matching adapter, name=%s\n", pszName)); 857 866 vboxNetAdpWinReportCapabilities(pAdapter); 858 // @todo I guess there is no need in vboxNetAdpWinRegisterIpAddrNotifier(pThis);867 /// @todo I guess there is no need in vboxNetAdpWinRegisterIpAddrNotifier(pThis); 859 868 LogFlow(("<==vboxNetAdpWinFactoryCreateAndConnect: return VINF_SUCCESS\n")); 860 869 return VINF_SUCCESS; … … 862 871 } 863 872 NdisReleaseSpinLock(&pGlobals->Lock); 864 // @todo vboxNetAdpLogErrorEvent(IO_ERR_INTERNAL_ERROR, STATUS_SUCCESS, 6);873 /// @todo vboxNetAdpLogErrorEvent(IO_ERR_INTERNAL_ERROR, STATUS_SUCCESS, 6); 865 874 LogFlow(("<==vboxNetAdpWinFactoryCreateAndConnect: return VERR_INTNET_FLT_IF_NOT_FOUND\n")); 866 875 return VERR_INTNET_FLT_IF_NOT_FOUND; … … 1286 1295 { 1287 1296 LogError(("vboxNetAdpWinPause: timed out while pausing the adapter\n")); 1288 // @todo implement NDIS_STATUS_PENDING case? probably not.1297 /// @todo implement NDIS_STATUS_PENDING case? probably not. 1289 1298 } 1290 1299 enmPrevState = vboxNetAdpWinSetState(pThis, kVBoxNetAdpWinState_Paused); … … 1303 1312 VBOXNETADPWIN_ADAPTER_STATE enmPrevState = vboxNetAdpWinSetState(pThis, kVBoxNetAdpWinState_Restarting); 1304 1313 Assert(enmPrevState == kVBoxNetAdpWinState_Paused); 1305 // @todo anything?1314 /// @todo anything? 1306 1315 enmPrevState = vboxNetAdpWinSetState(pThis, kVBoxNetAdpWinState_Running); 1307 1316 Assert(enmPrevState == kVBoxNetAdpWinState_Restarting); -
trunk/src/VBox/HostDrivers/VBoxNetAdp/win/VBoxNetAdp-win.h
r62490 r69250 13 13 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the 14 14 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 15 * 16 * The contents of this file may alternatively be used under the terms 17 * of the Common Development and Distribution License Version 1.0 18 * (CDDL) only, as it comes in the "COPYING.CDDL" file of the 19 * VirtualBox OSE distribution, in which case the provisions of the 20 * CDDL are applicable instead of those of the GPL. 21 * 22 * You may elect to license modified versions of this file under the 23 * terms and conditions of either the GPL or the CDDL or both. 15 24 */ 16 25 #ifndef ___VBoxNetAdp_win_h___ -
trunk/src/VBox/HostDrivers/VBoxNetAdp/win/VBoxNetAdp-win.rc
r62535 r69250 13 13 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the 14 14 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 15 * 16 * The contents of this file may alternatively be used under the terms 17 * of the Common Development and Distribution License Version 1.0 18 * (CDDL) only, as it comes in the "COPYING.CDDL" file of the 19 * VirtualBox OSE distribution, in which case the provisions of the 20 * CDDL are applicable instead of those of the GPL. 21 * 22 * You may elect to license modified versions of this file under the 23 * terms and conditions of either the GPL or the CDDL or both. 15 24 */ 16 25
Note:
See TracChangeset
for help on using the changeset viewer.