lib/rstp.h
/* 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 .
static inline bool
rstp_learn_in_state(enum rstp_state state)
{
    return (state == RSTP_LEARNING || state == RSTP_FORWARDING);
}
static inline bool rstp_learn_in_state ( enum rstp_state state ) { return ( state == RSTP_LEARNING || state == RSTP_FORWARDING ) ; }
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 .