Searched defs:addrinfo (Results 1 - 21 of 21) sorted by relevance

/freebsd-head/contrib/bsnmp/lib/
H A Dsupport.h53 struct addrinfo { struct
60 struct addrinfo *ai_next;
64 int getaddrinfo(const char *, const char *, const struct addrinfo *,
65 struct addrinfo **);
67 void freeaddrinfo(struct addrinfo *);
/freebsd-head/contrib/unbound/respip/
H A Drespip.h63 struct respip_addr_info* addrinfo; /* set only for inform variants */ member in struct:respip_action_info
/freebsd-head/usr.bin/getaddrinfo/
H A Dgetaddrinfo.c54 static void printaddrinfo(struct addrinfo *);
64 static const struct addrinfo zero_addrinfo;
65 struct addrinfo hints = zero_addrinfo;
66 struct addrinfo *addrinfo; local
153 error = getaddrinfo(hostname, service, &hints, &addrinfo);
157 if ((hints.ai_flags & AI_CANONNAME) && (addrinfo != NULL)) {
158 if (printf("canonname %s\n", addrinfo->ai_canonname) < 0)
162 printaddrinfo(addrinfo);
164 freeaddrinfo(addrinfo);
263 printaddrinfo(struct addrinfo *addrinfo) argument
[all...]
/freebsd-head/contrib/serf/auth/
H A Dauth_spnego_sspi.c165 struct addrinfo hints;
166 struct addrinfo *addrinfo; local
171 if (getaddrinfo(hostname, NULL, &hints, &addrinfo)) {
175 if (addrinfo) {
176 *canonname = apr_pstrdup(pool, addrinfo->ai_canonname);
182 freeaddrinfo(addrinfo);
/freebsd-head/contrib/ldns/compat/
H A Dfake-rfc2553.h141 struct addrinfo { struct
149 struct addrinfo *ai_next; /* next structure in linked list */
159 const struct addrinfo *, struct addrinfo **);
169 void freeaddrinfo(struct addrinfo *);
/freebsd-head/contrib/unbound/compat/
H A Dfake-rfc2553.h136 struct addrinfo { struct
144 struct addrinfo *ai_next; /* next structure in linked list */
154 const struct addrinfo *, struct addrinfo **);
164 void freeaddrinfo(struct addrinfo *);
/freebsd-head/contrib/ntp/lib/isc/win32/
H A Dnetdb.h27 * Define if <netdb.h> does not declare struct addrinfo.
30 struct addrinfo { struct
38 struct addrinfo *ai_next; /* Next structure in linked list */
/freebsd-head/contrib/ntp/include/
H A Dntp_rfc2553.h77 struct addrinfo *copy_addrinfo_impl(const struct addrinfo *
83 struct addrinfo *copy_addrinfo_list_impl(const struct addrinfo *
158 /* valid flags for addrinfo */
183 struct addrinfo { struct
191 struct addrinfo *ai_next; /* next structure in linked list */
214 const struct addrinfo *, struct addrinfo **);
217 void freeaddrinfo (struct addrinfo *);
[all...]
/freebsd-head/crypto/openssh/openbsd-compat/
H A Dfake-rfc2553.h138 struct addrinfo { struct
146 struct addrinfo *ai_next; /* next structure in linked list */
156 const struct addrinfo *, struct addrinfo **);
166 void freeaddrinfo(struct addrinfo *);
/freebsd-head/crypto/openssl/crypto/bio/
H A Dbio_lcl.h19 * AI_PASSIVE is used to detect the availability of struct addrinfo,
47 * There's a bug in VMS C header file netdb.h, where struct addrinfo
50 * size. The easiest workaround is to force struct addrinfo to be the
54 # define addrinfo __addrinfo64 macro
57 # define bio_addrinfo_st addrinfo
/freebsd-head/contrib/libpcap/
H A Dsockutils.c300 * \param addrinfo: pointer to an addrinfo variable which will be used to
320 SOCKET sock_open(struct addrinfo *addrinfo, int server, int nconn, char *errbuf, int errbuflen) argument
327 sock = socket(addrinfo->ai_family, addrinfo->ai_socktype, addrinfo->ai_protocol);
386 if (addrinfo->ai_family == PF_INET6)
400 if (bind(sock, addrinfo->ai_addr, (int) addrinfo
559 sock_initaddress(const char *host, const char *port, struct addrinfo *hints, struct addrinfo **addrinfo, char *errbuf, int errbuflen) argument
1137 struct addrinfo *addrinfo, *ai_next; local
1463 struct addrinfo *addrinfo; local
[all...]
H A Dpcap-rpcap.c949 struct addrinfo hints, *addrinfo, *ai_next; /* temp var needed to translate between hostname to its address */ local
953 addrinfo = NULL;
954 memset(&hints, 0, sizeof(struct addrinfo));
958 retval = getaddrinfo(host, "0", &hints, &addrinfo);
971 ai_next = addrinfo;
977 freeaddrinfo(addrinfo);
986 if (addrinfo)
987 freeaddrinfo(addrinfo);
1022 struct addrinfo hint
1023 struct addrinfo *addrinfo; /* temp, needed to open a socket connection */ local
2192 struct addrinfo *addrinfo; /* temp, needed to open a socket connection */ local
2384 struct addrinfo *addrinfo; /* temp variable needed to resolve hostnames into to socket representation */ local
2707 struct addrinfo *addrinfo; /* keeps the addrinfo chain; required to open a new socket */ local
2847 struct addrinfo hints, *addrinfo, *ai_next; /* temp var needed to translate between hostname to its address */ local
[all...]
H A Dgencode.c118 struct addrinfo { struct
126 struct addrinfo *ai_next; /* next structure in linked list */
132 #include <netdb.h> /* for "struct addrinfo" */
275 * any addrinfo structure that would need to be freed.
277 struct addrinfo *ai;
518 struct addrinfo *, int, int);
4994 struct addrinfo *alist, int proto, int dir)
4997 struct addrinfo *ai;
6323 struct addrinfo *res, *res0;
6777 struct addrinfo *re
[all...]
/freebsd-head/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_openbsd.cc154 CHECK_TYPE_SIZE(addrinfo); variable
155 CHECK_SIZE_AND_OFFSET(addrinfo, ai_flags);
156 CHECK_SIZE_AND_OFFSET(addrinfo, ai_family);
157 CHECK_SIZE_AND_OFFSET(addrinfo, ai_socktype);
158 CHECK_SIZE_AND_OFFSET(addrinfo, ai_protocol);
159 CHECK_SIZE_AND_OFFSET(addrinfo, ai_addrlen);
160 CHECK_SIZE_AND_OFFSET(addrinfo, ai_addr);
161 CHECK_SIZE_AND_OFFSET(addrinfo, ai_canonname);
162 CHECK_SIZE_AND_OFFSET(addrinfo, ai_next);
H A Dsanitizer_platform_limits_solaris.cc209 CHECK_TYPE_SIZE(addrinfo); variable
210 CHECK_SIZE_AND_OFFSET(addrinfo, ai_flags);
211 CHECK_SIZE_AND_OFFSET(addrinfo, ai_family);
212 CHECK_SIZE_AND_OFFSET(addrinfo, ai_socktype);
213 CHECK_SIZE_AND_OFFSET(addrinfo, ai_protocol);
214 CHECK_SIZE_AND_OFFSET(addrinfo, ai_protocol);
215 CHECK_SIZE_AND_OFFSET(addrinfo, ai_addrlen);
216 CHECK_SIZE_AND_OFFSET(addrinfo, ai_canonname);
217 CHECK_SIZE_AND_OFFSET(addrinfo, ai_addr);
H A Dsanitizer_platform_limits_freebsd.cc381 CHECK_TYPE_SIZE(addrinfo); variable
382 CHECK_SIZE_AND_OFFSET(addrinfo, ai_flags);
383 CHECK_SIZE_AND_OFFSET(addrinfo, ai_family);
384 CHECK_SIZE_AND_OFFSET(addrinfo, ai_socktype);
385 CHECK_SIZE_AND_OFFSET(addrinfo, ai_protocol);
386 CHECK_SIZE_AND_OFFSET(addrinfo, ai_protocol);
387 CHECK_SIZE_AND_OFFSET(addrinfo, ai_addrlen);
388 CHECK_SIZE_AND_OFFSET(addrinfo, ai_canonname);
389 CHECK_SIZE_AND_OFFSET(addrinfo, ai_addr);
H A Dsanitizer_platform_limits_posix.cc973 CHECK_TYPE_SIZE(addrinfo); variable
974 CHECK_SIZE_AND_OFFSET(addrinfo, ai_flags);
975 CHECK_SIZE_AND_OFFSET(addrinfo, ai_family);
976 CHECK_SIZE_AND_OFFSET(addrinfo, ai_socktype);
977 CHECK_SIZE_AND_OFFSET(addrinfo, ai_protocol);
978 CHECK_SIZE_AND_OFFSET(addrinfo, ai_protocol);
979 CHECK_SIZE_AND_OFFSET(addrinfo, ai_addrlen);
980 CHECK_SIZE_AND_OFFSET(addrinfo, ai_canonname);
981 CHECK_SIZE_AND_OFFSET(addrinfo, ai_addr);
H A Dsanitizer_platform_limits_netbsd.cc2233 CHECK_TYPE_SIZE(addrinfo); variable
2234 CHECK_SIZE_AND_OFFSET(addrinfo, ai_flags);
2235 CHECK_SIZE_AND_OFFSET(addrinfo, ai_family);
2236 CHECK_SIZE_AND_OFFSET(addrinfo, ai_socktype);
2237 CHECK_SIZE_AND_OFFSET(addrinfo, ai_protocol);
2238 CHECK_SIZE_AND_OFFSET(addrinfo, ai_protocol);
2239 CHECK_SIZE_AND_OFFSET(addrinfo, ai_addrlen);
2240 CHECK_SIZE_AND_OFFSET(addrinfo, ai_canonname);
2241 CHECK_SIZE_AND_OFFSET(addrinfo, ai_addr);
/freebsd-head/contrib/tnftp/
H A Dtnftp.h299 struct addrinfo { struct
307 struct addrinfo *ai_next; /* next structure in linked list */
311 const struct addrinfo *, struct addrinfo **);
314 void freeaddrinfo(struct addrinfo *);
/freebsd-head/sys/rpc/
H A Drpcb_prot.h324 rpcbs_addrlist_ptr addrinfo; member in struct:rpcb_stat
474 rpcbs_addrlist_ptr addrinfo; member in struct:rpcb_stat
/freebsd-head/include/
H A Dnetdb.h135 struct addrinfo { struct
143 struct addrinfo *ai_next; /* next structure in linked list */
193 /* valid flags for addrinfo (not a standard def, apps should not use it) */
250 const struct addrinfo *, struct addrinfo **);
253 void freeaddrinfo(struct addrinfo *);

Completed in 1718 milliseconds