added files
[bcm963xx.git] / userapps / opensource / net-snmp / agent / mibgroup / mibII / at.h
1 /*
2  *  Template MIB group interface - at.h
3  *
4  */
5
6 #ifndef _MIBGROUP_AT_H
7 #define _MIBGROUP_AT_H
8
9 config_arch_require(solaris2, kernel_sunos5)
10
11      extern void     init_at(void);
12      extern FindVarMethod var_atEntry;
13
14
15 #define ATIFINDEX       0
16 #define ATPHYSADDRESS   1
17 #define ATNETADDRESS    2
18
19 #define IPMEDIAIFINDEX          0
20 #define IPMEDIAPHYSADDRESS      1
21 #define IPMEDIANETADDRESS       2
22 #define IPMEDIATYPE             3
23
24 /*
25  * in case its missing: 
26  */
27 #ifndef ATF_PERM
28 # define ATF_PERM       0x04
29 #endif                          /*  ATF_PERM */
30 #ifndef ATF_COM
31 # define ATF_COM        0x02
32 #endif                          /*  ATF_COM */
33
34 #if defined(linux) || defined(irix6)
35 /*
36  * arp struct to pass flags, hw-addr and ip-addr in bsd manner:
37  */
38      struct arptab {
39          int             at_flags;
40          char            at_enaddr[6];
41          struct in_addr  at_iaddr;
42          int             if_index;
43      };
44 #endif
45 #endif                          /* _MIBGROUP_AT_H */