add prefix to avoid name collision
diff --git a/openflow_input/bsn_port_counter b/openflow_input/bsn_port_counter
index 44486c2..f3d149f 100644
--- a/openflow_input/bsn_port_counter
+++ b/openflow_input/bsn_port_counter
@@ -31,18 +31,18 @@
#version 4
enum ofp_bsn_port_counter(wire_type=uint8_t, complete=False) {
- OFP_RX_BYTES = 0,
- OFP_RX_PACKETS_UNICAST = 1,
- OFP_RX_PACKETS_BROADCAST = 2,
- OFP_RX_PACKETS_MULTICAST = 3,
- OFP_RX_DROPPED = 4,
- OFP_RX_ERRORS = 5,
- OFP_TX_BYTES = 6,
- OFP_TX_PACKETS_UNICAST = 7,
- OFP_TX_PACKETS_BROADCAST = 8,
- OFP_TX_PACKETS_MULTICAST = 9,
- OFP_TX_DROPPED = 10,
- OFP_TX_ERRORS = 11,
+ OFP_BSN_PORT_COUNTER_RX_BYTES = 0,
+ OFP_BSN_PORT_COUNTER_RX_PACKETS_UNICAST = 1,
+ OFP_BSN_PORT_COUNTER_RX_PACKETS_BROADCAST = 2,
+ OFP_BSN_PORT_COUNTER_RX_PACKETS_MULTICAST = 3,
+ OFP_BSN_PORT_COUNTER_RX_DROPPED = 4,
+ OFP_BSN_PORT_COUNTER_RX_ERRORS = 5,
+ OFP_BSN_PORT_COUNTER_TX_BYTES = 6,
+ OFP_BSN_PORT_COUNTER_TX_PACKETS_UNICAST = 7,
+ OFP_BSN_PORT_COUNTER_TX_PACKETS_BROADCAST = 8,
+ OFP_BSN_PORT_COUNTER_TX_PACKETS_MULTICAST = 9,
+ OFP_BSN_PORT_COUNTER_TX_DROPPED = 10,
+ OFP_BSN_PORT_COUNTER_TX_ERRORS = 11,
};
struct of_bsn_port_counter_stats_request : of_bsn_stats_request {
diff --git a/openflow_input/bsn_vlan_counter b/openflow_input/bsn_vlan_counter
index 0d36bbf..51dd356 100644
--- a/openflow_input/bsn_vlan_counter
+++ b/openflow_input/bsn_vlan_counter
@@ -31,10 +31,10 @@
#version 4
enum of_bsn_vlan_counter_t(wire_type=uint8_t, complete=False) {
- OFP_RX_BYTES = 0,
- OFP_RX_PACKETS = 1,
- OFP_TX_BYTES = 2,
- OFP_TX_PACKETS = 3,
+ OFP_BSN_VLAN_COUNTER_RX_BYTES = 0,
+ OFP_BSN_VLAN_COUNTER_RX_PACKETS = 1,
+ OFP_BSN_VLAN_COUNTER_TX_BYTES = 2,
+ OFP_BSN_VLAN_COUNTER_TX_PACKETS = 3,
};
struct of_bsn_vlan_counter_stats_request : of_bsn_stats_request {