lib/stp.c
/* Returns the bridge forward delay, in ms.  The returned value is not
 * necessarily the value passed to stp_set_forward_delay(): it is clamped to
 * the valid range, quantized to the STP timer resolution, and adjusted to
 * match the constraints due to the forward delay.  */
Returns the bridge forward delay, in ms.  The returned value is not
necessarily the value passed to stp_set_forward_delay(): it is clamped to
the valid range, quantized to the STP timer resolution, and adjusted to
match the constraints due to the forward delay.
Returns the bridge forward delay in ms . The returned value is not necessarily the value passed to stp_set_forward_delay () : it is clamped to the valid range quantized to the STP timer resolution and adjusted to match the constraints due to the forward delay .
int
stp_get_forward_delay(const struct stp *stp)
{
    int time;
    ovs_mutex_lock(&mutex);
    time = timer_to_ms(stp->bridge_forward_delay);
    ovs_mutex_unlock(&mutex);
    return time;
}
int stp_get_forward_delay ( const struct stp * stp ) { int time ; ovs_mutex_lock ( & mutex ) ; time = timer_to_ms ( stp -> bridge_forward_delay ) ; ovs_mutex_unlock ( & mutex ) ; return time ; }
Returns the bridge forward delay, in ms.
Returns the bridge forward delay in ms .