Removed if_name from of_bsn_vport and moved it to bottom of of_bsn_vport_q_in_q.
diff --git a/openflow_input/bsn_vport b/openflow_input/bsn_vport
index 122a398..4eeda8c 100644
--- a/openflow_input/bsn_vport
+++ b/openflow_input/bsn_vport
@@ -46,7 +46,6 @@
// FIXME For now, inheritance is not exercised. See below.
struct of_bsn_vport {
uint16_t type == ?; /* Discriminate virtual port type */
- of_port_name_t if_name; /* Name to use in create operation */
uint16_t length; /* Length in bytes of this structure with this header */
/* Remainder of data is specific to the port type */
};
@@ -56,13 +55,13 @@
struct of_bsn_vport_q_in_q : of_bsn_vport {
uint16_t type == 0;
- of_port_name_t if_name;
uint16_t length; /* 32 */
uint32_t port_no; /* OF port number of parent; usually phys port */
uint16_t ingress_tpid;
uint16_t ingress_vlan_id;
uint16_t egress_tpid;
uint16_t egress_vlan_id;
+ of_port_name_t if_name; /* Name to use in create operation */
};
// Request from controller to switch to create vport