added function for checking downward route and added configuration for DAO NACK repair - default off

This commit is contained in:
Joakim Eriksson 2015-09-22 21:01:55 +02:00
parent ee65a3982c
commit 1fcef0f90d
5 changed files with 53 additions and 2 deletions

View file

@ -49,7 +49,7 @@
#include "net/ipv6/uip-ds6-nbr.h"
#include "net/ipv6/uip-ds6-route.h"
#define DEBUG DEBUG_FULL
#define DEBUG DEBUG_NONE
#include "net/ip/uip-debug.h"
/*
@ -63,7 +63,7 @@
* neighbors and are not only MAC neighbors.
*/
#define MAX_CHILDREN (NBR_TABLE_MAX_NEIGHBORS - 3)
#define MAX_CHILDREN (NBR_TABLE_MAX_NEIGHBORS - 2)
#define UIP_IP_BUF ((struct uip_ip_hdr *)&uip_buf[UIP_LLH_LEN])
static int num_parents; /* any node that are possible parents */