mirror of
https://github.com/openvswitch/ovs
synced 2025-09-04 00:05:15 +00:00
datapath-protocol: Rename to <linux/openvswitch.h>.
Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Jesse Gross <jesse@nicira.com> Bug #7559.
This commit is contained in:
@@ -13,6 +13,7 @@
|
|||||||
#include <linux/skbuff.h>
|
#include <linux/skbuff.h>
|
||||||
#include <linux/in.h>
|
#include <linux/in.h>
|
||||||
#include <linux/ip.h>
|
#include <linux/ip.h>
|
||||||
|
#include <linux/openvswitch.h>
|
||||||
#include <linux/tcp.h>
|
#include <linux/tcp.h>
|
||||||
#include <linux/udp.h>
|
#include <linux/udp.h>
|
||||||
#include <linux/in6.h>
|
#include <linux/in6.h>
|
||||||
@@ -25,7 +26,6 @@
|
|||||||
#include "actions.h"
|
#include "actions.h"
|
||||||
#include "checksum.h"
|
#include "checksum.h"
|
||||||
#include "datapath.h"
|
#include "datapath.h"
|
||||||
#include "openvswitch/datapath-protocol.h"
|
|
||||||
#include "vlan.h"
|
#include "vlan.h"
|
||||||
#include "vport.h"
|
#include "vport.h"
|
||||||
|
|
||||||
|
@@ -39,12 +39,12 @@
|
|||||||
#include <linux/netfilter_ipv4.h>
|
#include <linux/netfilter_ipv4.h>
|
||||||
#include <linux/inetdevice.h>
|
#include <linux/inetdevice.h>
|
||||||
#include <linux/list.h>
|
#include <linux/list.h>
|
||||||
|
#include <linux/openvswitch.h>
|
||||||
#include <linux/rculist.h>
|
#include <linux/rculist.h>
|
||||||
#include <linux/dmi.h>
|
#include <linux/dmi.h>
|
||||||
#include <net/inet_ecn.h>
|
#include <net/inet_ecn.h>
|
||||||
#include <net/genetlink.h>
|
#include <net/genetlink.h>
|
||||||
|
|
||||||
#include "openvswitch/datapath-protocol.h"
|
|
||||||
#include "checksum.h"
|
#include "checksum.h"
|
||||||
#include "datapath.h"
|
#include "datapath.h"
|
||||||
#include "actions.h"
|
#include "actions.h"
|
||||||
|
@@ -11,6 +11,7 @@
|
|||||||
|
|
||||||
#include <linux/kernel.h>
|
#include <linux/kernel.h>
|
||||||
#include <linux/netlink.h>
|
#include <linux/netlink.h>
|
||||||
|
#include <linux/openvswitch.h>
|
||||||
#include <linux/spinlock.h>
|
#include <linux/spinlock.h>
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
#include <linux/rcupdate.h>
|
#include <linux/rcupdate.h>
|
||||||
@@ -19,7 +20,6 @@
|
|||||||
#include <linux/jiffies.h>
|
#include <linux/jiffies.h>
|
||||||
#include <linux/time.h>
|
#include <linux/time.h>
|
||||||
#include <linux/flex_array.h>
|
#include <linux/flex_array.h>
|
||||||
#include "openvswitch/datapath-protocol.h"
|
|
||||||
|
|
||||||
struct sk_buff;
|
struct sk_buff;
|
||||||
|
|
||||||
|
@@ -5,9 +5,9 @@
|
|||||||
|
|
||||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23)
|
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23)
|
||||||
#include <linux/mutex.h>
|
#include <linux/mutex.h>
|
||||||
|
#include <linux/openvswitch.h>
|
||||||
|
|
||||||
#include "openvswitch/datapath-compat.h"
|
#include "openvswitch/datapath-compat.h"
|
||||||
#include "openvswitch/datapath-protocol.h"
|
|
||||||
|
|
||||||
static DEFINE_MUTEX(mc_group_mutex);
|
static DEFINE_MUTEX(mc_group_mutex);
|
||||||
|
|
||||||
|
@@ -10,12 +10,12 @@
|
|||||||
#define VPORT_H 1
|
#define VPORT_H 1
|
||||||
|
|
||||||
#include <linux/list.h>
|
#include <linux/list.h>
|
||||||
|
#include <linux/openvswitch.h>
|
||||||
#include <linux/seqlock.h>
|
#include <linux/seqlock.h>
|
||||||
#include <linux/skbuff.h>
|
#include <linux/skbuff.h>
|
||||||
#include <linux/spinlock.h>
|
#include <linux/spinlock.h>
|
||||||
|
|
||||||
#include "datapath.h"
|
#include "datapath.h"
|
||||||
#include "openvswitch/datapath-protocol.h"
|
|
||||||
|
|
||||||
struct vport;
|
struct vport;
|
||||||
struct vport_parms;
|
struct vport_parms;
|
||||||
|
@@ -1 +1,3 @@
|
|||||||
noinst_HEADERS += include/linux/types.h
|
noinst_HEADERS += \
|
||||||
|
include/linux/openvswitch.h \
|
||||||
|
include/linux/types.h
|
||||||
|
@@ -37,8 +37,8 @@
|
|||||||
* ----------------------------------------------------------------------
|
* ----------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef OPENVSWITCH_DATAPATH_PROTOCOL_H
|
#ifndef _LINUX_OPENVSWITCH_H
|
||||||
#define OPENVSWITCH_DATAPATH_PROTOCOL_H 1
|
#define _LINUX_OPENVSWITCH_H 1
|
||||||
|
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
|
|
||||||
@@ -446,4 +446,4 @@ enum ovs_action_attr {
|
|||||||
|
|
||||||
#define OVS_ACTION_ATTR_MAX (__OVS_ACTION_ATTR_MAX - 1)
|
#define OVS_ACTION_ATTR_MAX (__OVS_ACTION_ATTR_MAX - 1)
|
||||||
|
|
||||||
#endif /* openvswitch/datapath-protocol.h */
|
#endif /* _LINUX_OPENVSWITCH_H */
|
@@ -20,7 +20,7 @@
|
|||||||
/* On Linux, this header file just includes <linux/types.h>.
|
/* On Linux, this header file just includes <linux/types.h>.
|
||||||
*
|
*
|
||||||
* On other platforms, this header file implements just enough of
|
* 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. */
|
* the __u<N> and __be<N> types. */
|
||||||
|
|
||||||
#if __KERNEL__ || HAVE_LINUX_TYPES_H
|
#if __KERNEL__ || HAVE_LINUX_TYPES_H
|
||||||
|
@@ -1,7 +1,6 @@
|
|||||||
noinst_HEADERS += \
|
noinst_HEADERS += \
|
||||||
include/openvswitch/brcompat-netlink.h \
|
include/openvswitch/brcompat-netlink.h \
|
||||||
include/openvswitch/datapath-compat.h \
|
include/openvswitch/datapath-compat.h \
|
||||||
include/openvswitch/datapath-protocol.h \
|
|
||||||
include/openvswitch/tunnel.h \
|
include/openvswitch/tunnel.h \
|
||||||
include/openvswitch/types.h
|
include/openvswitch/types.h
|
||||||
|
|
||||||
|
@@ -41,7 +41,7 @@
|
|||||||
#define OPENVSWITCH_TUNNEL_H 1
|
#define OPENVSWITCH_TUNNEL_H 1
|
||||||
|
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
#include "openvswitch/datapath-protocol.h"
|
#include <linux/openvswitch.h>
|
||||||
|
|
||||||
/* OVS_VPORT_ATTR_OPTIONS attributes for tunnels.
|
/* OVS_VPORT_ATTR_OPTIONS attributes for tunnels.
|
||||||
*
|
*
|
||||||
|
@@ -20,7 +20,7 @@
|
|||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "openvswitch/datapath-protocol.h"
|
#include <linux/openvswitch.h>
|
||||||
|
|
||||||
struct ofpbuf;
|
struct ofpbuf;
|
||||||
|
|
||||||
|
@@ -21,8 +21,8 @@
|
|||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#include <linux/openvswitch.h>
|
||||||
#include "openflow/openflow.h"
|
#include "openflow/openflow.h"
|
||||||
#include "openvswitch/datapath-protocol.h"
|
|
||||||
#include "netdev.h"
|
#include "netdev.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
|
||||||
|
@@ -21,6 +21,7 @@
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
|
#include <linux/openvswitch.h>
|
||||||
#include <linux/rtnetlink.h>
|
#include <linux/rtnetlink.h>
|
||||||
#include <net/if.h>
|
#include <net/if.h>
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
@@ -38,7 +39,6 @@
|
|||||||
#include "netlink-notifier.h"
|
#include "netlink-notifier.h"
|
||||||
#include "netlink-socket.h"
|
#include "netlink-socket.h"
|
||||||
#include "ofpbuf.h"
|
#include "ofpbuf.h"
|
||||||
#include "openvswitch/datapath-protocol.h"
|
|
||||||
#include "openvswitch/tunnel.h"
|
#include "openvswitch/tunnel.h"
|
||||||
#include "packets.h"
|
#include "packets.h"
|
||||||
#include "route-table.h"
|
#include "route-table.h"
|
||||||
|
@@ -21,9 +21,9 @@
|
|||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <linux/openvswitch.h>
|
||||||
#include "hash.h"
|
#include "hash.h"
|
||||||
#include "openflow/openflow.h"
|
#include "openflow/openflow.h"
|
||||||
#include "openvswitch/datapath-protocol.h"
|
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
|
||||||
struct ds;
|
struct ds;
|
||||||
|
Reference in New Issue
Block a user