Searched refs:hints (Results 1 - 25 of 66) sorted by relevance

123

/opensolaris-onvv-gate/usr/src/cmd/ipf/lib/common/
H A Dgethost.c19 struct addrinfo hints, *ai; local
31 bzero(&hints, sizeof (hints));
33 hints.ai_family = AF_INET;
35 hints.ai_family = AF_INET6;
37 error = getaddrinfo(name, NULL, &hints, &ai);
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Dwhois.c60 struct addrinfo hints; local
73 memset(&hints, 0, sizeof (hints));
74 hints.ai_socktype = SOCK_STREAM;
75 hints.ai_protocol = IPPROTO_TCP;
76 hints.ai_flags = AI_ADDRCONFIG;
77 rv = getaddrinfo(host, "whois", &hints, &ai_head);
H A Drdate.c89 struct addrinfo hints; local
98 (void) memset(&hints, 0, sizeof (hints));
99 hints.ai_protocol = IPPROTO_TCP;
116 rc = getaddrinfo(argv[1], "time", &hints, &res);
/opensolaris-onvv-gate/usr/src/cmd/lms/tools/
H A DATNetworkTool.cpp250 struct addrinfo hints, *paddr, *paddrp; local
268 memset(&hints, 0, sizeof(hints));
270 hints.ai_family = PF_UNSPEC;
272 hints.ai_family = family;
274 hints.ai_socktype = SOCK_STREAM;
275 if (0 != (error = getaddrinfo(hbuf, pbuf, &hints, &paddrp))) {
373 struct addrinfo hints, *paddr, *paddrp; local
376 memset(&hints, 0, sizeof(hints));
478 struct addrinfo hints, *paddr, *paddrp; local
588 struct addrinfo hints, *paddr, *paddrp; local
657 struct addrinfo hints, *paddr, *paddrp; local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/common/
H A Daddr_match.c101 struct addrinfo *res, hints; local
104 (void) memset(&hints, 0, sizeof (hints));
105 hints.ai_flags = AI_CANONNAME|AI_V4MAPPED|AI_ADDRCONFIG|AI_ALL;
106 hints.ai_family = fromp->ss_family;
107 if (getaddrinfo(hostname, NULL, &hints, &res) == 0) {
/opensolaris-onvv-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dhostaddr.c43 struct addrinfo hints, *ai, *aip; local
49 memset (&hints, 0, sizeof (hints));
50 hints.ai_flags = AI_NUMERICHOST;
55 hints.ai_socktype = SOCK_DGRAM;
57 r = getaddrinfo (name, 0, &hints, &ai);
59 hints.ai_flags &= ~AI_NUMERICHOST;
60 r = getaddrinfo (name, 0, &hints, &ai);
H A Dhst_realm.c170 struct addrinfo *ai, hints; local
173 memset (&hints, 0, sizeof (hints));
174 hints.ai_flags = AI_CANONNAME;
175 err = getaddrinfo (name, 0, &hints, &ai);
/opensolaris-onvv-gate/usr/src/lib/libsmbfs/smb/
H A Dgetaddr.c119 struct addrinfo hints, *res; local
153 memset(&hints, 0, sizeof (hints));
154 hints.ai_flags = AI_CANONNAME;
155 hints.ai_family = PF_UNSPEC;
156 hints.ai_socktype = SOCK_STREAM;
157 gaierr = getaddrinfo(srvaddr_str, NULL, &hints, &res);
/opensolaris-onvv-gate/usr/src/cmd/ssh/include/
H A Dfake-getaddrinfo.h42 const struct addrinfo *hints, struct addrinfo **res);
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.sbin/in.ftpd/
H A Dinet.c30 struct addrinfo hints, *result; local
34 memset(&hints, 0, sizeof(hints));
35 hints.ai_flags = AI_CANONNAME;
36 hints.ai_family = PF_UNSPEC;
38 if (getaddrinfo(hostname, NULL, &hints, &result) == 0) {
81 struct addrinfo hints, *result; local
83 memset(&hints, 0, sizeof(hints));
84 hints
[all...]
H A Ddomain.c78 struct addrinfo hints, *result, *ai; local
98 memset(&hints, 0, sizeof(hints));
99 hints.ai_family = family;
101 if (getaddrinfo(name, NULL, &hints, &result) == 0) {
/opensolaris-onvv-gate/usr/src/lib/libsocket/inet/
H A Drexec.c78 struct addrinfo hints; local
88 memset(&hints, 0, sizeof (hints));
90 hints.ai_flags = AI_CANONNAME|AI_ADDRCONFIG|AI_V4MAPPED;
91 hints.ai_socktype = SOCK_STREAM;
92 hints.ai_family = af;
93 rc = getaddrinfo(*ahost, aport, &hints, &res);
H A Dgetaddrinfo.c109 * hints - optional argument that points to an addrinfo structure
110 * to provide hints on the type of socket that the caller
112 * Possible setting of the ai_flags member of the hints structure:
183 const struct addrinfo *hints, struct addrinfo **res, int version)
218 if (hints != NULL) {
219 /* check for bad flags in hints */
220 if ((hints->ai_flags != 0) && (hints->ai_flags & ~AI_MASK)) {
225 (hints->ai_flags & AI_CANONNAME)) {
229 if (hints
182 _getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res, int version) argument
536 getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument
543 __xnet_getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument
[all...]
H A Drcmd.c107 struct addrinfo hints; local
136 memset(&hints, 0, sizeof (hints));
137 hints.ai_socktype = SOCK_STREAM;
138 hints.ai_flags = AI_CANONNAME;
140 hints.ai_flags |= AI_V4MAPPED;
141 hints.ai_family = AF_UNSPEC;
143 hints.ai_family = af;
146 rc = getaddrinfo(*ahost, aport, &hints, &res);
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/
H A Dsort.pm5 # Currently the hints for pp_sort are stored in the global variable
6 # $sort::hints. An improvement would be to store them in $^H{SORT} and have
10 our $hints = 0;
29 $hints &= ~$sort::sort_bits;
30 $hints |= $sort::quicksort_bit;
32 $hints &= ~$sort::sort_bits;
33 $hints |= $sort::mergesort_bit;
35 $hints |= $sort::stable_bit;
37 $hints = 0;
55 $hints
[all...]
H A Dsubs.pm20 Unlike pragmas that affect the C<$^H> hints variable, the C<use vars> and
/opensolaris-onvv-gate/usr/src/cmd/ssh/libopenbsd-compat/common/
H A Dfake-getaddrinfo.c68 const struct addrinfo *hints, struct addrinfo **res)
80 if (hints && hints->ai_flags & AI_PASSIVE) {
67 getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument
/opensolaris-onvv-gate/usr/src/uts/intel/sys/
H A Dcpu.h60 uint32_t hints);
/opensolaris-onvv-gate/usr/src/cmd/ssh/ssh-http-proxy-connect/
H A Dssh-http-proxy-connect.c105 struct addrinfo hints, *ai; local
188 bzero(&hints, sizeof (struct addrinfo));
189 hints.ai_family = PF_UNSPEC;
190 hints.ai_socktype = SOCK_STREAM;
192 if ((err_code = getaddrinfo(httpproxy, httpproxyport, &hints, &ai))
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/ExtUtils/t/
H A Dhints.t22 mkdir('hints', 0777);
23 my $hint_file = File::Spec->catfile('hints', "$^O.pl");
24 open(HINT, ">$hint_file") || die "Can't write dummy hints file $hint_file: $!";
37 is( $out->read, "Processing hints file $hint_file\n" );
39 open(HINT, ">$hint_file") || die "Can't write dummy hints file $hint_file: $!";
47 Processing hints file $hint_file
53 rmtree ['hints'];
/opensolaris-onvv-gate/usr/src/cmd/ssh/libssh/common/
H A Dcanohost.c43 struct addrinfo hints, *ai, *aitop; local
100 memset(&hints, 0, sizeof(hints));
101 hints.ai_family = from.ss_family;
102 hints.ai_socktype = SOCK_STREAM;
103 if (getaddrinfo(name, NULL, &hints, &aitop) != 0) {
H A Daddrmatch.c209 struct addrinfo hints, *ai; local
211 memset(&hints, '\0', sizeof(hints));
212 hints.ai_flags = AI_NUMERICHOST;
214 if (p == NULL || getaddrinfo(p, NULL, &hints, &ai) != 0)
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.bin/nc/
H A Dsocks.c77 struct addrinfo hints, *res; local
79 bzero(&hints, sizeof (hints));
80 hints.ai_family = v4only ? PF_INET : PF_UNSPEC;
81 hints.ai_flags = numeric ? AI_NUMERICHOST : 0;
82 hints.ai_socktype = SOCK_STREAM;
83 r = getaddrinfo(h, p, &hints, &res);
H A Dnetcat.c134 struct addrinfo hints; local
284 (void) memset(&hints, 0, sizeof (struct addrinfo));
285 hints.ai_family = family;
286 hints.ai_socktype = uflag ? SOCK_DGRAM : SOCK_STREAM;
287 hints.ai_protocol = uflag ? IPPROTO_UDP : IPPROTO_TCP;
289 hints.ai_flags |= AI_NUMERICHOST;
338 s = local_listen(host, uport, hints);
416 s = remote_connect(host, port, hints);
548 remote_connect(const char *host, const char *port, struct addrinfo hints) argument
553 if ((error = getaddrinfo(host, port, &hints,
619 local_listen(char *host, char *port, struct addrinfo hints) argument
[all...]
/opensolaris-onvv-gate/usr/src/cmd/ssh/ssh-socks5-proxy-connect/
H A Dssh-socks5-proxy-connect.c249 struct addrinfo hints, *ai; local
311 bzero(&hints, sizeof (struct addrinfo));
312 hints.ai_family = PF_UNSPEC;
313 hints.ai_socktype = SOCK_STREAM;
315 if ((err_code = getaddrinfo(socks_server, socks_port, &hints, &ai))

Completed in 243 milliseconds

123