44 #ifndef UIP_NAMESERVER_H_
45 #define UIP_NAMESERVER_H_
52 #ifndef UIP_CONF_NAMESERVER_POOL_SIZE
53 #define UIP_NAMESERVER_POOL_SIZE 1
55 #define UIP_NAMESERVER_POOL_SIZE UIP_CONF_NAMESERVER_POOL_SIZE
58 #define UIP_NAMESERVER_INFINITE_LIFETIME 0xFFFFFFFF
uip_ipaddr_t * uip_nameserver_get(uint8_t num)
Get a Nameserver ip address given in RA.
uint16_t uip_nameserver_count(void)
Get the number of recorded name servers.
void uip_nameserver_update(const uip_ipaddr_t *nameserver, uint32_t lifetime)
Initialize the module variables.
uint32_t uip_nameserver_next_expiration(void)
Get next expiration time.