openflow_input: add type values
diff --git a/openflow_input/bsn_ip_mask b/openflow_input/bsn_ip_mask
index c8b3bd8..b6d517b 100644
--- a/openflow_input/bsn_ip_mask
+++ b/openflow_input/bsn_ip_mask
@@ -29,11 +29,11 @@
struct of_bsn_set_ip_mask {
uint8_t version;
- uint8_t type;
+ uint8_t type == 4;
uint16_t length;
uint32_t xid;
- uint32_t experimenter; // bsn 0x005c16c7,
- uint32_t subtype; // 0
+ uint32_t experimenter == 0x5c16c7;
+ uint32_t subtype == 0;
uint8_t index;
pad(3);
uint32_t mask;
@@ -41,22 +41,22 @@
struct of_bsn_get_ip_mask_request {
uint8_t version;
- uint8_t type;
+ uint8_t type == 4;
uint16_t length;
uint32_t xid;
- uint32_t experimenter; // bsn 0x005c16c7,
- uint32_t subtype; // 1
+ uint32_t experimenter == 0x5c16c7;
+ uint32_t subtype == 1;
uint8_t index;
pad(7);
};
struct of_bsn_get_ip_mask_reply {
uint8_t version;
- uint8_t type;
+ uint8_t type == 4;
uint16_t length;
uint32_t xid;
- uint32_t experimenter; // bsn 0x005c16c7,
- uint32_t subtype; // 2
+ uint32_t experimenter == 0x5c16c7;
+ uint32_t subtype == 2;
uint8_t index;
pad(3);
uint32_t mask;