mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-07-25 16:27:15 +02:00
IDF release/v4.0 08219f3cf
This commit is contained in:
@ -44,8 +44,9 @@
|
||||
|
||||
#include "netif/lowpan6_opts.h"
|
||||
|
||||
#if LWIP_IPV6 && LWIP_6LOWPAN /* don't build if not configured for use in lwipopts.h */
|
||||
#if LWIP_IPV6
|
||||
|
||||
#include "netif/lowpan6_common.h"
|
||||
#include "lwip/pbuf.h"
|
||||
#include "lwip/ip.h"
|
||||
#include "lwip/ip_addr.h"
|
||||
@ -55,12 +56,12 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/** 1 second period */
|
||||
/** 1 second period for reassembly */
|
||||
#define LOWPAN6_TMR_INTERVAL 1000
|
||||
|
||||
void lowpan6_tmr(void);
|
||||
|
||||
err_t lowpan6_set_context(u8_t index, const ip6_addr_t * context);
|
||||
err_t lowpan6_set_context(u8_t idx, const ip6_addr_t * context);
|
||||
err_t lowpan6_set_short_addr(u8_t addr_high, u8_t addr_low);
|
||||
|
||||
#if LWIP_IPV4
|
||||
@ -73,6 +74,8 @@ err_t lowpan6_if_init(struct netif *netif);
|
||||
/* pan_id in network byte order. */
|
||||
err_t lowpan6_set_pan_id(u16_t pan_id);
|
||||
|
||||
u16_t lowpan6_calc_crc(const void *buf, u16_t len);
|
||||
|
||||
#if !NO_SYS
|
||||
err_t tcpip_6lowpan_input(struct pbuf *p, struct netif *inp);
|
||||
#endif /* !NO_SYS */
|
||||
@ -81,6 +84,6 @@ err_t tcpip_6lowpan_input(struct pbuf *p, struct netif *inp);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* LWIP_IPV6 && LWIP_6LOWPAN */
|
||||
#endif /* LWIP_IPV6 */
|
||||
|
||||
#endif /* LWIP_HDR_LOWPAN6_H */
|
||||
|
Reference in New Issue
Block a user