Changeset 14183 in vbox
- Timestamp:
- Nov 13, 2008 4:29:51 PM (16 years ago)
- Location:
- trunk/src/VBox/Devices/Network/slirp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/slirp.c
r14181 r14183 226 226 } 227 227 #ifdef VBOX_WITH_SIMPLEFIED_SLIRP_SYNC 228 pData->phEvents[0] = CreateEvent(NULL, FALSE, FALSE, NULL);229 228 pData->phEvents[VBOX_SOCKET_EVENT_INDEX] = CreateEvent(NULL, FALSE, FALSE, NULL); 230 229 #endif … … 924 923 void slirp_register_external_event(PNATState pData, HANDLE hEvent) 925 924 { 926 pData->phEvents[ 0] = hEvent;927 } 928 #endif 925 pData->phEvents[VBOX_SEND_EVENT_INDEX] = hEvent; 926 } 927 #endif -
trunk/src/VBox/Devices/Network/slirp/slirp_state.h
r14182 r14183 117 117 struct socket *udp_last_so; 118 118 #if defined(VBOX_WITH_SIMPLEFIED_SLIRP_SYNC) && defined(RT_OS_WINDOWS) 119 #define VBOX_SEND_EVENT_INDEX 1 119 120 #define VBOX_SOCKET_EVENT_INDEX 1 120 121 #define VBOX_SOCKET_EVENT (pData->phEvents[VBOX_SOCKET_EVENT_INDEX])
Note:
See TracChangeset
for help on using the changeset viewer.