aboutsummaryrefslogtreecommitdiff
path: root/lib/vconn-provider.h
diff options
context:
space:
mode:
authorEthan Jackson <ethan@nicira.com>2012-04-16 13:56:58 -0700
committerEthan Jackson <ethan@nicira.com>2012-04-17 13:15:17 -0700
commitef8a3d14976080fc5e29ce04bea8bd88f8b631f2 (patch)
treebaa32106a62e72001fef3041eb11922de66d26a1 /lib/vconn-provider.h
parent317f6420764f9024deead76fc98477327a8a180e (diff)
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>
Diffstat (limited to 'lib/vconn-provider.h')
-rw-r--r--lib/vconn-provider.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/vconn-provider.h b/lib/vconn-provider.h
index 43d2072e..d6da5f09 100644
--- a/lib/vconn-provider.h
+++ b/lib/vconn-provider.h
@@ -63,9 +63,7 @@ struct vconn_class {
*
* 'suffix' is a copy of 'name' following the colon and may be modified.
* 'dscp' is the DSCP value that the new connection should use in the IP
- * packets it sends. (If no DSCP value should be set in the packet, dscp
- * will be set to DSCP_INVALID. If no DSCP value is specified, DSCP_DEFAULT
- * value will be applied.)
+ * packets it sends.
*
* Returns 0 if successful, otherwise a positive errno value. If
* successful, stores a pointer to the new connection in '*vconnp'.
@@ -155,9 +153,7 @@ struct pvconn_class {
*
* 'suffix' is a copy of 'name' following the colon and may be modified.
* 'dscp' is the DSCP value that the new connection should use in the IP
- * packets it sends. (If no DSCP value should be set in the packet, dscp
- * will be set to DSCP_INVALID. If no DSCP value is specified, DSCP_DEFAULT
- * value will be applied.)
+ * packets it sends.
*
* Returns 0 if successful, otherwise a positive errno value. If
* successful, stores a pointer to the new connection in '*pvconnp'.