lib/rstp.h
/* Inline functions. */
/* Returns true if 'state' is one in which BPDU packets should be received
 * and transmitted on a port, false otherwise.
 */
Inline functions.
Returns true if 'state' is one in which BPDU packets should be received
and transmitted on a port, false otherwise.
Inline functions . Returns true if ' state ' is one in which BPDU packets should be received and transmitted on a port false otherwise .
static inline bool
rstp_should_manage_bpdu(enum rstp_state state)
{
    return (state == RSTP_DISCARDING || state == RSTP_LEARNING ||
            state == RSTP_FORWARDING);
}
static inline bool rstp_should_manage_bpdu ( enum rstp_state state ) { return ( state == RSTP_DISCARDING || state == RSTP_LEARNING || state == RSTP_FORWARDING ) ; }
Inline functions.
Inline functions .