From c9349648a944248530494b8602934814f86e9491 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 6 Jun 2012 23:08:24 -0400 Subject: [PATCH] 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 --- include/openflow/openflow-1.0.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2