Lines Matching refs:addrbuff
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()
1041 strncpy(addrbuff, inet_ntoa(addr->addr.addr4), ADDRSTRLEN); in log_query()
1047 name = addrbuff; in log_query()