/openbsd-current/usr.sbin/smtpd/ |
H A D | resolver.c | 64 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 D | cpufunc.h | 248 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 D | socks.c | 66 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 D | runtest.c | 40 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 D | client.cpp | 156 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 D | s_socket.c | 83 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 D | grey.c | 325 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 D | dns.c | 166 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 D | addr.c | 375 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 D | b_sock.c | 41 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 D | ypldap_dns.c | 214 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 D | nametoaddr.c | 91 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 D | parse.y | 144 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 D | parser.c | 338 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 D | spamdb.c | 53 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 D | socket.c | 150 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 D | UpdateSet.pm | 23 # -> 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 D | Tracker.pm | 88 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 D | parser.c | 306 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 D | qs.c | 143 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 D | lpd.c | 603 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 D | runtest.c | 351 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 D | cddb.c | 147 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 D | getent.c | 232 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 D | ntp.c | 141 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);
|