- Timestamp:
- Jun 8, 2023 4:45:25 PM (19 months ago)
- Location:
- trunk/src/VBox/Devices
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Makefile.kmk
r99927 r100128 773 773 ifdef VBOX_WITH_LIBSLIRP 774 774 VBoxDD_LIBS += $(PATH_STAGE_LIB)/VBox-libslirp$(VBOX_SUFF_LIB) 775 VBoxDD_LIBS.darwin += resolv 775 776 VBoxDD_DEFS += VBOX_WITH_LIBSLIRP 776 777 VBoxDD_SOURCES += \ … … 782 783 783 784 # --- WARNING! SLIRP MESS AHEAD! ;-) --- 785 ifndef VBOX_WITH_LIBSLIRP 784 786 VBOX_SLIRP_SOURCES = \ 785 787 Network/DrvNAT.cpp \ … … 886 888 $(foreach file,$(VBOX_SLIRP_BSD_SOURCES),$(eval $(call def_vbox_slirp_cflags, Network))) 887 889 $(foreach file,$(VBOX_SLIRP_BSD_SOURCES),$(eval $(call def_vbox_slirp_bsd_cflags, Network))) 890 endif 888 891 889 892 -
trunk/src/VBox/Devices/build/VBoxDD.cpp
r99927 r100128 314 314 return rc; 315 315 #endif 316 #ifdef VBOX_WITH_LIBSLIRP 317 rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvNATlibslirp); 318 if (RT_FAILURE(rc)) 319 return rc; 320 #endif 316 321 #if defined(RT_OS_LINUX) || defined(RT_OS_FREEBSD) 317 322 rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvHostInterface); -
trunk/src/VBox/Devices/build/VBoxDD.h
r99927 r100128 137 137 extern const PDMDRVREG g_DrvIntNet; 138 138 extern const PDMDRVREG g_DrvDedicatedNic; 139 #ifndef VBOX_WITH_LIBSLIRP 139 140 extern const PDMDRVREG g_DrvNAT; 141 #endif 142 #ifdef VBOX_WITH_LIBSLIRP 143 extern const PDMDRVREG g_DrvNATlibslirp; 144 #endif 140 145 #ifdef VBOX_WITH_NETSHAPER 141 146 extern const PDMDRVREG g_DrvNetShaper;
Note:
See TracChangeset
for help on using the changeset viewer.