44 #ifndef UIP_NAMESERVER_H_ 45 #define UIP_NAMESERVER_H_ 54 #ifndef UIP_CONF_NAMESERVER_POOL_SIZE 55 #define UIP_NAMESERVER_POOL_SIZE 1 57 #define UIP_NAMESERVER_POOL_SIZE UIP_CONF_NAMESERVER_POOL_SIZE 60 #define UIP_NAMESERVER_INFINITE_LIFETIME 0xFFFFFFFF uint32_t uip_nameserver_next_expiration(void)
Get next expiration time.
void uip_nameserver_update(const uip_ipaddr_t *nameserver, uint32_t lifetime)
Initialize the module variables.
Header file for the uIP TCP/IP stack.
uint16_t uip_nameserver_count(void)
Get the number of recorded name servers.
uip_ipaddr_t * uip_nameserver_get(uint8_t num)
Get a Nameserver ip address given in RA.