/opensolaris-onvv-gate/usr/src/cmd/ipf/lib/common/ |
H A D | gethost.c | 19 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 D | whois.c | 60 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 D | rdate.c | 89 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 D | ATNetworkTool.cpp | 250 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 D | addr_match.c | 101 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 D | hostaddr.c | 43 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 D | hst_realm.c | 170 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 D | getaddr.c | 119 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 D | fake-getaddrinfo.h | 42 const struct addrinfo *hints, struct addrinfo **res);
|
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.sbin/in.ftpd/ |
H A D | inet.c | 30 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 D | domain.c | 78 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 D | rexec.c | 78 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 D | getaddrinfo.c | 109 * 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 D | rcmd.c | 107 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 D | sort.pm | 5 # 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 D | subs.pm | 20 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 D | fake-getaddrinfo.c | 68 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 D | cpu.h | 60 uint32_t hints);
|
/opensolaris-onvv-gate/usr/src/cmd/ssh/ssh-http-proxy-connect/ |
H A D | ssh-http-proxy-connect.c | 105 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 D | hints.t | 22 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 D | canohost.c | 43 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 D | addrmatch.c | 209 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 D | socks.c | 77 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 D | netcat.c | 134 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 D | ssh-socks5-proxy-connect.c | 249 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))
|