| 1 |
/* |
| 2 |
* Interface MIB architecture support |
| 3 |
* |
| 4 |
* Based on patch 1362403, submited by Rojer |
| 5 |
* |
| 6 |
* $Id$ |
| 7 |
*/ |
| 8 |
#ifndef INTERFACE_SYSCTL_H |
| 9 |
#define INTERFACE_SYSCTL_H |
| 10 |
|
| 11 |
#ifdef __cplusplus |
| 12 |
extern "C" { |
| 13 |
#endif |
| 14 |
|
| 15 |
int |
| 16 |
netsnmp_access_interface_sysctl_container_load(netsnmp_container* container, |
| 17 |
u_int load_flags); |
| 18 |
|
| 19 |
void |
| 20 |
netsnmp_access_interface_sysctl_ifmedia_to_speed(int media, u_int *speed, |
| 21 |
u_int *speed_high); |
| 22 |
|
| 23 |
int |
| 24 |
netsnmp_access_interface_sysctl_get_if_speed(char *name, u_int *speed, |
| 25 |
u_int *speed_high); |
| 26 |
|
| 27 |
# ifdef __cplusplus |
| 28 |
} |
| 29 |
#endif |
| 30 |
|
| 31 |
#endif |