Skip to content

Commit

Permalink
reverting netevent,ntos changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vpidatala94 committed Jan 9, 2025
1 parent a81798e commit a1501ce
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 30 deletions.
1 change: 1 addition & 0 deletions ebpf_extensions/neteventebpfext/netevent_ebpf_ext_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include "ebpf_netevent_hooks.h"
#include "netevent_ebpf_ext_event.h"
#include "netevent_ebpf_ext_program_info.h"

#include <errno.h>

//
Expand Down
3 changes: 1 addition & 2 deletions ebpf_extensions/neteventebpfext/sys/neteventebpfext.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@
<PreprocessorDefinitions>%(PreprocessorDefinitions);BINARY_COMPATIBLE=0;NT;UNICODE;_UNICODE;NDIS60;POOL_NX_OPTIN_AUTO</PreprocessorDefinitions>
</ResourceCompile>
<ClCompile>
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SolutionDir)include;$(SolutionDir)libs\include\kernel;$(SolutionDir)include\kernel;$(SolutionDir)resource;$(SolutionDir)neteventebpfext;$(SolutionDir)external\usersim\src;</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SolutionDir)include;$(SolutionDir)libs\include\kernel;$(SolutionDir)include\kernel;$(SolutionDir)resource;$(SolutionDir)neteventebpfext</AdditionalIncludeDirectories>
<PreprocessorDefinitions>%(PreprocessorDefinitions);BINARY_COMPATIBLE=0;NT;UNICODE;_UNICODE;NDIS60;POOL_NX_OPTIN_AUTO;PROVIDER_NAME=netevent</PreprocessorDefinitions>
</ClCompile>
<Midl>
Expand Down Expand Up @@ -225,7 +225,6 @@
<ClInclude Include="..\..\..\libs\ebpf_ext\ebpf_ext_hook_provider.h" />
<ClInclude Include="..\..\..\libs\ebpf_ext\ebpf_ext_prog_info_provider.h" />
<ClInclude Include="..\..\..\libs\ebpf_ext\ebpf_ext_tracelog.h" />
<ClInclude Include="..\..\..\packages\eBPF-for-Windows.0.18.0\build\native\include\ebpf_extension.h" />
<ClInclude Include="..\netevent_ebpf_ext_event.h" />
<ClInclude Include="..\netevent_ebpf_ext_program_info.h" />
<ClInclude Include="resource.h" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,6 @@
<ClInclude Include="..\..\..\libs\ebpf_ext\ebpf_ext_tracelog.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\packages\eBPF-for-Windows.0.18.0\build\native\include\ebpf_extension.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
Expand Down
16 changes: 0 additions & 16 deletions ebpf_extensions/neteventebpfext/user/netevent_ebpf_ext_platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,3 @@
#pragma once

#include "usersim/../../src/net_platform.h"
#include "ndis.h"
#include "cxplat.h"
#include "ebpf_extension.h"
#include "ebpf_program_types.h"
#include "ebpf_result.h"
#include "ebpf_windows.h"
#include "shared_context.h"

#include <specstrings.h>
#include <stdint.h>

#include "ebpf_nethooks.h"
#include "ebpf_program_attach_type_guids.h"
#include "ebpf_program_types.h"
#include "ebpf_windows.h"

2 changes: 1 addition & 1 deletion ebpf_extensions/ntosebpfext/sys/ntosebpfext.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{CED1E84E-D502-44AC-9072-C1159C01AB26}</ProjectGuid>
<ProjectGuid>{55499E36-37D4-4F86-B694-9F2990315758}</ProjectGuid>
<TemplateGuid>{1bc93793-694f-48fe-9372-81e2b05556fd}</TemplateGuid>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<MinimumVisualStudioVersion>12.0</MinimumVisualStudioVersion>
Expand Down
2 changes: 1 addition & 1 deletion ebpf_extensions/ntosebpfext/user/ntosebpfext_user.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<PropertyGroup Label="Globals">
<VCProjectVersion>16.0</VCProjectVersion>
<Keyword>Win32Proj</Keyword>
<ProjectGuid>{1D0D0C27-0045-47DD-95D5-B15E8B37E486}</ProjectGuid>
<ProjectGuid>{630bb78f-6211-41d8-8e3a-096e22e169ef}</ProjectGuid>
<RootNamespace>ntosebpfextunit</RootNamespace>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
<ProjectName>ntosebpfext_user</ProjectName>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
<ClCompile Include="..\..\..\libs\ebpf_ext\ebpf_ext.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\libs\ebpf_ext\ebpf_ext_hook_provider.c">
<ClCompile Include="..\..\libs\ebpf_ext\ebpf_ext_hook_provider.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\libs\ebpf_ext\ebpf_ext_prog_info_provider.c">
<ClCompile Include="..\..\libs\ebpf_ext\ebpf_ext_prog_info_provider.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\libs\ebpf_ext\ebpf_ext_tracelog.c">
<ClCompile Include="..\..\libs\ebpf_ext\ebpf_ext_tracelog.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
Expand All @@ -45,16 +45,16 @@
<ClInclude Include="..\ntos_ebpf_ext_process.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\libs\ebpf_ext\ebpf_ext.h">
<ClInclude Include="..\..\libs\ebpf_ext\ebpf_ext.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\libs\ebpf_ext\ebpf_ext_hook_provider.h">
<ClInclude Include="..\..\libs\ebpf_ext\ebpf_ext_hook_provider.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\libs\ebpf_ext\ebpf_ext_prog_info_provider.h">
<ClInclude Include="..\..\libs\ebpf_ext\ebpf_ext_prog_info_provider.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\libs\ebpf_ext\ebpf_ext_tracelog.h">
<ClInclude Include="..\..\libs\ebpf_ext\ebpf_ext_tracelog.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
Expand Down

0 comments on commit a1501ce

Please sign in to comment.