| 1 |
/* |
| 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 $ |
| 4 |
* |
| 5 |
* $Id$ |
| 6 |
*/ |
| 7 |
#ifndef IPV6INTERFACETABLE_CONSTANTS_H |
| 8 |
#define IPV6INTERFACETABLE_CONSTANTS_H |
| 9 |
|
| 10 |
#ifdef __cplusplus |
| 11 |
extern "C" { |
| 12 |
#endif |
| 13 |
|
| 14 |
|
| 15 |
/* |
| 16 |
* column number definitions for table ipv6InterfaceTable |
| 17 |
*/ |
| 18 |
#define IPV6INTERFACETABLELASTCHANGE_OID 1,3,6,1,2,1,4,29 |
| 19 |
#define IPV6INTERFACETABLE_OID 1,3,6,1,2,1,4,30 |
| 20 |
|
| 21 |
#define COLUMN_IPV6INTERFACEIFINDEX 1 |
| 22 |
|
| 23 |
#define COLUMN_IPV6INTERFACEREASMMAXSIZE 2 |
| 24 |
|
| 25 |
#define COLUMN_IPV6INTERFACEIDENTIFIER 3 |
| 26 |
|
| 27 |
#define COLUMN_IPV6INTERFACEENABLESTATUS 5 |
| 28 |
#define COLUMN_IPV6INTERFACEENABLESTATUS_FLAG (0x1 << 4) |
| 29 |
|
| 30 |
#define COLUMN_IPV6INTERFACEREACHABLETIME 6 |
| 31 |
|
| 32 |
#define COLUMN_IPV6INTERFACERETRANSMITTIME 7 |
| 33 |
|
| 34 |
#define COLUMN_IPV6INTERFACEFORWARDING 8 |
| 35 |
#define COLUMN_IPV6INTERFACEFORWARDING_FLAG (0x1 << 7) |
| 36 |
|
| 37 |
|
| 38 |
#define IPV6INTERFACETABLE_MIN_COL COLUMN_IPV6INTERFACEREASMMAXSIZE |
| 39 |
#define IPV6INTERFACETABLE_MAX_COL COLUMN_IPV6INTERFACEFORWARDING |
| 40 |
|
| 41 |
|
| 42 |
/* |
| 43 |
* TODO:405:r: Review IPV6INTERFACETABLE_SETTABLE_COLS macro. |
| 44 |
* OR together all the writable cols. |
| 45 |
*/ |
| 46 |
#define IPV6INTERFACETABLE_SETTABLE_COLS (COLUMN_IPV6INTERFACEENABLESTATUS_FLAG | COLUMN_IPV6INTERFACEFORWARDING_FLAG) |
| 47 |
/* |
| 48 |
* NOTES on enums |
| 49 |
* ============== |
| 50 |
* |
| 51 |
* Value Mapping |
| 52 |
* ------------- |
| 53 |
* If the values for your data type don't exactly match the |
| 54 |
* possible values defined by the mib, you should map them |
| 55 |
* below. For example, a boolean flag (1/0) is usually represented |
| 56 |
* as a TruthValue in a MIB, which maps to the values (1/2). |
| 57 |
* |
| 58 |
*/ |
| 59 |
/************************************************************************* |
| 60 |
************************************************************************* |
| 61 |
* |
| 62 |
* enum definitions for table ipv6InterfaceTable |
| 63 |
* |
| 64 |
************************************************************************* |
| 65 |
*************************************************************************/ |
| 66 |
|
| 67 |
/************************************************************* |
| 68 |
* constants for enums for the MIB node |
| 69 |
* ipv6InterfaceEnableStatus (INTEGER / ASN_INTEGER) |
| 70 |
* |
| 71 |
* since a Textual Convention may be referenced more than once in a |
| 72 |
* MIB, protect againt redefinitions of the enum values. |
| 73 |
*/ |
| 74 |
#ifndef IPV6INTERFACEENABLESTATUS_ENUMS |
| 75 |
#define IPV6INTERFACEENABLESTATUS_ENUMS |
| 76 |
|
| 77 |
#define IPV6INTERFACEENABLESTATUS_UP 1 |
| 78 |
#define IPV6INTERFACEENABLESTATUS_DOWN 2 |
| 79 |
|
| 80 |
#endif /* IPV6INTERFACEENABLESTATUS_ENUMS */ |
| 81 |
|
| 82 |
|
| 83 |
/************************************************************* |
| 84 |
* constants for enums for the MIB node |
| 85 |
* ipv6InterfaceForwarding (INTEGER / ASN_INTEGER) |
| 86 |
* |
| 87 |
* since a Textual Convention may be referenced more than once in a |
| 88 |
* MIB, protect againt redefinitions of the enum values. |
| 89 |
*/ |
| 90 |
#ifndef IPV6INTERFACEFORWARDING_ENUMS |
| 91 |
#define IPV6INTERFACEFORWARDING_ENUMS |
| 92 |
|
| 93 |
#define IPV6INTERFACEFORWARDING_FORWARDING 1 |
| 94 |
#define IPV6INTERFACEFORWARDING_NOTFORWARDING 2 |
| 95 |
|
| 96 |
#endif /* IPV6INTERFACEFORWARDING_ENUMS */ |
| 97 |
|
| 98 |
|
| 99 |
|
| 100 |
|
| 101 |
#ifdef __cplusplus |
| 102 |
} |
| 103 |
#endif |
| 104 |
#endif /* IPV6INTERFACETABLE_OIDS_H */ |