Changeset 19253 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Apr 29, 2009 9:58:43 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/testcase/tstIntNet-1.cpp
r18457 r19253 312 312 SendReq.pSession = pSession; 313 313 SendReq.hIf = hIf; 314 rc = SUPCallVMMR0Ex(NIL_RTR0PTR, VMMR0_DO_INTNET_IF_SEND, 0, &SendReq.Hdr);314 rc = SUPCallVMMR0Ex(NIL_RTR0PTR, 0 /* VPCU 0 */, VMMR0_DO_INTNET_IF_SEND, 0, &SendReq.Hdr); 315 315 if (RT_FAILURE(rc)) 316 316 { … … 542 542 WaitReq.hIf = hIf; 543 543 WaitReq.cMillies = cMillies - (uint32_t)cElapsedMillies; 544 int rc = SUPCallVMMR0Ex(NIL_RTR0PTR, VMMR0_DO_INTNET_IF_WAIT, 0, &WaitReq.Hdr);544 int rc = SUPCallVMMR0Ex(NIL_RTR0PTR, 0 /* VPCU 0 */, VMMR0_DO_INTNET_IF_WAIT, 0, &WaitReq.Hdr); 545 545 if (rc == VERR_TIMEOUT) 546 546 break; … … 882 882 OpenReq.szNetwork, OpenReq.szTrunk); 883 883 RTStrmFlush(g_pStdOut); 884 rc = SUPCallVMMR0Ex(NIL_RTR0PTR, VMMR0_DO_INTNET_OPEN, 0, &OpenReq.Hdr);884 rc = SUPCallVMMR0Ex(NIL_RTR0PTR, 0 /* VPCU 0 */, VMMR0_DO_INTNET_OPEN, 0, &OpenReq.Hdr); 885 885 if (RT_SUCCESS(rc)) 886 886 { … … 898 898 GetRing3BufferReq.hIf = OpenReq.hIf; 899 899 GetRing3BufferReq.pRing3Buf = NULL; 900 rc = SUPCallVMMR0Ex(NIL_RTR0PTR, VMMR0_DO_INTNET_IF_GET_RING3_BUFFER, 0, &GetRing3BufferReq.Hdr);900 rc = SUPCallVMMR0Ex(NIL_RTR0PTR, 0 /* VPCU 0 */, VMMR0_DO_INTNET_IF_GET_RING3_BUFFER, 0, &GetRing3BufferReq.Hdr); 901 901 if (RT_SUCCESS(rc)) 902 902 { … … 913 913 PromiscReq.hIf = OpenReq.hIf; 914 914 PromiscReq.fPromiscuous = true; 915 rc = SUPCallVMMR0Ex(NIL_RTR0PTR, VMMR0_DO_INTNET_IF_SET_PROMISCUOUS_MODE, 0, &PromiscReq.Hdr);915 rc = SUPCallVMMR0Ex(NIL_RTR0PTR, 0 /* VPCU 0 */, VMMR0_DO_INTNET_IF_SET_PROMISCUOUS_MODE, 0, &PromiscReq.Hdr); 916 916 if (RT_SUCCESS(rc)) 917 917 RTPrintf("tstIntNet-1: interface in promiscuous mode\n"); … … 928 928 ActiveReq.hIf = OpenReq.hIf; 929 929 ActiveReq.fActive = true; 930 rc = SUPCallVMMR0Ex(NIL_RTR0PTR, VMMR0_DO_INTNET_IF_SET_ACTIVE, 0, &ActiveReq.Hdr);930 rc = SUPCallVMMR0Ex(NIL_RTR0PTR, 0 /* VPCU 0 */, VMMR0_DO_INTNET_IF_SET_ACTIVE, 0, &ActiveReq.Hdr); 931 931 if (RT_SUCCESS(rc)) 932 932 {
Note:
See TracChangeset
for help on using the changeset viewer.