2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-27 15:18:06 +00:00

openflow: Make stats replies more like other OpenFlow messages.

This commit is contained in:
Ben Pfaff
2011-05-31 16:49:06 -07:00
parent 675baf0cdf
commit 63f2140a55
10 changed files with 271 additions and 229 deletions

View File

@@ -221,10 +221,16 @@ void *put_nxmsg_xid(size_t openflow_len, uint32_t subtype, ovs_be32 xid,
void update_openflow_length(struct ofpbuf *);
void *ofputil_make_stats_request(size_t body_len, uint16_t type,
struct ofpbuf **);
void *ofputil_make_nxstats_request(size_t openflow_len, uint32_t subtype,
struct ofpbuf **);
void *ofputil_make_stats_request(size_t openflow_len, uint16_t type,
uint32_t subtype, struct ofpbuf **);
void *ofputil_make_stats_reply(size_t openflow_len,
const struct ofp_stats_msg *request,
struct ofpbuf **);
void ofputil_start_stats_reply(const struct ofp_stats_msg *request,
struct list *);
struct ofpbuf *ofputil_reserve_stats_reply(size_t len, struct list *);
void *ofputil_append_stats_reply(size_t len, struct list *);
const void *ofputil_stats_body(const struct ofp_header *);
size_t ofputil_stats_body_len(const struct ofp_header *);