Loading...
Searching...
No Matches

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.

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.
 
void gnrc_ipv6_nib_iface_up (gnrc_netif_t *netif)
 Call bring-up functions when the interface comes online.
 
void gnrc_ipv6_nib_iface_down (gnrc_netif_t *netif, bool send_final_ra)
 Clean up when the interface goes offline.
 
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.
 
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.
 
void gnrc_ipv6_nib_handle_timer_event (void *ctx, uint16_t type)
 Handles a timer event.
 
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.
 

Timer event message types

#define GNRC_IPV6_NIB_SND_UC_NS   (0x4fc0U)
 (Re-)transmit unicast Neighbor Solicitation event.
 
#define GNRC_IPV6_NIB_SND_MC_NS   (0x4fc1U)
 (Re-)transmit multicast Neighbor Solicitation event.
 
#define GNRC_IPV6_NIB_SND_NA   (0x4fc2U)
 Send delayed Neighbor Advertisement event.
 
#define GNRC_IPV6_NIB_SEARCH_RTR   (0x4fc3U)
 Search router event.
 
#define GNRC_IPV6_NIB_REPLY_RS   (0x4fc5U)
 Reply Router Solicitation event.
 
#define GNRC_IPV6_NIB_SND_MC_RA   (0x4fc6U)
 (Re-)transmit multicast Router Advertisement event.
 
#define GNRC_IPV6_NIB_REACH_TIMEOUT   (0x4fc7U)
 Reachability timeout event.
 
#define GNRC_IPV6_NIB_DELAY_TIMEOUT   (0x4fc8U)
 Delay timeout event.
 
#define GNRC_IPV6_NIB_ADDR_REG_TIMEOUT   (0x4fc9U)
 Address registration timeout event.
 
#define GNRC_IPV6_NIB_ABR_TIMEOUT   (0x4fcbU)
 Authoritative border router timeout event.
 
#define GNRC_IPV6_NIB_PFX_TIMEOUT   (0x4fccU)
 Prefix timeout event.
 
#define GNRC_IPV6_NIB_RTR_TIMEOUT   (0x4fcdU)
 Router timeout event.
 
#define GNRC_IPV6_NIB_RECALC_REACH_TIME   (0x4fceU)
 Recalculate reachability timeout time.
 
#define GNRC_IPV6_NIB_REREG_ADDRESS   (0x4fcfU)
 Reregister address.
 
#define GNRC_IPV6_NIB_ROUTE_TIMEOUT   (0x4fd0U)
 Route timeout event.
 
#define GNRC_IPV6_NIB_DAD   (0x4fd1U)
 Perform DAD event.
 
#define GNRC_IPV6_NIB_VALID_ADDR   (0x4fd2U)
 Validate a tentative address event.
 
#define GNRC_IPV6_NIB_RDNSS_TIMEOUT   (0x4fd3U)
 Recursive DNS server timeout.
 
#define GNRC_IPV6_NIB_IFACE_UP   (0x4fd4U)
 Interface up event.
 
#define GNRC_IPV6_NIB_IFACE_DOWN   (0x4fd5U)
 Interface down event.