Home
last modified time | relevance | path

Searched refs:ip_str (Results 1 – 10 of 10) sorted by relevance

/netbsd-src/external/bsd/nsd/dist/
H A Drdata.c673 char ip_str[INET_ADDRSTRLEN + 1]; in rdata_svcparam_ipv4hint_to_string() local
678 if (inet_ntop(AF_INET, data, ip_str, sizeof(ip_str)) == NULL) in rdata_svcparam_ipv4hint_to_string()
681 buffer_printf(output, "=%s", ip_str); in rdata_svcparam_ipv4hint_to_string()
685 if (inet_ntop(AF_INET, data, ip_str, sizeof(ip_str)) == NULL) in rdata_svcparam_ipv4hint_to_string()
688 buffer_printf(output, ",%s", ip_str); in rdata_svcparam_ipv4hint_to_string()
700 char ip_str[INET6_ADDRSTRLEN + 1]; in rdata_svcparam_ipv6hint_to_string() local
705 if (inet_ntop(AF_INET6, data, ip_str, sizeof(ip_str)) == NULL) in rdata_svcparam_ipv6hint_to_string()
708 buffer_printf(output, "=%s", ip_str); in rdata_svcparam_ipv6hint_to_string()
712 if (inet_ntop(AF_INET6, data, ip_str, sizeof(ip_str)) == NULL) in rdata_svcparam_ipv6hint_to_string()
715 buffer_printf(output, ",%s", ip_str); in rdata_svcparam_ipv6hint_to_string()
H A Dzonec.c852 char ip_str[INET_ADDRSTRLEN+1]; in zparser_conv_svcbparam_ipv4hint_value() local
881 } else if (next_ip_str - val >= (int)sizeof(ip_str)) in zparser_conv_svcbparam_ipv4hint_value()
885 memcpy(ip_str, val, next_ip_str - val); in zparser_conv_svcbparam_ipv4hint_value()
886 ip_str[next_ip_str - val] = 0; in zparser_conv_svcbparam_ipv4hint_value()
887 if (inet_pton(AF_INET, ip_str, ip_wire_dst) != 1) { in zparser_conv_svcbparam_ipv4hint_value()
888 val = ip_str; /* to use in error reporting below */ in zparser_conv_svcbparam_ipv4hint_value()
/netbsd-src/external/bsd/unbound/dist/dnstap/
H A Ddtstream.c319 free(dtio->ip_str); in dt_io_thread_delete()
373 free(dtio->ip_str); in dt_io_thread_apply_cfg()
374 dtio->ip_str = strdup(cfg->dnstap_ip); in dt_io_thread_apply_cfg()
375 if(!dtio->ip_str) { in dt_io_thread_apply_cfg()
736 if(!to) to = dtio->ip_str; in dtio_check_nb_connect()
743 if(dtio->ip_str) in dtio_check_nb_connect()
745 dtio->ip_str); in dtio_check_nb_connect()
960 if(!to) to = dtio->ip_str; in receive_bytes()
1329 dtio->ip_str); in dtio_ssl_check_peer()
1338 dtio->ip_str, in dtio_ssl_check_peer()
[all …]
H A Ddtstream.h220 char* ip_str; member
/netbsd-src/crypto/external/bsd/openssh/dist/
H A Dclientloop.c2029 char *host_str, *ip_str; member
2073 free(ctx->ip_str); in hostkeys_update_ctx_free()
2134 if (ctx->ip_str != NULL && strchr(l->hosts, ',') != NULL) { in hostkeys_find()
2139 "at %s:%ld", ctx->ip_str, l->path, l->linenum); in hostkeys_find()
2222 ctx->ip_str ? ctx->ip_str : "(none)"); in check_old_keys_othernames()
2224 hostkeys_check_old, ctx, ctx->host_str, ctx->ip_str, in check_old_keys_othernames()
2332 ctx->host_str, ctx->ip_str, in update_known_hosts()
2528 options.check_host_ip ? &ctx->ip_str : NULL); in client_input_hostkeys()
2534 ctx->ip_str ? ctx->ip_str : "(none)"); in client_input_hostkeys()
2536 hostkeys_find, ctx, ctx->host_str, ctx->ip_str, in client_input_hostkeys()
[all …]
/netbsd-src/external/bsd/unbound/dist/sldns/
H A Dwire2str.c1044 char ip_str[INET_ADDRSTRLEN + 1]; in sldns_wire2str_svcparam_ipv4hint2str() local
1051 if (inet_ntop(AF_INET, data, ip_str, sizeof(ip_str)) == NULL) in sldns_wire2str_svcparam_ipv4hint2str()
1054 w += sldns_str_print(s, slen, "=%s", ip_str); in sldns_wire2str_svcparam_ipv4hint2str()
1058 if (inet_ntop(AF_INET, data, ip_str, sizeof(ip_str)) == NULL) in sldns_wire2str_svcparam_ipv4hint2str()
1061 w += sldns_str_print(s, slen, ",%s", ip_str); in sldns_wire2str_svcparam_ipv4hint2str()
1073 char ip_str[INET6_ADDRSTRLEN + 1]; in sldns_wire2str_svcparam_ipv6hint2str() local
1080 if (inet_ntop(AF_INET6, data, ip_str, sizeof(ip_str)) == NULL) in sldns_wire2str_svcparam_ipv6hint2str()
1083 w += sldns_str_print(s, slen, "=%s", ip_str); in sldns_wire2str_svcparam_ipv6hint2str()
1087 if (inet_ntop(AF_INET6, data, ip_str, sizeof(ip_str)) == NULL) in sldns_wire2str_svcparam_ipv6hint2str()
1090 w += sldns_str_print(s, slen, ",%s", ip_str); in sldns_wire2str_svcparam_ipv6hint2str()
H A Dstr2wire.c1202 char ip_str[INET_ADDRSTRLEN+1]; in sldns_str2wire_svcbparam_ipv4hint() local
1232 } else if (next_ip_str - val >= (int)sizeof(ip_str)) in sldns_str2wire_svcbparam_ipv4hint()
1236 memcpy(ip_str, val, next_ip_str - val); in sldns_str2wire_svcbparam_ipv4hint()
1237 ip_str[next_ip_str - val] = 0; in sldns_str2wire_svcbparam_ipv4hint()
1238 if (inet_pton(AF_INET, ip_str, rd + *rd_len) != 1) { in sldns_str2wire_svcbparam_ipv4hint()
1257 char ip_str[INET6_ADDRSTRLEN+1]; in sldns_str2wire_svcbparam_ipv6hint() local
1287 } else if (next_ip_str - val >= (int)sizeof(ip_str)) in sldns_str2wire_svcbparam_ipv6hint()
1291 memcpy(ip_str, val, next_ip_str - val); in sldns_str2wire_svcbparam_ipv6hint()
1292 ip_str[next_ip_str - val] = 0; in sldns_str2wire_svcbparam_ipv6hint()
1293 if (inet_pton(AF_INET6, ip_str, rd + *rd_len) != 1) { in sldns_str2wire_svcbparam_ipv6hint()
/netbsd-src/external/mpl/bind/dist/lib/dns/
H A Drpz.c867 char ip_str[DNS_NAME_FORMATSIZE]; in name2ipkey()
900 dns_name_format(&ip_name, ip_str, sizeof(ip_str)); in name2ipkey()
901 end = &ip_str[strlen(ip_str) + 1]; in name2ipkey()
902 prefix_str = ip_str; in name2ipkey()
1036 ip_str, ip2_str); in clz()
802 char ip_str[DNS_NAME_FORMATSIZE]; name2ipkey() local
/netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/
H A Drpz.c821 char ip_str[DNS_NAME_FORMATSIZE], ip2_str[DNS_NAME_FORMATSIZE]; in name2ipkey() local
855 dns_name_format(&ip_name, ip_str, sizeof(ip_str)); in name2ipkey()
856 end = &ip_str[strlen(ip_str) + 1]; in name2ipkey()
857 prefix_str = ip_str; in name2ipkey()
990 ip_str, ip2_str); in name2ipkey()
/netbsd-src/external/bsd/unbound/dist/daemon/
H A Dremote.c2462 char ip_str[1024]; in dump_infra_host() local
2467 addr_to_str(&k->addr, k->addrlen, ip_str, sizeof(ip_str)); in dump_infra_host()
2471 snprintf(ip_str+strlen(ip_str), sizeof(ip_str)-strlen(ip_str), in dump_infra_host()
2477 if(!ssl_printf(a->ssl, "%s %s expired rto %d\n", ip_str, in dump_infra_host()
2488 "other %d\n", ip_str, name, (unsigned long)(d->ttl - a->now), in dump_infra_host()