mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-09-19 17:59:19 +03:00
v4.17-9562-beta
This commit is contained in:
@ -1705,7 +1705,7 @@ void *NeoMalloc(UINT size)
|
||||
}
|
||||
|
||||
// Allocate the non-paged memory
|
||||
r = NdisAllocateMemoryWithTag(&p, size, 0);
|
||||
r = NdisAllocateMemoryWithTag(&p, size, 'SETH');
|
||||
|
||||
if (NG(r))
|
||||
{
|
||||
|
@ -227,7 +227,7 @@ static UINT SupportedOids[] =
|
||||
WCHAR *_P;\
|
||||
_D->Length = (USHORT)((strlen(_S)) * sizeof(WCHAR));\
|
||||
_D->MaximumLength = _D->Length + sizeof(WCHAR);\
|
||||
NdisAllocateMemoryWithTag((PVOID *)&(_D->Buffer), _D->MaximumLength, 0);\
|
||||
NdisAllocateMemoryWithTag((PVOID *)&(_D->Buffer), _D->MaximumLength, 'SETH');\
|
||||
_P = _D->Buffer;\
|
||||
while(*_S != '\0'){\
|
||||
*_P = (WCHAR)(*_S);\
|
||||
|
@ -124,7 +124,7 @@
|
||||
#define NDIS_NEO_EVENT_NAME_WIN32 "Global\\NEO_EVENT_NEOADAPTER_%s"
|
||||
|
||||
// Constant
|
||||
#define NEO_MAX_PACKET_SIZE 1560
|
||||
#define NEO_MAX_PACKET_SIZE 1600
|
||||
#define NEO_MAX_PACKET_SIZE_ANNOUNCE 1514
|
||||
#define NEO_MIN_PACKET_SIZE 14
|
||||
#define NEO_PACKET_HEADER_SIZE 14
|
||||
|
@ -21,7 +21,7 @@
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory="$(SolutionDir)bin"
|
||||
OutputDirectory="$(SolutionDir)BuiltDriverPackages\Neo\x86"
|
||||
IntermediateDirectory="$(PlatformName)_$(ConfigurationName)"
|
||||
ConfigurationType="2"
|
||||
CharacterSet="2"
|
||||
@ -72,14 +72,14 @@
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
CommandLine="$(SolutionDir)bin\BuildUtil.exe /CMD:GenerateVersionResource "$(TargetPath)" /OUT:"$(SolutionDir)tmp\VersionResources\$(ProjectName)_$(PlatformName).res""
|
||||
CommandLine="$(SolutionDir)bin\BuildUtil.exe /CMD:GenerateVersionResource "$(TargetPath)" /OUT:"$(SolutionDir)tmp\VersionResources\$(ProjectName)_$(PlatformName).res" /PRODUCT:"SoftEther VPN""
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
IgnoreImportLibrary="true"
|
||||
AdditionalOptions="/driver /subsystem:native,5.00 /FULLBUILD /align:0x80 /osversion:5.00 /STACK:0x40000,0x1000 /MERGE:_PAGE=PAGE /MERGE:_TEXT=.text /NODEFAULTLIB /stub:C:\WINDDK\7600.16385.0\lib\wnet\stub512.com"
|
||||
AdditionalDependencies="wdm.lib ndis.lib wdmsec.lib "$(SolutionDir)tmp\VersionResources\$(ProjectName)_$(PlatformName).res""
|
||||
OutputFile="$(OutDir)\hamcore\not_signed\vpn_driver.sys"
|
||||
OutputFile="$(OutDir)\Neo_x86.sys"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories="C:\WINDDK\7600.16385.0\lib\wnet\i386"
|
||||
GenerateManifest="false"
|
||||
@ -125,7 +125,7 @@
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|x64"
|
||||
OutputDirectory="$(SolutionDir)bin"
|
||||
OutputDirectory="$(SolutionDir)BuiltDriverPackages\Neo\x64"
|
||||
IntermediateDirectory="$(PlatformName)_$(ConfigurationName)"
|
||||
ConfigurationType="2"
|
||||
CharacterSet="2"
|
||||
@ -177,14 +177,14 @@
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"
|
||||
CommandLine="$(SolutionDir)bin\BuildUtil.exe /CMD:GenerateVersionResource "$(TargetPath)" /OUT:"$(SolutionDir)tmp\VersionResources\$(ProjectName)_$(PlatformName).res""
|
||||
CommandLine="$(SolutionDir)bin\BuildUtil.exe /CMD:GenerateVersionResource "$(TargetPath)" /OUT:"$(SolutionDir)tmp\VersionResources\$(ProjectName)_$(PlatformName).res" /PRODUCT:"SoftEther VPN""
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
IgnoreImportLibrary="true"
|
||||
AdditionalOptions="/driver /subsystem:native /FULLBUILD /align:0x80 /osversion:5.00 /STACK:0x40000,0x1000 /MERGE:_PAGE=PAGE /MERGE:_TEXT=.text /NODEFAULTLIB /stub:C:\WINDDK\7600.16385.0\lib\wnet\stub512.com"
|
||||
AdditionalDependencies="wdm.lib ndis.lib wdmsec.lib "$(SolutionDir)tmp\VersionResources\$(ProjectName)_$(PlatformName).res""
|
||||
OutputFile="$(OutDir)\hamcore\not_signed\vpn_driver_x64.sys"
|
||||
OutputFile="$(OutDir)\Neo_x64.sys"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories="C:\WINDDK\7600.16385.0\lib\wnet\amd64"
|
||||
GenerateManifest="false"
|
||||
|
Reference in New Issue
Block a user