/*
 * White Rabbit SNMP
 * Copyright (C) 2010, CERN.
 *
 * Version:     wrsw_snmpd v1.0
 *
 * Authors:     Miguel Baizán (miguel.baizan@integrasys-sa.com)
 *
 * Description: OIDs definition.
 *              Note: this file originally auto-generated by mib2c using
 *              mib2c.mfd.conf 17337
 *
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version
 * 2 of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef IEEE8021BRIDGEPORTPRIORITYTABLE_OIDS_H
#define IEEE8021BRIDGEPORTPRIORITYTABLE_OIDS_H

#ifdef __cplusplus
extern "C" {
#endif


/* column number definitions for table ieee8021BridgePortPriorityTable */
#define IEEE8021BRIDGEPORTPRIORITYTABLE_OID              1,3,111,2,802,1,1,2,1,3,1


#define COLUMN_IEEE8021BRIDGEPORTDEFAULTUSERPRIORITY         1
#define COLUMN_IEEE8021BRIDGEPORTDEFAULTUSERPRIORITY_FLAG    (0x1 << 0)

#define COLUMN_IEEE8021BRIDGEPORTNUMTRAFFICCLASSES         2
#define COLUMN_IEEE8021BRIDGEPORTNUMTRAFFICCLASSES_FLAG    (0x1 << 1)

#define COLUMN_IEEE8021BRIDGEPORTPRIORITYCODEPOINTSELECTION         3
#define COLUMN_IEEE8021BRIDGEPORTPRIORITYCODEPOINTSELECTION_FLAG    (0x1 << 2)

#define COLUMN_IEEE8021BRIDGEPORTUSEDEI         4
#define COLUMN_IEEE8021BRIDGEPORTUSEDEI_FLAG    (0x1 << 3)

#define COLUMN_IEEE8021BRIDGEPORTREQUIREDROPENCODING         5
#define COLUMN_IEEE8021BRIDGEPORTREQUIREDROPENCODING_FLAG    (0x1 << 4)

#define COLUMN_IEEE8021BRIDGEPORTSERVICEACCESSPRIORITYSELECTION         6
#define COLUMN_IEEE8021BRIDGEPORTSERVICEACCESSPRIORITYSELECTION_FLAG    (0x1 << 5)


#define IEEE8021BRIDGEPORTPRIORITYTABLE_MIN_COL   COLUMN_IEEE8021BRIDGEPORTDEFAULTUSERPRIORITY
#define IEEE8021BRIDGEPORTPRIORITYTABLE_MAX_COL   COLUMN_IEEE8021BRIDGEPORTSERVICEACCESSPRIORITYSELECTION


    /*
     * TODO:405:r: Review IEEE8021BRIDGEPORTPRIORITYTABLE_SETTABLE_COLS macro.
     * OR together all the writable cols.
     */
#define IEEE8021BRIDGEPORTPRIORITYTABLE_SETTABLE_COLS (COLUMN_IEEE8021BRIDGEPORTDEFAULTUSERPRIORITY_FLAG | COLUMN_IEEE8021BRIDGEPORTNUMTRAFFICCLASSES_FLAG | COLUMN_IEEE8021BRIDGEPORTPRIORITYCODEPOINTSELECTION_FLAG | COLUMN_IEEE8021BRIDGEPORTUSEDEI_FLAG | COLUMN_IEEE8021BRIDGEPORTREQUIREDROPENCODING_FLAG | COLUMN_IEEE8021BRIDGEPORTSERVICEACCESSPRIORITYSELECTION_FLAG)

/* Temporary mask to control what columns we want to implement */
#define IEEE8021BRIDGEPORTPRIORITYTABLE_IMPLEMENTED_COLS \
            (COLUMN_IEEE8021BRIDGEPORTDEFAULTUSERPRIORITY_FLAG | \
             COLUMN_IEEE8021BRIDGEPORTNUMTRAFFICCLASSES_FLAG)

#ifdef __cplusplus
}
#endif

#endif /* IEEE8021BRIDGEPORTPRIORITYTABLE_OIDS_H */
