Searched defs:hints (Results 1 - 20 of 20) sorted by relevance

/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dhostaddr.c41 struct addrinfo hints, *ai, *aip; local
46 memset (&hints, 0, sizeof (hints));
47 hints.ai_flags = AI_NUMERICHOST;
52 hints.ai_socktype = SOCK_DGRAM;
54 r = getaddrinfo (name, 0, &hints, &ai);
56 hints.ai_flags &= ~AI_NUMERICHOST;
57 r = getaddrinfo (name, 0, &hints, &ai);
H A Dhst_realm.c105 struct addrinfo *ai, hints; local
108 memset (&hints, 0, sizeof (hints));
109 hints.ai_flags = AI_CANONNAME;
110 err = getaddrinfo (name, 0, &hints, &ai);
/osnet-11/usr/src/lib/libsocket/inet/
H A Drexec.c70 struct addrinfo hints; local
80 (void) memset(&hints, 0, sizeof (hints));
82 hints.ai_flags = AI_CANONNAME|AI_ADDRCONFIG|AI_V4MAPPED;
83 hints.ai_socktype = SOCK_STREAM;
84 hints.ai_family = af;
85 rc = getaddrinfo(*ahost, aport, &hints, &res);
H A Dgetaddrinfo.c106 * hints - optional argument that points to an addrinfo structure
107 * to provide hints on the type of socket that the caller
109 * Possible setting of the ai_flags member of the hints structure:
180 const struct addrinfo *hints, struct addrinfo **res, int version)
215 if (hints != NULL) {
216 /* check for bad flags in hints */
217 if ((hints->ai_flags != 0) && (hints->ai_flags & ~AI_MASK)) {
222 (hints->ai_flags & AI_CANONNAME)) {
226 if (hints
179 _getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res, int version) argument
541 getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument
548 __xnet_getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument
[all...]
H A Drcmd.c105 struct addrinfo hints; local
134 (void) memset(&hints, 0, sizeof (hints));
135 hints.ai_socktype = SOCK_STREAM;
136 hints.ai_flags = AI_CANONNAME;
138 hints.ai_flags |= AI_V4MAPPED;
139 hints.ai_family = AF_UNSPEC;
141 hints.ai_family = af;
144 rc = getaddrinfo(*ahost, aport, &hints, &res);
/osnet-11/usr/src/grub/grub2/grub-core/commands/
H A Dsearch_wrap.c84 char **hints = NULL; local
118 hints = grub_malloc (sizeof (hints[0]) * nhints);
119 if (!hints)
125 hints[j++] = state[SEARCH_HINT].args[i];
130 hints[j++] = state[SEARCH_HINT_IEEE1275].args[i];
136 hints[j++] = state[SEARCH_HINT_EFI].args[i];
142 hints[j++] = state[SEARCH_HINT_ARC].args[i];
148 hints[j++] = state[SEARCH_HINT_BIOS].args[i];
153 hints[
[all...]
H A Dsearch.c48 char **hints, unsigned nhints)
223 if (!hints[i][0])
225 end = hints[i] + grub_strlen (hints[i]) - 1;
228 if (iterate_device (hints[i]))
238 dev = grub_device_open (hints[i]);
47 FUNC_NAME(const char *key, const char *var, int no_floppy, char **hints, unsigned nhints) argument
/osnet-11/usr/src/lib/libdladm/common/
H A Dlibdliptun.c89 struct addrinfo *ai, hints; local
116 (void) memset(&hints, 0, sizeof (hints));
120 hints.ai_family = AF_INET;
123 hints.ai_family = AF_INET6;
129 if (getaddrinfo(params->iptun_param_laddr, NULL, &hints, &ai) !=
143 if (getaddrinfo(params->iptun_param_raddr, NULL, &hints, &ai) !=
/osnet-11/usr/src/lib/libresolv2/common/resolv/
H A Dres_init.c490 struct addrinfo hints, *ai; local
500 memset(&hints, 0, sizeof(hints));
501 hints.ai_family = PF_UNSPEC;
502 hints.ai_socktype = SOCK_DGRAM; /*dummy*/
503 hints.ai_flags = AI_NUMERICHOST;
505 if (getaddrinfo(cp, sbuf, &hints, &ai) == 0 &&
/osnet-11/usr/src/lib/libsuri/common/
H A Dsuri_aux.c158 * description string. This way the caller hints at that the dev path is going
723 struct addrinfo hints; local
742 (void) memset(&hints, 0, sizeof (hints));
743 hints.ai_family = AF_UNSPEC;
744 hints.ai_socktype = SOCK_STREAM;
746 if ((err = getaddrinfo(s, NULL, &hints, res)) != 0) {
H A Dsuri_iscsi.c561 struct addrinfo *resolved, hints = {NULL}; local
614 hints.ai_family = AF_UNSPEC;
615 hints.ai_socktype = SOCK_STREAM;
616 if ((err = getaddrinfo(saddr, NULL, &hints, &resolved)) != 0) {
/osnet-11/usr/src/lib/libsmbfs/common/
H A Dsmbfs_ctx.c697 struct addrinfo hints, *res; local
731 (void) memset(&hints, 0, sizeof (hints));
732 hints.ai_flags = AI_CANONNAME;
733 hints.ai_family = PF_UNSPEC;
734 hints.ai_socktype = SOCK_STREAM;
735 gaierr = getaddrinfo(srvaddr_str, NULL, &hints, &res);
/osnet-11/usr/src/lib/libsasl/plugin/
H A Dplugin_common.c132 struct addrinfo hints, *ai = NULL; local
204 memset(&hints, 0, sizeof(hints));
205 hints.ai_family = PF_UNSPEC;
206 hints.ai_socktype = SOCK_STREAM;
207 hints.ai_flags = AI_PASSIVE | AI_NUMERICHOST;
210 if (getaddrinfo(hbuf, p, &hints, &ai) != 0) {
212 if (getaddrinfo(hbuf, &addr[i], &hints, &ai) != 0) {
/osnet-11/usr/src/lib/libsmbns/common/
H A Dsmbns_dyndns.c1145 struct addrinfo hints, *res = NULL; local
1162 bzero((char *)&hints, sizeof (hints));
1163 hints.ai_family = family;
1164 hints.ai_flags = AI_NUMERICHOST;
1165 if (getaddrinfo(hostname, NULL, &hints, &res)) {
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dfake-addrinfo.c424 " hints { ",
706 getaddrinfo would heed the hints to only give us stream
1369 const struct addrinfo *hints,
1372 return getaddrinfo(node, service, hints, aip);
1368 krb5int_getaddrinfo(const char *node, const char *service, const struct addrinfo *hints, struct addrinfo **aip) argument
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dpp_sort.c39 (((hintsv) = GvSV(gv_fetchpv("sort::hints", GV_ADDMULTI, SVt_IV))), \
1394 I32 hints; local
1401 hints = SORTHINTS(hintsv);
1402 if (hints & HINT_SORT_QUICKSORT) {
/osnet-11/usr/src/lib/libsasl/lib/
H A Dcommon.c2321 struct addrinfo hints, *ai = NULL; local
2396 memset(&hints, 0, sizeof(hints));
2397 hints.ai_family = PF_UNSPEC;
2398 hints.ai_socktype = SOCK_STREAM;
2400 hints.ai_flags = addr_only ? AI_PASSIVE | AI_NUMERICHOST : AI_PASSIVE;
2401 if (getaddrinfo(hbuf, p, &hints, &ai) != 0)
2403 hints.ai_flags = AI_PASSIVE | AI_NUMERICHOST;
2404 if (getaddrinfo(hbuf, &addr[i], &hints, &ai) != 0)
/osnet-11/usr/src/lib/libinetsvc/common/
H A Dinetsvc.c532 struct addrinfo hints, *res; local
537 (void) memset(&hints, 0, sizeof (hints));
538 hints.ai_flags = AI_DEFAULT;
539 hints.ai_socktype = SOCK_STREAM;
540 hints.ai_family = ss->ss_family;
541 if (getaddrinfo(bind_addr, "", &hints, &res) != 0) {
/osnet-11/usr/src/lib/libipadm/common/
H A Dipadm_addr.c1993 struct addrinfo hints, *ai; local
1996 (void) memset(&hints, 0, sizeof (hints));
1997 hints.ai_family = af;
1998 if ((rc = getaddrinfo(name, NULL, &hints, &ai)) != 0)
/osnet-11/usr/src/lib/libzonecfg/common/
H A Dlibzonecfg.c2557 struct addrinfo hints, *result; local
2574 (void) memset(&hints, 0, sizeof (hints));
2575 hints.ai_family = PF_INET;
2576 if (getaddrinfo(address, NULL, &hints, &result) != 0) {

Completed in 1248 milliseconds