Contiki-NG
|
Neighbor discovery (RFC 4861) More...
#include <string.h>
#include <inttypes.h>
#include "net/ipv6/uip-icmp6.h"
#include "net/ipv6/uip-nd6.h"
#include "net/ipv6/uip-ds6.h"
#include "net/ipv6/uip-nameserver.h"
#include "lib/random.h"
#include "sys/log.h"
Go to the source code of this file.
Macros | |
#define | ND6_OPT(opt) ((unsigned char *)(UIP_ICMP_PAYLOAD + (opt))) |
Pointer to ND option. | |
Pointers to the header structures. | |
#define | UIP_ND6_RS_BUF ((uip_nd6_rs *)UIP_ICMP_PAYLOAD) |
#define | UIP_ND6_RA_BUF ((uip_nd6_ra *)UIP_ICMP_PAYLOAD) |
#define | UIP_ND6_NS_BUF ((uip_nd6_ns *)UIP_ICMP_PAYLOAD) |
#define | UIP_ND6_NA_BUF ((uip_nd6_na *)UIP_ICMP_PAYLOAD) |
Functions | |
static int | extract_lladdr_from_llao_aligned (uip_lladdr_t *dest) |
Pointer to a prefix list entry. | |
void | uip_nd6_rs_output (void) |
Neighbor Solicitation Processing. More... | |
void | ra_input (void) |
Process a Router Advertisement. More... | |
void | uip_nd6_init () |
Initialise the uIP ND core. | |
Variables | |
static uint8_t * | nd6_opt_llao |
Offset from the end of the icmpv6 header to the option in uip_buf. | |
static uip_ds6_nbr_t * | nbr |
Pointer to llao option in uip_buf. | |
static uip_ds6_addr_t * | addr |
Pointer to a nbr cache entry. | |
static uip_ds6_defrt_t * | defrt |
Pointer to an interface address. | |
static uip_nd6_opt_prefix_info * | nd6_opt_prefix_info |
Pointer to a router list entry. | |
static uip_ipaddr_t | ipaddr |
Pointer to prefix information option in uip_buf. | |
Neighbor discovery (RFC 4861)
Definition in file uip-nd6.c.
void ra_input | ( | void | ) |
Process a Router Advertisement.