2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 14:25:26 +00:00

ofp-util: New function ofputil_decode_msg_type_partial().

This commit is contained in:
Ben Pfaff
2011-10-27 12:54:44 -07:00
parent f0a3aa2ecf
commit 5a020ef3b5
3 changed files with 137 additions and 70 deletions

View File

@@ -90,6 +90,8 @@ enum ofputil_msg_code {
struct ofputil_msg_type;
int ofputil_decode_msg_type(const struct ofp_header *,
const struct ofputil_msg_type **);
int ofputil_decode_msg_type_partial(const struct ofp_header *, size_t length,
const struct ofputil_msg_type **);
enum ofputil_msg_code ofputil_msg_type_code(const struct ofputil_msg_type *);
const char *ofputil_msg_type_name(const struct ofputil_msg_type *);