Changeset 15094 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Dec 8, 2008 8:09:03 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/slirp.c
r15092 r15094 11 11 #include <iprt/assert.h> 12 12 13 #if !defined(VBOX_WITH_SIMPLIFIED_SLIRP_SYNC) || (defined(VBOX_WITH_SIMPLIFIED_SLIRP_SYNC) && !defined(RT_OS_WINDOWS))13 #if !defined(VBOX_WITH_SIMPLIFIED_SLIRP_SYNC) || !defined(RT_OS_WINDOWS) 14 14 # define DO_ENGAGE_EVENT1(so, fdset, label) \ 15 15 do { \ … … 25 25 UPD_NFDS((so)->s); \ 26 26 } while(0) 27 #else /* !defined(VBOX_WITH_SIMPLIFIED_SLIRP_SYNC) || (defined(VBOX_WITH_SIMPLIFIED_SLIRP_SYNC) && !defined(RT_OS_WINDOWS) */27 #else /* defined(VBOX_WITH_SIMPLIFIED_SLIRP_SYNC) && defined(RT_OS_WINDOWS) */ 28 28 # define DO_ENGAGE_EVENT1(so, fdset0, label) \ 29 29 do { \ … … 39 39 40 40 # define DO_ENGAGE_EVENT2(so, fdset0, fdset1, label) DO_ENGAGE_EVENT1((so), (fdset0), label) 41 #endif 41 #endif /* defined(VBOX_WITH_SIMPLIFIED_SLIRP_SYNC) && defined(RT_OS_WINDOWS) */ 42 42 43 43 # define TCP_ENGAGE_EVENT1(so, fdset0) \ 44 44 DO_ENGAGE_EVENT1((so), (fdset0), TCP) 45 45 46 # define TCP_ENGAGE_EVENT2(so, fdset0, fdset1) 46 # define TCP_ENGAGE_EVENT2(so, fdset0, fdset1) \ 47 47 DO_ENGAGE_EVENT2((so), (fdset0), (fdset1), TCP) 48 48 49 #define UDP_ENGAGE_EVENT(so, fdset) DO_ENGAGE_EVENT1((so), (fdset), UDP) 49 #define UDP_ENGAGE_EVENT(so, fdset) \ 50 DO_ENGAGE_EVENT1((so), (fdset), UDP) 50 51 51 52 static const uint8_t special_ethaddr[6] = {
Note:
See TracChangeset
for help on using the changeset viewer.