summaryrefslogtreecommitdiff
path: root/datapath-windows/ovsext/precomp.h
diff options
context:
space:
mode:
authorSamuel Ghinet <sghinet@cloudbasesolutions.com>2014-09-25 21:22:22 +0000
committerBen Pfaff <blp@nicira.com>2014-09-26 10:25:30 -0700
commitfce695e6f71d8de1329b917d8b94718a0ffc9284 (patch)
tree89464518e54b3832bfbd72d9f246ac59f839b701 /datapath-windows/ovsext/precomp.h
parent17c6a05f08a7570dba05a171b08068a71966f11f (diff)
downloadopenvswitch-fce695e6f71d8de1329b917d8b94718a0ffc9284.tar.gz
datapath-windows: Add file NetlinkError.h.
Contains error codes for netlink transactional errors. These errors are passed to the "error" field (INT) of the NL_MSG_ERR struct. The userspace requires them to be negative values: the nl_msg_nlmsgerr userspace function transforms them from negative to positive values. These error codes correspond to the userspace error codes defined in: "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\errno.h" Signed-off-by: Samuel Ghinet <sghinet@cloudbasesolutions.com> Acked-by: Eitan Eliahu <eliahue@vmware.com> Acked-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'datapath-windows/ovsext/precomp.h')
-rw-r--r--datapath-windows/ovsext/precomp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/datapath-windows/ovsext/precomp.h b/datapath-windows/ovsext/precomp.h
index a17f2d28c..1cdb3ed5b 100644
--- a/datapath-windows/ovsext/precomp.h
+++ b/datapath-windows/ovsext/precomp.h
@@ -26,6 +26,7 @@
#include "..\include\OvsDpInterface.h"
#include "Util.h"
+#include "Netlink/NetlinkError.h"
#include "Netlink/Netlink.h"
#include "Netlink/NetlinkProto.h"