#include <linux/skbuff.h>
#include <linux/in.h>
#include <linux/ip.h>
+#include <linux/openvswitch.h>
#include <linux/tcp.h>
#include <linux/udp.h>
#include <linux/in6.h>
#include "actions.h"
#include "checksum.h"
#include "datapath.h"
-#include "openvswitch/datapath-protocol.h"
#include "vlan.h"
#include "vport.h"
#include <linux/netfilter_ipv4.h>
#include <linux/inetdevice.h>
#include <linux/list.h>
+#include <linux/openvswitch.h>
#include <linux/rculist.h>
#include <linux/dmi.h>
#include <net/inet_ecn.h>
#include <net/genetlink.h>
-#include "openvswitch/datapath-protocol.h"
#include "checksum.h"
#include "datapath.h"
#include "actions.h"
#include <linux/kernel.h>
#include <linux/netlink.h>
+#include <linux/openvswitch.h>
#include <linux/spinlock.h>
#include <linux/types.h>
#include <linux/rcupdate.h>
#include <linux/jiffies.h>
#include <linux/time.h>
#include <linux/flex_array.h>
-#include "openvswitch/datapath-protocol.h"
struct sk_buff;
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23)
#include <linux/mutex.h>
+#include <linux/openvswitch.h>
#include "openvswitch/datapath-compat.h"
-#include "openvswitch/datapath-protocol.h"
static DEFINE_MUTEX(mc_group_mutex);
#define VPORT_H 1
#include <linux/list.h>
+#include <linux/openvswitch.h>
#include <linux/seqlock.h>
#include <linux/skbuff.h>
#include <linux/spinlock.h>
#include "datapath.h"
-#include "openvswitch/datapath-protocol.h"
struct vport;
struct vport_parms;
-noinst_HEADERS += include/linux/types.h
+noinst_HEADERS += \
+ include/linux/openvswitch.h \
+ include/linux/types.h
* ----------------------------------------------------------------------
*/
-#ifndef OPENVSWITCH_DATAPATH_PROTOCOL_H
-#define OPENVSWITCH_DATAPATH_PROTOCOL_H 1
+#ifndef _LINUX_OPENVSWITCH_H
+#define _LINUX_OPENVSWITCH_H 1
#include <linux/types.h>
#define OVS_ACTION_ATTR_MAX (__OVS_ACTION_ATTR_MAX - 1)
-#endif /* openvswitch/datapath-protocol.h */
+#endif /* _LINUX_OPENVSWITCH_H */
/* On Linux, this header file just includes <linux/types.h>.
*
* On other platforms, this header file implements just enough of
- * <linux/types.h> to allow datapath-protocol.h to work, that is, it defines
+ * <linux/types.h> to allow <linux/openvswitch.h> to work, that is, it defines
* the __u<N> and __be<N> types. */
#if __KERNEL__ || HAVE_LINUX_TYPES_H
noinst_HEADERS += \
include/openvswitch/brcompat-netlink.h \
include/openvswitch/datapath-compat.h \
- include/openvswitch/datapath-protocol.h \
include/openvswitch/tunnel.h \
include/openvswitch/types.h
#define OPENVSWITCH_TUNNEL_H 1
#include <linux/types.h>
-#include "openvswitch/datapath-protocol.h"
+#include <linux/openvswitch.h>
/* OVS_VPORT_ATTR_OPTIONS attributes for tunnels.
*
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
-#include "openvswitch/datapath-protocol.h"
+#include <linux/openvswitch.h>
struct ofpbuf;
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
+#include <linux/openvswitch.h>
#include "openflow/openflow.h"
-#include "openvswitch/datapath-protocol.h"
#include "netdev.h"
#include "util.h"
#include <errno.h>
#include <fcntl.h>
#include <sys/socket.h>
+#include <linux/openvswitch.h>
#include <linux/rtnetlink.h>
#include <net/if.h>
#include <sys/ioctl.h>
#include "netlink-notifier.h"
#include "netlink-socket.h"
#include "ofpbuf.h"
-#include "openvswitch/datapath-protocol.h"
#include "openvswitch/tunnel.h"
#include "packets.h"
#include "route-table.h"
#include <stddef.h>
#include <stdint.h>
#include <string.h>
+#include <linux/openvswitch.h>
#include "hash.h"
#include "openflow/openflow.h"
-#include "openvswitch/datapath-protocol.h"
#include "util.h"
struct ds;