VirtualBox

Changeset 20425 in vbox


Ignore:
Timestamp:
Jun 9, 2009 10:03:53 AM (15 years ago)
Author:
vboxsync
Message:

NAT/libalias: NSOCK_{INC,DEC}_EX macros introduced to collect correct
socket numbers for unix multiplexes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/slirp_state.h

    r20379 r20425  
    181181#  define NSOCK_INC() do {pData->nsock++;} while (0)
    182182#  define NSOCK_DEC() do {pData->nsock--;} while (0)
     183#  define NSOCK_INC_EX(ex) do {ex->pData->nsock++;} while (0)
     184#  define NSOCK_DEC_EX(ex) do {ex->pData->nsock--;} while (0)
    183185# else
    184186#  define NSOCK_INC() do {} while (0)
    185187#  define NSOCK_DEC() do {} while (0)
     188#  define NSOCK_INC_EX(ex) do {} while (0)
     189#  define NSOCK_DEC_EX(ex) do {} while (0)
    186190# endif
    187191# ifdef RT_OS_WINDOWS
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette