Changeset 14457 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Nov 21, 2008 1:43:41 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 39728
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DrvIntNet.cpp
r14348 r14457 1014 1014 1015 1015 #elif defined(RT_OS_WINDOWS) && defined(VBOX_WITH_NETFLT) 1016 1017 if(OpenReq.enmTrunkType == kIntNetTrunkType_NetFlt) 1016 if (OpenReq.enmTrunkType == kIntNetTrunkType_NetFlt) 1018 1017 { 1019 1018 # ifndef VBOX_NETFLT_ONDEMAND_BIND 1020 /* we have a ndis filter driver started on system boot before the VBoxDrv, 1021 * tell the filter driver to init VBoxNetFlt functionality */ 1019 /* 1020 * We have a ndis filter driver started on system boot before the VBoxDrv, 1021 * tell the filter driver to init VBoxNetFlt functionality. 1022 */ 1022 1023 rc = drvIntNetWinConstruct(pDrvIns, pCfgHandle); 1023 Assert(RT_SUCCESS(rc)); 1024 if (RT_FAILURE(rc)) 1025 { 1026 LogRel(("drvIntNetConstruct: drvIntNetWinConstruct failed, rc (0x%x)", rc)); 1027 return rc; 1028 } 1024 AssertLogRelMsgRCReturn(rc, ("drvIntNetWinConstruct failed, rc=%Rrc", rc), rc); 1029 1025 # endif 1030 1026 1027 /* 1028 * <Describe what this does here or/and in the function docs of drvIntNetWinIfGuidToBindName>. 1029 */ 1031 1030 char szBindName[INTNET_MAX_TRUNK_NAME]; 1032 int cBindName = INTNET_MAX_TRUNK_NAME; 1033 1034 rc = drvIntNetWinIfGuidToBindName(OpenReq.szTrunk, szBindName, cBindName); 1035 Assert(RT_SUCCESS(rc)); 1036 if (RT_FAILURE(rc)) 1037 { 1038 LogRel(("drvIntNetConstruct: drvIntNetWinIfGuidToBindName failed, rc (0x%x)", rc)); 1039 return rc; 1040 } 1041 1031 rc = drvIntNetWinIfGuidToBindName(OpenReq.szTrunk, szBindName, INTNET_MAX_TRUNK_NAME); 1032 AssertLogRelMsgRCReturn(rc, ("drvIntNetWinIfGuidToBindName failed, rc=%Rrc", rc), rc); 1042 1033 strcpy(OpenReq.szTrunk, szBindName); 1043 1034 } 1044 #endif 1035 #endif /* WINDOWS && NETFLT */ 1045 1036 1046 1037 /*
Note:
See TracChangeset
for help on using the changeset viewer.