Searched refs:ADDRSTRLEN (Results 1 – 3 of 3) sorted by relevance
/external/dnsmasq/src/ |
D | config.h | 255 # define ADDRSTRLEN INET6_ADDRSTRLEN macro 263 # define ADDRSTRLEN INET_ADDRSTRLEN macro 266 # define ADDRSTRLEN 16 /* 4*3 + 3 dots + NULL */ macro
|
D | cache.c | 79 addrbuff = safe_malloc(ADDRSTRLEN); in cache_init() 1135 if (!addrbuff && !(addrbuff = whine_malloc(ADDRSTRLEN))) in dump_cache() 1182 inet_ntop(AF_INET, &cache->addr.addr, addrbuff, ADDRSTRLEN); in dump_cache() 1184 inet_ntop(AF_INET6, &cache->addr.addr, addrbuff, ADDRSTRLEN); in dump_cache() 1250 addr, addrbuff, ADDRSTRLEN); in log_query() 1252 strncpy(addrbuff, inet_ntoa(addr->addr.addr4), ADDRSTRLEN); in log_query()
|
D | util.c | 367 getnameinfo((const struct sockaddr *) addr, sizeof(*addr), buf, ADDRSTRLEN, in prettyprint_addr()
|