hints             114 lib/replace/getaddrinfo.c static struct addrinfo *alloc_entry(const struct addrinfo *hints,
hints             140 lib/replace/getaddrinfo.c 	ai->ai_socktype = hints->ai_socktype;
hints             141 lib/replace/getaddrinfo.c 	ai->ai_protocol = hints->ai_protocol;
hints             158 lib/replace/getaddrinfo.c 				const struct addrinfo *hints,
hints             171 lib/replace/getaddrinfo.c 	ai = alloc_entry(hints, ip, port);
hints             178 lib/replace/getaddrinfo.c 	if (!(hints->ai_flags & AI_NUMERICSERV) &&
hints             179 lib/replace/getaddrinfo.c 			hints->ai_flags & AI_CANONNAME) {
hints             205 lib/replace/getaddrinfo.c 				const struct addrinfo *hints,
hints             226 lib/replace/getaddrinfo.c 		struct addrinfo *ai = alloc_entry(hints, ip, port);
hints             261 lib/replace/getaddrinfo.c 	struct addrinfo hints;
hints             265 lib/replace/getaddrinfo.c 		memset(&hints, 0, sizeof(hints));
hints             266 lib/replace/getaddrinfo.c 		hints.ai_family = AF_INET;
hints             267 lib/replace/getaddrinfo.c 		hints.ai_socktype = SOCK_STREAM;
hints             269 lib/replace/getaddrinfo.c 		memcpy(&hints, hintp, sizeof(hints));
hints             272 lib/replace/getaddrinfo.c 	if (hints.ai_family != AF_INET && hints.ai_family != AF_UNSPEC) {
hints             276 lib/replace/getaddrinfo.c 	if (hints.ai_socktype == 0) {
hints             277 lib/replace/getaddrinfo.c 		hints.ai_socktype = SOCK_STREAM;
hints             288 lib/replace/getaddrinfo.c 					&hints,
hints             290 lib/replace/getaddrinfo.c 		} else if (hints.ai_flags & AI_NUMERICHOST) {
hints             297 lib/replace/getaddrinfo.c 					&hints,
hints             302 lib/replace/getaddrinfo.c 						&hints,
hints             305 lib/replace/getaddrinfo.c 	} else if (hints.ai_flags & AI_PASSIVE) {
hints             308 lib/replace/getaddrinfo.c 					&hints,
hints             313 lib/replace/getaddrinfo.c 					&hints,
hints              83 lib/replace/getaddrinfo.h 			const struct addrinfo * hints, struct addrinfo ** res);
hints              38 lib/util/util_net.c 	struct addrinfo hints;
hints              40 lib/util/util_net.c 	memset(&hints, '\0', sizeof(hints));
hints              42 lib/util/util_net.c 	hints.ai_socktype = SOCK_STREAM;
hints              43 lib/util/util_net.c 	hints.ai_flags = flags;
hints              49 lib/util/util_net.c 			&hints,
hints             415 source3/client/cifs.upcall.c 	struct addrinfo hints = { .ai_flags = AI_NUMERICHOST };
hints             425 source3/client/cifs.upcall.c 	rc = getaddrinfo(ipaddr, NULL, &hints, &res);
hints            1290 source3/libsmb/namequery.c 	struct addrinfo hints;
hints            1309 source3/libsmb/namequery.c 	ZERO_STRUCT(hints);
hints            1311 source3/libsmb/namequery.c 	hints.ai_socktype = SOCK_STREAM;
hints            1312 source3/libsmb/namequery.c 	hints.ai_flags = AI_ADDRCONFIG;
hints            1316 source3/libsmb/namequery.c 	hints.ai_family = AF_INET;
hints            1321 source3/libsmb/namequery.c 			&hints,
hints              53 source3/modules/vfs_smb_traffic_analyzer.c 	struct addrinfo hints;
hints              58 source3/modules/vfs_smb_traffic_analyzer.c 	ZERO_STRUCT(hints);
hints              60 source3/modules/vfs_smb_traffic_analyzer.c 	hints.ai_socktype = SOCK_STREAM;
hints              61 source3/modules/vfs_smb_traffic_analyzer.c 	hints.ai_flags = AI_ADDRCONFIG;
hints              65 source3/modules/vfs_smb_traffic_analyzer.c 			&hints,
hints             278 source3/utils/net_lookup.c 	struct addrinfo hints;
hints             309 source3/utils/net_lookup.c 	ZERO_STRUCT(hints);
hints             315 source3/utils/net_lookup.c 	hints.ai_flags = AI_ADDRCONFIG;
hints             316 source3/utils/net_lookup.c 	hints.ai_socktype = SOCK_DGRAM;
hints             325 source3/utils/net_lookup.c 				  NULL, &hints, &out);
hints              63 source4/heimdal/lib/krb5/expand_hostname.c     struct addrinfo *ai, *a, hints;
hints              69 source4/heimdal/lib/krb5/expand_hostname.c     memset (&hints, 0, sizeof(hints));
hints              70 source4/heimdal/lib/krb5/expand_hostname.c     hints.ai_flags = AI_CANONNAME;
hints              72 source4/heimdal/lib/krb5/expand_hostname.c     error = getaddrinfo (orig_hostname, NULL, &hints, &ai);
hints             128 source4/heimdal/lib/krb5/expand_hostname.c     struct addrinfo *ai, *a, hints;
hints             136 source4/heimdal/lib/krb5/expand_hostname.c     memset (&hints, 0, sizeof(hints));
hints             137 source4/heimdal/lib/krb5/expand_hostname.c     hints.ai_flags = AI_CANONNAME;
hints             139 source4/heimdal/lib/krb5/expand_hostname.c     error = getaddrinfo (orig_hostname, NULL, &hints, &ai);
hints             324 source4/heimdal/lib/krb5/krbhst.c make_hints(struct addrinfo *hints, int proto)
hints             326 source4/heimdal/lib/krb5/krbhst.c     memset(hints, 0, sizeof(*hints));
hints             327 source4/heimdal/lib/krb5/krbhst.c     hints->ai_family = AF_UNSPEC;
hints             330 source4/heimdal/lib/krb5/krbhst.c 	hints->ai_socktype = SOCK_DGRAM;
hints             334 source4/heimdal/lib/krb5/krbhst.c 	hints->ai_socktype = SOCK_STREAM;
hints             348 source4/heimdal/lib/krb5/krbhst.c     struct addrinfo hints;
hints             353 source4/heimdal/lib/krb5/krbhst.c 	make_hints(&hints, host->proto);
hints             355 source4/heimdal/lib/krb5/krbhst.c 	ret = getaddrinfo(host->hostname, portstr, &hints, &host->ai);
hints             428 source4/heimdal/lib/krb5/krbhst.c     struct addrinfo hints;
hints             449 source4/heimdal/lib/krb5/krbhst.c     make_hints(&hints, proto);
hints             451 source4/heimdal/lib/krb5/krbhst.c     ret = getaddrinfo(host, portstr, &hints, &ai);
hints             488 source4/heimdal/lib/krb5/krbhst.c     struct addrinfo hints, *ai;
hints             500 source4/heimdal/lib/krb5/krbhst.c     make_hints(&hints, krbhst_get_default_proto(kd));
hints             501 source4/heimdal/lib/krb5/krbhst.c     ret = getaddrinfo(host, port, &hints, &ai);
hints             961 source4/heimdal/lib/krb5/principal.c 	struct addrinfo hints, *ai;
hints             963 source4/heimdal/lib/krb5/principal.c 	memset (&hints, 0, sizeof(hints));
hints             964 source4/heimdal/lib/krb5/principal.c 	hints.ai_flags = AI_CANONNAME;
hints             965 source4/heimdal/lib/krb5/principal.c 	ret = getaddrinfo(instance, NULL, &hints, &ai);
hints             266 source4/heimdal/lib/krb5/send_to_kdc.c     struct addrinfo hints;
hints             280 source4/heimdal/lib/krb5/send_to_kdc.c     memset (&hints, 0, sizeof(hints));
hints             281 source4/heimdal/lib/krb5/send_to_kdc.c     hints.ai_family   = PF_UNSPEC;
hints             282 source4/heimdal/lib/krb5/send_to_kdc.c     hints.ai_socktype = SOCK_STREAM;
hints             285 source4/heimdal/lib/krb5/send_to_kdc.c     ret = getaddrinfo (proxy, portstr, &hints, &ai);
hints              47 source4/heimdal/lib/roken/getaddrinfo.c 			    const struct addrinfo *hints,
hints              57 source4/heimdal/lib/roken/getaddrinfo.c     if (hints != NULL && hints->ai_protocol != 0) {
hints              58 source4/heimdal/lib/roken/getaddrinfo.c 	struct protoent *protoent = getprotobynumber (hints->ai_protocol);
hints              67 source4/heimdal/lib/roken/getaddrinfo.c     if (hints != NULL)
hints              68 source4/heimdal/lib/roken/getaddrinfo.c 	*socktype = hints->ai_socktype;
hints             183 source4/heimdal/lib/roken/getaddrinfo.c get_null (const struct addrinfo *hints,
hints             196 source4/heimdal/lib/roken/getaddrinfo.c     if (hints != NULL)
hints             197 source4/heimdal/lib/roken/getaddrinfo.c 	family = hints->ai_family;
hints             199 source4/heimdal/lib/roken/getaddrinfo.c     if (hints && hints->ai_flags & AI_PASSIVE) {
hints             275 source4/heimdal/lib/roken/getaddrinfo.c 	    const struct addrinfo *hints,
hints             284 source4/heimdal/lib/roken/getaddrinfo.c     if (hints != NULL) {
hints             285 source4/heimdal/lib/roken/getaddrinfo.c 	family = hints->ai_family;
hints             315 source4/heimdal/lib/roken/getaddrinfo.c 	   const struct addrinfo *hints,
hints             326 source4/heimdal/lib/roken/getaddrinfo.c     if (hints != NULL) {
hints             327 source4/heimdal/lib/roken/getaddrinfo.c 	family = hints->ai_family;
hints             328 source4/heimdal/lib/roken/getaddrinfo.c 	flags  = hints->ai_flags;
hints             374 source4/heimdal/lib/roken/getaddrinfo.c 	    const struct addrinfo *hints,
hints             387 source4/heimdal/lib/roken/getaddrinfo.c     if (hints != NULL
hints             388 source4/heimdal/lib/roken/getaddrinfo.c 	&& hints->ai_family != PF_UNSPEC
hints             389 source4/heimdal/lib/roken/getaddrinfo.c 	&& hints->ai_family != PF_INET
hints             391 source4/heimdal/lib/roken/getaddrinfo.c 	&& hints->ai_family != PF_INET6
hints             397 source4/heimdal/lib/roken/getaddrinfo.c 	ret = get_port_protocol_socktype (servname, hints,
hints             403 source4/heimdal/lib/roken/getaddrinfo.c 	ret = get_number (nodename, hints, port, protocol, socktype, res);
hints             405 source4/heimdal/lib/roken/getaddrinfo.c 	    if(hints && hints->ai_flags & AI_NUMERICHOST)
hints             408 source4/heimdal/lib/roken/getaddrinfo.c 		ret = get_nodes (nodename, hints, port, protocol, socktype,
hints             412 source4/heimdal/lib/roken/getaddrinfo.c 	ret = get_null (hints, port, protocol, socktype, res);
hints             274 source4/libcli/resolve/dns_ex.c 	struct addrinfo hints;
hints             280 source4/libcli/resolve/dns_ex.c 	ZERO_STRUCT(hints);
hints             281 source4/libcli/resolve/dns_ex.c 	hints.ai_socktype = SOCK_STREAM;
hints             282 source4/libcli/resolve/dns_ex.c 	hints.ai_family = AF_INET;/* TODO: add AF_INET6 support */
hints             283 source4/libcli/resolve/dns_ex.c 	hints.ai_flags = AI_ADDRCONFIG | AI_NUMERICSERV;
hints             285 source4/libcli/resolve/dns_ex.c 	ret = getaddrinfo(state->name.name, "0", &hints, &res_list);