mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-06 02:27:15 +00:00
snmp.h: Add missing #if around function prototypes
This commit is contained in:
parent
4293c1e138
commit
65bb7a623c
@ -138,14 +138,18 @@ void mib2_remove_arp_entry(struct netif *ni, ip4_addr_t *ip);
|
|||||||
#endif /* LWIP_IPV4 && LWIP_ARP */
|
#endif /* LWIP_IPV4 && LWIP_ARP */
|
||||||
|
|
||||||
/* IP */
|
/* IP */
|
||||||
|
#if LWIP_IPV4
|
||||||
void mib2_add_ip4(struct netif *ni);
|
void mib2_add_ip4(struct netif *ni);
|
||||||
void mib2_remove_ip4(struct netif *ni);
|
void mib2_remove_ip4(struct netif *ni);
|
||||||
void mib2_add_route_ip4(u8_t dflt, struct netif *ni);
|
void mib2_add_route_ip4(u8_t dflt, struct netif *ni);
|
||||||
void mib2_remove_route_ip4(u8_t dflt, struct netif *ni);
|
void mib2_remove_route_ip4(u8_t dflt, struct netif *ni);
|
||||||
|
#endif /* LWIP_IPV4 */
|
||||||
|
|
||||||
/* UDP */
|
/* UDP */
|
||||||
|
#if LWIP_UDP
|
||||||
void mib2_udp_bind(struct udp_pcb *pcb);
|
void mib2_udp_bind(struct udp_pcb *pcb);
|
||||||
void mib2_udp_unbind(struct udp_pcb *pcb);
|
void mib2_udp_unbind(struct udp_pcb *pcb);
|
||||||
|
#endif /* LWIP_UDP */
|
||||||
|
|
||||||
#else /* LWIP_MIB2_CALLBACKS */
|
#else /* LWIP_MIB2_CALLBACKS */
|
||||||
/* LWIP_MIB2_CALLBACKS support not available */
|
/* LWIP_MIB2_CALLBACKS support not available */
|
||||||
|
Loading…
Reference in New Issue
Block a user