X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fofp-util.h;h=a860d87d497f0ecf4e99107a2d2bfda3215a0817;hb=307975da7111cc223a9e2b859a0b12532fa4f2c8;hp=e3a93c977870fdb8f24f7794f20b25463789e363;hpb=225b582a8c218eec242921b0eed291cf6ec19b76;p=sliver-openvswitch.git diff --git a/lib/ofp-util.h b/lib/ofp-util.h index e3a93c977..a860d87d4 100644 --- a/lib/ofp-util.h +++ b/lib/ofp-util.h @@ -450,6 +450,15 @@ enum ofperr ofputil_decode_port_mod(const struct ofp_header *, struct ofpbuf *ofputil_encode_port_mod(const struct ofputil_port_mod *, enum ofputil_protocol); +/* Abstract table stats. + * + * For now we use ofp12_table_stats as a superset of the other protocol + * versions' table stats. */ + +struct ofpbuf *ofputil_encode_table_stats_reply( + const struct ofp12_table_stats[], int n, + const struct ofp_header *request); + /* Abstract nx_flow_monitor_request. */ struct ofputil_flow_monitor_request { uint32_t id;