Fix semantic of UIP_ND6_SEND_NA and add UIP_ND6_SEND_NS
This commit is contained in:
parent
c1f11cfaa9
commit
12c930893c
19 changed files with 75 additions and 61 deletions
|
@ -74,6 +74,11 @@
|
|||
#else
|
||||
#define UIP_ND6_SEND_RA UIP_CONF_ND6_SEND_RA
|
||||
#endif
|
||||
#ifndef UIP_CONF_ND6_SEND_NS
|
||||
#define UIP_ND6_SEND_NS 1 /* enable/disable NS sending */
|
||||
#else
|
||||
#define UIP_ND6_SEND_NS UIP_CONF_ND6_SEND_NS
|
||||
#endif
|
||||
#ifndef UIP_CONF_ND6_SEND_NA
|
||||
#define UIP_ND6_SEND_NA 1 /* enable/disable NA sending */
|
||||
#else
|
||||
|
@ -109,7 +114,7 @@
|
|||
#if UIP_CONF_LL_802154
|
||||
#define UIP_ND6_DEF_MAXDADNS 0
|
||||
#else /* UIP_CONF_LL_802154 */
|
||||
#define UIP_ND6_DEF_MAXDADNS UIP_ND6_SEND_NA
|
||||
#define UIP_ND6_DEF_MAXDADNS UIP_ND6_SEND_NS
|
||||
#endif /* UIP_CONF_LL_802154 */
|
||||
#else /* UIP_CONF_ND6_DEF_MAXDADNS */
|
||||
#define UIP_ND6_DEF_MAXDADNS UIP_CONF_ND6_DEF_MAXDADNS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue