1
0
mirror of https://github.com/simh/simh.git synced 2026-01-27 20:37:50 +00:00

ETHER: Add vmnet support for macOS Catalina 10.15.7 through Big Sur 11.7.10

This commit is contained in:
Mark Pizzolato
2025-08-14 08:55:49 -10:00
parent df31a5b7f9
commit caea0c0970
6 changed files with 297 additions and 215 deletions

View File

@@ -150,9 +150,12 @@ extern "C" {
/* Generally avoid pcap APIs when running with vmnet.framework */
#if defined(HAVE_VMNET_NETWORK)
#define DONT_USE_PCAP_FINDALLDEVS 1
#if !defined(DONT_USE_VMNET_HOST)
#define USE_VMNET_HOST_AS_TAP 1
#if defined(HAVE_TAP_NETWORK)
#undef HAVE_TAP_NETWORK
#endif
#endif
#if defined(HAVE_VDE_NETWORK)
#undef HAVE_VDE_NETWORK
#endif