diff options
author | Ben Pfaff <blp@nicira.com> | 2015-07-02 20:35:44 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2015-07-03 08:46:40 -0700 |
commit | 03c72922c2c7b00933d97235fddfd7956948349d (patch) | |
tree | f88c3a5f4062c4721b0cf00be570c7a90d359b5d /include/openflow | |
parent | 82c22d34b5f459bc968fd268112d1e33bd103943 (diff) | |
download | openvswitch-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')
-rw-r--r-- | include/openflow/openflow-1.4.h | 10 |
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 ## */ |