X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=include%2Fopenvswitch%2Fdatapath-protocol.h;h=e7b5e5e87a594600538fcaa83ec53aa3c99e21ed;hb=de6a71659a2a7d36610110962307feb4af9c4cdc;hp=6d3e9007472b68c3dc42f564c6dae7ab32ce1296;hpb=ed44ee7b686bf8c6d6f78b82c2e4187f02b00aa4;p=openvswitch diff --git a/include/openvswitch/datapath-protocol.h b/include/openvswitch/datapath-protocol.h index 6d3e9007..e7b5e5e8 100644 --- a/include/openvswitch/datapath-protocol.h +++ b/include/openvswitch/datapath-protocol.h @@ -107,6 +107,7 @@ struct odp_stats { /* Logical ports. */ #define ODPP_LOCAL ((__u16)0) #define ODPP_NONE ((__u16)-1) +#define ODPP_NORMAL ((__u16)-2) /* Listening channels. */ #define _ODPL_MISS_NR 0 /* Packet missed in flow table. */ @@ -150,17 +151,14 @@ struct odp_msg { * @sample_pool: Number of packets that were candidates for sFlow sampling, * regardless of whether they were actually chosen and sent down to userspace. * @n_actions: Number of "union odp_action"s immediately following this header. - * @reserved: Pads the structure up to a 64-bit boundary. Should be set to - * zero. * * This header follows &struct odp_msg when that structure's @type is * %_ODPL_SFLOW_NR, and it is itself followed by an array of &union odp_action * (the number of which is specified in @n_actions) and then by packet data. */ struct odp_sflow_sample_header { - __u64 sample_pool; + __u32 sample_pool; __u32 n_actions; - __u32 reserved; }; #define ODP_PORT_INTERNAL (1 << 0) /* This port is simulated. */