diff options
Diffstat (limited to 'agent/mibgroup/if-mib/data_access/interface_sysctl.h')
-rw-r--r-- | agent/mibgroup/if-mib/data_access/interface_sysctl.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/agent/mibgroup/if-mib/data_access/interface_sysctl.h b/agent/mibgroup/if-mib/data_access/interface_sysctl.h new file mode 100644 index 0000000..ea5c05c --- /dev/null +++ b/agent/mibgroup/if-mib/data_access/interface_sysctl.h @@ -0,0 +1,31 @@ +/* + * Interface MIB architecture support + * + * Based on patch 1362403, submited by Rojer + * + * $Id: interface_sysctl.h 15068 2006-08-24 14:30:04Z rstory $ + */ +#ifndef INTERFACE_SYSCTL_H +#define INTERFACE_SYSCTL_H + +#ifdef __cplusplus +extern "C" { +#endif + +int +netsnmp_access_interface_sysctl_container_load(netsnmp_container* container, + u_int load_flags); + +void +netsnmp_access_interface_sysctl_ifmedia_to_speed(int media, u_int *speed, + u_int *speed_high); + +int +netsnmp_access_interface_sysctl_get_if_speed(char *name, u_int *speed, + u_int *speed_high); + +# ifdef __cplusplus +} +#endif + +#endif |