Signed-off-by: Ben Pfaff <blp@nicira.com>
*
* The default, if no other format has been set, is OFPUTIL_P_OF10_STD. */
enum ofputil_protocol
-ofconn_get_protocol(struct ofconn *ofconn)
+ofconn_get_protocol(const struct ofconn *ofconn)
{
return ofconn->protocol;
}
enum nx_role ofconn_get_role(const struct ofconn *);
void ofconn_set_role(struct ofconn *, enum nx_role);
-enum ofputil_protocol ofconn_get_protocol(struct ofconn *);
+enum ofputil_protocol ofconn_get_protocol(const struct ofconn *);
void ofconn_set_protocol(struct ofconn *, enum ofputil_protocol);
enum nx_packet_in_format ofconn_get_packet_in_format(struct ofconn *);