summaryrefslogtreecommitdiff
path: root/include/openflow/openflow-1.4.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2015-07-02 20:35:44 -0700
committerBen Pfaff <blp@nicira.com>2015-07-03 08:46:40 -0700
commit03c72922c2c7b00933d97235fddfd7956948349d (patch)
treef88c3a5f4062c4721b0cf00be570c7a90d359b5d /include/openflow/openflow-1.4.h
parent82c22d34b5f459bc968fd268112d1e33bd103943 (diff)
downloadopenvswitch-03c72922c2c7b00933d97235fddfd7956948349d.tar.gz
Implement OpenFlow 1.4+ OFPMP_TABLE_DESC message.
Signed-off-by: Ben Pfaff <blp@nicira.com> Co-authored-by: Saloni Jain <saloni.jain@tcs.com> Signed-off-by: Saloni Jain <saloni.jain@tcs.com> Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
Diffstat (limited to 'include/openflow/openflow-1.4.h')
-rw-r--r--include/openflow/openflow-1.4.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/openflow/openflow-1.4.h b/include/openflow/openflow-1.4.h
index 7631e47c4..567aaaea9 100644
--- a/include/openflow/openflow-1.4.h
+++ b/include/openflow/openflow-1.4.h
@@ -155,6 +155,16 @@ struct ofp14_table_mod {
};
OFP_ASSERT(sizeof(struct ofp14_table_mod) == 8);
+/* Body of reply to OFPMP_TABLE_DESC request. */
+struct ofp14_table_desc {
+ ovs_be16 length; /* Length is padded to 64 bits. */
+ uint8_t table_id; /* Identifier of table. Lower numbered tables
+ are consulted first. */
+ uint8_t pad[1]; /* Align to 32-bits. */
+ ovs_be32 config; /* Bitmap of OFPTC_* values. */
+ /* Followed by 0 or more OFPTMPT14_* properties. */
+};
+OFP_ASSERT(sizeof(struct ofp14_table_desc) == 8);
/* ## ---------------- ## */
/* ## ofp14_port_stats ## */