Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/SoftEtherVPN/SoftEtherVPN_Stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/SeLow/SeLowCommon.h')
-rw-r--r--src/SeLow/SeLowCommon.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/SeLow/SeLowCommon.h b/src/SeLow/SeLowCommon.h
index cafa9f9a..49f1c39c 100644
--- a/src/SeLow/SeLowCommon.h
+++ b/src/SeLow/SeLowCommon.h
@@ -3,9 +3,9 @@
//
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
//
-// Copyright (c) 2012-2014 Daiyuu Nobori.
-// Copyright (c) 2012-2014 SoftEther VPN Project, University of Tsukuba, Japan.
-// Copyright (c) 2012-2014 SoftEther Corporation.
+// Copyright (c) 2012-2016 Daiyuu Nobori.
+// Copyright (c) 2012-2016 SoftEther VPN Project, University of Tsukuba, Japan.
+// Copyright (c) 2012-2016 SoftEther Corporation.
//
// All Rights Reserved.
//
@@ -115,10 +115,10 @@
// Change this number every time functions are added or modified on the driver.
// As long as this number does not change, installation of SeLow during the update
// installation of the VPN Server / VPN Client / VPN Bridge is skipped.
-#define SL_VER 42
+#define SL_VER 48
// Constants
-#define SL_MAX_PACKET_SIZE 1560
+#define SL_MAX_PACKET_SIZE 1600
#define SL_MAX_PACKET_SIZE_ANNOUNCE 1514
#define SL_MIN_PACKET_SIZE 14
#define SL_PACKET_HEADER_SIZE 14
@@ -155,6 +155,7 @@ typedef struct SL_IOCTL_EVENT_NAME
// Registry key
#define SL_REG_KEY_NAME "SYSTEM\\CurrentControlSet\\services\\SeLow"
#define SL_REG_VER_VALUE "SlVersion"
+#define SL_REG_VER_VALUE_WIN10 "SlVersion_Win10"
// Adapter data
#define SL_ADAPTER_ID_LEN 64
@@ -165,7 +166,8 @@ typedef struct SL_ADAPTER_INFO
UCHAR Padding1[2];
UINT MtuSize; // MTU size
char FriendlyName[256]; // Display name
- UCHAR Reserved[256]; // Reserved area
+ UINT SupportsVLanHw; // Supports VLAN by HW
+ UCHAR Reserved[256 - sizeof(UINT)]; // Reserved area
} SL_ADAPTER_INFO;
#define SL_MAX_ADAPTER_INFO_LIST_ENTRY 256