lib/ofp-msgs.c
/* Returns the OpenFlow version of the replies being constructed in 'replies',
 * which should have been initialized by ofpmp_init(). */
Returns the OpenFlow version of the replies being constructed in 'replies',
which should have been initialized by ofpmp_init().
Returns the OpenFlow version of the replies being constructed in ' replies ' which should have been initialized by ofpmp_init () .
enum ofp_version
ofpmp_version(struct ovs_list *replies)
{
    struct ofpbuf *msg = ofpbuf_from_list(ovs_list_back(replies));
    const struct ofp_header *oh = msg->data;
    return oh->version;
}
enum ofp_version ofpmp_version ( struct ovs_list * replies ) { struct ofpbuf * msg = ofpbuf_from_list ( ovs_list_back ( replies ) ) ; const struct ofp_header * oh = msg -> data ; return oh -> version ; }
Returns the OpenFlow version of the replies being constructed in 'replies',
 which should have been initialized by ofpmp_init().
Returns the OpenFlow version of the replies being constructed in ' replies ' which should have been initialized by ofpmp_init () .