/openbsd-current/libexec/mail.local/ |
H A D | mail.local.c | 278 struct addrinfo hints, *res; local 284 memset(&hints, 0, sizeof(hints)); 285 hints.ai_family = PF_UNSPEC; 286 hints.ai_socktype = SOCK_DGRAM; 288 error = getaddrinfo("localhost", "biff", &hints, &res0);
|
/openbsd-current/usr.sbin/smtpd/ |
H A D | smtpc.c | 272 struct addrinfo hints; local 366 memset(&hints, 0, sizeof(hints)); 367 hints.ai_family = AF_UNSPEC; 368 hints.ai_socktype = SOCK_STREAM; 369 error = getaddrinfo(host, port, &hints, &res0);
|
/openbsd-current/sbin/isakmpd/ |
H A D | util.c | 195 struct addrinfo *ai, hints; local 208 bzero(&hints, sizeof hints); 210 hints.ai_flags = AI_NUMERICHOST; 211 hints.ai_family = PF_UNSPEC; 212 hints.ai_socktype = SOCK_DGRAM; 213 hints.ai_protocol = IPPROTO_UDP; 215 if (getaddrinfo(address, port, &hints, &ai)) {
|
/openbsd-current/usr.sbin/ftp-proxy/ |
H A D | ftp-proxy.c | 613 struct addrinfo hints, *res; local 721 memset(&hints, 0, sizeof hints); 722 hints.ai_flags = AI_NUMERICHOST; 723 hints.ai_family = ipv6_mode ? AF_INET6 : AF_INET; 724 hints.ai_socktype = SOCK_STREAM; 725 error = getaddrinfo(fixed_proxy, NULL, &hints, &res); 736 memset(&hints, 0, sizeof hints); 737 hints [all...] |
/openbsd-current/usr.sbin/syslogd/ |
H A D | privsep.c | 178 struct addrinfo hints, *res0; local 367 memset(&hints, 0, sizeof(hints)); 370 hints.ai_family = AF_UNSPEC; 375 hints.ai_family = AF_INET; 378 hints.ai_family = AF_INET6; 388 hints.ai_socktype = SOCK_DGRAM; 389 hints.ai_protocol = IPPROTO_UDP; 391 hints.ai_socktype = SOCK_STREAM; 392 hints [all...] |
/openbsd-current/gnu/usr.bin/perl/cpan/autodie/t/ |
H A D | hints_pod_examples.t | 4 use autodie::hints; 11 plan skip_all => "Only subroutine hints supported in 5.8.x"; 154 # Some of the tests provide different hints for scalar or list context
|
/openbsd-current/gnu/usr.bin/perl/lib/ |
H A D | subs.pm | 23 Unlike pragmas that affect the C<$^H> hints variable, the C<use vars> and
|
/openbsd-current/sys/arch/amd64/include/ |
H A D | cpufunc.h | 346 monitor(const volatile void *addr, u_long extensions, u_int hints) argument 350 : : "a" (addr), "c" (extensions), "d" (hints)); 354 mwait(u_long extensions, u_int hints) argument 373 : "+c" (extensions) : "a" (hints));
|
/openbsd-current/usr.sbin/eigrpctl/ |
H A D | parser.c | 419 struct addrinfo hints, *r; local 434 memset(&hints, 0, sizeof(hints)); 435 hints.ai_family = AF_INET6; 436 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ 437 hints.ai_flags = AI_NUMERICHOST; 438 if (getaddrinfo(word, "0", &hints, &r) == 0) {
|
/openbsd-current/usr.sbin/ikectl/ |
H A D | parser.c | 280 struct addrinfo hints, *r; local 282 bzero(&hints, sizeof(hints)); 283 hints.ai_socktype = SOCK_DGRAM; /* dummy */ 284 hints.ai_family = PF_UNSPEC; 285 hints.ai_flags = AI_NUMERICHOST; 286 if (getaddrinfo(word, "0", &hints, &r) == 0) {
|
/openbsd-current/gnu/usr.bin/perl/cpan/IO-Socket-IP/lib/IO/Socket/ |
H A D | IP.pm | 352 If neither C<Type> nor C<Proto> hints are provided, a default of 424 my %hints; 435 $hints{flags} = $arg->{GetAddrInfoFlags}; 438 $hints{flags} = $AI_ADDRCONFIG; 442 $hints{family} = $family; 446 $hints{socktype} = $type; 458 $hints{protocol} = $proto; 463 if( !defined $hints{socktype} and !defined $hints{protocol} ) { 464 $hints{socktyp [all...] |
/openbsd-current/usr.sbin/tftp-proxy/ |
H A D | tftp-proxy.c | 353 struct addrinfo hints, *res, *res0; local 357 memset(&hints, 0, sizeof(hints)); 358 hints.ai_family = family; 359 hints.ai_socktype = SOCK_DGRAM; 360 hints.ai_flags = AI_PASSIVE; 361 error = getaddrinfo(name, NULL, &hints, &res0); 546 struct addrinfo hints, *res, *res0; local 552 memset(&hints, 0, sizeof(hints)); [all...] |
/openbsd-current/gnu/usr.bin/perl/ext/B/t/ |
H A D | concise.t | 494 # test nextstate hints display 504 my @hints = $out =~ /nextstate\([^)]+\) (.*) ->/g; 507 s/>,<,// for @hints; 508 s/%,// for @hints; 510 is(scalar(@hints), 3, "3 hints"); 511 is($hints[0], 'v:{', "hints[0]"); 512 is($hints[1], 'v:*,&,{,x*,x&,x$,$', "hints[ [all...] |
/openbsd-current/sbin/unwind/ |
H A D | unwind.c | 720 struct addrinfo hints, *res0; local 725 memset(&hints, 0, sizeof(hints)); 726 hints.ai_family = AF_INET; 727 hints.ai_socktype = SOCK_DGRAM; 728 hints.ai_flags = AI_NUMERICHOST | AI_PASSIVE; 730 error = getaddrinfo("127.0.0.1", "domain", &hints, &res0); 750 hints.ai_family = AF_INET6; 751 error = getaddrinfo("::1", "domain", &hints, &res0); 771 hints [all...] |
/openbsd-current/usr.bin/tcpbench/ |
H A D | tcpbench.c | 990 struct addrinfo *aitop, *aib, hints; local 1147 bzero(&hints, sizeof(hints)); 1148 hints.ai_family = family; 1150 hints.ai_socktype = SOCK_DGRAM; 1151 hints.ai_protocol = IPPROTO_UDP; 1153 hints.ai_socktype = SOCK_STREAM; 1154 hints.ai_protocol = IPPROTO_TCP; 1157 hints.ai_family = AF_UNIX; 1158 hints [all...] |
/openbsd-current/usr.sbin/radiusctl/ |
H A D | radiusctl.c | 107 struct addrinfo hints, *ai; local 122 memset(&hints, 0, sizeof(hints)); 123 hints.ai_family = PF_UNSPEC; 124 hints.ai_socktype = SOCK_DGRAM; 126 retval = getaddrinfo(res->hostname, "radius", &hints, &ai);
|
/openbsd-current/usr.sbin/dhcpd/ |
H A D | sync.c | 69 struct addrinfo hints, *res, *res0; local 73 memset(&hints, 0, sizeof(hints)); 74 hints.ai_family = PF_UNSPEC; 75 hints.ai_socktype = SOCK_STREAM; 76 if (getaddrinfo(name, NULL, &hints, &res0) != 0)
|
/openbsd-current/usr.bin/snmp/ |
H A D | snmpc.c | 1214 struct addrinfo hints, *ai, *ai0 = NULL; local 1223 bzero(&hints, sizeof(hints)); 1227 hints.ai_family = AF_INET; 1228 hints.ai_socktype = SOCK_DGRAM; 1230 hints.ai_family = AF_INET; 1231 hints.ai_socktype = SOCK_STREAM; 1235 hints.ai_family = AF_INET6; 1236 hints.ai_socktype = SOCK_DGRAM; 1240 hints [all...] |
/openbsd-current/usr.sbin/unbound/services/ |
H A D | listen_dnsport.c | 1009 struct addrinfo *hints, int v6only, int* noip6, size_t rcv, size_t snd, 1015 hints->ai_socktype = stype; 1017 if((r=getaddrinfo(ifname, port, hints, &res)) != 0 || !res) { 1019 if(r == EAI_NONAME && hints->ai_family == AF_INET6){ 1042 } else if(s == -1 && noproto && hints->ai_family == AF_INET6){ 1049 if(s == -1 && noproto && hints->ai_family == AF_INET6){ 1071 ub_sock->fam = hints->ai_family; 1080 struct addrinfo *hints, int v6only, int* noip6, size_t rcv, size_t snd, 1103 return make_sock(stype, newif, p, hints, v6only, noip6, rcv, 1107 return make_sock(stype, ifname, port, hints, v6onl 1008 make_sock(int stype, const char* ifname, const char* port, struct addrinfo *hints, int v6only, int* noip6, size_t rcv, size_t snd, int* reuseport, int transparent, int tcp_mss, int nodelay, int freebind, int use_systemd, int dscp, struct unbound_socket* ub_sock) argument 1079 make_sock_port(int stype, const char* ifname, const char* port, struct addrinfo *hints, int v6only, int* noip6, size_t rcv, size_t snd, int* reuseport, int transparent, int tcp_mss, int nodelay, int freebind, int use_systemd, int dscp, struct unbound_socket* ub_sock) argument 1263 ports_create_if(const char* ifname, int do_auto, int do_udp, int do_tcp, struct addrinfo *hints, const char* port, struct listen_port** list, size_t rcv, size_t snd, int ssl_port, struct config_strlist* tls_additional_port, int https_port, struct config_strlist* proxy_protocol_port, int* reuseport, int transparent, int tcp_mss, int freebind, int http2_nodelay, int use_systemd, int dnscrypt_port, int dscp, int sock_queue_timeout) argument 1798 struct addrinfo hints; local [all...] |
/openbsd-current/sbin/unwind/libunbound/services/ |
H A D | listen_dnsport.c | 1009 struct addrinfo *hints, int v6only, int* noip6, size_t rcv, size_t snd, 1015 hints->ai_socktype = stype; 1017 if((r=getaddrinfo(ifname, port, hints, &res)) != 0 || !res) { 1019 if(r == EAI_NONAME && hints->ai_family == AF_INET6){ 1042 } else if(s == -1 && noproto && hints->ai_family == AF_INET6){ 1049 if(s == -1 && noproto && hints->ai_family == AF_INET6){ 1071 ub_sock->fam = hints->ai_family; 1080 struct addrinfo *hints, int v6only, int* noip6, size_t rcv, size_t snd, 1103 return make_sock(stype, newif, p, hints, v6only, noip6, rcv, 1107 return make_sock(stype, ifname, port, hints, v6onl 1008 make_sock(int stype, const char* ifname, const char* port, struct addrinfo *hints, int v6only, int* noip6, size_t rcv, size_t snd, int* reuseport, int transparent, int tcp_mss, int nodelay, int freebind, int use_systemd, int dscp, struct unbound_socket* ub_sock) argument 1079 make_sock_port(int stype, const char* ifname, const char* port, struct addrinfo *hints, int v6only, int* noip6, size_t rcv, size_t snd, int* reuseport, int transparent, int tcp_mss, int nodelay, int freebind, int use_systemd, int dscp, struct unbound_socket* ub_sock) argument 1263 ports_create_if(const char* ifname, int do_auto, int do_udp, int do_tcp, struct addrinfo *hints, const char* port, struct listen_port** list, size_t rcv, size_t snd, int ssl_port, struct config_strlist* tls_additional_port, int https_port, struct config_strlist* proxy_protocol_port, int* reuseport, int transparent, int tcp_mss, int freebind, int http2_nodelay, int use_systemd, int dnscrypt_port, int dscp, int sock_queue_timeout) argument 1798 struct addrinfo hints; local [all...] |
/openbsd-current/gnu/usr.bin/perl/t/porting/ |
H A D | test_bootstrap.t | 21 hints => "require './test.pl'",
|
/openbsd-current/usr.sbin/iscsictl/ |
H A D | parse.y | 254 struct addrinfo hints; 268 memset(&hints, 0, sizeof(hints)); 269 hints.ai_family = $2.af; 270 hints.ai_socktype = SOCK_STREAM; 271 hints.ai_protocol = IPPROTO_TCP; 275 hints.ai_flags = AI_PASSIVE; 279 error = getaddrinfo(hostname, $2.port, &hints, &$$);
|
/openbsd-current/usr.bin/tftp/ |
H A D | main.c | 183 struct addrinfo hints, *res0, *res; local 194 memset(&hints, 0, sizeof(hints)); 195 hints.ai_family = PF_UNSPEC; 196 hints.ai_socktype = SOCK_DGRAM; 197 hints.ai_protocol = IPPROTO_UDP; 198 hints.ai_flags = AI_CANONNAME; 201 error = getaddrinfo(host, port, &hints, &res0);
|
/openbsd-current/gnu/usr.bin/perl/ |
H A D | Makefile.bsd-wrapper | 16 config.sh: ${.CURDIR}/config.over ${.CURDIR}/hints/openbsd.sh
|
/openbsd-current/games/adventure/ |
H A D | done.c | 95 scor -= hints[i][2];
|