lib/stp.c
/* Returns the STP entity in which 'p' is nested. */
Returns the STP entity in which 'p' is nested.
Returns the STP entity in which ' p ' is nested .
struct stp *
stp_port_get_stp(struct stp_port *p)
{
    struct stp *stp;
    ovs_mutex_lock(&mutex);
    stp = p->stp;
    ovs_mutex_unlock(&mutex);
    return stp;
}
struct stp * stp_port_get_stp ( struct stp_port * p ) { struct stp * stp ; ovs_mutex_lock ( & mutex ) ; stp = p -> stp ; ovs_mutex_unlock ( & mutex ) ; return stp ; }
Returns the STP entity in which 'p' is nested.
Returns the STP entity in which ' p ' is nested .