Searched refs:hints (Results 76 - 100 of 231) sorted by relevance

12345678910

/openbsd-current/libexec/mail.local/
H A Dmail.local.c278 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 Dsmtpc.c272 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 Dutil.c195 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 Dftp-proxy.c613 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 Dprivsep.c178 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 Dhints_pod_examples.t4 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 Dsubs.pm23 Unlike pragmas that affect the C<$^H> hints variable, the C<use vars> and
/openbsd-current/sys/arch/amd64/include/
H A Dcpufunc.h346 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 Dparser.c419 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 Dparser.c280 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 DIP.pm352 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 Dtftp-proxy.c353 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 Dconcise.t494 # 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 Dunwind.c720 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 Dtcpbench.c990 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 Dradiusctl.c107 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 Dsync.c69 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 Dsnmpc.c1214 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 Dlisten_dnsport.c1009 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 Dlisten_dnsport.c1009 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 Dtest_bootstrap.t21 hints => "require './test.pl'",
/openbsd-current/usr.sbin/iscsictl/
H A Dparse.y254 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 Dmain.c183 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 DMakefile.bsd-wrapper16 config.sh: ${.CURDIR}/config.over ${.CURDIR}/hints/openbsd.sh
/openbsd-current/games/adventure/
H A Ddone.c95 scor -= hints[i][2];

Completed in 349 milliseconds

12345678910