lib/stp.c
/* Returns the bridge hello time, in ms.  The returned value is not necessarily
 * the value passed to stp_set_hello_time(): it is clamped to the valid range
 * and quantized to the STP timer resolution.  */
Returns the bridge hello time, in ms.  The returned value is not necessarily
the value passed to stp_set_hello_time(): it is clamped to the valid range
and quantized to the STP timer resolution.
Returns the bridge hello time in ms . The returned value is not necessarily the value passed to stp_set_hello_time () : it is clamped to the valid range and quantized to the STP timer resolution .
int
stp_get_hello_time(const struct stp *stp)
{
    int time;
    ovs_mutex_lock(&mutex);
    time = timer_to_ms(stp->bridge_hello_time);
    ovs_mutex_unlock(&mutex);
    return time;
}
int stp_get_hello_time ( const struct stp * stp ) { int time ; ovs_mutex_lock ( & mutex ) ; time = timer_to_ms ( stp -> bridge_hello_time ) ; ovs_mutex_unlock ( & mutex ) ; return time ; }
Returns the bridge hello time, in ms.
Returns the bridge hello time in ms .