VirtualBox

Changeset 27848 in vbox for trunk/src


Ignore:
Timestamp:
Mar 31, 2010 3:42:56 AM (15 years ago)
Author:
vboxsync
Message:

NAT service: sync with changes in DrvNAT. NAT service is compilable and usable now.

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

Legend:

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

    r27448 r27848  
    3232int slirp_init(PNATState *, const char *, uint32_t, bool, bool, void *);
    3333#else
    34 int slirp_init(PNATState *, uint32_t, uint32_t, bool, void *);
     34int slirp_init(PNATState *, uint32_t, uint32_t, bool, bool, void *);
    3535#endif
    3636void slirp_register_statistics(PNATState pData, PPDMDRVINS pDrvIns);
  • trunk/src/VBox/Devices/Network/slirp/slirp.c

    r27129 r27848  
    517517#else
    518518int slirp_init(PNATState *ppData, uint32_t u32NetAddr, uint32_t u32Netmask,
    519                bool fPassDomain, void *pvUser)
     519               bool fPassDomain, bool fUseHostResolver, void *pvUser)
    520520#endif
    521521{
     
    640640void slirp_deregister_statistics(PNATState pData, PPDMDRVINS pDrvIns)
    641641{
     642    if (pData == NULL)
     643        return;
    642644#ifdef VBOX_WITH_STATISTICS
    643645# define PROFILE_COUNTER(name, dsc)     DEREGISTER_COUNTER(name, pData)
     
    701703void slirp_term(PNATState pData)
    702704{
     705    if (pData == NULL)
     706        return;
    703707#ifdef RT_OS_WINDOWS
    704708    pData->pfIcmpCloseHandle(pData->icmp_socket.sh);
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