Browse Source

ARM64 Support for TapDriver6 (#1949)

Jake Vis 2 years ago
parent
commit
2672d037a8
2 changed files with 11 additions and 5 deletions
  1. 5 4
      windows/TapDriver6/tap.h
  2. 6 1
      windows/TapDriver6/zttap300.inf

+ 5 - 4
windows/TapDriver6/tap.h

@@ -25,10 +25,11 @@
 #define __TAP_H
 #define __TAP_H
 
 
 #ifndef NDIS_SUPPORT_NDIS6
 #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
 #endif
 
 
 #include <ntifs.h>
 #include <ntifs.h>

+ 6 - 1
windows/TapDriver6/zttap300.inf

@@ -35,7 +35,8 @@ Provider = "ZeroTier"
 
 
 [Manufacturer]
 [Manufacturer]
 %Provider%=zttap300,NTx86
 %Provider%=zttap300,NTx86
-;%Provider%=zttap300,NTamd64
+%Provider%=zttap300,NTamd64
+%Provider%=zttap300,NTarm64
 
 
 [zttap300.NTx86]
 [zttap300.NTx86]
 %DeviceDescription% = zttap300.ndi, root\zttap300 ; Root enumerated
 %DeviceDescription% = zttap300.ndi, root\zttap300 ; Root enumerated
@@ -45,6 +46,10 @@ Provider = "ZeroTier"
 %DeviceDescription% = zttap300.ndi, root\zttap300 ; Root enumerated
 %DeviceDescription% = zttap300.ndi, root\zttap300 ; Root enumerated
 %DeviceDescription% = zttap300.ndi, zttap300      ; Legacy
 %DeviceDescription% = zttap300.ndi, zttap300      ; Legacy
 
 
+[zttap300.NTarm64]
+%DeviceDescription% = zttap300.ndi, root\zttap300 ; Root enumerated
+%DeviceDescription% = zttap300.ndi, zttap300      ; Legacy
+
 ;----------------- Characteristics ------------
 ;----------------- Characteristics ------------
 ;    NCF_PHYSICAL = 0x04
 ;    NCF_PHYSICAL = 0x04
 ;    NCF_VIRTUAL = 0x01
 ;    NCF_VIRTUAL = 0x01