mirror of
https://github.com/openvswitch/ovs
synced 2025-10-25 15:07:05 +00:00
socket-util: Remove DSCP_INVALID.
The DSCP_INVALID flag allowed callers to prevent socket-util from modify the DSCP bits of newly created sockets. However, the two really important callers (implementations of the controller and manager tables) never used it. Furthermore, the other callers would be fine always setting the DSCP bits to zero. This patch removes the DSCP_INVALID option in an effort to simplify the code. Signed-off-by: Ethan Jackson <ethan@nicira.com>
This commit is contained in:
@@ -69,9 +69,4 @@ char *describe_fd(int fd);
|
||||
* in <netinet/ip.h> 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
|
||||
|
||||
#endif /* socket-util.h */
|
||||
|
||||
Reference in New Issue
Block a user