X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fofp-util.h;h=909467f87ba0bc2d3d97b7fa0767d7cc5c8be89b;hb=a5ac7299f8042c01fcdb60c5508047146baf3a16;hp=5af9d2baab1a43d67495f8872e129f3269d0d901;hpb=7257b535ab8e5fafd811c5f6788205eefdd44948;p=openvswitch diff --git a/lib/ofp-util.h b/lib/ofp-util.h index 5af9d2ba..909467f8 100644 --- a/lib/ofp-util.h +++ b/lib/ofp-util.h @@ -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 *);