diff --git a/openflow_input/standard-1.0 b/openflow_input/standard-1.0 index 1bba411a5..61e5b9014 100644 --- a/openflow_input/standard-1.0 +++ b/openflow_input/standard-1.0 @@ -61,7 +61,7 @@ enum macro_definitions { OFPQ_MIN_RATE_UNCFG = 0xffff, }; -enum ofp_type(wire_type=uint8_t) { +enum ofp_type(wire_type=uint8_t, complete=True) { OFPT_HELLO = 0, OFPT_ERROR = 1, OFPT_ECHO_REQUEST = 2, diff --git a/openflow_input/standard-1.1 b/openflow_input/standard-1.1 index 07f246e26..235ee2f53 100644 --- a/openflow_input/standard-1.1 +++ b/openflow_input/standard-1.1 @@ -75,7 +75,7 @@ enum ofp_port(wire_type=uint32_t) { OFPP_ANY = 0xffffffff, }; -enum ofp_type(wire_type=uint8_t) { +enum ofp_type(wire_type=uint8_t, complete=True) { OFPT_HELLO = 0, OFPT_ERROR = 1, OFPT_ECHO_REQUEST = 2, @@ -257,7 +257,7 @@ enum ofp_group(wire_type=uint32_t, complete=False) { OFPG_ANY = 0xffffffff, }; -enum ofp_group_type(wire_type=uint8_t) { +enum ofp_group_type(wire_type=uint8_t, complete=True) { OFPGT_ALL = 0, OFPGT_SELECT = 1, OFPGT_INDIRECT = 2, diff --git a/openflow_input/standard-1.2 b/openflow_input/standard-1.2 index 9141f223c..1ab42b85d 100644 --- a/openflow_input/standard-1.2 +++ b/openflow_input/standard-1.2 @@ -71,7 +71,7 @@ enum ofp_port(wire_type=uint32_t) { OFPP_ANY = 0xffffffff, }; -enum ofp_type(wire_type=uint8_t) { +enum ofp_type(wire_type=uint8_t, complete=True) { OFPT_HELLO = 0, OFPT_ERROR = 1, OFPT_ECHO_REQUEST = 2, @@ -244,7 +244,7 @@ enum ofp_group_mod_command(wire_type=uint16_t) { OFPGC_DELETE = 2, }; -enum ofp_group_type(wire_type=uint8_t) { +enum ofp_group_type(wire_type=uint8_t, complete=True) { OFPGT_ALL = 0, OFPGT_SELECT = 1, OFPGT_INDIRECT = 2, diff --git a/openflow_input/standard-1.3 b/openflow_input/standard-1.3 index 061f9ce6d..3cf4bf8f4 100644 --- a/openflow_input/standard-1.3 +++ b/openflow_input/standard-1.3 @@ -70,7 +70,7 @@ enum ofp_port(wire_type=uint32_t) { OFPP_ANY = 0xffffffff, }; -enum ofp_type(wire_type=uint8_t) { +enum ofp_type(wire_type=uint8_t, complete=True) { OFPT_HELLO = 0, OFPT_ERROR = 1, OFPT_ECHO_REQUEST = 2, @@ -267,7 +267,7 @@ enum ofp_group_mod_command(wire_type=uint16_t) { OFPGC_DELETE = 2, }; -enum ofp_group_type(wire_type=uint8_t) { +enum ofp_group_type(wire_type=uint8_t, complete=True) { OFPGT_ALL = 0, OFPGT_SELECT = 1, OFPGT_INDIRECT = 2, diff --git a/openflow_input/standard-1.4 b/openflow_input/standard-1.4 index 51a1a1906..ada1156e9 100644 --- a/openflow_input/standard-1.4 +++ b/openflow_input/standard-1.4 @@ -70,7 +70,7 @@ enum ofp_port(wire_type=uint32_t) { OFPP_ANY = 0xffffffff, }; -enum ofp_type(wire_type=uint8_t) { +enum ofp_type(wire_type=uint8_t, complete=True) { OFPT_HELLO = 0, OFPT_ERROR = 1, OFPT_ECHO_REQUEST = 2, @@ -272,7 +272,7 @@ enum ofp_group_mod_command(wire_type=uint16_t) { OFPGC_DELETE = 2, }; -enum ofp_group_type(wire_type=uint8_t) { +enum ofp_group_type(wire_type=uint8_t, complete=True) { OFPGT_ALL = 0, OFPGT_SELECT = 1, OFPGT_INDIRECT = 2, diff --git a/openflow_input/standard-1.5 b/openflow_input/standard-1.5 index a875c5ad7..dc122dad8 100644 --- a/openflow_input/standard-1.5 +++ b/openflow_input/standard-1.5 @@ -46,7 +46,7 @@ struct of_uint8 { /* ------------------------------------------- HEADER ------------------------------------- */ /* Type for header */ -enum ofp_type(wire_type=uint8_t) { +enum ofp_type(wire_type=uint8_t, complete=True) { OFPT_HELLO = 0, OFPT_ERROR = 1, OFPT_ECHO_REQUEST = 2, @@ -748,7 +748,7 @@ enum ofp_group_mod_command(wire_type=uint16_t) { }; /* Group types */ -enum ofp_group_type(wire_type=uint8_t) { +enum ofp_group_type(wire_type=uint8_t, complete=True) { OFPGT_ALL = 0, OFPGT_SELECT = 1, OFPGT_INDIRECT = 2,