SNMP: Move MIB2 interfaces subtree to separate file to get snmp_mib2.c smaller

This commit is contained in:
Dirk Ziegelmeier
2016-03-23 22:04:45 +01:00
parent 7321420d8c
commit 377885581f
6 changed files with 397 additions and 343 deletions

View File

@@ -315,6 +315,8 @@ u8_t snmp_oid_to_ip(const u32_t *oid, u8_t oid_len, ip_addr_t *ip);
u8_t snmp_oid_to_ip_port(const u32_t *oid, u8_t oid_len, ip_addr_t *ip, u16_t *port);
#endif /* LWIP_IPV4 || LWIP_IPV6 */
u8_t netif_to_num(const struct netif *netif);
snmp_err_t snmp_set_test_ok(struct snmp_node_instance* instance, u16_t value_len, void* value); /* generic function which can be used if test is always successful */
err_t snmp_decode_bits(const u8_t *buf, u32_t buf_len, u32_t *bit_value);