openflow_input: add discriminator fields
diff --git a/openflow_input/standard-1.0 b/openflow_input/standard-1.0
index 6382759..d78d5bd 100644
--- a/openflow_input/standard-1.0
+++ b/openflow_input/standard-1.0
@@ -302,7 +302,7 @@
/* XXX rename to of_message */
struct of_header {
uint8_t version;
- uint8_t type;
+ uint8_t type == ?;
uint16_t length;
uint32_t xid;
};
@@ -538,7 +538,7 @@
};
struct of_action {
- uint16_t type;
+ uint16_t type == ?;
uint16_t len;
pad(4);
};
@@ -580,7 +580,7 @@
uint32_t xid;
of_match_t match;
uint64_t cookie;
- of_fm_cmd_t _command;
+ of_fm_cmd_t _command == ?;
uint16_t idle_timeout;
uint16_t hard_timeout;
uint16_t priority;
@@ -765,7 +765,7 @@
uint8_t type == 16;
uint16_t length;
uint32_t xid;
- uint16_t stats_type;
+ uint16_t stats_type == ?;
uint16_t flags;
};
@@ -774,7 +774,7 @@
uint8_t type == 17;
uint16_t length;
uint32_t xid;
- uint16_t stats_type;
+ uint16_t stats_type == ?;
uint16_t flags;
};
@@ -937,7 +937,7 @@
// END OF STATS OBJECTS
struct of_queue_prop {
- uint16_t type;
+ uint16_t type == ?;
uint16_t len;
pad(4);
};