Changeset 15245 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Dec 10, 2008 1:04:31 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/debug.c
r15244 r15245 255 255 void *pvUser) 256 256 { 257 size_t cb = 0; 258 #ifdef RT_OS_WINDOWS 257 259 WSANETWORKEVENTS *pNetworkEvents = (WSANETWORKEVENTS*)pvValue; 258 size_t cb;259 260 bool fDelim = false; 260 261 261 262 AssertReturn(strcmp(pszType, "natwinnetevents") == 0, 0); 262 263 263 cb 264 # define DO_BIT(bit) \264 cb += RTStrFormat(pfnOutput, pvArgOutput, NULL, 0, "events=%02x (", pNetworkEvents->lNetworkEvents); 265 # define DO_BIT(bit) \ 265 266 if (pNetworkEvents->lNetworkEvents & FD_ ## bit) \ 266 267 { \ … … 276 277 DO_BIT(CLOSE); 277 278 DO_BIT(QOS); 278 # undef DO_BIT279 # undef DO_BIT 279 280 cb += RTStrFormat(pfnOutput, pvArgOutput, NULL, 0, ")"); 281 #endif 280 282 return cb; 281 283 }
Note:
See TracChangeset
for help on using the changeset viewer.