_nib_onl_entry Struct Reference

On-link NIB entry. More...

Detailed Description

On-link NIB entry.

Definition at line 92 of file _nib-internal.h.

#include </tmp/RIOT/sys/net/gnrc/network_layer/ipv6/nib/_nib-internal.h>

Data Fields

struct _nib_onl_entrynext
 next removable entry
 
gnrc_pktqueue_tpktqueue
 queue for packets currently in address resolution More...
 
ipv6_addr_t ipv6
 Neighbors IPv6 address.
 
eui64_t eui64
 The neighbors EUI-64 (used for DAD) More...
 
uint8_t l2addr [GNRC_IPV6_NIB_L2ADDR_MAX_LEN]
 Link-layer address of _nib_onl_entry_t::next_hop. More...
 
evtimer_msg_event_t nud_timeout
 Event for GNRC_IPV6_NIB_SND_UC_NS, GNRC_IPV6_NIB_SND_MC_NS, GNRC_IPV6_NIB_REACH_TIMEOUT and GNRC_IPV6_NIB_DELAY_TIMEOUT. More...
 
evtimer_msg_event_t snd_na
 Event for GNRC_IPV6_NIB_SND_NA.
 
evtimer_msg_event_t reply_rs
 Event for GNRC_IPV6_NIB_REPLY_RS.
 
evtimer_msg_event_t addr_reg_timeout
 Event for GNRC_IPV6_NIB_ADDR_REG_TIMEOUT.
 
uint16_t info
 Information flags. More...
 
uint8_t mode
 NIB entry mode. More...
 
uint8_t ns_sent
 Neighbor solicitations sent for probing. More...
 
uint8_t l2addr_len
 length in bytes of _nib_onl_entry_t::l2addr More...
 

Field Documentation

◆ eui64

eui64_t _nib_onl_entry::eui64

The neighbors EUI-64 (used for DAD)

Note
Only available if GNRC_IPV6_NIB_CONF_6LR != 0.

Definition at line 112 of file _nib-internal.h.

◆ info

uint16_t _nib_onl_entry::info

Information flags.

See also
NC info values

Definition at line 156 of file _nib-internal.h.

◆ l2addr

uint8_t _nib_onl_entry::l2addr[GNRC_IPV6_NIB_L2ADDR_MAX_LEN]

Link-layer address of _nib_onl_entry_t::next_hop.

Note
Only available if GNRC_IPV6_NIB_CONF_ARSM != 0.

Definition at line 120 of file _nib-internal.h.

◆ l2addr_len

uint8_t _nib_onl_entry::l2addr_len

length in bytes of _nib_onl_entry_t::l2addr

Note
Only available if GNRC_IPV6_NIB_CONF_ARSM != 0.

Definition at line 179 of file _nib-internal.h.

◆ mode

uint8_t _nib_onl_entry::mode

NIB entry mode.

This field identifies which "views" of the NIB the entry belongs to.

See also
Mode flags for entries.

Definition at line 165 of file _nib-internal.h.

◆ ns_sent

uint8_t _nib_onl_entry::ns_sent

Neighbor solicitations sent for probing.

Note
Only available if GNRC_IPV6_NIB_CONF_ARSM != 0.

Definition at line 172 of file _nib-internal.h.

◆ nud_timeout

evtimer_msg_event_t _nib_onl_entry::nud_timeout

Event for GNRC_IPV6_NIB_SND_UC_NS, GNRC_IPV6_NIB_SND_MC_NS, GNRC_IPV6_NIB_REACH_TIMEOUT and GNRC_IPV6_NIB_DELAY_TIMEOUT.

Note
Four event types
  1. To easier distinguish multicast probes in _evtimer_lookup for rate-limiting from unicast probes.
  2. Since the types can't be in the event queue at the same time (since they only have one NUD state at a time and probing is one of these states). Because of this we can use one event for all of them (but need the different types, since the events are handled differently).
This is also available with GNRC_IPV6_NIB_CONF_ARSM == 0, since 6Lo address registration uses it to time the sending of neighbor solicitations.

Definition at line 139 of file _nib-internal.h.

◆ pktqueue

gnrc_pktqueue_t* _nib_onl_entry::pktqueue

queue for packets currently in address resolution

Note
Only available if GNRC_IPV6_NIB_CONF_QUEUE_PKT != 0.

Definition at line 100 of file _nib-internal.h.


The documentation for this struct was generated from the following file: