Changeset 14293 in vbox
- Timestamp:
- Nov 18, 2008 12:15:27 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/tcp_var.h
r14275 r14293 55 55 # include <iprt/assert.h> 56 56 57 #if defined(VBOX_WITH_BSD_TCP_REASS) && defined(VBOX_WITH_BSD_REASS) 58 # define u32ptr_done(pData, u32, ptr) do {} while (0) 59 # define ptr_to_u32(pData, ptr) (ptr) 60 # define u32_to_ptr(pData, u32, type) ((type)(u32)) 61 #else /* VBOX_WITH_BSD_REASS && VBOX_WITH_BSD_TCP_REASS */ 57 62 # define u32ptr_done(pData, u32, ptr) VBoxU32PtrDone((pData), (ptr), (u32)) 58 63 # define ptr_to_u32(pData, ptr) VBoxU32PtrHash((pData), (ptr)) 59 64 # define u32_to_ptr(pData, u32, type) ((type)VBoxU32PtrLookup((pData), (u32))) 65 #endif /* !VBOX_WITH_BSD_REASS || !VBOX_WITH_BSD_TCP_REASS*/ 60 66 61 67 #endif
Note:
See TracChangeset
for help on using the changeset viewer.