X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=lib%2Fsocket-util.h;h=56c72cd3727d3e89916c068c699e75a1b9c07bd4;hb=cd8fca2ba0a7d036da069a4484d501bdc7a6f611;hp=32c61e78913e8896383a56ba0899f20f2b2a3bef;hpb=f125905cdd3dc0339ad968c0a70128807884b400;p=openvswitch diff --git a/lib/socket-util.h b/lib/socket-util.h index 32c61e78..56c72cd3 100644 --- a/lib/socket-util.h +++ b/lib/socket-util.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009, 2010, 2011 Nicira Networks. + * Copyright (c) 2008, 2009, 2010, 2011 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,12 +66,7 @@ char *describe_fd(int fd); /* Default value of dscp bits for connection between controller and manager. * Value of IPTOS_PREC_INTERNETCONTROL = 0xc0 which is defined - * in is used. */ -#define DSCP_DEFAULT IPTOS_PREC_INTERNETCONTROL - -/* Invalid dscp value. If the dscp value will not be used, the dscp value - * passed must be invalid. Set to 0xFF as the TOS bits passed can only be - * 6 bits. */ -#define DSCP_INVALID 0xFF + * in is used. */ +#define DSCP_DEFAULT (IPTOS_PREC_INTERNETCONTROL >> 2) #endif /* socket-util.h */