Changeset 15204 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Dec 9, 2008 9:23:54 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/slirp.c
r15203 r15204 12 12 13 13 #if !defined(VBOX_WITH_SIMPLIFIED_SLIRP_SYNC) || !defined(RT_OS_WINDOWS) 14 15 # define DO_ENGAGE_EVENT1(so, fdset, label) \ 16 do { \ 17 FD_SET((so)->s, (fdset)); \ 18 UPD_NFDS((so)->s); \ 19 } while(0) 20 21 22 # define DO_ENGAGE_EVENT2(so, fdset1, fdset2, label) \ 23 do { \ 24 FD_SET((so)->s, (fdset1)); \ 25 FD_SET((so)->s, (fdset2)); \ 26 UPD_NFDS((so)->s); \ 27 } while(0) 14 28 15 29 # ifdef VBOX_WITH_SLIRP_ICMP … … 19 33 # define ICMP_ENGAGE_EVENT(so, fdset1, fdset2) \ 20 34 /* no ICMP socket */ 21 #endif /* !VBOX_WITH_SLIRP_ICMP */ 22 23 # define DO_ENGAGE_EVENT1(so, fdset, label) \ 24 do { \ 25 FD_SET((so)->s, (fdset)); \ 26 UPD_NFDS((so)->s); \ 27 } while(0) 28 29 30 # define DO_ENGAGE_EVENT2(so, fdset1, fdset2, label) \ 31 do { \ 32 FD_SET((so)->s, (fdset1)); \ 33 FD_SET((so)->s, (fdset2)); \ 34 UPD_NFDS((so)->s); \ 35 } while(0) 35 # endif /* !VBOX_WITH_SLIRP_ICMP */ 36 36 37 37 #else /* defined(VBOX_WITH_SIMPLIFIED_SLIRP_SYNC) && defined(RT_OS_WINDOWS) */ … … 57 57 58 58 # define DO_ENGAGE_EVENT2(so, fdset1, fdset2, label) \ 59 O_ENGAGE_EVENT1((so), (fdset1), label)59 DO_ENGAGE_EVENT1((so), (fdset1), label) 60 60 61 61 #endif /* defined(VBOX_WITH_SIMPLIFIED_SLIRP_SYNC) && defined(RT_OS_WINDOWS) */
Note:
See TracChangeset
for help on using the changeset viewer.