From 2672d037a8a70623fa1d99833ed7b7feb02181ff Mon Sep 17 00:00:00 2001 From: Jake Vis Date: Thu, 13 Jul 2023 13:52:06 -0700 Subject: [PATCH] ARM64 Support for TapDriver6 (#1949) --- windows/TapDriver6/tap.h | 9 +++++---- windows/TapDriver6/zttap300.inf | 7 ++++++- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/windows/TapDriver6/tap.h b/windows/TapDriver6/tap.h index 76df77980..f241d80e3 100644 --- a/windows/TapDriver6/tap.h +++ b/windows/TapDriver6/tap.h @@ -25,10 +25,11 @@ #define __TAP_H #ifndef NDIS_SUPPORT_NDIS6 -#define NDIS_SUPPORT_NDIS6 1 -#define NDIS_SUPPORT_NDIS61 1 -#define NDIS_WDM1 1 -#define NDIS61_MINIPORT 1 +#define NDIS_MINIPORT_DRIVER 1 +#define NDIS_SUPPORT_NDIS6 1 +#define NDIS_SUPPORT_NDIS630 1 +#define NDIS_WDM1 1 +#define NDIS630_MINIPORT 1 #endif #include diff --git a/windows/TapDriver6/zttap300.inf b/windows/TapDriver6/zttap300.inf index 8b12a1b3c..8e74daab1 100644 --- a/windows/TapDriver6/zttap300.inf +++ b/windows/TapDriver6/zttap300.inf @@ -35,7 +35,8 @@ Provider = "ZeroTier" [Manufacturer] %Provider%=zttap300,NTx86 -;%Provider%=zttap300,NTamd64 +%Provider%=zttap300,NTamd64 +%Provider%=zttap300,NTarm64 [zttap300.NTx86] %DeviceDescription% = zttap300.ndi, root\zttap300 ; Root enumerated @@ -45,6 +46,10 @@ Provider = "ZeroTier" %DeviceDescription% = zttap300.ndi, root\zttap300 ; Root enumerated %DeviceDescription% = zttap300.ndi, zttap300 ; Legacy +[zttap300.NTarm64] +%DeviceDescription% = zttap300.ndi, root\zttap300 ; Root enumerated +%DeviceDescription% = zttap300.ndi, zttap300 ; Legacy + ;----------------- Characteristics ------------ ; NCF_PHYSICAL = 0x04 ; NCF_VIRTUAL = 0x01