37 #ifndef LWIP_HDR_APPS_SNMP_MIB2_H
38 #define LWIP_HDR_APPS_SNMP_MIB2_H
51 extern const struct snmp_mib mib2;
55 void snmp_mib2_lwip_synchronizer(snmp_threadsync_called_fn fn,
void* arg);
56 extern struct snmp_threadsync_instance snmp_mib2_lwip_locks;
59 #ifndef SNMP_SYSSERVICES
60 #define SNMP_SYSSERVICES ((1 << 6) | (1 << 3) | ((IP_FORWARD) << 2))
63 void snmp_mib2_set_sysdescr(
const u8_t* str,
const u16_t* len);
64 void snmp_mib2_set_syscontact(
u8_t *ocstr,
u16_t *ocstrlen,
u16_t bufsize);
65 void snmp_mib2_set_syscontact_readonly(
const u8_t *ocstr,
const u16_t *ocstrlen);
66 void snmp_mib2_set_sysname(
u8_t *ocstr,
u16_t *ocstrlen,
u16_t bufsize);
67 void snmp_mib2_set_sysname_readonly(
const u8_t *ocstr,
const u16_t *ocstrlen);
68 void snmp_mib2_set_syslocation(
u8_t *ocstr,
u16_t *ocstrlen,
u16_t bufsize);
69 void snmp_mib2_set_syslocation_readonly(
const u8_t *ocstr,
const u16_t *ocstrlen);
uint8_t u8_t
Definition: arch.h:125
uint16_t u16_t
Definition: arch.h:127