[ovs-dev] [PATCH 2/5] openflow-1.0.h: Clarify meaning of nw_tos in struct ofp_action_nw_tos.
Ben Pfaff
blp at nicira.com
Sat Jun 9 15:57:27 UTC 2012
So that I don't have to figure it out yet again.
Signed-off-by: Ben Pfaff <blp at nicira.com>
---
include/openflow/openflow-1.0.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/openflow/openflow-1.0.h b/include/openflow/openflow-1.0.h
index 890676c..feb9973 100644
--- a/include/openflow/openflow-1.0.h
+++ b/include/openflow/openflow-1.0.h
@@ -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);
--
1.7.2.5
More information about the dev
mailing list