Searched refs:hints (Results 101 - 125 of 231) sorted by relevance

12345678910

/openbsd-current/usr.bin/nc/
H A Dnetcat.c156 struct addrinfo hints; local
468 memset(&hints, 0, sizeof(struct addrinfo));
469 hints.ai_family = family;
470 hints.ai_socktype = uflag ? SOCK_DGRAM : SOCK_STREAM;
471 hints.ai_protocol = uflag ? IPPROTO_UDP : IPPROTO_TCP;
473 hints.ai_flags |= AI_NUMERICHOST;
577 s = local_listen(host, uport, hints);
691 s = socks_connect(host, portlist[i], hints,
695 s = remote_connect(host, portlist[i], hints,
926 remote_connect(const char *host, const char *port, struct addrinfo hints, argument
1035 local_listen(const char *host, const char *port, struct addrinfo hints) argument
[all...]
/openbsd-current/lib/libpcap/
H A Dscanner.l262 struct addrinfo hints, *res;
263 memset(&hints, 0, sizeof(hints));
264 hints.ai_family = AF_INET6;
265 hints.ai_flags = AI_NUMERICHOST;
266 if (getaddrinfo(yytext, NULL, &hints, &res))
/openbsd-current/usr.sbin/nsd/
H A Dnsd.c223 struct addrinfo *hints)
253 if((ret = getaddrinfo(host, service, hints, &addr)) == 0) {
321 const struct addrinfo *hints)
324 struct addrinfo ai[2] = { *hints, *hints };
335 if (hints->ai_family == AF_UNSPEC) {
349 if(hints->ai_family == AF_UNSPEC) {
456 const struct addrinfo *hints)
459 struct addrinfo ai = *hints;
468 udp, tcp, ifs, node, udp_port, tcp_port, hints);
221 setup_socket( struct nsd_socket *sock, const char *node, const char *port, struct addrinfo *hints) argument
318 figure_default_sockets( struct nsd_socket **udp, struct nsd_socket **tcp, size_t *ifs, const char *node, const char *udp_port, const char *tcp_port, const struct addrinfo *hints) argument
452 figure_sockets( struct nsd_socket **udp, struct nsd_socket **tcp, size_t *ifs, struct ip_address_option *ips, const char *node, const char *udp_port, const char *tcp_port, const struct addrinfo *hints) argument
944 struct addrinfo hints; local
[all...]
/openbsd-current/sbin/unwind/
H A Dparse.y940 struct addrinfo hints, *res;
943 memset(&hints, 0, sizeof(hints));
944 hints.ai_family = AF_UNSPEC;
945 hints.ai_socktype = SOCK_DGRAM; /*dummy*/
946 hints.ai_flags = AI_NUMERICHOST;
947 if (getaddrinfo(s, "0", &hints, &res) == 0) {
/openbsd-current/usr.sbin/vmd/
H A Dparse.y1410 struct addrinfo hints, *res = NULL;
1429 memset(&hints, 0, sizeof(hints));
1430 hints.ai_family = AF_INET;
1431 hints.ai_socktype = SOCK_DGRAM;
1432 hints.ai_flags = AI_NUMERICHOST;
1434 if (getaddrinfo(ps, NULL, &hints, &res) == 0) {
1475 struct addrinfo hints, *res = NULL;
1495 memset(&hints, 0, sizeof(hints));
[all...]
/openbsd-current/sbin/route/
H A Droute.c970 struct addrinfo hints, *res; local
984 memset(&hints, 0, sizeof(hints));
985 hints.ai_family = afamily; /*AF_INET6*/
986 hints.ai_flags = AI_NUMERICHOST;
987 hints.ai_socktype = SOCK_DGRAM; /*dummy*/
988 error = getaddrinfo(buf, "0", &hints, &res);
990 hints.ai_flags = 0;
991 error = getaddrinfo(buf, "0", &hints, &res);
1009 if (hints
1169 struct addrinfo hints, *res; local
[all...]
/openbsd-current/usr.sbin/lpd/
H A Dengine_lpr.c312 struct addrinfo hints, *res, *r; local
315 memset(&hints, 0, sizeof(hints));
316 hints.ai_family = sa->sa_family;
317 hints.ai_socktype = SOCK_DGRAM; /*dummy*/
318 if ((e = getaddrinfo(host, NULL, &hints, &res))) {
/openbsd-current/libexec/spamd/
H A Dsync.c71 struct addrinfo hints, *res, *res0; local
75 memset(&hints, 0, sizeof(hints));
76 hints.ai_family = PF_UNSPEC;
77 hints.ai_socktype = SOCK_STREAM;
78 if (getaddrinfo(name, NULL, &hints, &res0) != 0)
/openbsd-current/usr.bin/login/
H A Dlogin.c148 struct addrinfo *ai, hints; local
219 memset(&hints, 0, sizeof(hints));
220 hints.ai_family = PF_UNSPEC;
221 hints.ai_flags = AI_CANONNAME;
222 error = getaddrinfo(lipaddr, NULL, &hints, &ai);
/openbsd-current/usr.sbin/arp/
H A Darp.c237 struct addrinfo hints, *res; local
241 bzero(&hints, sizeof(hints));
242 hints.ai_family = AF_INET;
244 hints.ai_flags = AI_NUMERICHOST;
246 gai_error = getaddrinfo(host, NULL, &hints, &res);
/openbsd-current/usr.sbin/ndp/
H A Dndp.c291 struct addrinfo hints, *res; local
294 bzero(&hints, sizeof(hints));
295 hints.ai_family = AF_INET6;
297 hints.ai_flags = AI_NUMERICHOST;
299 gai_error = getaddrinfo(host, NULL, &hints, &res);
/openbsd-current/usr.sbin/smtpd/
H A Denvelope.c277 struct addrinfo hints, *res0; local
282 memset(&hints, 0, sizeof(hints));
283 hints.ai_family = AF_INET6;
284 hints.ai_flags = AI_NUMERICHOST;
285 if (getaddrinfo(buf+1, NULL, &hints, &res0) != 0)
H A Dutil.c768 struct addrinfo hints, *res = NULL; local
785 memset(&hints, 0, sizeof hints);
786 hints.ai_family = PF_UNSPEC;
787 hints.ai_flags = AI_CANONNAME;
788 error = getaddrinfo(hostname, NULL, &hints, &res);
/openbsd-current/usr.sbin/ocspcheck/
H A Docspcheck.c71 struct addrinfo hints, *res0, *res; local
76 memset(&hints, 0, sizeof(hints));
77 hints.ai_family = PF_UNSPEC;
78 hints.ai_socktype = SOCK_DGRAM; /* DUMMY */
80 error = getaddrinfo(s, NULL, &hints, &res0);
/openbsd-current/usr.bin/ssh/
H A Dssh-keyscan.c336 struct addrinfo hints, *ai, *aitop; local
341 memset(&hints, 0, sizeof(hints));
342 hints.ai_family = IPv4or6;
343 hints.ai_socktype = SOCK_STREAM;
344 if ((gaierr = getaddrinfo(host, strport, &hints, &aitop)) != 0) {
H A Dssh.c241 struct addrinfo hints, *res; local
252 memset(&hints, 0, sizeof(hints));
253 hints.ai_family = options.address_family == -1 ?
255 hints.ai_socktype = SOCK_STREAM;
257 hints.ai_flags = AI_CANONNAME;
258 if ((gaierr = getaddrinfo(name, strport, &hints, &res)) != 0) {
292 struct addrinfo hints, *res; local
298 memset(&hints, 0, sizeof(hints));
323 struct addrinfo hints, *res; local
[all...]
/openbsd-current/gnu/usr.bin/perl/lib/
H A Dvars.pm68 Unlike pragmas that affect the C<$^H> hints variable, the C<use vars> and
/openbsd-current/games/adventure/
H A Dhdr.h130 extern int hints[20][5]; /* info on hints */
/openbsd-current/gnu/usr.bin/perl/Porting/
H A Dperlhist_calculate.pl146 foreach my $dir (qw(Cross djgpp emacs h2pl hints os2 plan9 Porting qnx symbian utils vms vos win32)) {
/openbsd-current/usr.sbin/pkg_add/OpenBSD/PackageRepository/
H A DCache.pm71 for my $h ($set->older, $set->hints) {
/openbsd-current/gnu/llvm/lld/COFF/
H A DDLL.h32 std::vector<Chunk *> hints; member in class:lld::coff::IdataContents
/openbsd-current/gnu/usr.bin/perl/cpan/Socket/
H A DSocket.xs589 SV *hints;
602 croak("Usage: Socket::getaddrinfo(host, service, hints)");
617 hints = NULL;
619 hints = ST(2);
638 if(hints && SvOK(hints)) {
642 if(!SvROK(hints) || SvTYPE(SvRV(hints)) != SVt_PVHV)
643 croak("hints is not a HASH reference");
645 hintshash = (HV*)SvRV(hints);
[all...]
/openbsd-current/gnu/usr.bin/perl/hints/
H A Dcxux.sh28 echo be built on releases of CX/UX prior to 7.0 with this hints >&2
/openbsd-current/gnu/usr.bin/perl/dist/IO/t/
H A Dio_dir.t24 my @IO_subdirs = ( qw| hints lib t | );
/openbsd-current/regress/sbin/ifconfig/
H A Difaddr.c1469 struct addrinfo hints, *res; local
1474 memset(&hints, 0, sizeof(hints));
1475 hints.ai_family = AF_UNSPEC;
1476 hints.ai_socktype = SOCK_DGRAM;
1477 hints.ai_protocol = 0;
1478 hints.ai_flags = AI_PASSIVE;
1480 rv = getaddrinfo(addr, NULL, &hints, &res);
1725 struct addrinfo hints, *res; local
1729 memset(&hints,
[all...]

Completed in 401 milliseconds

12345678910