2
* Note: this file originally auto-generated by mib2c using
3
* : generic-table-constants.m2c,v 1.5 2005/07/15 22:41:16 rstory Exp $
5
* $Id: ipv4InterfaceTable_constants.h,v 1.3 2005/12/10 01:56:01 rstory Exp $
7
#ifndef IPV4INTERFACETABLE_CONSTANTS_H
8
#define IPV4INTERFACETABLE_CONSTANTS_H
16
* column number definitions for table ipv4InterfaceTable
18
#define IPV4INTERFACETABLE_OID 1,3,6,1,2,1,4,28
19
#define IPV4INTERFACETABLELASTCHANGE_OID 1,3,6,1,2,1,4,27
21
#define COLUMN_IPV4INTERFACEIFINDEX 1
23
#define COLUMN_IPV4INTERFACEREASMMAXSIZE 2
25
#define COLUMN_IPV4INTERFACEENABLESTATUS 3
26
#define COLUMN_IPV4INTERFACEENABLESTATUS_FLAG (0x1 << 2)
28
#define COLUMN_IPV4INTERFACERETRANSMITTIME 4
31
#define IPV4INTERFACETABLE_MIN_COL COLUMN_IPV4INTERFACEREASMMAXSIZE
32
#define IPV4INTERFACETABLE_MAX_COL COLUMN_IPV4INTERFACERETRANSMITTIME
36
* TODO:405:r: Review IPV4INTERFACETABLE_SETTABLE_COLS macro.
37
* OR together all the writable cols.
39
#define IPV4INTERFACETABLE_SETTABLE_COLS (COLUMN_IPV4INTERFACEENABLESTATUS_FLAG)
46
* If the values for your data type don't exactly match the
47
* possible values defined by the mib, you should map them
48
* below. For example, a boolean flag (1/0) is usually represented
49
* as a TruthValue in a MIB, which maps to the values (1/2).
52
/*************************************************************************
53
*************************************************************************
55
* enum definitions for table ipv4InterfaceTable
57
*************************************************************************
58
*************************************************************************/
60
/*************************************************************
61
* constants for enums for the MIB node
62
* ipv4InterfaceEnableStatus (INTEGER / ASN_INTEGER)
64
* since a Textual Convention may be referenced more than once in a
65
* MIB, protect againt redefinitions of the enum values.
67
#ifndef IPV4INTERFACEENABLESTATUS_ENUMS
68
#define IPV4INTERFACEENABLESTATUS_ENUMS
70
#define IPV4INTERFACEENABLESTATUS_UP 1
71
#define IPV4INTERFACEENABLESTATUS_DOWN 2
73
#endif /* IPV4INTERFACEENABLESTATUS_ENUMS */
81
#endif /* IPV4INTERFACETABLE_OIDS_H */