Database of link-local neighbors, used by IPv6 code and to be used by a future ARP code rewrite.
Data Structures | |
struct | neighbor_entry |
Macros | |
#define | ENTRIES 8 |
#define | MAX_TIME 128 |
Functions | |
static struct neighbor_entry * | find_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_addr * | uip_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 |
Referenced by find_entry(), uip_neighbor_add(), uip_neighbor_init(), and uip_neighbor_periodic().
#define MAX_TIME 128 |
Referenced by uip_neighbor_add(), uip_neighbor_init(), and uip_neighbor_periodic().
|
static |
References ENTRIES, entries, i, NULL, and uip_ipaddr_cmp.
Referenced by uip_neighbor_lookup(), and uip_neighbor_update().
void uip_neighbor_add | ( | uip_ipaddr_t * | ipaddr, |
struct uip_neighbor_addr * | addr | ||
) |
References ENTRIES, entries, i, MAX_TIME, neighbor_entry::time, uip_ipaddr_cmp, and uip_ipaddr_copy.
void uip_neighbor_init | ( | void | ) |
References ENTRIES, entries, i, MAX_TIME, and neighbor_entry::time.
struct uip_neighbor_addr* uip_neighbor_lookup | ( | uip_ipaddr_t * | ipaddr | ) |
References neighbor_entry::addr, find_entry(), and NULL.
void uip_neighbor_periodic | ( | void | ) |
References ENTRIES, entries, i, MAX_TIME, and neighbor_entry::time.
void uip_neighbor_update | ( | uip_ipaddr_t * | ipaddr | ) |
References find_entry(), NULL, and neighbor_entry::time.
|
static |
Referenced by find_entry(), uip_neighbor_add(), uip_neighbor_init(), and uip_neighbor_periodic().