lib/ofp-msgs.c
/* Initializes 'replies' as a new list of stats messages that reply to
 * 'request', which must be a stats request message.  Initially the list will
 * consist of only a single reply part without any body.  The caller should
 * use calls to the other ofpmp_*() functions to add to the body and split the
 * message into multiple parts, if necessary. */
Initializes 'replies' as a new list of stats messages that reply to
'request', which must be a stats request message.  Initially the list will
consist of only a single reply part without any body.  The caller should
use calls to the other ofpmp_*() functions to add to the body and split the
message into multiple parts, if necessary.
Initializes ' replies ' as a new list of stats messages that reply to ' request ' which must be a stats request message . Initially the list will consist of only a single reply part without any body . The caller should use calls to the other ofpmp_ * () functions to add to the body and split the message into multiple parts if necessary .
void
ofpmp_init(struct ovs_list *replies, const struct ofp_header *request)
{
    struct ofpbuf *msg;
    ovs_list_init(replies);
    msg = ofpraw_alloc_stats_reply(request, 1000);
    ovs_list_push_back(replies, &msg->list_node);
}
void ofpmp_init ( struct ovs_list * replies , const struct ofp_header * request ) { struct ofpbuf * msg ; ovs_list_init ( replies ) ; msg = ofpraw_alloc_stats_reply ( request , 1000 ) ; ovs_list_push_back ( replies , & msg -> list_node ) ; }
Initializes 'replies' as a new list of stats messages that reply to
 'request', which must be a stats request message.
Initializes ' replies ' as a new list of stats messages that reply to ' request ' which must be a stats request message .