Contiki-NG
|
uIP Name Server interfaceMore...
#include "contiki.h"
#include "contiki-net.h"
#include "lib/list.h"
#include "lib/memb.h"
#include <string.h>
Go to the source code of this file.
Macros | |
#define | DNS_EXPIRATION(r) |
Expiration time in seconds. | |
Typedefs | |
typedef struct uip_nameserver_record | uip_nameserver_record |
Nameserver record. | |
Functions | |
Nameserver maintenance | |
void | uip_nameserver_update (const uip_ipaddr_t *nameserver, uint32_t lifetime) |
Initialize the module variables. More... | |
uip_ipaddr_t * | uip_nameserver_get (uint8_t num) |
Get a Nameserver ip address given in RA. More... | |
uint32_t | uip_nameserver_next_expiration (void) |
Get next expiration time. More... | |
uint16_t | uip_nameserver_count (void) |
Get the number of recorded name servers. | |
Variables | |
List and memory block | |
static uip_ipaddr_t | serveraddr |
static uint32_t | serverlifetime |
uIP Name Server interface
Definition in file uip-nameserver.c.