/freebsd-current/contrib/bearssl/tools/ |
H A D | server.c | 54 struct addrinfo hints, *si, *p; local 58 memset(&hints, 0, sizeof hints); 59 hints.ai_family = PF_UNSPEC; 60 hints.ai_socktype = SOCK_STREAM; 61 err = getaddrinfo(host, port, &hints, &si);
|
/freebsd-current/crypto/heimdal/appl/gssmask/ |
H A D | gssmaestro.c | 612 struct addrinfo hints, *res0, *res; local 623 memset(&hints, 0, sizeof(hints)); 624 hints.ai_family = PF_UNSPEC; 625 hints.ai_socktype = SOCK_STREAM; 627 ret = getaddrinfo(name, port, &hints, &res0);
|
/freebsd-current/sbin/ifconfig/ |
H A D | af_inet6.c | 445 struct addrinfo hints = { .ai_family = AF_INET6 }; local 448 int error = getaddrinfo(addr_str, NULL, &hints, &res); 539 struct addrinfo hints, *res; local 556 bzero(&hints, sizeof(struct addrinfo)); 557 hints.ai_family = AF_INET6; 558 error = getaddrinfo(s, NULL, &hints, &res);
|
/freebsd-current/usr.sbin/jail/ |
H A D | config.c | 527 struct addrinfo hints; local 599 memset(&hints, 0, sizeof(hints)); 600 hints.ai_socktype = SOCK_STREAM; 601 hints.ai_family = 609 gicode = getaddrinfo(hostname, NULL, &hints, &ai0);
|
/freebsd-current/contrib/unbound/iterator/ |
H A D | iter_utils.c | 1283 iter_get_next_root(struct iter_hints* hints, struct iter_forwards* fwd, argument 1290 /* prelock both forwards and hints for atomic read. */ 1292 lock_rw_rdlock(&hints->lock); 1293 r1 = hints_next_root(hints, &c1, nolock); 1296 lock_rw_unlock(&hints->lock); 1470 /* Lock both forwards and hints for atomic read. */ 1472 lock_rw_rdlock(&qstate->env->hints->lock); 1473 stub = hints_lookup_stub(qstate->env->hints, qinf->qname, 1502 lock_rw_unlock(&qstate->env->hints->lock); 1512 lock_rw_unlock(&qstate->env->hints [all...] |
H A D | iterator.c | 692 (dp = hints_find(env->hints, nm, qclass, nolock)) && 697 lock_rw_unlock(&env->hints->lock); 702 lock_rw_unlock(&env->hints->lock); 895 dp = hints_find_root(qstate->env->hints, qclass, nolock); 897 verbose(VERB_ALGO, "Cannot prime due to lack of hints"); 905 lock_rw_unlock(&qstate->env->hints->lock); 914 * dp was part of in the fixed hints structure. */ 916 lock_rw_unlock(&qstate->env->hints->lock); 929 lock_rw_unlock(&qstate->env->hints->lock); 963 stub = hints_lookup_stub(qstate->env->hints, qnam [all...] |
/freebsd-current/usr.sbin/syslogd/ |
H A D | syslogd.c | 511 struct addrinfo hints = { }, *res, *res0; local 543 hints.ai_family = AF_UNSPEC; 544 hints.ai_socktype = SOCK_DGRAM; 545 hints.ai_flags = AI_PASSIVE; 550 error = getaddrinfo(name, serv, &hints, &res0); 2969 struct addrinfo hints, *res; local 3014 hints = (struct addrinfo){ 3019 p ? p : "syslog", &hints, &res); 3300 struct addrinfo hints, *res = NULL; local 3358 hints 3480 struct addrinfo hints, *res; local [all...] |
/freebsd-current/crypto/heimdal/appl/ftp/ftp/ |
H A D | ftp.c | 60 struct addrinfo hints; local 66 memset (&hints, 0, sizeof(hints)); 67 hints.ai_socktype = SOCK_STREAM; 68 hints.ai_protocol = IPPROTO_TCP; 69 hints.ai_flags = AI_CANONNAME; 73 error = getaddrinfo (host, portstr, &hints, &ai);
|
/freebsd-current/sbin/pfctl/ |
H A D | pfctl_parser.c | 1871 struct addrinfo hints, *res; local 1874 memset(&hints, 0, sizeof(hints)); 1875 hints.ai_family = AF_INET6; 1876 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ 1877 hints.ai_flags = AI_NUMERICHOST; 1878 if (getaddrinfo(s, "0", &hints, &res) == 0) { 1901 struct addrinfo hints, *res0, *res; local 1913 memset(&hints, 0, sizeof(hints)); [all...] |
/freebsd-current/usr.bin/rpcinfo/ |
H A D | rpcinfo.c | 551 struct addrinfo hints, *res; local 562 memset(&hints, 0, sizeof hints); 563 hints.ai_family = AF_INET; 564 if ((error = getaddrinfo(host, "rpcbind", &hints, &res)) 1570 struct addrinfo hints, *res; local 1574 memset(&hints, 0, sizeof hints); 1575 if (getaddrinfo(host, "rpcbind", &hints, &res) != 0) {
|
/freebsd-current/contrib/ntp/sntp/libevent/ |
H A D | evdns.c | 4306 /* Copy of the modified 'hints' data that we'll use to build 4308 struct evutil_addrinfo hints; member in struct:evdns_getaddrinfo_request 4598 ai = evutil_new_addrinfo_(sa, socklen, &data->hints); 4662 const char *nodename, struct evutil_addrinfo *hints, ev_uint16_t port, 4668 int f = hints->ai_family; 4678 ai_new = evutil_new_addrinfo_(&e->addr.sa, e->addrlen, hints); 4707 struct evutil_addrinfo hints; local 4734 memcpy(&hints, hints_in, sizeof(hints)); 4736 memset(&hints, 4661 evdns_getaddrinfo_fromhosts(struct evdns_base *base, const char *nodename, struct evutil_addrinfo *hints, ev_uint16_t port, struct evutil_addrinfo **res) argument [all...] |
/freebsd-current/contrib/libevent/ |
H A D | evdns.c | 4306 /* Copy of the modified 'hints' data that we'll use to build 4308 struct evutil_addrinfo hints; member in struct:evdns_getaddrinfo_request 4598 ai = evutil_new_addrinfo_(sa, socklen, &data->hints); 4662 const char *nodename, struct evutil_addrinfo *hints, ev_uint16_t port, 4668 int f = hints->ai_family; 4678 ai_new = evutil_new_addrinfo_(&e->addr.sa, e->addrlen, hints); 4707 struct evutil_addrinfo hints; local 4734 memcpy(&hints, hints_in, sizeof(hints)); 4736 memset(&hints, 4661 evdns_getaddrinfo_fromhosts(struct evdns_base *base, const char *nodename, struct evutil_addrinfo *hints, ev_uint16_t port, struct evutil_addrinfo **res) argument [all...] |
/freebsd-current/usr.sbin/nfsuserd/ |
H A D | nfsuserd.c | 118 struct addrinfo *aip, hints; local 147 memset((void *)&hints, 0, sizeof (hints)); 148 hints.ai_flags = AI_CANONNAME; 149 error = getaddrinfo(hostname, NULL, &hints, &aip);
|
/freebsd-current/usr.sbin/rpc.tlsservd/ |
H A D | rpc.tlsservd.c | 907 struct addrinfo *aip, hints; local 917 memset((void *)&hints, 0, sizeof (hints)); 918 hints.ai_flags = AI_CANONNAME; 919 error = getaddrinfo(hostname, NULL, &hints, &aip);
|
/freebsd-current/crypto/openssh/ |
H A D | channels.c | 3802 struct addrinfo hints, *ai, *aitop; local 3832 * set to NULL and hints.ai_flags is not AI_PASSIVE 3834 memset(&hints, 0, sizeof(hints)); 3835 hints.ai_family = ssh->chanctxt->IPv4or6; 3836 hints.ai_flags = wildcard ? AI_PASSIVE : 0; 3837 hints.ai_socktype = SOCK_STREAM; 3839 if ((r = getaddrinfo(addr, strport, &hints, &aitop)) != 0) { 4677 struct addrinfo hints; local 4708 memset(&hints, 5021 struct addrinfo hints, *ai, *aitop; local 5178 struct addrinfo hints, *ai, *aitop; local [all...] |
/freebsd-current/contrib/unbound/daemon/ |
H A D | remote.c | 240 struct addrinfo hints; local 248 memset(&hints, 0, sizeof(hints)); 274 hints.ai_socktype = SOCK_STREAM; 275 hints.ai_flags = AI_PASSIVE | AI_NUMERICHOST; 276 if((r = getaddrinfo(ip, port, &hints, &res)) != 0 || !res) { 1998 return ssl_printf(ssl, "off (using root hints)\n"); 2222 /* prelock forwarders and hints for atomic operation with anchors */ 2224 lock_rw_wrlock(&worker->env.hints->lock); 2229 lock_rw_unlock(&worker->env.hints [all...] |
/freebsd-current/lib/libc/tests/nss/ |
H A D | gethostby_test.c | 760 struct addrinfo *ai, hints; local 764 memset(&hints, 0, sizeof(struct addrinfo)); 765 hints.ai_family = af_type; 766 hints.ai_flags = AI_CANONNAME; 773 rv = getaddrinfo(he->h_name, NULL, &hints, &ai); 780 rv = getaddrinfo(he->h_name, NULL, &hints, &ai);
|
/freebsd-current/contrib/tnftp/src/ |
H A D | ftp.c | 169 struct addrinfo hints, *res, *res0; local 176 memset(&hints, 0, sizeof(hints)); 177 hints.ai_flags = AI_CANONNAME; 178 hints.ai_family = family; 179 hints.ai_socktype = SOCK_STREAM; 180 hints.ai_protocol = 0; 181 error = getaddrinfo(host, port, &hints, &res0);
|
/freebsd-current/share/examples/drivers/ |
H A D | make_device_driver.sh | 272 * the hints file. Strange failures for people with other cards might 294 * some pnp-like method, or at least mentioned in the hints. 299 * This is similar to what the 'hints' code achieves, except this is 314 * If the device is mentioned in the 'hints' file then this 315 * function can be removed. All devices mentioned in the hints 318 * See isa/isahint.c for hints being added in. 330 * Maybe it was in the hints file. or it was loaded before. 343 return; /* We've added all our local hints. */ 374 * whether via the PNP code or via the hints etc. 426 * The ports, irqs etc should come from a 'hints' sectio [all...] |
/freebsd-current/lib/libomp/ |
H A D | kmp_i18n_id.inc | 416 // Set #5, hints.
|
/freebsd-current/contrib/unbound/libunbound/ |
H A D | context.c | 93 if(!(ctx->env->hints = hints_create()) || 94 !hints_apply_cfg(ctx->env->hints, cfg))
|
/freebsd-current/sys/kern/ |
H A D | kern_linker.c | 1916 static char linker_hintfile[] = "linker.hints"; 1986 * Lookup KLD which contains requested module in the "linker.hints" file. If 1999 u_char *hints = NULL; local 2030 printf("linker.hints file too large %ld\n", (long)vattr.va_size); 2033 hints = malloc(vattr.va_size, M_TEMP, M_WAITOK); 2034 error = vn_rdwr(UIO_READ, nd.ni_vp, (caddr_t)hints, vattr.va_size, 0, 2045 intp = (int *)hints; 2048 printf("linker.hints file version mismatch %d\n", ival); 2051 bufend = hints + vattr.va_size; 2065 INT_ALIGN(hints, c [all...] |
/freebsd-current/contrib/ofed/librdmacm/ |
H A D | rdma_cma.h | 672 const struct rdma_addrinfo *hints,
|
/freebsd-current/contrib/ofed/libibverbs/examples/ |
H A D | rc_pingpong.c | 156 struct addrinfo hints = { local 170 n = getaddrinfo(servername, service, &hints, &res); 231 struct addrinfo hints = { local 246 n = getaddrinfo(NULL, service, &hints, &res);
|
H A D | xsrq_pingpong.c | 546 struct addrinfo hints = { local 554 ret = getaddrinfo(servername, service, &hints, &res); 597 struct addrinfo hints = { local 606 ret = getaddrinfo(NULL, service, &hints, &res);
|