Changeset 16876 in vbox
- Timestamp:
- Feb 18, 2009 3:39:40 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/slirp.c
r16815 r16876 92 92 # define nval_poll (POLLNVAL) 93 93 94 # define ICMP_ENGAGE_EVENT(so, fdset) 95 do { 96 if (pData->icmp_socket.s != -1) 97 DO_ENGAGE_EVENT1((so), fdset, ICMP); \94 # define ICMP_ENGAGE_EVENT(so, fdset) \ 95 do { \ 96 if (pData->icmp_socket.s != -1) \ 97 DO_ENGAGE_EVENT1((so), fdset, ICMP); \ 98 98 } while (0) 99 99 # else /* !RT_OS_WINDOWS */ … … 184 184 # if defined(VBOX_WITH_SIMPLIFIED_SLIRP_SYNC) 185 185 # if defined(RT_OS_WINDOWS) 186 # define DO_LOG_NAT_SOCK(so, proto, winevent, r_fdset, w_fdset, x_fdset) 186 # define DO_LOG_NAT_SOCK(so, proto, winevent, r_fdset, w_fdset, x_fdset) \ 187 187 do { \ 188 188 LogRel((" " #proto " %R[natsock] %R[natwinnetevents]\n", (so), (winevent))); \ … … 201 201 # endif /* !RT_OS_WINDOWS */ 202 202 # else /* VBOX_WITH_SIMPLIFIED_SLIRP_SYNC */ 203 # define DO_LOG_NAT_SOCK(so, proto, winevent, r_fdset, w_fdset, x_fdset) \204 do { \205 LogRel((" " #proto " %R[natsock] %s %s %s\n", (so), FD_ISSET((so)->s, (r_fdset))?"READ":"", \206 FD_ISSET((so)->s, (w_fdset))?"WRITE":"", FD_ISSET((so)->s, (x_fdset))?"OOB":"")); \203 # define DO_LOG_NAT_SOCK(so, proto, winevent, r_fdset, w_fdset, x_fdset) \ 204 do { \ 205 LogRel((" " #proto " %R[natsock] %s %s %s\n", (so), FD_ISSET((so)->s, (r_fdset))?"READ":"", \ 206 FD_ISSET((so)->s, (w_fdset))?"WRITE":"", FD_ISSET((so)->s, (x_fdset))?"OOB":"")); \ 207 207 } while (0) 208 208 # endif
Note:
See TracChangeset
for help on using the changeset viewer.