Changeset 18323 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Mar 26, 2009 3:29:16 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DrvIntNet.cpp
r18314 r18323 40 40 41 41 #include "../Builtins.h" 42 43 #if defined(RT_OS_WINDOWS) && defined(VBOX_WITH_NETFLT)44 # include "win/DrvIntNet-win.h"45 #endif46 42 47 43 … … 1024 1020 strcpy(OpenReq.szTrunk, &pThis->szNetwork[sizeof("wif=") - 1]); 1025 1021 } 1026 1027 #elif defined(RT_OS_WINDOWS) && defined(VBOX_WITH_NETFLT) 1028 if (OpenReq.enmTrunkType == kIntNetTrunkType_NetFlt 1029 || OpenReq.enmTrunkType == kIntNetTrunkType_NetAdp) 1030 { 1031 # ifndef VBOX_NETFLT_ONDEMAND_BIND 1032 /* 1033 * We have a ndis filter driver started on system boot before the VBoxDrv, 1034 * tell the filter driver to init VBoxNetFlt functionality. 1035 */ 1036 rc = drvIntNetWinConstruct(pDrvIns, pCfgHandle, OpenReq.enmTrunkType); 1037 AssertLogRelMsgRCReturn(rc, ("drvIntNetWinConstruct failed, rc=%Rrc", rc), rc); 1038 # endif 1039 1040 /* 1041 * <Describe what this does here or/and in the function docs of drvIntNetWinIfGuidToBindName>. 1042 */ 1043 char szBindName[INTNET_MAX_TRUNK_NAME]; 1044 rc = drvIntNetWinIfGuidToBindName(OpenReq.szTrunk, szBindName, INTNET_MAX_TRUNK_NAME); 1045 AssertLogRelMsgRCReturn(rc, ("drvIntNetWinIfGuidToBindName failed, rc=%Rrc", rc), rc); 1046 strcpy(OpenReq.szTrunk, szBindName); 1047 } 1048 #endif /* WINDOWS && NETFLT */ 1022 #endif /* DARWIN */ 1049 1023 1050 1024 /*
Note:
See TracChangeset
for help on using the changeset viewer.