Allow to completely desactivate DAD (useless in route-over LLN as implemented, see http://tools.ietf.org/html/draft-ietf-6lowpan-nd-15#section-8.2)
This commit is contained in:
parent
b0907f0344
commit
6ddd0bb190
4 changed files with 32 additions and 2 deletions
|
@ -209,8 +209,10 @@ typedef struct uip_ds6_addr {
|
|||
uint8_t type;
|
||||
uint8_t isinfinite;
|
||||
struct stimer vlifetime;
|
||||
#if UIP_ND6_DEF_MAXDADNS > 0
|
||||
struct timer dadtimer;
|
||||
uint8_t dadnscount;
|
||||
#endif /* UIP_ND6_DEF_MAXDADNS > 0 */
|
||||
} uip_ds6_addr_t;
|
||||
|
||||
/** \brief Anycast address */
|
||||
|
@ -385,11 +387,13 @@ void uip_ds6_set_addr_iid(uip_ipaddr_t * ipaddr, uip_lladdr_t * lladdr);
|
|||
/** \brief Get the number of matching bits of two addresses */
|
||||
uint8_t get_match_length(uip_ipaddr_t * src, uip_ipaddr_t * dst);
|
||||
|
||||
#if UIP_ND6_DEF_MAXDADNS >0
|
||||
/** \brief Perform Duplicate Address Selection on one address */
|
||||
void uip_ds6_dad(uip_ds6_addr_t * ifaddr);
|
||||
|
||||
/** \brief Callback when DAD failed */
|
||||
int uip_ds6_dad_failed(uip_ds6_addr_t * ifaddr);
|
||||
#endif /* UIP_ND6_DEF_MAXDADNS */
|
||||
|
||||
/** \brief Source address selection, see RFC 3484 */
|
||||
void uip_ds6_select_src(uip_ipaddr_t * src, uip_ipaddr_t * dst);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue