Home
last modified time | relevance | path

Searched refs:hints (Results 1 – 25 of 93) sorted by relevance

1234

/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/
H A Dsort.pm10 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 &= ~$sort::sort_bits;
57 $hints &= ~$sort::sort_bits;
59 $hints &= ~$sort::stable_bit;
[all …]
/onnv-gate/usr/src/cmd/lms/tools/
H A DATNetworkTool.cpp250 struct addrinfo hints, *paddr, *paddrp; in GetSockPeerIPs() local
268 memset(&hints, 0, sizeof(hints)); in GetSockPeerIPs()
270 hints.ai_family = PF_UNSPEC; in GetSockPeerIPs()
272 hints.ai_family = family; in GetSockPeerIPs()
274 hints.ai_socktype = SOCK_STREAM; in GetSockPeerIPs()
275 if (0 != (error = getaddrinfo(hbuf, pbuf, &hints, &paddrp))) { in GetSockPeerIPs()
373 struct addrinfo hints, *paddr, *paddrp; in ConnectSocket() local
376 memset(&hints, 0, sizeof(hints)); in ConnectSocket()
378 hints.ai_family = PF_UNSPEC; in ConnectSocket()
380 hints.ai_family = family; in ConnectSocket()
[all …]
/onnv-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Dwhois.c60 struct addrinfo hints; in main() local
73 memset(&hints, 0, sizeof (hints)); in main()
74 hints.ai_socktype = SOCK_STREAM; in main()
75 hints.ai_protocol = IPPROTO_TCP; in main()
76 hints.ai_flags = AI_ADDRCONFIG; in main()
77 rv = getaddrinfo(host, "whois", &hints, &ai_head); in main()
H A Drdate.c89 struct addrinfo hints; in main() local
98 (void) memset(&hints, 0, sizeof (hints)); in main()
99 hints.ai_protocol = IPPROTO_TCP; in main()
116 rc = getaddrinfo(argv[1], "time", &hints, &res); in main()
/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/in.ftpd/
H A Dinet.c30 struct addrinfo hints, *result; in inet_htop() local
34 memset(&hints, 0, sizeof(hints)); in inet_htop()
35 hints.ai_flags = AI_CANONNAME; in inet_htop()
36 hints.ai_family = PF_UNSPEC; in inet_htop()
38 if (getaddrinfo(hostname, NULL, &hints, &result) == 0) { in inet_htop()
81 struct addrinfo hints, *result; in wu_gethostbyname() local
83 memset(&hints, 0, sizeof(hints)); in wu_gethostbyname()
84 hints.ai_flags = AI_CANONNAME; in wu_gethostbyname()
85 hints.ai_family = PF_UNSPEC; in wu_gethostbyname()
87 if (getaddrinfo(hostname, NULL, &hints, &result) == 0) { in wu_gethostbyname()
H A Ddomain.c78 struct addrinfo hints, *result, *ai; in check_name_for_ip() local
98 memset(&hints, 0, sizeof(hints)); in check_name_for_ip()
99 hints.ai_family = family; in check_name_for_ip()
101 if (getaddrinfo(name, NULL, &hints, &result) == 0) { in check_name_for_ip()
/onnv-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dhostaddr.c43 struct addrinfo hints, *ai, *aip; in krb5_os_hostaddr() local
49 memset (&hints, 0, sizeof (hints)); in krb5_os_hostaddr()
50 hints.ai_flags = AI_NUMERICHOST; in krb5_os_hostaddr()
55 hints.ai_socktype = SOCK_DGRAM; in krb5_os_hostaddr()
57 r = getaddrinfo (name, 0, &hints, &ai); in krb5_os_hostaddr()
59 hints.ai_flags &= ~AI_NUMERICHOST; in krb5_os_hostaddr()
60 r = getaddrinfo (name, 0, &hints, &ai); in krb5_os_hostaddr()
H A Dhst_realm.c170 struct addrinfo *ai, hints; in krb5int_get_fq_hostname() local
173 memset (&hints, 0, sizeof (hints)); in krb5int_get_fq_hostname()
174 hints.ai_flags = AI_CANONNAME; in krb5int_get_fq_hostname()
175 err = getaddrinfo (name, 0, &hints, &ai); in krb5int_get_fq_hostname()
/onnv-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);
/onnv-gate/usr/src/lib/libsmbfs/smb/
H A Dgetaddr.c119 struct addrinfo hints, *res; in smb_ctx_getaddr() local
153 memset(&hints, 0, sizeof (hints)); in smb_ctx_getaddr()
154 hints.ai_flags = AI_CANONNAME; in smb_ctx_getaddr()
155 hints.ai_family = PF_UNSPEC; in smb_ctx_getaddr()
156 hints.ai_socktype = SOCK_STREAM; in smb_ctx_getaddr()
157 gaierr = getaddrinfo(srvaddr_str, NULL, &hints, &res); in smb_ctx_getaddr()
/onnv-gate/usr/src/cmd/cmd-inet/common/
H A Daddr_match.c101 struct addrinfo *res, hints; in check_address() local
104 (void) memset(&hints, 0, sizeof (hints)); in check_address()
105 hints.ai_flags = AI_CANONNAME|AI_V4MAPPED|AI_ADDRCONFIG|AI_ALL; in check_address()
106 hints.ai_family = fromp->ss_family; in check_address()
107 if (getaddrinfo(hostname, NULL, &hints, &res) == 0) { in check_address()
/onnv-gate/usr/src/lib/libsocket/inet/
H A Drexec.c78 struct addrinfo hints; in rexec_af() local
88 memset(&hints, 0, sizeof (hints)); in rexec_af()
90 hints.ai_flags = AI_CANONNAME|AI_ADDRCONFIG|AI_V4MAPPED; in rexec_af()
91 hints.ai_socktype = SOCK_STREAM; in rexec_af()
92 hints.ai_family = af; in rexec_af()
93 rc = getaddrinfo(*ahost, aport, &hints, &res); in rexec_af()
H A Dgetaddrinfo.c183 const struct addrinfo *hints, struct addrinfo **res, int version) in _getaddrinfo() argument
218 if (hints != NULL) { in _getaddrinfo()
220 if ((hints->ai_flags != 0) && (hints->ai_flags & ~AI_MASK)) { in _getaddrinfo()
225 (hints->ai_flags & AI_CANONNAME)) { in _getaddrinfo()
229 if (hints->ai_family != PF_UNSPEC && in _getaddrinfo()
230 hints->ai_family != PF_INET && in _getaddrinfo()
231 hints->ai_family != PF_INET6) { in _getaddrinfo()
236 (void) memcpy(aip, hints, sizeof (*aip)); in _getaddrinfo()
537 const struct addrinfo *hints, struct addrinfo **res) in getaddrinfo() argument
539 return (_getaddrinfo(hostname, servname, hints, res, GAIV_DEFAULT)); in getaddrinfo()
[all …]
H A Drcmd.c107 struct addrinfo hints; in rcmd_af() local
136 memset(&hints, 0, sizeof (hints)); in rcmd_af()
137 hints.ai_socktype = SOCK_STREAM; in rcmd_af()
138 hints.ai_flags = AI_CANONNAME; in rcmd_af()
140 hints.ai_flags |= AI_V4MAPPED; in rcmd_af()
141 hints.ai_family = AF_UNSPEC; in rcmd_af()
143 hints.ai_family = af; in rcmd_af()
146 rc = getaddrinfo(*ahost, aport, &hints, &res); in rcmd_af()
/onnv-gate/usr/src/cmd/ssh/ssh-http-proxy-connect/
H A Dssh-http-proxy-connect.c105 struct addrinfo hints, *ai; in main() local
188 bzero(&hints, sizeof (struct addrinfo)); in main()
189 hints.ai_family = PF_UNSPEC; in main()
190 hints.ai_socktype = SOCK_STREAM; in main()
192 if ((err_code = getaddrinfo(httpproxy, httpproxyport, &hints, &ai)) in main()
/onnv-gate/usr/src/cmd/cmd-inet/usr.bin/nc/
H A Dnetcat.c134 struct addrinfo hints; in main() local
284 (void) memset(&hints, 0, sizeof (struct addrinfo)); in main()
285 hints.ai_family = family; in main()
286 hints.ai_socktype = uflag ? SOCK_DGRAM : SOCK_STREAM; in main()
287 hints.ai_protocol = uflag ? IPPROTO_UDP : IPPROTO_TCP; in main()
289 hints.ai_flags |= AI_NUMERICHOST; in main()
338 s = local_listen(host, uport, hints); in main()
416 s = remote_connect(host, port, hints); in main()
548 remote_connect(const char *host, const char *port, struct addrinfo hints) in remote_connect() argument
553 if ((error = getaddrinfo(host, port, &hints, &res))) in remote_connect()
[all …]
H A Dsocks.c77 struct addrinfo hints, *res; in decode_addrport() local
79 bzero(&hints, sizeof (hints)); in decode_addrport()
80 hints.ai_family = v4only ? PF_INET : PF_UNSPEC; in decode_addrport()
81 hints.ai_flags = numeric ? AI_NUMERICHOST : 0; in decode_addrport()
82 hints.ai_socktype = SOCK_STREAM; in decode_addrport()
83 r = getaddrinfo(h, p, &hints, &res); in decode_addrport()
/onnv-gate/usr/src/cmd/ssh/libssh/common/
H A Dcanohost.c43 struct addrinfo hints, *ai, *aitop; in get_remote_hostname() local
100 memset(&hints, 0, sizeof(hints)); in get_remote_hostname()
101 hints.ai_family = from.ss_family; in get_remote_hostname()
102 hints.ai_socktype = SOCK_STREAM; in get_remote_hostname()
103 if (getaddrinfo(name, NULL, &hints, &aitop) != 0) { in get_remote_hostname()
H A Daddrmatch.c209 struct addrinfo hints, *ai; in addr_pton() local
211 memset(&hints, '\0', sizeof(hints)); in addr_pton()
212 hints.ai_flags = AI_NUMERICHOST; in addr_pton()
214 if (p == NULL || getaddrinfo(p, NULL, &hints, &ai) != 0) in addr_pton()
/onnv-gate/usr/src/cmd/ssh/ssh-socks5-proxy-connect/
H A Dssh-socks5-proxy-connect.c249 struct addrinfo hints, *ai; in main() local
311 bzero(&hints, sizeof (struct addrinfo)); in main()
312 hints.ai_family = PF_UNSPEC; in main()
313 hints.ai_socktype = SOCK_STREAM; in main()
315 if ((err_code = getaddrinfo(socks_server, socks_port, &hints, &ai)) in main()
/onnv-gate/usr/src/cmd/ssh/ssh/
H A Dsshconnect.c183 struct addrinfo hints, *res; in ssh_create_socket() local
208 memset(&hints, 0, sizeof(hints)); in ssh_create_socket()
209 hints.ai_family = family; in ssh_create_socket()
210 hints.ai_socktype = SOCK_STREAM; in ssh_create_socket()
211 hints.ai_flags = AI_PASSIVE; in ssh_create_socket()
212 gaierr = getaddrinfo(options.bind_address, "0", &hints, &res); in ssh_create_socket()
325 struct addrinfo hints, *ai, *aitop; in ssh_connect() local
350 memset(&hints, 0, sizeof(hints)); in ssh_connect()
351 hints.ai_family = family; in ssh_connect()
352 hints.ai_socktype = SOCK_STREAM; in ssh_connect()
[all …]
/onnv-gate/usr/src/cmd/ssh/libopenbsd-compat/common/
H A Dfake-getaddrinfo.c68 const struct addrinfo *hints, struct addrinfo **res) in getaddrinfo() argument
80 if (hints && hints->ai_flags & AI_PASSIVE) { in getaddrinfo()
/onnv-gate/usr/src/cmd/vntsd/
H A Dvntsd.c279 struct addrinfo hints; in get_listen_ip_addr() local
293 bzero(&hints, sizeof (hints)); in get_listen_ip_addr()
294 hints.ai_family = PF_INET; in get_listen_ip_addr()
295 hints.ai_socktype = SOCK_STREAM; in get_listen_ip_addr()
297 err = getaddrinfo(host_name, NULL, &hints, &res); in get_listen_ip_addr()
/onnv-gate/usr/src/cmd/avs/dsstat/
H A Dsdbc_stats.c306 uint32_t hints; in sdbc_report() local
314 hints = *nhint; in sdbc_report()
315 hints &= (NSC_FORCED_WRTHRU | NSC_NO_FORCED_WRTHRU | in sdbc_report()
317 hints |= *dhint; in sdbc_report()
319 if (hints & NSC_NOCACHE) in sdbc_report()
324 if ((hints & NSC_FORCED_WRTHRU) || (hints & NSC_WRTHRU)) in sdbc_report()
/onnv-gate/usr/src/lib/libdladm/common/
H A Dlibdliptun.c89 struct addrinfo *ai, hints; in i_iptun_kparams() local
116 (void) memset(&hints, 0, sizeof (hints)); in i_iptun_kparams()
120 hints.ai_family = AF_INET; in i_iptun_kparams()
123 hints.ai_family = AF_INET6; in i_iptun_kparams()
129 if (getaddrinfo(params->iptun_param_laddr, NULL, &hints, &ai) != in i_iptun_kparams()
143 if (getaddrinfo(params->iptun_param_raddr, NULL, &hints, &ai) != in i_iptun_kparams()

1234