VirtualBox

Changeset 20714 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Jun 19, 2009 11:55:39 AM (16 years ago)
Author:
vboxsync
Message:

DrvNAT: missed one bit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/DrvNAT.cpp

    r20713 r20714  
    5757 */
    5858#define VBOX_NAT_DELAY_HACK
    59 
    60 /** Gets the address of a statistics member in the NATState structure.
    61  *
    62  * @todo It would be *really* nice if we could dispense with this hack and
    63  *       just include the NATState definition here.
    64  *
    65  *       Actually, why don't we just put the 2-3 statistics in struct DRVNAT?!!
    66  */
    67 #define DRVNAT_STAT(pThis, name, type) \
    68     ( (type *)((uint8_t *)(pThis->pNATState) + g_offSlirpStat##name) )
    6959
    7060
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