X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fopenvswitch%2Fdatapath-protocol.h;h=6c5354548ea4ae38e373f5f94728973d326708a3;hb=a4230dedddd1909f84947b9c6cdf88a23e10a301;hp=19826332419efef93a54679e2c5e7390cea0f66d;hpb=959a2ecdc8a5ffe53e74456ff6eb1ec25092db75;p=openvswitch diff --git a/include/openvswitch/datapath-protocol.h b/include/openvswitch/datapath-protocol.h index 19826332..6c535454 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. */ @@ -202,6 +203,8 @@ struct odp_flow_key { __u8 nw_proto; /* IP protocol or lower 8 bits of ARP opcode. */ __u8 dl_vlan_pcp; /* Input VLAN priority. */ + __u8 nw_tos; /* IP ToS (DSCP field, 6 bits). */ + __u8 reserved[3]; /* Align to 32-bits...must be zeroed. */ }; /* Flags for ODP_FLOW. */