- Timestamp:
- Mar 31, 2010 3:42:56 AM (15 years ago)
- Location:
- trunk/src/VBox/Devices/Network/slirp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/libslirp.h
r27448 r27848 32 32 int slirp_init(PNATState *, const char *, uint32_t, bool, bool, void *); 33 33 #else 34 int slirp_init(PNATState *, uint32_t, uint32_t, bool, void *);34 int slirp_init(PNATState *, uint32_t, uint32_t, bool, bool, void *); 35 35 #endif 36 36 void slirp_register_statistics(PNATState pData, PPDMDRVINS pDrvIns); -
trunk/src/VBox/Devices/Network/slirp/slirp.c
r27129 r27848 517 517 #else 518 518 int slirp_init(PNATState *ppData, uint32_t u32NetAddr, uint32_t u32Netmask, 519 bool fPassDomain, void *pvUser)519 bool fPassDomain, bool fUseHostResolver, void *pvUser) 520 520 #endif 521 521 { … … 640 640 void slirp_deregister_statistics(PNATState pData, PPDMDRVINS pDrvIns) 641 641 { 642 if (pData == NULL) 643 return; 642 644 #ifdef VBOX_WITH_STATISTICS 643 645 # define PROFILE_COUNTER(name, dsc) DEREGISTER_COUNTER(name, pData) … … 701 703 void slirp_term(PNATState pData) 702 704 { 705 if (pData == NULL) 706 return; 703 707 #ifdef RT_OS_WINDOWS 704 708 pData->pfIcmpCloseHandle(pData->icmp_socket.sh);
Note:
See TracChangeset
for help on using the changeset viewer.