Searched refs:hints (Results 51 - 75 of 231) sorted by relevance

12345678910

/openbsd-current/usr.sbin/smtpd/
H A Dresolver.c64 const struct addrinfo *hints, void (*cb)(void *, int, struct addrinfo *),
85 m_add_int(p_resolver, hints ? hints->ai_flags : 0);
86 m_add_int(p_resolver, hints ? hints->ai_family : 0);
87 m_add_int(p_resolver, hints ? hints->ai_socktype : 0);
88 m_add_int(p_resolver, hints ? hints->ai_protocol : 0);
155 struct addrinfo hints; local
63 resolver_getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, void (*cb)(void *, int, struct addrinfo *), void *arg) argument
[all...]
/openbsd-current/sys/arch/i386/include/
H A Dcpufunc.h248 monitor(const volatile void *addr, u_long extensions, u_int hints) argument
251 : : "a" (addr), "c" (extensions), "d" (hints));
255 mwait(u_long extensions, u_int hints) argument
257 __asm volatile("mwait" : : "a" (hints), "c" (extensions));
/openbsd-current/usr.bin/nc/
H A Dsocks.c66 struct addrinfo hints, *res; local
68 memset(&hints, 0, sizeof(hints));
69 hints.ai_family = v4only ? PF_INET : PF_UNSPEC;
70 hints.ai_flags = numeric ? AI_NUMERICHOST : 0;
71 hints.ai_socktype = SOCK_STREAM;
72 r = getaddrinfo(h, p, &hints, &res);
178 struct addrinfo hints __attribute__ ((__unused__)),
/openbsd-current/regress/sys/netinet6/pktinfo_addr/
H A Druntest.c40 struct addrinfo hints; local
61 bzero(&hints, sizeof(hints));
62 hints.ai_family = AF_INET6;
63 hints.ai_socktype = SOCK_DGRAM;
96 rc = getaddrinfo(argv[optind], PORTNUM, &hints, &in6ai);
/openbsd-current/regress/lib/libssl/interop/botan/
H A Dclient.cpp156 struct addrinfo hints, *res; local
180 memset(&hints, 0, sizeof(hints));
181 hints.ai_family = AF_INET;
182 hints.ai_socktype = SOCK_STREAM;
183 error = getaddrinfo(host, port, &hints, &res);
/openbsd-current/usr.bin/openssl/
H A Ds_socket.c83 struct addrinfo hints, *ai_top, *ai; local
86 memset(&hints, '\0', sizeof(hints));
87 hints.ai_family = af;
88 hints.ai_socktype = type;
90 if ((i = getaddrinfo(host, port, &hints, &ai_top)) != 0) {
/openbsd-current/libexec/spamd/
H A Dgrey.c325 struct addrinfo hints, *res; local
328 memset(&hints, 0, sizeof(hints));
329 hints.ai_family = AF_INET; /*for now*/
330 hints.ai_socktype = SOCK_DGRAM; /*dummy*/
331 hints.ai_protocol = IPPROTO_UDP; /*dummy*/
332 hints.ai_flags = AI_NUMERICHOST;
334 if (getaddrinfo(addr, NULL, &hints, &res) != 0)
378 struct addrinfo hints, *res; local
380 memset(&hints,
924 struct addrinfo hints, *res; local
[all...]
/openbsd-current/usr.bin/ssh/
H A Ddns.c166 struct addrinfo hints, *ai; local
177 memset(&hints, 0, sizeof(hints));
178 hints.ai_socktype = SOCK_DGRAM;
179 hints.ai_flags = AI_NUMERICHOST;
181 if (getaddrinfo(hostname, NULL, &hints, &ai) == 0) {
H A Daddr.c375 struct addrinfo hints, *ai; local
377 memset(&hints, '\0', sizeof(hints));
378 hints.ai_flags = AI_NUMERICHOST;
380 if (p == NULL || getaddrinfo(p, NULL, &hints, &ai) != 0)
404 struct addrinfo hints, *ai; local
406 memset(&hints, '\0', sizeof(hints));
407 hints.ai_flags = AI_NUMERICHOST;
409 if (h == NULL || getaddrinfo(h, s, &hints,
[all...]
/openbsd-current/lib/libcrypto/bio/
H A Db_sock.c41 struct addrinfo hints = { local
55 if ((error = getaddrinfo(str, NULL, &hints, &res)) != 0) {
71 struct addrinfo hints = { local
83 if ((error = getaddrinfo(NULL, str, &hints, &res)) != 0) {
130 struct addrinfo hints = { local
163 if ((error = getaddrinfo(h, p, &hints, &res)) != 0) {
/openbsd-current/usr.sbin/ypldap/
H A Dypldap_dns.c214 struct addrinfo hints, *res0, *res; local
220 memset(&hints, 0, sizeof(hints));
221 hints.ai_family = PF_UNSPEC;
222 hints.ai_socktype = SOCK_DGRAM; /* DUMMY */
223 error = getaddrinfo(s, NULL, &hints, &res0);
/openbsd-current/lib/libpcap/
H A Dnametoaddr.c91 struct addrinfo hints, *res; local
94 memset(&hints, 0, sizeof(hints));
95 hints.ai_family = PF_UNSPEC;
96 hints.ai_socktype = SOCK_STREAM; /*not really*/
97 error = getaddrinfo(name, NULL, &hints, &res);
/openbsd-current/usr.sbin/radiusd/
H A Dparse.y144 struct addrinfo hints, *res;
146 memset(&hints, 0, sizeof(hints));
147 hints.ai_family = PF_UNSPEC;
148 hints.ai_socktype = SOCK_DGRAM;
149 hints.ai_flags = AI_PASSIVE;
150 hints.ai_flags |= AI_NUMERICHOST | AI_NUMERICSERV;
153 getaddrinfo($1, NULL, &hints, &res)) != 0 ||
218 struct addrinfo hints, *res;
220 memset(&hints,
[all...]
/openbsd-current/usr.sbin/ldpctl/
H A Dparser.c338 struct addrinfo hints, *r; local
353 memset(&hints, 0, sizeof(hints));
354 hints.ai_family = AF_INET6;
355 hints.ai_socktype = SOCK_DGRAM; /*dummy*/
356 hints.ai_flags = AI_NUMERICHOST;
357 if (getaddrinfo(word, "0", &hints, &r) == 0) {
/openbsd-current/usr.sbin/spamdb/
H A Dspamdb.c53 struct addrinfo hints, *res; local
56 memset(&hints, 0, sizeof(hints));
57 hints.ai_family = PF_UNSPEC;
58 hints.ai_socktype = SOCK_DGRAM; /*dummy*/
59 hints.ai_flags = AI_NUMERICHOST;
61 if (getaddrinfo(ip, NULL, &hints, &res) != 0) {
/openbsd-current/usr.bin/rsync/
H A Dsocket.c150 struct addrinfo hints, *res0, *res; local
159 memset(&hints, 0, sizeof(hints));
160 hints.ai_family = PF_UNSPEC;
161 hints.ai_socktype = SOCK_STREAM;
163 hints.ai_flags = SOCK_STREAM;
167 error = getaddrinfo(host, port, &hints, &res0);
/openbsd-current/usr.sbin/pkg_add/OpenBSD/
H A DUpdateSet.pm23 # -> a list of "hints", as package names to install
46 # hints should behave like locations
225 $o->{hints} = [];
303 push(@{$self->{hints}}, OpenBSD::hint->new($h));
311 push(@{$self->{hints}}, OpenBSD::hint2->new($h));
326 sub hints($self) subroutine
328 return @{$self->{hints}};
353 return map {$_->pkgname} $self->hints;
400 } elsif ($self->hints > 0) {
H A DTracker.pm88 for my $n ($set->newer, $set->older, $set->hints) {
98 for my $n ($set->older, $set->hints) {
127 for my $n ($set->kept, $set->older, $set->hints) {
/openbsd-current/usr.sbin/ospf6ctl/
H A Dparser.c306 struct addrinfo hints, *r; local
312 bzero(&hints, sizeof(hints));
313 hints.ai_family = AF_INET6;
314 hints.ai_socktype = SOCK_DGRAM; /*dummy*/
315 hints.ai_flags = AI_NUMERICHOST;
316 if (getaddrinfo(word, "0", &hints, &r) == 0) {
/openbsd-current/usr.sbin/bgplgd/
H A Dqs.c143 struct addrinfo hints, *res; local
155 memset(&hints, 0, sizeof(hints));
156 hints.ai_family = AF_UNSPEC;
157 hints.ai_socktype = SOCK_DGRAM;
158 hints.ai_flags = AI_NUMERICHOST;
159 if (getaddrinfo(str, NULL, &hints, &res) != 0)
/openbsd-current/usr.sbin/lpr/lpd/
H A Dlpd.c603 struct addrinfo hints, *res, *r; local
637 memset(&hints, 0, sizeof(hints));
638 hints.ai_family = PF_UNSPEC;
639 hints.ai_socktype = SOCK_DGRAM; /*dummy*/
640 error = getaddrinfo(fromb, NULL, &hints, &res);
688 struct addrinfo hints, *res, *r; local
693 memset(&hints, 0, sizeof(hints));
694 hints
[all...]
/openbsd-current/regress/sys/netinet/in_pcbbind/
H A Druntest.c351 struct addrinfo hints, *baddr, *any, *mifa; local
359 memset(&hints, 0, sizeof(hints));
360 hints.ai_flags = AI_ADDRCONFIG | AI_NUMERICHOST | AI_NUMERICSERV | \
362 hints.ai_socktype = SOCK_DGRAM;
367 if ((error = getaddrinfo(baddr_s, bport_s, &hints, &baddr)))
372 hints.ai_family = baddr->ai_family;
373 if ((error = getaddrinfo(NULL, bport_s, &hints, &any)))
386 hints.ai_flags = AI_ADDRCONFIG | AI_NUMERICHOST;
388 if ((error = getaddrinfo(bmifa_s, NULL, &hints,
[all...]
/openbsd-current/usr.bin/cdio/
H A Dcddb.c147 struct addrinfo hints, *res0 = NULL, *res; local
150 memset(&hints, 0, sizeof hints);
151 hints.ai_family = PF_UNSPEC;
152 hints.ai_socktype = SOCK_STREAM;
154 error = getaddrinfo(host, serv, &hints, &res0);
/openbsd-current/usr.bin/getent/
H A Dgetent.c232 struct addrinfo hints, *res, *res0; local
238 memset(&hints, 0, sizeof(hints));
239 hints.ai_family = AF_UNSPEC;
240 hints.ai_socktype = SOCK_DGRAM;
242 if (getaddrinfo(name, NULL, &hints, &res0) != 0)
/openbsd-current/usr.sbin/rdate/
H A Dntp.c141 struct addrinfo hints, *res0, *res; local
145 memset(&hints, 0, sizeof(hints));
146 hints.ai_family = family;
147 hints.ai_socktype = SOCK_DGRAM;
148 ierror = getaddrinfo(hostname, "ntp", &hints, &res0);

Completed in 415 milliseconds

12345678910