Home
last modified time | relevance | path

Searched refs:ADDRSTRLEN (Results 1 – 3 of 3) sorted by relevance

/external/dnsmasq/src/
Dconfig.h277 # define ADDRSTRLEN INET6_ADDRSTRLEN macro
285 # define ADDRSTRLEN INET_ADDRSTRLEN macro
288 # define ADDRSTRLEN 16 /* 4*3 + 3 dots + NULL */ macro
Dcache.c79 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()
Dutil.c367 getnameinfo((const struct sockaddr *) addr, sizeof(*addr), buf, ADDRSTRLEN, in prettyprint_addr()