lib/match.c
/* Returns true if 'match' matches only Ethernet packets (the default packet
 * type, as specified by OpenFlow). */
Returns true if 'match' matches only Ethernet packets (the default packet
type, as specified by OpenFlow).
Returns true if ' match ' matches only Ethernet packets ( the default packet type as specified by OpenFlow ) .
bool
match_has_default_packet_type(const struct match *match)
{
    return (match->flow.packet_type == htonl(PT_ETH)
            && match->wc.masks.packet_type == OVS_BE32_MAX);
}
bool match_has_default_packet_type ( const struct match * match ) { return ( match -> flow . packet_type == htonl ( PT_ETH ) && match -> wc . masks . packet_type == OVS_BE32_MAX ) ; }
Returns true if 'match' matches only Ethernet packets (the default packet
 type, as specified by OpenFlow).
Returns true if ' match ' matches only Ethernet packets ( the default packet type as specified by OpenFlow ) .