aboutsummaryrefslogtreecommitdiff
path: root/ofproto/connmgr.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-05-12 09:58:01 -0700
committerBen Pfaff <blp@nicira.com>2011-05-12 09:58:01 -0700
commit6c1491fbd75754d2e4d5028650554f9d5d3a4958 (patch)
tree1593f6aea5ac2a851d6c8a0d06dc88cee73c3332 /ofproto/connmgr.h
parent154896e3b99978317d74b5c9847fe07ec01b54b3 (diff)
Implement basic multiple table support.
This implements basic multiple table support in ofproto and supporting libraries and utilities. The design is the same as the one that has been on the Open vSwitch "wdp" branch for a long time. There is no support for multiple tables in the software switch implementation (ofproto-dpif), only a set of hooks for other switch implementations to use. To allow controllers to add flows in a particular table, Open vSwitch adds an OpenFlow 1.0 extension called NXT_FLOW_MOD_TABLE_ID.
Diffstat (limited to 'ofproto/connmgr.h')
-rw-r--r--ofproto/connmgr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ofproto/connmgr.h b/ofproto/connmgr.h
index 441ecc3d..46d2f5d8 100644
--- a/ofproto/connmgr.h
+++ b/ofproto/connmgr.h
@@ -80,6 +80,9 @@ void ofconn_set_role(struct ofconn *, enum nx_role);
enum nx_flow_format ofconn_get_flow_format(struct ofconn *);
void ofconn_set_flow_format(struct ofconn *, enum nx_flow_format);
+bool ofconn_get_flow_mod_table_id(const struct ofconn *);
+void ofconn_set_flow_mod_table_id(struct ofconn *, bool enable);
+
int ofconn_get_miss_send_len(const struct ofconn *);
void ofconn_set_miss_send_len(struct ofconn *, int miss_send_len);