lib/match.c
/* Converts 'match' to a string and returns the string.  If 'priority' is
 * different from OFP_DEFAULT_PRIORITY, includes it in the string.  If
 * 'port_map' is nonnull, uses it to translate port numbers to names in
 * output.  The caller must free the string (with free()). */
Converts 'match' to a string and returns the string.  If 'priority' is
different from OFP_DEFAULT_PRIORITY, includes it in the string.  If
'port_map' is nonnull, uses it to translate port numbers to names in
output.  The caller must free the string (with free()).
Converts ' match ' to a string and returns the string . If ' priority ' is different from OFP_DEFAULT_PRIORITY includes it in the string . If ' port_map ' is nonnull uses it to translate port numbers to names in output . The caller must free the string ( with free () ) .
char *
match_to_string(const struct match *match,
                const struct ofputil_port_map *port_map, int priority)
{
    struct ds s = DS_EMPTY_INITIALIZER;
    match_format(match, port_map, &s, priority);
    return ds_steal_cstr(&s);
}
char * match_to_string ( const struct match * match , const struct ofputil_port_map * port_map , int priority ) { struct ds s = DS_EMPTY_INITIALIZER ; match_format ( match , port_map , & s , priority ) ; return ds_steal_cstr ( & s ) ; }
Converts 'match' to a string and returns the string.
Converts ' match ' to a string and returns the string .