VirtualBox

Changeset 22404 in vbox


Ignore:
Timestamp:
Aug 24, 2009 7:36:24 AM (15 years ago)
Author:
vboxsync
Message:

NAT: some cleanings

Location:
trunk/src/VBox/Devices/Network/slirp
Files:
3 edited

Legend:

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

    r22403 r22404  
    4747#  define DEREGISTER_COUNTER(name) do {} while (0)
    4848# endif
     49# undef COUNTERS_INIT
    4950#endif
    5051
     
    124125PROFILE_COUNTER(ALIAS_input, "ALIAS::input");
    125126PROFILE_COUNTER(ALIAS_output, "ALIAS::output");
     127#endif /*!COUNTERS_INIT*/
    126128
     129#ifdef DRV_COUNTING_COUNTER
    127130# undef DRV_COUNTING_COUNTER
     131#endif
     132
     133#ifdef DRV_PROFILE_COUNTER
    128134# undef DRV_PROFILE_COUNTER
     135#endif
    129136
     137#ifdef COUNTING_COUNTER
    130138# undef COUNTING_COUNTER
     139#endif
     140
     141#ifdef PROFILE_COUNTER
    131142# undef PROFILE_COUNTER
    132 #endif /*!COUNTERS_INIT*/
     143#endif
  • trunk/src/VBox/Devices/Network/slirp/slirp.c

    r22403 r22404  
    574574
    575575# undef COUNTER
    576 # undef PROFILE_COUNTER
    577 # undef COUNTING_COUNTER
    578576/** @todo register statistics for the variables dumped by:
    579577 *  ipstats(pData); tcpstats(pData); udpstats(pData); icmpstats(pData);
     
    592590
    593591# include "counters.h"
    594 
    595 # undef COUNTING_COUNTER
    596 # undef PROFILE_COUNTER
    597592#endif /* VBOX_WITH_STATISTICS */
    598593}
  • trunk/src/VBox/Devices/Network/slirp/slirp_state.h

    r22101 r22404  
    251251#include "counters.h"
    252252
    253 #undef PROFILE_COUNTER
    254 #undef COUNTING_COUNTER
    255 
    256253} NATState;
    257254
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