Home
last modified time | relevance | path

Searched refs:res0 (Results 1 – 25 of 42) sorted by relevance

12

/freebsd-14-stable/contrib/tcp_wrappers/
HDsocket.c171 struct addrinfo hints, *res, *res0 = NULL; in sock_hostname() local
217 if ((err = getaddrinfo(host->name, NULL, &hints, &res0)) == 0) { in sock_hostname()
218 freeaddrinfo(res0); in sock_hostname()
246 if (getaddrinfo(host->name, NULL, &hints, &res0) != 0) { in sock_hostname()
257 } else if ((res0->ai_canonname == NULL in sock_hostname()
258 || STR_NE(host->name, res0->ai_canonname)) in sock_hostname()
269 (res0->ai_canonname == NULL) ? "" : res0->ai_canonname); in sock_hostname()
280 for (res = res0; res; res = res->ai_next) { in sock_hostname()
299 freeaddrinfo(res0); in sock_hostname()
314 (res0->ai_canonname == NULL) ? "" : res0->ai_canonname); in sock_hostname()
[all …]
/freebsd-14-stable/crypto/openssl/crypto/modes/asm/
HDaes-gcm-armv8_64.pl179 my ($ctr0,$ctr1,$ctr2,$ctr3,$res0,$res1,$res2,$res3)=map("v$_",(0..7));
562 mov $t0d, $res0.d[1] @ GHASH block 4k - mid
565 pmull2 $acc_h.1q, $res0.2d, $h4.2d @ GHASH block 4k - high
571 pmull $acc_l.1q, $res0.1d, $h4.1d @ GHASH block 4k - low
572 eor $t0.8b, $t0.8b, $res0.8b @ GHASH block 4k - mid
761 pmull $acc_l.1q, $res0.1d, $h4.1d @ GHASH block 4k - low
762 mov $t0d, $res0.d[1] @ GHASH block 4k - mid
770 eor $t0.8b, $t0.8b, $res0.8b @ GHASH block 4k - mid
772 pmull2 $acc_h.1q, $res0.2d, $h4.2d @ GHASH block 4k - high
952 pmull $acc_l.1q, $res0.1d, $h4.1d @ GHASH final-3 block - low
[all …]
/freebsd-14-stable/usr.sbin/ypserv/
HDyp_main.c259 struct addrinfo hints, *res, *res0; in create_service() local
282 &hints, &res0); in create_service()
288 for (res = res0; res; res = res->ai_next) { in create_service()
302 freeaddrinfo(res0); in create_service()
313 freeaddrinfo(res0); in create_service()
325 freeaddrinfo(res0); in create_service()
348 freeaddrinfo(res0); in create_service()
360 freeaddrinfo(res0); in create_service()
372 freeaddrinfo(res0); in create_service()
380 freeaddrinfo(res0); in create_service()
[all …]
/freebsd-14-stable/sbin/hastd/
HDhastd.c371 resource_needs_restart(const struct hast_resource *res0, in resource_needs_restart() argument
375 PJDLOG_ASSERT(strcmp(res0->hr_name, res1->hr_name) == 0); in resource_needs_restart()
377 if (strcmp(res0->hr_provname, res1->hr_provname) != 0) in resource_needs_restart()
379 if (strcmp(res0->hr_localpath, res1->hr_localpath) != 0) in resource_needs_restart()
381 if (res0->hr_role == HAST_ROLE_INIT || in resource_needs_restart()
382 res0->hr_role == HAST_ROLE_SECONDARY) { in resource_needs_restart()
383 if (strcmp(res0->hr_remoteaddr, res1->hr_remoteaddr) != 0) in resource_needs_restart()
385 if (strcmp(res0->hr_sourceaddr, res1->hr_sourceaddr) != 0) in resource_needs_restart()
387 if (res0->hr_replication != res1->hr_replication) in resource_needs_restart()
389 if (res0->hr_checksum != res1->hr_checksum) in resource_needs_restart()
[all …]
/freebsd-14-stable/contrib/dma/
HDdns.c68 struct addrinfo hints, *res, *res0 = NULL; in add_host() local
79 switch (getaddrinfo(host, servname, &hints, &res0)) { in add_host()
100 for (res = res0; res != NULL; res = res->ai_next) { in add_host()
121 freeaddrinfo(res0); in add_host()
126 if (res0 != NULL) in add_host()
127 freeaddrinfo(res0); in add_host()
/freebsd-14-stable/crypto/heimdal/lib/ipc/
HDts-http.c77 struct addrinfo hints, *res, *res0; in setup_sockets() local
85 ret = getaddrinfo(NULL, "8080", &hints, &res0); in setup_sockets()
89 for (res = res0; res ; res = res->ai_next) { in setup_sockets()
109 freeaddrinfo(res0); in setup_sockets()
/freebsd-14-stable/usr.bin/logger/
HDlogger.c252 struct addrinfo hints, *res, *res0; in socksetup() local
297 error = getaddrinfo(hbuf, sbuf, &hints, &res0); in socksetup()
300 for (res = res0; res; res = res->ai_next) { in socksetup()
316 freeaddrinfo(res0); in socksetup()
325 error = getaddrinfo(dst, svcname, &hints, &res0); in socksetup()
328 error = getaddrinfo(dst, "514", &hints, &res0); in socksetup()
334 for (res = res0; res; res = res->ai_next) in socksetup()
339 for (res = res0; res; res = res->ai_next) { in socksetup()
362 freeaddrinfo(res0); in socksetup()
/freebsd-14-stable/contrib/traceroute/
HDas.c62 struct addrinfo hints, *res0, *res; in as_setup() local
75 error = getaddrinfo(server, "whois", &hints, &res0); in as_setup()
78 error = getaddrinfo(server, "43", &hints, &res0); in as_setup()
85 for (res = res0; res; res = res->ai_next) { in as_setup()
94 freeaddrinfo(res0); in as_setup()
/freebsd-14-stable/contrib/netcat/
HDnetcat.c683 struct addrinfo *res, *res0; in remote_connect() local
689 res0 = res; in remote_connect()
691 if ((s = socket(res0->ai_family, res0->ai_socktype, in remote_connect()
692 res0->ai_protocol)) < 0) in remote_connect()
706 ahints.ai_family = res0->ai_family; in remote_connect()
719 set_common_sockopts(s, res0->ai_family); in remote_connect()
721 if (timeout_connect(s, res0->ai_addr, res0->ai_addrlen) == 0) in remote_connect()
729 } while ((res0 = res0->ai_next) != NULL); in remote_connect()
781 struct addrinfo *res, *res0; in local_listen() local
798 res0 = res; in local_listen()
[all …]
/freebsd-14-stable/crypto/openssh/regress/
HDnetcat.c615 struct addrinfo *res, *res0; in remote_connect() local
624 res0 = res; in remote_connect()
626 if ((s = socket(res0->ai_family, res0->ai_socktype, in remote_connect()
627 res0->ai_protocol)) < 0) in remote_connect()
644 ahints.ai_family = res0->ai_family; in remote_connect()
657 set_common_sockopts(s, res0->ai_family); in remote_connect()
659 if (timeout_connect(s, res0->ai_addr, res0->ai_addrlen) == 0) in remote_connect()
667 } while ((res0 = res0->ai_next) != NULL); in remote_connect()
719 struct addrinfo *res, *res0; in local_listen() local
736 res0 = res; in local_listen()
[all …]
/freebsd-14-stable/tools/tools/netrate/netblast/
HDnetblast.c143 struct addrinfo hints, *res, *res0; in main() local
186 error = getaddrinfo(argv[1],argv[2], &hints, &res0); in main()
193 for (res = res0; res; res = res->ai_next) { in main()
215 freeaddrinfo(res0); in main()
/freebsd-14-stable/usr.sbin/ypldap/
HDypldap_dns.c208 struct addrinfo hints, *res0, *res; in host_dns() local
217 error = getaddrinfo(s, NULL, &hints, &res0); in host_dns()
226 for (res = res0; res && cnt < MAX_SERVERS_DNS; res = res->ai_next) { in host_dns()
248 freeaddrinfo(res0); in host_dns()
/freebsd-14-stable/tools/tools/netrate/netreceive/
HDnetreceive.c196 struct addrinfo hints, *res, *res0; in main() local
228 error = getaddrinfo(NULL, argv[1], &hints, &res0); in main()
236 for (res = res0; res && nsock < MAXSOCK; res = res->ai_next) { in main()
271 freeaddrinfo(res0); in main()
/freebsd-14-stable/libexec/phttpget/
HDphttpget.c295 struct addrinfo *res0; /* Pointer to server addresses */ in main() local
344 env_HTTP_PROXY ? proxyport : "http", &hints, &res0); in main()
350 if (res0 == NULL) in main()
352 res = res0; in main()
720 res = res0; in main()
727 freeaddrinfo(res0); in main()
/freebsd-14-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
HDtsan_shadow.h115 UNUSED u32 res0 = in IsRWWeakerOrEqual() local
123 DCHECK_EQ(res, res0); in IsRWWeakerOrEqual()
126 return res0; in IsRWWeakerOrEqual()
/freebsd-14-stable/sys/contrib/dev/rtw88/
HDrtw8822c.h11 u8 res0[0x30]; /* 0x120 */ member
20 u8 res0[0x4a]; /* 0x120 */ member
38 u8 res0:2; /* 0x144 */ member
63 u8 res0[4]; member
HDrtw8822b.h46 u8 res0:2; /* 0xf4 */ member
76 u8 res0[4]; member
HDrtw88xxa.h23 u8 res0[3]; member
30 u8 res0[6]; /* 0x02 */ member
HDrtw8821c.h46 u8 res0:2; /* 0xf4 */ member
76 u8 res0[0x0e]; member
/freebsd-14-stable/contrib/lib9p/transport/
HDsocket.c72 struct addrinfo *res, *res0, hints; in l9p_start_server() local
80 err = getaddrinfo(host, port, &hints, &res0); in l9p_start_server()
85 for (res = res0; res; res = res->ai_next) { in l9p_start_server()
/freebsd-14-stable/contrib/bsnmp/snmp_ntp/
HDsnmp_ntp.c247 struct addrinfo hints, *res, *res0; in open_socket() local
255 error = getaddrinfo(ntp_host, ntp_port, &hints, &res0); in open_socket()
265 for (res = res0; res != NULL; res = res->ai_next) { in open_socket()
284 freeaddrinfo(res0); in open_socket()
730 struct addrinfo hints, *res0; in val_parse_ip() local
744 error = getaddrinfo(val, NULL, &hints, &res0); in val_parse_ip()
749 if (res0 == NULL) { in val_parse_ip()
754 sin_local = (struct sockaddr_in *)(void *)res0->ai_addr; in val_parse_ip()
760 freeaddrinfo(res0); in val_parse_ip()
/freebsd-14-stable/lib/libpmcstat/
HDlibpmcstat_logging.c432 struct addrinfo hints, *res, *res0; in pmcstat_open_log() local
467 if ((error = getaddrinfo(hostname, p+1, &hints, &res0)) != 0) { in pmcstat_open_log()
473 for (res = res0; res; res = res->ai_next) { in pmcstat_open_log()
506 freeaddrinfo(res0); in pmcstat_open_log()
/freebsd-14-stable/lib/libc/net/
HDgetaddrinfo.c2403 struct addrinfo hints, *res0, *res; in _gethtent() local
2449 error = getaddrinfo(addr, "0", &hints, &res0); in _gethtent()
2454 if (res0->ai_family == AF_INET6 && in _gethtent()
2455 IN6_IS_ADDR_V4MAPPED(&((struct sockaddr_in6 *)res0->ai_addr)->sin6_addr)) { in _gethtent()
2456 freeaddrinfo(res0); in _gethtent()
2460 for (res = res0; res; res = res->ai_next) { in _gethtent()
2468 freeaddrinfo(res0); in _gethtent()
2473 return res0; in _gethtent()
2533 struct addrinfo hints, *res, *res0; in _yphostent() local
2581 error = getaddrinfo(addr, NULL, &hints, &res0); in _yphostent()
[all …]
/freebsd-14-stable/contrib/tnftp/src/
HDfetch.c480 struct addrinfo hints, *res, *res0 = NULL; in fetch_url() local
706 error = getaddrinfo(host, port, &hints, &res0); in fetch_url()
713 if (res0->ai_canonname) in fetch_url()
714 host = res0->ai_canonname; in fetch_url()
717 for (res = res0; res; res = res->ai_next) { in fetch_url()
728 if (verbose && res0->ai_next) { in fetch_url()
1326 if (res0) in fetch_url()
1327 freeaddrinfo(res0); in fetch_url()
HDftp.c169 struct addrinfo hints, *res, *res0; in hookup() local
181 error = getaddrinfo(host, port, &hints, &res0); in hookup()
190 if (res0->ai_canonname) in hookup()
191 (void)strlcpy(hostnamebuf, res0->ai_canonname, in hookup()
197 for (res = res0; res; res = res->ai_next) { in hookup()
207 if (verbose && res0->ai_next) { in hookup()
229 freeaddrinfo(res0); in hookup()
234 freeaddrinfo(res0); in hookup()
235 res0 = res = NULL; in hookup()

12