X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=inline;f=lib%2Fpackets.h;h=24b51daff32260c58b561505abde5926de54a013;hb=e78b61f6e5068c959b7b2e0903f17f4e77a595f1;hp=e5be1cb99c9cc959ccaf057ef8e7e4e77dd3211f;hpb=7cb57d10a9b1cd09866b2755e2c5db757e1b1dfc;p=openvswitch diff --git a/lib/packets.h b/lib/packets.h index e5be1cb9..24b51daf 100644 --- a/lib/packets.h +++ b/lib/packets.h @@ -325,6 +325,10 @@ void ip_format_masked(ovs_be32 ip, ovs_be32 mask, struct ds *); #endif /* TOS fields. */ +#define IP_ECN_NOT_ECT 0x0 +#define IP_ECN_ECT_1 0x01 +#define IP_ECN_ECT_0 0x02 +#define IP_ECN_CE 0x03 #define IP_ECN_MASK 0x03 #define IP_DSCP_MASK 0xfc