mirror of
https://github.com/openvswitch/ovs
synced 2025-08-21 17:37:37 +00:00
Enable support for Stateful Firewall in Hyper-V by adding a Connection Tracking module. The module has been ported over from the userspace implementation patch of a similar name. The current version of the module supports ct - zone, mark and label for TCP packets. Support for other packet formats will be added in subsequent patches. The conntrack-tcp module is adapted from FreeBSD's pf subsystem and hence the BSD license. It has been ported over to match OVS Hyper-V coding style. Signed-off-by: Sairam Venugopal <vsairam@vmware.com> Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com> Co-Authored-by: Daniele Di Proietto <diproiettod@vmware.com> Acked-by: Nithin Raju <nithin@vmware.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
222 lines
11 KiB
XML
222 lines
11 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<ItemGroup Label="ProjectConfigurations">
|
|
<ProjectConfiguration Include="Win8.1 Debug|x64">
|
|
<Configuration>Win8.1 Debug</Configuration>
|
|
<Platform>x64</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Win8 Debug|x64">
|
|
<Configuration>Win8 Debug</Configuration>
|
|
<Platform>x64</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Win8.1 Release|x64">
|
|
<Configuration>Win8.1 Release</Configuration>
|
|
<Platform>x64</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Win8 Release|x64">
|
|
<Configuration>Win8 Release</Configuration>
|
|
<Platform>x64</Platform>
|
|
</ProjectConfiguration>
|
|
</ItemGroup>
|
|
<PropertyGroup Label="PropertySheets">
|
|
<DriverType>WDM</DriverType>
|
|
<ConfigurationType>Driver</ConfigurationType>
|
|
</PropertyGroup>
|
|
<PropertyGroup Label="Globals">
|
|
<VCTargetsPath Condition="'$(VCTargetsPath11)' != '' and '$(VisualStudioVersion)' == '11.0'">$(VCTargetsPath11)</VCTargetsPath>
|
|
<Configuration>Win8 Debug</Configuration>
|
|
<Platform Condition="'$(Platform)' == ''">Win32</Platform>
|
|
<SampleGuid>{0D37F250-E766-44C7-90B4-D7E07E77D1AA}</SampleGuid>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
<PropertyGroup Label="Globals">
|
|
<ProjectGuid>{63FE215D-98BE-4440-8081-C6160EFB80FA}</ProjectGuid>
|
|
<RootNamespace>$(MSBuildProjectName)</RootNamespace>
|
|
</PropertyGroup>
|
|
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Win8.1 Debug|x64'">
|
|
<TargetVersion>WindowsV6.3</TargetVersion>
|
|
<UseDebugLibraries>True</UseDebugLibraries>
|
|
<PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>
|
|
</PropertyGroup>
|
|
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Win8 Debug|x64'">
|
|
<TargetVersion>Win8</TargetVersion>
|
|
<UseDebugLibraries>True</UseDebugLibraries>
|
|
<PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>
|
|
</PropertyGroup>
|
|
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Win8.1 Release|x64'">
|
|
<TargetVersion>WindowsV6.3</TargetVersion>
|
|
<UseDebugLibraries>False</UseDebugLibraries>
|
|
<PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>
|
|
</PropertyGroup>
|
|
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Win8 Release|x64'">
|
|
<TargetVersion>Win8</TargetVersion>
|
|
<UseDebugLibraries>False</UseDebugLibraries>
|
|
<PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
<PropertyGroup>
|
|
<OutDir>$(IntDir)</OutDir>
|
|
</PropertyGroup>
|
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Win8 Release|x64'">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" />
|
|
</ImportGroup>
|
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Win8.1 Release|x64'" Label="PropertySheets">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" />
|
|
</ImportGroup>
|
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Win8 Debug|x64'">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" />
|
|
</ImportGroup>
|
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Win8.1 Debug|x64'" Label="PropertySheets">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" />
|
|
</ImportGroup>
|
|
<ItemGroup Label="WrappedTaskItems">
|
|
<ClInclude Include="..\include\OvsDpInterfaceExt.h" />
|
|
<ClInclude Include="Actions.h" />
|
|
<ClInclude Include="Atomic.h" />
|
|
<ClInclude Include="BufferMgmt.h" />
|
|
<ClInclude Include="Conntrack.h" />
|
|
<ClInclude Include="Datapath.h" />
|
|
<ClInclude Include="Debug.h" />
|
|
<ClInclude Include="DpInternal.h" />
|
|
<ClInclude Include="Ethernet.h" />
|
|
<ClInclude Include="Event.h" />
|
|
<ClInclude Include="Flow.h" />
|
|
<ClInclude Include="Gre.h" />
|
|
<ClInclude Include="IpHelper.h" />
|
|
<ClInclude Include="Jhash.h" />
|
|
<ClInclude Include="Mpls.h" />
|
|
<ClInclude Include="Netlink/Netlink.h" />
|
|
<ClInclude Include="Netlink/NetlinkBuf.h" />
|
|
<ClInclude Include="Netlink/NetlinkProto.h" />
|
|
<ClInclude Include="Netlink\NetlinkError.h" />
|
|
<ClInclude Include="NetProto.h" />
|
|
<ClInclude Include="Offload.h" />
|
|
<ClInclude Include="Oid.h" />
|
|
<ClInclude Include="PacketIO.h" />
|
|
<ClInclude Include="PacketParser.h" />
|
|
<ClInclude Include="precomp.h" />
|
|
<ClInclude Include="Recirc.h" />
|
|
<ClInclude Include="resource.h" />
|
|
<ClInclude Include="Stt.h" />
|
|
<ClInclude Include="Switch.h" />
|
|
<ClInclude Include="Tunnel.h" />
|
|
<ClInclude Include="TunnelIntf.h" />
|
|
<ClInclude Include="Types.h" />
|
|
<ClInclude Include="User.h" />
|
|
<ClInclude Include="Util.h" />
|
|
<ClInclude Include="Vport.h" />
|
|
<ClInclude Include="Vxlan.h" />
|
|
</ItemGroup>
|
|
<PropertyGroup>
|
|
<TargetName>OVSExt</TargetName>
|
|
</PropertyGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Win8 Release|x64'">
|
|
<ClCompile>
|
|
<PreprocessorDefinitions>%(PreprocessorDefinitions);NDIS_WDM=1;NDIS630=1</PreprocessorDefinitions>
|
|
</ClCompile>
|
|
<Midl>
|
|
<PreprocessorDefinitions>%(PreprocessorDefinitions);NDIS_WDM=1;NDIS630=1</PreprocessorDefinitions>
|
|
</Midl>
|
|
<ResourceCompile>
|
|
<PreprocessorDefinitions>%(PreprocessorDefinitions);NDIS_WDM=1;NDIS630=1</PreprocessorDefinitions>
|
|
</ResourceCompile>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Win8.1 Release|x64'">
|
|
<ClCompile>
|
|
<PreprocessorDefinitions>%(PreprocessorDefinitions);NDIS_WDM=1;NDIS640=1</PreprocessorDefinitions>
|
|
</ClCompile>
|
|
<Midl>
|
|
<PreprocessorDefinitions>%(PreprocessorDefinitions);NDIS_WDM=1;NDIS640=1</PreprocessorDefinitions>
|
|
</Midl>
|
|
<ResourceCompile>
|
|
<PreprocessorDefinitions>%(PreprocessorDefinitions);NDIS_WDM=1;NDIS640=1</PreprocessorDefinitions>
|
|
</ResourceCompile>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Win8 Debug|x64'">
|
|
<ClCompile>
|
|
<PreprocessorDefinitions>%(PreprocessorDefinitions);NDIS_WDM=1;NDIS630=1</PreprocessorDefinitions>
|
|
</ClCompile>
|
|
<Midl>
|
|
<PreprocessorDefinitions>%(PreprocessorDefinitions);NDIS_WDM=1;NDIS630=1</PreprocessorDefinitions>
|
|
</Midl>
|
|
<ResourceCompile>
|
|
<PreprocessorDefinitions>%(PreprocessorDefinitions);NDIS_WDM=1;NDIS630=1</PreprocessorDefinitions>
|
|
</ResourceCompile>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Win8.1 Debug|x64'">
|
|
<ClCompile>
|
|
<PreprocessorDefinitions>%(PreprocessorDefinitions);NDIS_WDM=1;NDIS640=1</PreprocessorDefinitions>
|
|
</ClCompile>
|
|
<Midl>
|
|
<PreprocessorDefinitions>%(PreprocessorDefinitions);NDIS_WDM=1;NDIS640=1</PreprocessorDefinitions>
|
|
</Midl>
|
|
<ResourceCompile>
|
|
<PreprocessorDefinitions>%(PreprocessorDefinitions);NDIS_WDM=1;NDIS640=1</PreprocessorDefinitions>
|
|
</ResourceCompile>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup>
|
|
<Link>
|
|
<AdditionalDependencies>%(AdditionalDependencies);$(DDK_LIB_PATH)\ndis.lib;$(DDK_LIB_PATH)\fwpkclnt.lib;$(SDK_LIB_PATH)\uuid.lib;$(DDK_LIB_PATH)\netio.lib</AdditionalDependencies>
|
|
</Link>
|
|
<ClCompile>
|
|
<TreatWarningAsError>true</TreatWarningAsError>
|
|
<WarningLevel>Level4</WarningLevel>
|
|
<ExceptionHandling>
|
|
</ExceptionHandling>
|
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Win8 Debug|x64'">$(IntDir);%(AdditionalIncludeDirectories);..\..</AdditionalIncludeDirectories>
|
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Win8.1 Debug|x64'">$(IntDir);%(AdditionalIncludeDirectories);..\..</AdditionalIncludeDirectories>
|
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Win8 Release|x64'">$(IntDir);%(AdditionalIncludeDirectories);..\..</AdditionalIncludeDirectories>
|
|
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Win8.1 Release|x64'">$(IntDir);%(AdditionalIncludeDirectories);..\..</AdditionalIncludeDirectories>
|
|
<MultiProcessorCompilation Condition="'$(Configuration)|$(Platform)'=='Win8 Release|x64'">true</MultiProcessorCompilation>
|
|
<MultiProcessorCompilation Condition="'$(Configuration)|$(Platform)'=='Win8 Debug|x64'">true</MultiProcessorCompilation>
|
|
<MultiProcessorCompilation Condition="'$(Configuration)|$(Platform)'=='Win8.1 Debug|x64'">true</MultiProcessorCompilation>
|
|
<MultiProcessorCompilation Condition="'$(Configuration)|$(Platform)'=='Win8.1 Release|x64'">true</MultiProcessorCompilation>
|
|
</ClCompile>
|
|
</ItemDefinitionGroup>
|
|
<ItemGroup>
|
|
<ClCompile Include="Actions.c" />
|
|
<ClCompile Include="BufferMgmt.c" />
|
|
<ClCompile Include="Conntrack-tcp.c" />
|
|
<ClCompile Include="Conntrack.c" />
|
|
<ClCompile Include="Debug.c" />
|
|
<ClCompile Include="Driver.c" />
|
|
<ClCompile Include="Event.c" />
|
|
<ClCompile Include="Flow.c" />
|
|
<ClCompile Include="Gre.c" />
|
|
<ClCompile Include="IpHelper.c" />
|
|
<ClCompile Include="Jhash.c" />
|
|
<ClCompile Include="Netlink/Netlink.c" />
|
|
<ClCompile Include="Netlink/NetlinkBuf.c" />
|
|
<ClCompile Include="Datapath.c" />
|
|
<ClCompile Include="Offload.c" />
|
|
<ClCompile Include="Oid.c" />
|
|
<ClCompile Include="PacketIO.c" />
|
|
<ClCompile Include="PacketParser.c" />
|
|
<ClCompile Include="precompsrc.c">
|
|
<AdditionalIncludeDirectories>;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
<PreCompiledHeaderFile>precomp.h</PreCompiledHeaderFile>
|
|
<PreCompiledHeader>Create</PreCompiledHeader>
|
|
<PreCompiledHeaderOutputFile>$(IntDir)\precomp.h.pch</PreCompiledHeaderOutputFile>
|
|
</ClCompile>
|
|
<ClCompile Include="Recirc.c" />
|
|
<ClCompile Include="Stt.c" />
|
|
<ClCompile Include="Switch.c" />
|
|
<ClCompile Include="Tunnel.c" />
|
|
<ClCompile Include="TunnelFilter.c" />
|
|
<ClCompile Include="User.c" />
|
|
<ClCompile Include="Util.c" />
|
|
<ClCompile Include="Vport.c" />
|
|
<ClCompile Include="Vxlan.c" />
|
|
<ResourceCompile Include="ovsext.rc" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Inf Exclude="@(Inf)" Include="*.inf" />
|
|
<FilesToPackage Include="$(TargetPath)" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Exclude="@(None)" Include="*.txt;*.htm;*.html" />
|
|
<None Exclude="@(None)" Include="*.ico;*.cur;*.bmp;*.dlg;*.rct;*.gif;*.jpg;*.jpeg;*.wav;*.jpe;*.tiff;*.tif;*.png;*.rc2" />
|
|
<None Exclude="@(None)" Include="*.def;*.bat;*.hpj;*.asmx" />
|
|
</ItemGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
</Project> |