- /* Optionally, a chain of one or more OpenFlow messages to send to the
- * switch at time of connection. Presumably these will be OFPT_FLOW_MOD
- * requests to set up the flow table. */
- const struct ofpbuf *default_flows;
-
- /* The OpenFlow queue used by packets and flows set up by 'sw'. Use
- * UINT32_MAX to avoid specifying a particular queue. */
- uint32_t queue_id;
+ /* Optionally, a list of one or more "struct ofpbuf"s containing OpenFlow
+ * messages to send to the switch at time of connection. Presumably these
+ * will be OFPT_FLOW_MOD requests to set up the flow table. */
+ const struct list *default_flows;
+
+ /* The OpenFlow queue to use by default. Use UINT32_MAX to avoid
+ * specifying a particular queue. */
+ uint32_t default_queue;
+
+ /* Maps from a port name to a queue_id (cast to void *). */
+ const struct shash *port_queues;