/openbsd-current/usr.bin/dig/ |
H A D | dig.c | 1350 struct addrinfo *ai = NULL, hints; local 1354 memset(&hints, 0, sizeof(hints)); 1355 hints.ai_flags = AI_NUMERICHOST; 1356 hints.ai_socktype = SOCK_DGRAM; 1361 error = getaddrinfo(value, hash + 1, &hints, &ai); 1364 error = getaddrinfo(value, NULL, &hints, &ai);
|
/openbsd-current/usr.sbin/tftpd/ |
H A D | tftpd.c | 555 struct addrinfo hints, *res, *res0; local 564 memset(&hints, 0, sizeof(hints)); 565 hints.ai_family = family; 566 hints.ai_socktype = SOCK_DGRAM; 567 hints.ai_flags = AI_PASSIVE; 571 error = getaddrinfo(addr, port, &hints, &res0);
|
/openbsd-current/sbin/ifconfig/ |
H A D | ifconfig.c | 3710 struct addrinfo hints = { local 3752 if ((ecode = getaddrinfo(srcaddr, srcport, &hints, &srcres)) != 0) 3756 hints.ai_flags = 0; 3757 if ((ecode = getaddrinfo(dstaddr, dstport, &hints, &dstres)) != 0) 3783 struct addrinfo hints = { local 3809 rv = getaddrinfo(srcaddr, srcport, &hints, &srcres); 4109 struct addrinfo hints, *res; local 4119 memset(&hints, 0, sizeof(hints)); 4120 hints 4812 struct addrinfo hints, *peerres; local 5005 struct addrinfo hints, *peerres; local 5194 struct addrinfo hints, *res0; local 6550 struct addrinfo hints, *res; local [all...] |
/openbsd-current/gnu/usr.bin/perl/ext/B/B/ |
H A D | Concise.pm | 43 . "~#flags(?(/#private)?)(?(:#hints)?)(x(;~->#next)x)\n" 598 our %hints; # used to display each COP's op_hints values 601 @hints{0x2,0x200,0x400,0x20,0x40,0x80} = ('$', '&', '*', 'x$', 'x&', 'x*'); 603 @hints{0x1,0x4,0x8,0x10} = ('i', 'l', 'b'); 605 @hints{0x100,0x20000,0x40000,0x80000} = ('{','%','<','>'); 607 @hints{0x1000,0x2000,0x4000,0x8000,0x10000} = ('I', 'F', 'B', 'S', 'R'); 609 @hints{0x100000,0x200000} = ('T', 'E'); 611 @hints{0x400000,0x800000,0x800} = ('X', 'U', 'us'); 613 # pick up the feature hints constants. 623 for my $flag (sort {$b <=> $a} keys %hints) { [all...] |
/openbsd-current/usr.bin/ftp/ |
H A D | ftp.c | 109 struct addrinfo hints, *res, *res0; local 120 memset(&hints, 0, sizeof(hints)); 121 hints.ai_flags = AI_CANONNAME; 122 hints.ai_family = family; 123 hints.ai_socktype = SOCK_STREAM; 124 hints.ai_protocol = 0; 125 error = getaddrinfo(host, port, &hints, &res0); 145 error = getaddrinfo(host, pbuf, &hints, &res0);
|
/openbsd-current/usr.sbin/snmpd/ |
H A D | parse.y | 2013 struct addrinfo hints, *res0, *res; 2016 bzero(&hints, sizeof(hints)); 2017 hints.ai_family = family; 2018 hints.ai_socktype = type; 2023 hints.ai_flags = AI_NUMERICHOST; 2024 error = getaddrinfo(s, port, &hints, &res0); 2026 hints.ai_flags = 0; 2027 error = getaddrinfo(s, port, &hints, &res0);
|
/openbsd-current/usr.bin/ssh/ |
H A D | channels.c | 3753 struct addrinfo hints, *ai, *aitop; local 3783 * set to NULL and hints.ai_flags is not AI_PASSIVE 3785 memset(&hints, 0, sizeof(hints)); 3786 hints.ai_family = ssh->chanctxt->IPv4or6; 3787 hints.ai_flags = wildcard ? AI_PASSIVE : 0; 3788 hints.ai_socktype = SOCK_STREAM; 3790 if ((r = getaddrinfo(addr, strport, &hints, &aitop)) != 0) { 4608 struct addrinfo hints; local 4639 memset(&hints, 4952 struct addrinfo hints, *ai, *aitop; local 5059 struct addrinfo hints, *ai, *aitop; local [all...] |
H A D | packet.c | 531 struct addrinfo hints, *ai, *aitop; local 557 memset(&hints, 0, sizeof(hints)); 558 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ 559 hints.ai_flags = AI_NUMERICHOST; 560 if (getaddrinfo(name, NULL, &hints, &ai) == 0) { 579 memset(&hints, 0, sizeof(hints)); 580 hints.ai_family = from.ss_family; 581 hints [all...] |
/openbsd-current/usr.sbin/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...] |
/openbsd-current/sbin/iked/ |
H A D | parse.y | 2024 struct addrinfo hints, *res; 2027 bzero(&hints, sizeof(struct addrinfo)); 2028 hints.ai_family = AF_UNSPEC; 2029 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ 2030 hints.ai_flags = AI_NUMERICHOST; 2031 if (getaddrinfo(s, NULL, &hints, &res)) 2068 struct addrinfo hints, *res0, *res; 2072 bzero(&hints, sizeof(struct addrinfo)); 2073 hints.ai_family = PF_UNSPEC; 2074 hints [all...] |
/openbsd-current/gnu/usr.bin/perl/cpan/autodie/lib/ |
H A D | autodie.pm | 336 =item No user hints defined for %s 338 You've insisted on hints for user-subroutines, either by pre-pending 341 any hints available. 418 L<Fatal>, L<autodie::exception>, L<autodie::hints>, L<IPC::System::Simple>
|
/openbsd-current/usr.sbin/route6d/ |
H A D | route6d.c | 508 struct addrinfo hints, *res; local 517 memset(&hints, 0, sizeof(hints)); 518 hints.ai_family = PF_INET6; 519 hints.ai_socktype = SOCK_DGRAM; 520 hints.ai_flags = AI_PASSIVE; 521 error = getaddrinfo(NULL, port, &hints, &res); 570 memset(&hints, 0, sizeof(hints)); 571 hints [all...] |
/openbsd-current/regress/usr.sbin/snmpd/ |
H A D | snmp.c | 174 struct addrinfo hints, *res; local 183 memset(&hints, 0, sizeof(hints)); 184 hints.ai_family = AF_UNSPEC; 185 hints.ai_socktype = type; 187 if ((error = getaddrinfo(hostname, servname, &hints, &res)) != 0)
|
/openbsd-current/gnu/usr.bin/perl/hints/ |
H A D | linux-android.sh | 339 # Android is a linux variant, so run those hints. 340 . ./hints/linux.sh
|
H A D | linux.sh | 0 # hints/linux.sh 43 *catamount*) . hints/catamount.sh; return ;;
|
/openbsd-current/gnu/usr.bin/perl/dist/encoding-warnings/lib/encoding/ |
H A D | warnings.pm | 219 my $hints = (caller(0))[10]; 220 $hints->{ref($self)} or last DO_WARN;
|
/openbsd-current/gnu/usr.bin/perl/cpan/Socket/ |
H A D | Socket.pm | 353 =head2 ($err, @result) = getaddrinfo $host, $service, [$hints] 371 If present, $hints should be a reference to a hash, where the following keys 431 The following flag constants are recognised in the $hints hash. Other flag 553 type given in the $hints. 570 my %hints = (socktype => SOCK_STREAM); 571 my ($err, @res) = getaddrinfo("localhost", "echo", \%hints); 973 my ( $node, $service, $hints ) = @_; 979 my ( $family, $socktype, $protocol, $flags ) = @$hints{qw( family socktype protocol flags )};
|
/openbsd-current/usr.sbin/unbound/libunbound/ |
H A D | context.c | 93 if(!(ctx->env->hints = hints_create()) || 94 !hints_apply_cfg(ctx->env->hints, cfg))
|
/openbsd-current/sbin/unwind/libunbound/libunbound/ |
H A D | context.c | 93 if(!(ctx->env->hints = hints_create()) || 94 !hints_apply_cfg(ctx->env->hints, cfg))
|
/openbsd-current/sbin/ipsecctl/ |
H A D | parse.y | 1698 struct addrinfo hints, *res; 1701 bzero(&hints, sizeof(struct addrinfo)); 1702 hints.ai_family = AF_INET6; 1703 hints.ai_socktype = SOCK_STREAM; 1704 hints.ai_flags = AI_NUMERICHOST; 1705 if (getaddrinfo(s, NULL, &hints, &res)) 1781 struct addrinfo hints, *res0, *res; 1785 bzero(&hints, sizeof(struct addrinfo)); 1786 hints.ai_family = PF_UNSPEC; 1787 hints [all...] |
/openbsd-current/games/adventure/ |
H A D | subr.c | 494 if (hintlc[hint] < hints[hint][1]) 524 if (!yes(hints[hint][3], 0, 54)) 527 printf("cost you %d points.\n", hints[hint][2]); 528 hinted[hint] = yes(175, hints[hint][4], 54);
|
/openbsd-current/gnu/usr.bin/perl/dist/IO/ |
H A D | IO.xs | 523 # needs to pick up the lexical hints at the method's callsite. This doesn't 524 # work in pure Perl, because the hints are read from the most recent nextstate,
|
/openbsd-current/lib/libc/asr/ |
H A D | asr_private.h | 242 struct addrinfo hints; member in struct:asr_query::__anon27::__anon32
|
/openbsd-current/usr.sbin/unbound/util/ |
H A D | module.h | 519 * The hints -- these aren't stored in the cache because they don't 520 * expire. The hints are always used to "prime" the cache. Note 521 * that both root hints and stub zone "hints" are stored in this 524 struct iter_hints* hints; member in struct:module_env 624 /** if this is a (stub or root) priming query (with hints) */
|
/openbsd-current/usr.sbin/unbound/smallapp/ |
H A D | unbound-checkconf.c | 703 check_chroot_filelist("file with root-hints", 948 /** check hints */ 952 struct iter_hints* hints = hints_create(); local 953 if(!hints || !hints_apply_cfg(hints, cfg)) { 954 fatal_exit("Could not set root or stub hints"); 956 hints_delete(hints);
|