summaryrefslogtreecommitdiff
path: root/include/windows
diff options
context:
space:
mode:
authorGurucharan Shetty <gshetty@nicira.com>2014-08-18 07:41:34 -0700
committerGurucharan Shetty <gshetty@nicira.com>2014-08-18 10:23:40 -0700
commit6ce798bd708d3406fe3ab0e1452a37f8cd7f8cdc (patch)
tree15afbd323a5f862654e5cd384641c216be49876f /include/windows
parentbd68040f8de6e13586e654827a2109586d23d3f8 (diff)
downloadopenvswitch-6ce798bd708d3406fe3ab0e1452a37f8cd7f8cdc.tar.gz
netinet/in.h: Add definition for IPPROTO_GRE.
Commit b7ea2d480338(Extend OVS IPFIX exporter to export tunnel headers) added a usage for IPROTO_GRE. But that does not look available in any Visual Studio headers. So add it. Signed-off-by: Gurucharan Shetty <gshetty@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'include/windows')
-rw-r--r--include/windows/netinet/in.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/windows/netinet/in.h b/include/windows/netinet/in.h
index e69de29bb..7143cf537 100644
--- a/include/windows/netinet/in.h
+++ b/include/windows/netinet/in.h
@@ -0,0 +1,22 @@
+/*
+ * Copyright (c) 2014 Nicira, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at:
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef __NETINET_IN_H
+#define __NETINET_IN_H 1
+
+#define IPPROTO_GRE 47
+
+#endif /* netinet/in.h */