Contiki-NG
|
Neighbor Management for 6top Protocol (6P)More...
#include "contiki-lib.h"
#include "lib/assert.h"
#include "net/nbr-table.h"
#include "sixp.h"
#include "sys/log.h"
Go to the source code of this file.
Typedefs | |
typedef struct sixp_nbr | sixp_nbr_t |
6P Neighbor Data Structure (for internal use) More... | |
Functions | |
sixp_nbr_t * | sixp_nbr_find (const linkaddr_t *addr) |
Find a neighbor. More... | |
sixp_nbr_t * | sixp_nbr_alloc (const linkaddr_t *addr) |
Allocate a neighbor. More... | |
void | sixp_nbr_free (sixp_nbr_t *nbr) |
Free a neighbor. More... | |
int | sixp_nbr_get_next_seqno (sixp_nbr_t *nbr) |
Get the next sequence number of a neighbor. More... | |
int | sixp_nbr_set_next_seqno (sixp_nbr_t *nbr, uint16_t seqno) |
Set the specified value to the next sequence number of a neighbor. More... | |
int | sixp_nbr_reset_next_seqno (sixp_nbr_t *nbr) |
Reset the next sequence number of a neighbor to zero. More... | |
int | sixp_nbr_increment_next_seqno (sixp_nbr_t *nbr) |
Increment the next sequence number of a neighbor. More... | |
int | sixp_nbr_init (void) |
Initialize 6p Neighbor Table. | |
Neighbor Management for 6top Protocol (6P)
Definition in file sixp-nbr.c.