summaryrefslogtreecommitdiff
path: root/datapath-windows/ovsext/ovsext.vcxproj
diff options
context:
space:
mode:
authorNithin Raju <nithin@vmware.com>2014-08-19 13:51:53 -0700
committerBen Pfaff <blp@nicira.com>2014-08-19 14:28:21 -0700
commit3b89ffba9cee84a12462f7374904f963d4d45aa8 (patch)
tree1aaba368db5b539566d6785ddbf05d0b8674c138 /datapath-windows/ovsext/ovsext.vcxproj
parent4f3988e0f6e3efcb418a3ba9de433970a64bfca4 (diff)
downloadopenvswitch-3b89ffba9cee84a12462f7374904f963d4d45aa8.tar.gz
datapath-windows: add infrastructure for supporting netlink
In this change, we define netlink families and commands supported by the Windows datapath. Only the control family and one command is supported today to get the PID. We also implement the 3 ioctls: read, write and transact. This is bare minimum and can be used to implement the equivalent of a recv, send, and send-recv in userspace netlink. This interface is subject to change as iron out the details of the user-kernel interface for operations around packet receive, events, dump, etc. We also turn on OVS_USE_NL_INTERFACE to 1 in the ovsext project. Signed-off-by: Nithin Raju <nithin@vmware.com> Acked-by: Alin Serdean <aserdean@cloudbasesolutions.com> Acked-by: Ankur Sharma <ankursharma@vmware.com> Acked-by: Saurabh Shah <ssaurabh@vmware.com> Reported-at: https://github.com/openvswitch/ovs-issues/issues/18 Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'datapath-windows/ovsext/ovsext.vcxproj')
-rw-r--r--datapath-windows/ovsext/ovsext.vcxproj2
1 files changed, 1 insertions, 1 deletions
diff --git a/datapath-windows/ovsext/ovsext.vcxproj b/datapath-windows/ovsext/ovsext.vcxproj
index 5ecc81a24..2b3e6fd6d 100644
--- a/datapath-windows/ovsext/ovsext.vcxproj
+++ b/datapath-windows/ovsext/ovsext.vcxproj
@@ -100,7 +100,7 @@
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
- <PreprocessorDefinitions>%(PreprocessorDefinitions);NDIS_WDM=1;NDIS630=1;OVS_WIN_DP=1;OVS_USE_NL_INTERFACE=0</PreprocessorDefinitions>
+ <PreprocessorDefinitions>%(PreprocessorDefinitions);NDIS_WDM=1;NDIS630=1;OVS_WIN_DP=1;OVS_USE_NL_INTERFACE=1</PreprocessorDefinitions>
</ClCompile>
<Midl>
<PreprocessorDefinitions>%(PreprocessorDefinitions);NDIS_WDM=1;NDIS630=1</PreprocessorDefinitions>