lib/ovsdb-idl.c
/* Returns the most recent IDL change sequence number that caused a
 * insert, modify or delete update to the table with class 'table_class'.
 */
Returns the most recent IDL change sequence number that caused a
insert, modify or delete update to the table with class 'table_class'.
Returns the most recent IDL change sequence number that caused a insert modify or delete update to the table with class ' table_class ' .
unsigned int
ovsdb_idl_table_get_seqno(const struct ovsdb_idl *idl,
                          const struct ovsdb_idl_table_class *table_class)
{
    struct ovsdb_idl_table *table
        = ovsdb_idl_db_table_from_class(&idl->data, table_class);
    unsigned int max_seqno = table->change_seqno[OVSDB_IDL_CHANGE_INSERT];
    if (max_seqno < table->change_seqno[OVSDB_IDL_CHANGE_MODIFY]) {
        max_seqno = table->change_seqno[OVSDB_IDL_CHANGE_MODIFY];
    }
    if (max_seqno < table->change_seqno[OVSDB_IDL_CHANGE_DELETE]) {
        max_seqno = table->change_seqno[OVSDB_IDL_CHANGE_DELETE];
    }
    return max_seqno;
}
unsigned int ovsdb_idl_table_get_seqno ( const struct ovsdb_idl * idl , const struct ovsdb_idl_table_class * table_class ) { struct ovsdb_idl_table * table = ovsdb_idl_db_table_from_class ( & idl -> data , table_class ) ; unsigned int max_seqno = table -> change_seqno [ OVSDB_IDL_CHANGE_INSERT ] ; if ( max_seqno < table -> change_seqno [ OVSDB_IDL_CHANGE_MODIFY ] ) { max_seqno = table -> change_seqno [ OVSDB_IDL_CHANGE_MODIFY ] ; } if ( max_seqno < table -> change_seqno [ OVSDB_IDL_CHANGE_DELETE ] ) { max_seqno = table -> change_seqno [ OVSDB_IDL_CHANGE_DELETE ] ; } return max_seqno ; }
Returns the most recent IDL change sequence number that caused a
 insert, modify or delete update to the table with class 'table_class'.
Returns the most recent IDL change sequence number that caused a insert modify or delete update to the table with class ' table_class ' .