lib/stp.c
/* Returns true if 'state' is one in which MAC learning should be done on
 * packets received on a port, false otherwise.
 */
Returns true if 'state' is one in which MAC learning should be done on
packets received on a port, false otherwise.
Returns true if ' state ' is one in which MAC learning should be done on packets received on a port false otherwise .
bool
stp_learn_in_state(enum stp_state state)
{
    return (state & (STP_LEARNING | STP_FORWARDING)) != 0;
}
bool stp_learn_in_state ( enum stp_state state ) { return ( state & ( STP_LEARNING | STP_FORWARDING ) ) != 0 ; }
Returns true if 'state' is one in which MAC learning should be done on
 packets received on a port, false otherwise.
Returns true if ' state ' is one in which MAC learning should be done on packets received on a port false otherwise .