Searched refs:addrbuff (Results 1 – 1 of 1) sorted by relevance
/external/dnsmasq/src/ |
D | cache.c | 28 static char* addrbuff = NULL; variable 51 if (daemon->options & OPT_LOG) addrbuff = safe_malloc(ADDRSTRLEN); in cache_init() 940 if (!addrbuff && !(addrbuff = whine_malloc(ADDRSTRLEN))) return; in dump_cache() 956 port = prettyprint_addr(&serv->addr, addrbuff); in dump_cache() 957 my_syslog(LOG_INFO, _("server %s#%d: queries sent %u, retried or failed %u"), addrbuff, in dump_cache() 981 a = addrbuff; in dump_cache() 983 inet_ntop(AF_INET, &cache->addr.addr, addrbuff, ADDRSTRLEN); in dump_cache() 985 inet_ntop(AF_INET6, &cache->addr.addr, addrbuff, ADDRSTRLEN); in dump_cache() 1031 char *source, *dest = addrbuff; in log_query() 1039 inet_ntop(flags & F_IPV4 ? AF_INET : AF_INET6, addr, addrbuff, ADDRSTRLEN); in log_query() [all …]
|