Use rpl headers.
This commit is contained in:
parent
7c808081d6
commit
5c0100c979
|
@ -78,17 +78,16 @@ void uip_log(char *msg);
|
||||||
#ifdef UIP_FALLBACK_INTERFACE
|
#ifdef UIP_FALLBACK_INTERFACE
|
||||||
extern struct uip_fallback_interface UIP_FALLBACK_INTERFACE;
|
extern struct uip_fallback_interface UIP_FALLBACK_INTERFACE;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if UIP_CONF_IPV6_RPL
|
#if UIP_CONF_IPV6_RPL
|
||||||
void rpl_init(void);
|
#include "rpl/rpl.h"
|
||||||
int rpl_update_header_final(uip_ipaddr_t *addr);
|
#endif
|
||||||
#endif /* UIP_CONF_IPV6_RPL */
|
|
||||||
process_event_t tcpip_event;
|
process_event_t tcpip_event;
|
||||||
#if UIP_CONF_ICMP6
|
#if UIP_CONF_ICMP6
|
||||||
process_event_t tcpip_icmp6_event;
|
process_event_t tcpip_icmp6_event;
|
||||||
#endif /* UIP_CONF_ICMP6 */
|
#endif /* UIP_CONF_ICMP6 */
|
||||||
|
|
||||||
/*static struct tcpip_event_args ev_args;*/
|
|
||||||
|
|
||||||
/*periodic check of active connections*/
|
/*periodic check of active connections*/
|
||||||
static struct etimer periodic;
|
static struct etimer periodic;
|
||||||
|
|
||||||
|
@ -607,9 +606,7 @@ tcpip_ipv6_output(void)
|
||||||
}
|
}
|
||||||
#endif /* UIP_CONF_IPV6_RPL */
|
#endif /* UIP_CONF_IPV6_RPL */
|
||||||
if((nbr = uip_ds6_nbr_lookup(nexthop)) == NULL) {
|
if((nbr = uip_ds6_nbr_lookup(nexthop)) == NULL) {
|
||||||
// printf("add1 %d\n", nexthop->u8[15]);
|
|
||||||
if((nbr = uip_ds6_nbr_add(nexthop, NULL, 0, NBR_INCOMPLETE)) == NULL) {
|
if((nbr = uip_ds6_nbr_add(nexthop, NULL, 0, NBR_INCOMPLETE)) == NULL) {
|
||||||
// printf("add n\n");
|
|
||||||
uip_len = 0;
|
uip_len = 0;
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -95,9 +95,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if UIP_CONF_IPV6_RPL
|
#if UIP_CONF_IPV6_RPL
|
||||||
void uip_rpl_input(void);
|
#include "rpl/rpl.h"
|
||||||
void rpl_update_header_empty(void);
|
|
||||||
int rpl_verify_header(int uip_ext_opt_offset);
|
|
||||||
#endif /* UIP_CONF_IPV6_RPL */
|
#endif /* UIP_CONF_IPV6_RPL */
|
||||||
|
|
||||||
#if UIP_LOGGING == 1
|
#if UIP_LOGGING == 1
|
||||||
|
|
Loading…
Reference in a new issue