openflow-1.0.h: Clarify meaning of nw_tos in struct ofp_action_nw_tos.
authorBen Pfaff <blp@nicira.com>
Thu, 7 Jun 2012 03:08:24 +0000 (23:08 -0400)
committerBen Pfaff <blp@nicira.com>
Wed, 13 Jun 2012 04:19:31 +0000 (21:19 -0700)
So that I don't have to figure it out yet again.

Reviewed-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Ben Pfaff <blp@nicira.com>
include/openflow/openflow-1.0.h

index 8afd9a1282b7bf5872b34dac708c832638364808..831f6a95956583f237cde296aaa97ae0f75b7b83 100644 (file)
@@ -286,7 +286,7 @@ OFP_ASSERT(sizeof(struct ofp_action_nw_addr) == 8);
 struct ofp_action_nw_tos {
     ovs_be16 type;                  /* OFPAT10_SET_TW_TOS. */
     ovs_be16 len;                   /* Length is 8. */
-    uint8_t nw_tos;                 /* IP TOS (DSCP field, 6 bits). */
+    uint8_t nw_tos;                 /* DSCP in high 6 bits, rest ignored. */
     uint8_t pad[3];
 };
 OFP_ASSERT(sizeof(struct ofp_action_nw_tos) == 8);