Changeset 15682 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Dec 19, 2008 11:46:38 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/slirp.c
r15672 r15682 30 30 31 31 # define DO_CHECK_FD_SET(so, events, fdset) (FD_ISSET((so)->s, (fdset))) 32 33 # define DO_WIN_CHECK_FD_SET(so, events, fdset ) 0 /* specific for Windows Winsock API */ 32 34 33 35 # define ICMP_ENGAGE_EVENT(so, fdset) \ … … 70 72 } 71 73 74 # define acceptds_win FD_ACCEPT 75 # define acceptds_win_bit FD_ACCEPT_BIT 76 72 77 # define readfds_win FD_READ 73 78 # define readfds_win_bit FD_READ_BIT … … 82 87 (((events).lNetworkEvents & fdset ## _win) && ((events).iErrorCode[fdset ## _win_bit] == 0)) 83 88 89 # define DO_WIN_CHECK_FD_SET(so, events, fdset ) DO_CHECK_FD_SET((so), (events), (fdset)) 84 90 85 91 #endif /* defined(VBOX_WITH_SIMPLIFIED_SLIRP_SYNC) && defined(RT_OS_WINDOWS) */ … … 102 108 #define CHECK_FD_SET(so, events, set) \ 103 109 (DO_CHECK_FD_SET((so), (events), set)) 110 111 #define WIN_CHECK_FD_SET(so, events, set) \ 112 (DO_WIN_CHECK_FD_SET((so), (events), set)) 104 113 105 114 /* … … 748 757 * Check sockets for reading 749 758 */ 750 else if (CHECK_FD_SET(so, NetworkEvents, readfds)) 759 else if (CHECK_FD_SET(so, NetworkEvents, readfds) 760 || WIN_CHECK_FD_SET(so, NetworkEvents, acceptds)) 751 761 { 752 762 /*
Note:
See TracChangeset
for help on using the changeset viewer.