openflow_input: add type values
diff --git a/openflow_input/bsn_get_interfaces b/openflow_input/bsn_get_interfaces
index d2105a2..ba1508c 100644
--- a/openflow_input/bsn_get_interfaces
+++ b/openflow_input/bsn_get_interfaces
@@ -29,11 +29,11 @@
struct of_bsn_get_interfaces_request {
uint8_t version;
- uint8_t type;
+ uint8_t type == 4;
uint16_t length;
uint32_t xid;
- uint32_t experimenter; // OF_EXPERIMENTER_ID_BSN
- uint32_t subtype; // BSN_GET_INTERFACES_REQUEST
+ uint32_t experimenter == 0x5c16c7;
+ uint32_t subtype == 9;
};
struct of_bsn_interface {
@@ -46,10 +46,10 @@
struct of_bsn_get_interfaces_reply {
uint8_t version;
- uint8_t type;
+ uint8_t type == 4;
uint16_t length;
uint32_t xid;
- uint32_t experimenter; // OF_EXPERIMENTER_ID_BSN
- uint32_t subtype; // BSN_GET_INTERFACES_REQUEST
+ uint32_t experimenter == 0x5c16c7;
+ uint32_t subtype == 10;
list(of_bsn_interface_t) interfaces;
};