Searched refs:hints (Results 101 - 125 of 213) sorted by relevance

123456789

/freebsd-9.3-release/crypto/heimdal/lib/krb5/
H A Dsend_to_kdc.c265 struct addrinfo hints; local
279 memset (&hints, 0, sizeof(hints));
280 hints.ai_family = PF_UNSPEC;
281 hints.ai_socktype = SOCK_STREAM;
284 ret = getaddrinfo (proxy, portstr, &hints, &ai);
/freebsd-9.3-release/usr.sbin/portsnap/phttpget/
H A Dphttpget.c293 struct addrinfo hints; /* Hints to getaddrinfo */ local
340 memset(&hints, 0, sizeof(hints));
341 hints.ai_family = PF_UNSPEC;
342 hints.ai_socktype = SOCK_STREAM;
344 env_HTTP_PROXY ? proxyport : "http", &hints, &res0);
/freebsd-9.3-release/contrib/ntp/ntpdc/
H A Dntpdc.c397 struct addrinfo hints, *ai = NULL; local
430 ZERO(hints);
431 hints.ai_family = ai_fam_templ;
432 hints.ai_protocol = IPPROTO_UDP;
433 hints.ai_socktype = SOCK_DGRAM;
434 hints.ai_flags = Z_AI_NUMERICHOST;
436 a_info = getaddrinfo(hname, service, &hints, &ai);
442 hints.ai_flags = AI_CANONNAME;
444 hints.ai_flags |= AI_ADDRCONFIG;
446 a_info = getaddrinfo(hname, service, &hints,
1449 struct addrinfo hints, *ai = NULL; local
[all...]
/freebsd-9.3-release/crypto/heimdal/appl/rsh/
H A Drshd.c1003 struct addrinfo *ai = NULL, hints; local
1006 memset (&hints, 0, sizeof(hints));
1007 hints.ai_flags = AI_PASSIVE;
1008 hints.ai_socktype = SOCK_STREAM;
1009 hints.ai_family = PF_UNSPEC;
1012 error = getaddrinfo (NULL, port_str, &hints, &ai);
1020 error = getaddrinfo(NULL, "ekshell", &hints, &ai);
1023 error = getaddrinfo(NULL, portstr, &hints, &ai);
1028 error = getaddrinfo(NULL, "kshell", &hints,
[all...]
/freebsd-9.3-release/contrib/bind9/lib/irs/
H A Dresconf.c206 struct addrinfo hints, *res; local
210 memset(&hints, 0, sizeof(hints));
211 hints.ai_family = AF_UNSPEC;
212 hints.ai_socktype = SOCK_DGRAM;
213 hints.ai_protocol = IPPROTO_UDP;
214 hints.ai_flags = AI_NUMERICHOST;
215 error = getaddrinfo(address_str, "53", &hints, &res);
/freebsd-9.3-release/contrib/telnet/telnetd/
H A Dtelnetd.c332 struct addrinfo hints, *res; local
340 memset(&hints, 0, sizeof(hints));
341 hints.ai_flags = AI_PASSIVE;
342 hints.ai_family = family;
343 hints.ai_socktype = SOCK_STREAM;
344 hints.ai_protocol = 0;
345 error = getaddrinfo(NULL, service, &hints, &res);
/freebsd-9.3-release/contrib/wpa/src/wps/
H A Dwps_upnp.c306 struct addrinfo hints; local
349 os_memset(&hints, 0, sizeof(struct addrinfo));
350 hints.ai_family = AF_INET; /* IPv4 */
351 hints.ai_socktype = SOCK_STREAM;
356 hints.ai_flags = AI_NUMERICHOST;
359 hints.ai_flags = 0;
361 hints.ai_protocol = 0; /* Any protocol? */
363 &hints, &result);
/freebsd-9.3-release/sys/mips/conf/
H A DAR91XX_BASE4 # This file (and the hints file accompanying it) are not designed to be
6 # config file which includes this file (which gets the basic hints), then
8 # hints as needed (for example, the GPIO and LAN PHY.)
21 hints "AR91XX_BASE.hints"
H A DOCTEON132 hints "OCTEON1.hints" #Default places to look for devices.
/freebsd-9.3-release/share/man/man5/
H A DMakefile18 device.hints.5 \
/freebsd-9.3-release/tools/regression/gaithrstress/
H A Dgaithrstress.c56 static const struct addrinfo *hints, hintipv4only = { .ai_family = AF_INET }; variable in typeref:struct:addrinfo
126 error = getaddrinfo(hostname, NULL, hints, &res);
202 hints = &hintipv4only;
/freebsd-9.3-release/lib/libc/net/
H A Dgetaddrinfo.c372 const struct addrinfo *hints, struct addrinfo **res)
408 if (hints) {
409 /* error check for hints */
410 if (hints->ai_addrlen || hints->ai_canonname ||
411 hints->ai_addr || hints->ai_next)
413 if (hints->ai_flags & ~AI_MASK)
415 switch (hints->ai_family) {
425 memcpy(pai, hints, sizeo
371 getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument
1674 struct addrinfo *hints; local
2314 struct addrinfo hints, *res0, *res; local
2420 struct addrinfo hints, *res, *res0; local
[all...]
/freebsd-9.3-release/usr.sbin/ndp/
H A Dndp.c387 struct addrinfo hints, *res; local
398 bzero(&hints, sizeof(hints));
399 hints.ai_family = AF_INET6;
400 gai_error = getaddrinfo(host, NULL, &hints, &res);
468 struct addrinfo hints, *res; local
472 bzero(&hints, sizeof(hints));
473 hints.ai_family = AF_INET6;
474 gai_error = getaddrinfo(host, NULL, &hints,
508 struct addrinfo hints, *res; local
[all...]
/freebsd-9.3-release/contrib/bind9/lib/dns/
H A Drootns.c227 * Load the hints from the specified filename.
251 "extra data in root hints '%s'",
289 "checkhints%s%s: %s/%s (%s) missing from hints",
295 "in hints", sep, viewname, namebuf, typebuf,
322 check_address_records(dns_view_t *view, dns_db_t *hints, dns_db_t *db, argument
336 hresult = dns_db_find(hints, name, NULL, dns_rdatatype_a, 0,
378 hresult = dns_db_find(hints, name, NULL, dns_rdatatype_aaaa, 0,
422 dns_root_checkhints(dns_view_t *view, dns_db_t *hints, dns_db_t *db) { argument
432 REQUIRE(hints != NULL);
449 result = dns_db_find(hints, dns_rootnam
[all...]
/freebsd-9.3-release/contrib/tnftp/src/
H A Dmain.c431 struct addrinfo hints; local
434 memset(&hints, 0, sizeof(hints));
435 hints.ai_family = family;
436 hints.ai_socktype = SOCK_STREAM;
437 hints.ai_flags = AI_PASSIVE;
438 error = getaddrinfo(src_addr, NULL, &hints, &bindai);
/freebsd-9.3-release/lib/libc/rpc/
H A Dclnt_bcast.c132 struct addrinfo hints, *res; local
137 memset(&hints, 0, sizeof hints);
139 hints.ai_family = af;
140 hints.ai_protocol = proto;
141 hints.ai_socktype = socktype;
143 if (getaddrinfo(NULL, "sunrpc", &hints, &res) != 0) {
/freebsd-9.3-release/usr.sbin/sysinstall/
H A Dtcpip.c171 struct addrinfo hints, *res; local
173 memset(&hints, 0, sizeof(hints));
174 hints.ai_family = AF_INET6;
175 hints.ai_socktype = SOCK_STREAM;
176 hints.ai_flags = AI_PASSIVE | AI_NUMERICHOST;
177 if (getaddrinfo(ip, NULL, &hints, &res) == 0) {
/freebsd-9.3-release/contrib/ntp/ntpd/
H A Dntp_config.c2277 struct addrinfo hints; local
2542 ZERO(hints);
2543 hints.ai_protocol = IPPROTO_UDP;
2544 hints.ai_socktype = SOCK_DGRAM;
2545 hints.ai_family = my_node->addr->type;
2547 "ntp", &hints,
3240 struct addrinfo hints; local
3308 ZERO(hints);
3309 hints.ai_protocol = IPPROTO_UDP;
3310 hints
3362 trap_name_resolved( int rescode, int gai_errno, void * context, const char * name, const char * service, const struct addrinfo * hints, const struct addrinfo * res ) argument
3788 struct addrinfo hints; local
3937 peer_name_resolved( int rescode, int gai_errno, void * context, const char * name, const char * service, const struct addrinfo * hints, const struct addrinfo * res ) argument
4034 struct addrinfo hints; local
4115 unpeer_name_resolved( int rescode, int gai_errno, void * context, const char * name, const char * service, const struct addrinfo * hints, const struct addrinfo * res ) argument
4400 struct addrinfo hints; local
[all...]
/freebsd-9.3-release/usr.sbin/syslogd/
H A Dsyslogd.c1775 struct addrinfo hints, *res; local
1966 memset(&hints, 0, sizeof(hints));
1967 hints.ai_family = family;
1968 hints.ai_socktype = SOCK_DGRAM;
1970 p ? p : "syslog", &hints, &res);
2203 struct addrinfo hints, *res; local
2255 memset(&hints, 0, sizeof(hints));
2256 hints
2373 struct addrinfo hints, *res; local
2629 struct addrinfo hints, *res, *r; local
[all...]
/freebsd-9.3-release/crypto/heimdal/appl/telnet/telnet/
H A Dcommands.c1601 struct addrinfo hints, *ai, *a;
1603 memset (&hints, 0, sizeof(hints));
1604 hints.ai_flags = AI_CANONNAME;
1606 error = getaddrinfo (hbuf, NULL, &hints, &ai);
2186 struct addrinfo *ai, *a, hints;
2190 memset (&hints, 0, sizeof(hints));
2191 hints.ai_socktype = SOCK_STREAM;
2192 hints
1593 struct addrinfo hints, *ai, *a; local
2178 struct addrinfo *ai, *a, hints; local
2537 struct addrinfo hints, *res; local
[all...]
/freebsd-9.3-release/release/picobsd/tinyware/login/
H A Dpico-login.c219 struct addrinfo hints, *res; local
222 memset(&hints, 0, sizeof(hints));
223 hints.ai_family = AF_UNSPEC;
224 ga_err = getaddrinfo(optarg, NULL, &hints,
467 struct addrinfo hints, *res; local
470 memset(&hints, 0, sizeof(hints));
471 hints.ai_family = AF_UNSPEC;
472 ga_err = getaddrinfo(full_hostname, NULL, &hints,
[all...]
/freebsd-9.3-release/crypto/heimdal/appl/push/
H A Dpush.c99 struct addrinfo hints; local
104 memset (&hints, 0, sizeof(hints));
105 hints.ai_socktype = SOCK_STREAM;
106 hints.ai_protocol = IPPROTO_TCP;
110 error = getaddrinfo (hostname, portstr, &hints, &ai);
/freebsd-9.3-release/crypto/heimdal/lib/kadm5/
H A Dinit_c.c407 struct addrinfo hints; local
414 memset (&hints, 0, sizeof(hints));
415 hints.ai_socktype = SOCK_STREAM;
416 hints.ai_protocol = IPPROTO_TCP;
425 error = getaddrinfo (hostname, portstr, &hints, &ai);
/freebsd-9.3-release/crypto/openssh/
H A Dssh-keyscan.c295 struct addrinfo hints, *ai, *aitop; local
300 memset(&hints, 0, sizeof(hints));
301 hints.ai_family = IPv4or6;
302 hints.ai_socktype = SOCK_STREAM;
303 if ((gaierr = getaddrinfo(host, strport, &hints, &aitop)) != 0)
/freebsd-9.3-release/sbin/iscontrol/
H A Dfsm.c77 struct addrinfo *res, *res0, hints; local
124 memset(&hints, 0, sizeof(hints));
125 hints.ai_family = PF_UNSPEC;
126 hints.ai_socktype = SOCK_STREAM;
128 if((val = getaddrinfo(op->targetAddress, pbuf, &hints, &res0)) != 0) {

Completed in 164 milliseconds

123456789