mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-04-16 08:43:17 +00:00
Honoured Pedro Alves namespace request, following lwip style struct naming.
This commit is contained in:
parent
3bffb0a181
commit
cbe83f32b6
@ -39,18 +39,18 @@
|
||||
#if defined(LWIP_SNMP) && (LWIP_SNMP > 0)
|
||||
|
||||
/** fixed maximum length for object identifier type */
|
||||
#define OBJ_ID_LEN 32
|
||||
#define LWIP_SNMP_OBJ_ID_LEN 32
|
||||
/** internal object identifier representation */
|
||||
struct obj_id
|
||||
struct snmp_obj_id
|
||||
{
|
||||
u8_t len;
|
||||
s32_t id[OBJ_ID_LEN];
|
||||
s32_t id[LWIP_SNMP_OBJ_ID_LEN];
|
||||
};
|
||||
|
||||
/* system */
|
||||
void snmp_inc_sysuptime(void);
|
||||
void snmp_get_sysuptime(u32_t *value);
|
||||
void snmp_get_sysobjid(const struct obj_id **oid);
|
||||
void snmp_get_sysobjid(const struct snmp_obj_id **oid);
|
||||
|
||||
/* network interface */
|
||||
void snmp_add_ifinoctets(u32_t value);
|
||||
@ -146,7 +146,7 @@ void snmp_inc_snmpoutgetnexts(void);
|
||||
void snmp_inc_snmpoutsetrequests(void);
|
||||
void snmp_inc_snmpoutgetresponses(void);
|
||||
void snmp_inc_snmpouttraps(void);
|
||||
void snmp_get_snmpgrpid(const struct obj_id **oid);
|
||||
void snmp_get_snmpgrpid(const struct snmp_obj_id **oid);
|
||||
|
||||
/* LWIP_SNMP support not available */
|
||||
/* define everything to be empty */
|
||||
|
Loading…
x
Reference in New Issue
Block a user