30#include "_nib-internal.h"
36#if IS_ACTIVE(CONFIG_GNRC_IPV6_NIB_6LR) || defined(DOXYGEN)
57 entry->
info &= ~GNRC_IPV6_NIB_NC_INFO_AR_STATE_MASK;
121#define _rtr_sol_on_6lr(netif, icmpv6) (false)
122#define _get_ar_state(nbr) (_ADDR_REG_STATUS_IGNORE)
123#define _set_ar_state(nbr, state) (void)nbr; (void)state
127#define _copy_and_handle_aro(netif, ipv6, icmpv6, aro, sl2ao) \
Definitions related to 6Lo node (6LN) functionality of the NIB.
static bool _rtr_sol_on_6lr(const gnrc_netif_t *netif, const icmpv6_hdr_t *icmpv6)
Checks if the received message is a router solicitation and the interface represents a 6Lo router.
static uint16_t _get_ar_state(const _nib_onl_entry_t *entry)
Gets address registration state of a neighbor.
gnrc_pktsnip_t * _copy_and_handle_aro(gnrc_netif_t *netif, const ipv6_hdr_t *ipv6, const ndp_nbr_sol_t *nbr_sol, const sixlowpan_nd_opt_ar_t *aro, const ndp_opt_t *sl2ao)
Handles and copies ARO from NS to NA.
static void _set_ar_state(_nib_onl_entry_t *entry, uint16_t state)
Sets address registration state of a neighbor.
uint8_t _reg_addr_upstream(gnrc_netif_t *netif, const ipv6_hdr_t *ipv6, const icmpv6_hdr_t *icmpv6, const sixlowpan_nd_opt_ar_t *aro, const ndp_opt_t *sl2ao, _nib_onl_entry_t *nce)
Registers an address to the (upstream; in case of multihop DAD) router.
#define GNRC_IPV6_NIB_NC_INFO_AR_STATE_MASK
Mask for 6LoWPAN address registration (6Lo-AR) states.
#define ICMPV6_RTR_SOL
NDP router solicitation message.
Configuration macro definitions for neighbor information base.
Common macros and compiler attributes/pragmas configuration.
IPv6 neighbor discovery message type definitions.
Message type and helper function definitions for 6LoWPAN-ND.
uint16_t info
Information flags.
Representation of a network interface.
Type to represent parts (either headers or payload) of a packet, called snips.
General ICMPv6 message format.
Data type to represent an IPv6 packet header.
Neighbor solicitation message format.
General NDP option format.
Address registration option format.