Merge pull request #2073 from cetic/pr-fix-send-na
Fix semantic of UIP_ND6_SEND_NA and add UIP_ND6_SEND_NS
This commit is contained in:
commit
5eb2ac15ff
19 changed files with 75 additions and 61 deletions
|
@ -45,6 +45,6 @@
|
|||
#define BUTTON_SENSOR_CONF_ON 1
|
||||
#define UIP_CONF_ICMP6 1
|
||||
#define RIMESTATS_CONF_ENABLED 1
|
||||
#define UIP_CONF_ND6_SEND_NA 1
|
||||
#define UIP_CONF_ND6_SEND_NS 1
|
||||
|
||||
#endif /* PROJECT_CONF_H_ */
|
||||
|
|
|
@ -4,5 +4,5 @@ all: $(CONTIKI_PROJECT)
|
|||
|
||||
CONTIKI = ../../..
|
||||
CONTIKI_WITH_IPV6 = 1
|
||||
CFLAGS += -DUIP_CONF_ND6_SEND_NA=1
|
||||
CFLAGS += -DUIP_CONF_ND6_SEND_NS=1
|
||||
include $(CONTIKI)/Makefile.include
|
||||
|
|
|
@ -155,8 +155,8 @@
|
|||
#define RPL_NS_CONF_LINK_NUM 8
|
||||
#undef NBR_TABLE_CONF_MAX_NEIGHBORS
|
||||
#define NBR_TABLE_CONF_MAX_NEIGHBORS 8
|
||||
#undef UIP_CONF_ND6_SEND_NA
|
||||
#define UIP_CONF_ND6_SEND_NA 0
|
||||
#undef UIP_CONF_ND6_SEND_NS
|
||||
#define UIP_CONF_ND6_SEND_NS 0
|
||||
#undef SICSLOWPAN_CONF_FRAG
|
||||
#define SICSLOWPAN_CONF_FRAG 0
|
||||
|
||||
|
|
|
@ -116,9 +116,9 @@
|
|||
#define RPL_CONF_MAX_INSTANCES 1 /* default 1 */
|
||||
#define RPL_CONF_MAX_DAG_PER_INSTANCE 1 /* default 2 */
|
||||
|
||||
/* No RA, No NA */
|
||||
#undef UIP_CONF_ND6_SEND_NA
|
||||
#define UIP_CONF_ND6_SEND_NA 0
|
||||
/* No RA, No NS */
|
||||
#undef UIP_CONF_ND6_SEND_NS
|
||||
#define UIP_CONF_ND6_SEND_NS 0
|
||||
|
||||
#undef UIP_CONF_ND6_SEND_RA
|
||||
#define UIP_CONF_ND6_SEND_RA 0
|
||||
|
|
|
@ -2,5 +2,5 @@ all: udp-server udp-client
|
|||
|
||||
CONTIKI = ../..
|
||||
CONTIKI_WITH_IPV6 = 1
|
||||
CFLAGS += -DUIP_CONF_ND6_SEND_NA=1
|
||||
CFLAGS += -DUIP_CONF_ND6_SEND_NS=1
|
||||
include $(CONTIKI)/Makefile.include
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue