Loading...
Searching...
No Matches
_nib_onl_entry Struct Reference

On-link NIB entry . More...

Detailed Description

On-link NIB entry .

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

#include <_nib-internal.h>

Data Fields

struct _nib_onl_entrynext
 next removable entry
 
gnrc_pktqueue_tpktqueue
 queue for packets currently in address resolution
 
ipv6_addr_t ipv6
 Neighbors IPv6 address.
 
eui64_t eui64
 The neighbors EUI-64 (used for DAD)
 
uint8_t l2addr [CONFIG_GNRC_IPV6_NIB_L2ADDR_MAX_LEN]
 Link-layer address of _nib_onl_entry_t::next_hop.
 
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.
 
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.
 
uint8_t mode
 NIB entry mode.
 
uint8_t ns_sent
 Neighbor solicitations sent for probing.
 
uint8_t l2addr_len
 length in bytes of _nib_onl_entry_t::l2addr
 
uint8_t pktqueue_len
 Number of queued packets (in pktqueue)
 

Field Documentation

◆ addr_reg_timeout

evtimer_msg_event_t _nib_onl_entry::addr_reg_timeout

Event for GNRC_IPV6_NIB_ADDR_REG_TIMEOUT.

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

◆ eui64

eui64_t _nib_onl_entry::eui64

The neighbors EUI-64 (used for DAD)

Note
Only available if CONFIG_GNRC_IPV6_NIB_6LR != 0.

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

◆ info

uint16_t _nib_onl_entry::info

Information flags.

See also
NC info values

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

◆ ipv6

ipv6_addr_t _nib_onl_entry::ipv6

Neighbors IPv6 address.

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

◆ l2addr

uint8_t _nib_onl_entry::l2addr[CONFIG_GNRC_IPV6_NIB_L2ADDR_MAX_LEN]

Link-layer address of _nib_onl_entry_t::next_hop.

Note
Only available if CONFIG_GNRC_IPV6_NIB_ARSM != 0.

Definition at line 122 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 CONFIG_GNRC_IPV6_NIB_ARSM != 0.

Definition at line 181 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 167 of file _nib-internal.h.

◆ next

struct _nib_onl_entry* _nib_onl_entry::next

next removable entry

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

◆ ns_sent

uint8_t _nib_onl_entry::ns_sent

Neighbor solicitations sent for probing.

Note
Only available if CONFIG_GNRC_IPV6_NIB_ARSM != 0.

Definition at line 174 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 CONFIG_GNRC_IPV6_NIB_ARSM == 0, since 6Lo address registration uses it to time the sending of neighbor solicitations.

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

◆ pktqueue

gnrc_pktqueue_t* _nib_onl_entry::pktqueue

queue for packets currently in address resolution

Note
Only available if CONFIG_GNRC_IPV6_NIB_QUEUE_PKT != 0.

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

◆ pktqueue_len

uint8_t _nib_onl_entry::pktqueue_len

Number of queued packets (in pktqueue)

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

◆ reply_rs

evtimer_msg_event_t _nib_onl_entry::reply_rs

Event for GNRC_IPV6_NIB_REPLY_RS.

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

◆ snd_na

evtimer_msg_event_t _nib_onl_entry::snd_na

Event for GNRC_IPV6_NIB_SND_NA.

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


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