NIB definitions. More...

Detailed Description

NIB definitions.

Author
Martine Lenders m.len.nosp@m.ders.nosp@m.@fu-b.nosp@m.erli.nosp@m.n.de

Definition in file nib.h.

#include "net/gnrc/ipv6/nib/abr.h"
#include "net/gnrc/ipv6/nib/ft.h"
#include "net/gnrc/ipv6/nib/nc.h"
#include "net/gnrc/ipv6/nib/pl.h"
#include "net/icmpv6.h"
#include "net/ipv6/addr.h"
#include "net/ipv6/hdr.h"
#include "net/gnrc/netif.h"
#include "net/gnrc/pkt.h"
+ Include dependency graph for nib.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

Timer event message types

#define GNRC_IPV6_NIB_SND_UC_NS   (0x4fc0U)
 (Re-)transmit unicast Neighbor Solicitation event. More...
 
#define GNRC_IPV6_NIB_SND_MC_NS   (0x4fc1U)
 (Re-)transmit multicast Neighbor Solicitation event. More...
 
#define GNRC_IPV6_NIB_SND_NA   (0x4fc2U)
 Send delayed Neighbor Advertisement event. More...
 
#define GNRC_IPV6_NIB_SEARCH_RTR   (0x4fc3U)
 Search router event. More...
 
#define GNRC_IPV6_NIB_REPLY_RS   (0x4fc5U)
 Reply Router Solicitation event. More...
 
#define GNRC_IPV6_NIB_SND_MC_RA   (0x4fc6U)
 (Re-)transmit multicast Router Advertisement event. More...
 
#define GNRC_IPV6_NIB_REACH_TIMEOUT   (0x4fc7U)
 Reachability timeout event. More...
 
#define GNRC_IPV6_NIB_DELAY_TIMEOUT   (0x4fc8U)
 Delay timeout event. More...
 
#define GNRC_IPV6_NIB_ADDR_REG_TIMEOUT   (0x4fc9U)
 Address registration timeout event. More...
 
#define GNRC_IPV6_NIB_ABR_TIMEOUT   (0x4fcbU)
 Authoritative border router timeout event. More...
 
#define GNRC_IPV6_NIB_PFX_TIMEOUT   (0x4fccU)
 Prefix timeout event. More...
 
#define GNRC_IPV6_NIB_RTR_TIMEOUT   (0x4fcdU)
 Router timeout event. More...
 
#define GNRC_IPV6_NIB_RECALC_REACH_TIME   (0x4fceU)
 Recalculate reachability timeout time. More...
 
#define GNRC_IPV6_NIB_REREG_ADDRESS   (0x4fcfU)
 Reregister address. More...
 
#define GNRC_IPV6_NIB_ROUTE_TIMEOUT   (0x4fd0U)
 Route timeout event. More...
 

Enumerations

enum  { GNRC_IPV6_NIB_ROUTE_INFO_TYPE_UNDEF = 0, GNRC_IPV6_NIB_ROUTE_INFO_TYPE_RRQ, GNRC_IPV6_NIB_ROUTE_INFO_TYPE_RN, GNRC_IPV6_NIB_ROUTE_INFO_TYPE_NSC }
 Types for gnrc_netif_ipv6_t::route_info_cb. More...
 

Functions

void gnrc_ipv6_nib_init (void)
 Initialize NIB.
 
void gnrc_ipv6_nib_init_iface (gnrc_netif_t *netif)
 Adds an interface to be managed by the NIB. More...
 
int gnrc_ipv6_nib_get_next_hop_l2addr (const ipv6_addr_t *dst, gnrc_netif_t *netif, gnrc_pktsnip_t *pkt, gnrc_ipv6_nib_nc_t *nce)
 Gets link-layer address of next hop to a destination address. More...
 
void gnrc_ipv6_nib_handle_pkt (gnrc_netif_t *netif, const ipv6_hdr_t *ipv6, const icmpv6_hdr_t *icmpv6, size_t icmpv6_len)
 Handles a received ICMPv6 packet. More...
 
void gnrc_ipv6_nib_handle_timer_event (void *ctx, uint16_t type)
 Handles a timer event. More...
 
void gnrc_ipv6_nib_change_rtr_adv_iface (gnrc_netif_t *netif, bool enable)
 Changes the state if an interface advertises itself as a router or not. More...