Microchip® Advanced Software Framework

uip-neighbor.c File Reference

    Database of link-local neighbors, used by IPv6 code and
    to be used by a future ARP code rewrite.
Author
Adam Dunkels adam@.nosp@m.sics.nosp@m..se
#include "net/ipv4/uip-neighbor.h"
#include <string.h>
#include <stdio.h>

Data Structures

struct  neighbor_entry
 

Macros

#define ENTRIES   8
 
#define MAX_TIME   128
 

Functions

static struct neighbor_entryfind_entry (uip_ipaddr_t *ipaddr)
 
void uip_neighbor_add (uip_ipaddr_t *ipaddr, struct uip_neighbor_addr *addr)
 
void uip_neighbor_init (void)
 
struct uip_neighbor_addruip_neighbor_lookup (uip_ipaddr_t *ipaddr)
 
void uip_neighbor_periodic (void)
 
void uip_neighbor_update (uip_ipaddr_t *ipaddr)
 

Variables

static struct neighbor_entry entries [ENTRIES]
 

#define ENTRIES   8
#define MAX_TIME   128

static struct neighbor_entry* find_entry ( uip_ipaddr_t ipaddr)
static
void uip_neighbor_add ( uip_ipaddr_t ipaddr,
struct uip_neighbor_addr addr 
)
void uip_neighbor_init ( void  )
struct uip_neighbor_addr* uip_neighbor_lookup ( uip_ipaddr_t ipaddr)
void uip_neighbor_periodic ( void  )
void uip_neighbor_update ( uip_ipaddr_t ipaddr)