X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fopenvswitch%2Fdatapath-protocol.h;h=e7708ef17bf8a3564ce2f52cf2934f24d18a5024;hb=bf16ba4a9b1b4a38c867349e70e39d551b406b32;hp=eafc80032b59717d14468a0b3a747147ab49cedf;hpb=f915f1a8ca180828983ef22cf2fd21b8f010b972;p=openvswitch diff --git a/include/openvswitch/datapath-protocol.h b/include/openvswitch/datapath-protocol.h index eafc8003..e7708ef1 100644 --- a/include/openvswitch/datapath-protocol.h +++ b/include/openvswitch/datapath-protocol.h @@ -37,19 +37,9 @@ * ---------------------------------------------------------------------- */ -/* Protocol between userspace and kernel datapath. - * - * Be sure to update datapath/odp-compat.h if you change any of the structures - * in here. */ - #ifndef OPENVSWITCH_DATAPATH_PROTOCOL_H #define OPENVSWITCH_DATAPATH_PROTOCOL_H 1 -/* The ovs_be types indicate that an object is in big-endian, not - * native-endian, byte order. They are otherwise equivalent to uint_t. - * The Linux kernel already has __be types for this, which take on - * additional semantics when the "sparse" static checker is used, so we use - * those types when compiling the kernel. */ #ifdef __KERNEL__ #include #include @@ -61,12 +51,6 @@ #include #endif -#ifndef __aligned_u64 -#define __aligned_u64 __u64 __attribute__((aligned(8))) -#define __aligned_be64 __be64 __attribute__((aligned(8))) -#define __aligned_le64 __le64 __attribute__((aligned(8))) -#endif - #include #include @@ -438,7 +422,6 @@ enum odp_action_type { ODP_ACTION_ATTR_SET_TUNNEL, /* Set the encapsulating tunnel ID. */ ODP_ACTION_ATTR_SET_PRIORITY, /* Set skb->priority. */ ODP_ACTION_ATTR_POP_PRIORITY, /* Restore original skb->priority. */ - ODP_ACTION_ATTR_DROP_SPOOFED_ARP, /* Drop ARPs with spoofed source MAC. */ __ODP_ACTION_ATTR_MAX };