lib/connectivity.c
/* Provides a global seq for connectivity changes.
 *
 * Connectivity monitoring modules should call seq_change() on the returned
 * object whenever the status of a port changes, whether the cause is local or
 * remote.
 *
 * Clients can seq_wait() on this object for changes to netdev flags, features,
 * ethernet addresses, carrier changes, and bfd/cfm/lacp/stp status. */
Provides a global seq for connectivity changes.
Connectivity monitoring modules should call seq_change() on the returned
object whenever the status of a port changes, whether the cause is local or
remote.

Clients can seq_wait() on this object for changes to netdev flags, features,
ethernet addresses, carrier changes, and bfd/cfm/lacp/stp status.
Provides a global seq for connectivity changes . Connectivity monitoring modules should call seq_change () on the returned object whenever the status of a port changes whether the cause is local or remote . Clients can seq_wait () on this object for changes to netdev flags features ethernet addresses carrier changes and bfd / cfm / lacp / stp status .
struct seq *
connectivity_seq_get(void)
{
    static struct ovsthread_once once = OVSTHREAD_ONCE_INITIALIZER;
    if (ovsthread_once_start(&once)) {
        connectivity_seq = seq_create();
        ovsthread_once_done(&once);
    }
    return connectivity_seq;
}
struct seq * connectivity_seq_get ( void ) { static struct ovsthread_once once = OVSTHREAD_ONCE_INITIALIZER ; if ( ovsthread_once_start ( & once ) ) { connectivity_seq = seq_create ( ) ; ovsthread_once_done ( & once ) ; } return connectivity_seq ; }
Provides a global seq for connectivity changes.
Provides a global seq for connectivity changes .