From: Ben Pfaff Date: Thu, 7 Jun 2012 03:08:24 +0000 (-0400) Subject: openflow-1.0.h: Clarify meaning of nw_tos in struct ofp_action_nw_tos. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9349648a944248530494b8602934814f86e9491;p=openvswitch openflow-1.0.h: Clarify meaning of nw_tos in struct ofp_action_nw_tos. So that I don't have to figure it out yet again. Reviewed-by: Simon Horman Signed-off-by: Ben Pfaff --- diff --git a/include/openflow/openflow-1.0.h b/include/openflow/openflow-1.0.h index 8afd9a12..831f6a95 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);