/src/usr.bin/finger/ |
net.c | 73 struct addrinfo hints, *res, *res0; local in function:netfinger 85 error = getaddrinfo(host, "finger", &hints, &res0); 92 for (res = res0; res; res = res->ai_next) { 115 (void)printf("[%s]\n", res0->ai_canonname ? res0->ai_canonname : host);
|
/src/lib/libwrap/ |
socket.c | 156 struct addrinfo hints, *res, *res0; local in function:sock_hostname 190 if (getaddrinfo(append_dot(host->name), "0", &hints, &res0) == 0) 192 if (getaddrinfo(host->name, "0", &hints, &res0) == 0) 196 freeaddrinfo(res0); 219 if (getaddrinfo(append_dot(host->name), "0", &hints, &res0) != 0) 221 if (getaddrinfo(host->name, "0", &hints, &res0) != 0) 231 } else if (res0->ai_canonname && 232 STR_NE(host->name, res0->ai_canonname) && 241 host->name, res0->ai_canonname); 242 freeaddrinfo(res0); [all...] |
/src/usr.sbin/rdate/ |
rdate.c | 80 struct addrinfo hints, *res, *res0; local in function:main 123 error = getaddrinfo(hname, "time", &hints, &res0); 127 for (res = res0, s = -1; res != NULL; res = res->ai_next) {
|
/src/usr.sbin/tcpdchk/ |
scaffold.c | 77 struct addrinfo *res0, *res; local in function:check_dns 80 if ((res0 = find_inet_addr(host, 0)) == NULL) 87 for (res = res0; res; res = res->ai_next) { 104 freeaddrinfo(res0);
|
/src/usr.sbin/traceroute/ |
as.c | 61 struct addrinfo hints, *res0, *res; local in function:as_setup 74 error = getaddrinfo(server, "whois", &hints, &res0); 77 error = getaddrinfo(server, "43", &hints, &res0); 85 for (res = res0; res; res = res->ai_next) { 94 freeaddrinfo(res0);
|
/src/usr.sbin/tcpdmatch/ |
tcpdmatch.c | 64 struct addrinfo *res, *res0; local in function:main 176 if ((res0 = find_inet_addr(server, 0)) == NULL) 182 for (res = res0; res; res = res->ai_next) { 202 freeaddrinfo(res0); 211 res0 = find_inet_addr(client, AI_NUMERICHOST); 212 if (res0 && !res0->ai_next) { 213 request_set(&request, RQ_CLIENT_SIN, res0->ai_addr); 215 freeaddrinfo(res0); 218 if (res0) [all...] |
/src/usr.bin/systat/ |
netcmds.c | 144 struct addrinfo hints, *res, *res0; local in function:changeitems 169 if (getaddrinfo(args, "0", &hints, &res0) != 0) { 173 for (res = res0; res; res = res->ai_next) 175 freeaddrinfo(res0);
|
/src/share/examples/refuse/ian/libfetch/ |
common.c | 239 struct addrinfo hints, *res, *res0; local in function:_fetch_bind 245 if (getaddrinfo(addr, NULL, &hints, &res0) != 0) 247 for (res = res0; res; res = res->ai_next) 263 struct addrinfo hints, *res, *res0; local in function:_fetch_connect 277 if ((err = getaddrinfo(host, pbuf, &hints, &res0)) != 0) { 287 for (sd = -1, res = res0; res; sd = -1, res = res->ai_next) { 301 freeaddrinfo(res0);
|
/src/libexec/rshd/ |
rshd.c | 273 struct addrinfo hints, *res, *res0; local in function:doit 401 res0 = NULL; 409 gaierror = getaddrinfo(remotehost, pbuf, &hints, &res0); 418 for (res = res0; res; res = res->ai_next) { 437 naddr, res0->ai_canonname 438 ? res0->ai_canonname 448 if (res0) 449 freeaddrinfo(res0);
|
/src/sys/dev/ieee1394/ |
sbp.h | 80 uint16_t res0; member in struct:sbp_login_res
|
/src/dist/pf/sbin/pfctl/ |
pfctl_parser.c | 1567 struct addrinfo hints, *res0, *res; local in function:host_dns 1582 error = getaddrinfo(ps, NULL, &hints, &res0); 1588 for (res = res0; res; res = res->ai_next) { 1633 freeaddrinfo(res0);
|
/src/libexec/identd/ |
identd.c | 583 struct addrinfo hints, *res, *res0; local in function:socketsetup 592 error = getaddrinfo(address, port, &hints, &res0); 599 for (maxs = 0, res = res0; res != NULL; res = res->ai_next) 610 for (res = res0; res != NULL; res = res->ai_next) { 636 if (res0) 637 freeaddrinfo(res0);
|
/src/libexec/rlogind/ |
rlogind.c | 253 struct addrinfo hints, *res, *res0; local in function:doit 294 res0 = NULL; 301 gaierror = getaddrinfo(hostnamebuf, "0", &hints, &res0); 308 for (res = res0; res; res = res->ai_next) { 327 naddr, res0->ai_canonname 328 ? res0->ai_canonname 336 if (res0) 337 freeaddrinfo(res0);
|
/src/usr.bin/tftp/ |
main.c | 238 struct addrinfo hints, *res0, *res; local in function:setpeer0 256 error = getaddrinfo(host, port, &hints, &res0); 262 for (res = res0; res; res = res->ai_next) { 314 freeaddrinfo(res0);
|
/src/usr.sbin/traceroute6/ |
traceroute6.c | 598 struct addrinfo hints0, *res0; local in function:main 605 error0 = getaddrinfo(source, "0", &hints0, &res0); 609 if (res0->ai_addrlen > sizeof(Src)) 611 memcpy(&Src, res0->ai_addr, res0->ai_addrlen); 612 freeaddrinfo(res0);
|
/src/usr.sbin/lpr/common_source/ |
common.c | 353 struct addrinfo hints, *res0; local in function:checkremote 384 error = getaddrinfo(gethost(RM), NULL, &hints, &res0); 396 for (res = res0; res; res = res->ai_next) { 418 freeaddrinfo(res0);
|
/src/sys/arch/hppa/dev/ |
elroyreg.h | 28 uint32_t res0[0x30/4]; /* 0x010 */ member in struct:elroy_regs
|
/src/sys/dev/sdmmc/ |
if_bwfm_sdio.h | 169 uint8_t res0; member in struct:bwfm_sdio_hwexthdr 188 uint16_t res0; member in struct:bwfm_sdio_swhdr
|
/src/sys/dev/ic/ |
cacreg.h | 187 u_int8_t res0[416]; member in struct:cac_drive_status
|
/src/usr.bin/nc/ |
netcat.c | 916 struct addrinfo *res, *res0; local in function:remote_connect 922 if ((error = getaddrinfo(host, port, &hints, &res0))) 925 for (res = res0; res; res = res->ai_next) { 966 freeaddrinfo(res0); 1007 struct addrinfo *res, *res0; local in function:local_listen 1021 if ((error = getaddrinfo(host, port, &hints, &res0))) 1024 for (res = res0; res; res = res->ai_next) { 1050 freeaddrinfo(res0);
|
/src/sys/arch/x86/include/ |
bootinfo.h | 169 int res0; /* future expansion; 0 now */ member in struct:bi_biosgeom_entry 172 int res0, res1, res2, res3; /* future expansion; 0 now */ member in struct:bi_biosgeom_entry
|
/src/sys/external/mit/xen-include-public/dist/xen/include/public/arch-x86/hvm/ |
save.h | 516 uint64_t res0; /* reserved */ member in struct:hvm_hw_hpet
|
/src/sys/external/mit/xen-include-public/dist/xen/include/public/ |
memory.h | 274 uint16_t res0; /* All the other spaces. Should be 0 */ member in union:xen_add_to_physmap_batch::xen_add_to_physmap_batch_extra
|
/src/usr.bin/telnet/ |
commands.c | 2095 struct addrinfo hints, *res, *res0; 2168 error = getaddrinfo(hostname, portp, &hints, &res0); 2172 getnameinfo(res0->ai_addr, res0->ai_addrlen, 2184 error = getaddrinfo(hostname, portp, &hints, &res0); 2192 if (res0->ai_canonname) 2193 (void)strlcpy(_hostname, res0->ai_canonname, sizeof(_hostname)); 2200 for (res = res0; res; res = res->ai_next) { 2245 freeaddrinfo(res0); 2087 struct addrinfo hints, *res, *res0; local in function:tn
|
/src/lib/libc/net/ |
getaddrinfo.c | 2303 struct addrinfo hints, *res0, *res; local in function:_gethtent 2345 error = getaddrinfo(addr, NULL, &hints, &res0); 2348 for (res = res0; res; res = res->ai_next) { 2354 freeaddrinfo(res0); 2359 return res0; 2401 struct addrinfo hints, *res, *res0; local in function:_yphostent 2450 error = getaddrinfo(addr, NULL, &hints, &res0); 2452 for (res = res0; res; res = res->ai_next) { 2460 res0 = NULL; 2461 if (res0) { [all...] |