Home
last modified time | relevance | path

Searched refs:addrinfo (Results 1 – 25 of 131) sorted by relevance

123456

/external/libpcap/Win32/Src/
Dgetaddrinfo.c180 static int explore_fqdn __P((const struct addrinfo *, const char *,
181 const char *, struct addrinfo **));
182 static int explore_null __P((const struct addrinfo *, const char *,
183 const char *, struct addrinfo **));
184 static int explore_numeric __P((const struct addrinfo *, const char *,
185 const char *, struct addrinfo **));
186 static int explore_numeric_scope __P((const struct addrinfo *, const char *,
187 const char *, struct addrinfo **));
188 static int get_name __P((const char *, const struct afd *, struct addrinfo **,
189 char *, const struct addrinfo *, const char *));
[all …]
/external/netperf/src/missing/
Dgetaddrinfo.h146 #define addrinfo my_addrinfo macro
210 struct addrinfo { struct
218 struct addrinfo *ai_next; argument
226 void freeaddrinfo(struct addrinfo *);
227 int getaddrinfo(const char *, const char *, const struct addrinfo *,
228 struct addrinfo **);
Dgetaddrinfo.c199 static struct addrinfo default_hints = {
241 struct addrinfo *ai; in freeaddrinfo()
243 struct addrinfo *next_ai;
331 const struct addrinfo *hints;
332 struct addrinfo **res;
334 struct addrinfo *head_res = NULL;
335 struct addrinfo *tail_res = NULL;
336 struct addrinfo *new_res;
458 new_res = (struct addrinfo *)malloc(sizeof(struct addrinfo));
/external/libpcap/Win32/Include/
Daddrinfo.h69 struct addrinfo { struct
77 struct addrinfo *ai_next; /* next structure in linked list */ argument
80 extern void freeaddrinfo (struct addrinfo *);
84 const struct addrinfo *, struct addrinfo **);
Dip6_misc.h150 struct addrinfo { struct
158 struct addrinfo *ai_next; /* next structure in linked list */ argument
/external/curl/lib/
Dcurl_addrinfo.h70 const struct addrinfo *hints,
88 curl_dofreeaddrinfo(struct addrinfo *freethis,
96 const struct addrinfo *hints,
97 struct addrinfo **result,
Dcurl_addrinfo.c110 const struct addrinfo *hints, in Curl_getaddrinfo_ex()
113 const struct addrinfo *ai; in Curl_getaddrinfo_ex()
114 struct addrinfo *aihead; in Curl_getaddrinfo_ex()
521 curl_dofreeaddrinfo(struct addrinfo *freethis, in curl_dofreeaddrinfo()
543 const struct addrinfo *hints, in curl_dogetaddrinfo()
544 struct addrinfo **result, in curl_dogetaddrinfo()
Dasyn-thread.c151 const struct addrinfo *hints);
165 struct addrinfo hints;
206 const struct addrinfo *hints) in init_thread_sync_data()
378 const struct addrinfo *hints) in init_resolve_thread()
594 struct addrinfo hints; in Curl_resolver_getaddrinfo()
/external/netcat/
Dnetcat.c106 int local_listen(char *, char *, struct addrinfo);
108 int remote_connect(const char *, const char *, struct addrinfo);
111 int socks_connect(const char *, const char *, struct addrinfo,
112 const char *, const char *, struct addrinfo, int, const char *);
127 struct addrinfo hints; in main()
133 struct addrinfo proxyhints; in main()
331 memset(&hints, 0, sizeof(struct addrinfo)); in main()
360 memset(&proxyhints, 0, sizeof(struct addrinfo)); in main()
590 remote_connect(const char *host, const char *port, struct addrinfo hints) in remote_connect()
592 struct addrinfo *res, *res0; in remote_connect()
[all …]
/external/mdnsresponder/mDNSShared/
Duds_daemon.c196 } addrinfo; member
2497 question2 = &request->u.addrinfo.q42; in SendAdditionalQuery()
2499 question2 = &request->u.addrinfo.q62; in SendAdditionalQuery()
2650 else if (req->hdr.op == addrinfo_request && question == req->u.addrinfo.q42) in queryrecord_result_callback()
2651 q = &req->u.addrinfo.q4; in queryrecord_result_callback()
2652 else if (req->hdr.op == addrinfo_request && question == req->u.addrinfo.q62) in queryrecord_result_callback()
2653 q = &req->u.addrinfo.q6; in queryrecord_result_callback()
3348 LogOperation("%3d: DNSServiceGetAddrInfo(%##s) STOP", request->sd, request->u.addrinfo.q4.qname.c); in addrinfo_termination_callback()
3350 if (request->u.addrinfo.q4.QuestionContext) in addrinfo_termination_callback()
3352 mDNS_StopQuery(&mDNSStorage, &request->u.addrinfo.q4); in addrinfo_termination_callback()
[all …]
/external/tcpdump/missing/
Daddrinfo.h69 struct addrinfo { struct
77 struct addrinfo *ai_next; /* next structure in linked list */ argument
80 extern void freeaddrinfo (struct addrinfo *);
/external/netperf/src/
Dnettest_bsd.h598 extern struct addrinfo *complete_addrinfo(char *controlhost,
605 extern void complete_addrinfos(struct addrinfo **remote,
606 struct addrinfo **local,
618 struct addrinfo *source,
619 struct addrinfo *destination);
620 extern void set_port_number(struct addrinfo *res,
676 extern SOCKET create_data_socket(struct addrinfo *res);
Dnettest_bsd.c641 struct addrinfo *
644 struct addrinfo hints; in complete_addrinfo()
645 struct addrinfo *res; in complete_addrinfo()
646 struct addrinfo *temp_res; in complete_addrinfo()
866 complete_addrinfos(struct addrinfo **remote,struct addrinfo **local, char remote_host[], int type, … in complete_addrinfos()
953 get_port_number(struct addrinfo *res) in get_port_number()
977 extract_inet_address_and_port(struct addrinfo *res, void *addr, int len, int *port) in extract_inet_address_and_port()
1003 set_port_number(struct addrinfo *res, unsigned short port) in set_port_number()
1192 create_data_socket(struct addrinfo *res) in create_data_socket()
1561 get_address_address(struct addrinfo *info) in get_address_address()
[all …]
/external/toybox/toys/pending/
Dip.c55 } addrinfo; variable
760 if (TT.is_addr && addrinfo.label && fnmatch(addrinfo.label, link->iface, 0)) in print_link_output()
967 if ((addrinfo.scope ^ ifa->ifa_scope)&addrinfo.scopemask) return 0; in print_addrinfo()
968 if (addrinfo.ifindex && addrinfo.ifindex != ifa->ifa_index) return 0; in print_addrinfo()
970 if (flag_l && addrinfo.label && ifa->ifa_family == AF_INET6) return 0; in print_addrinfo()
974 if (addrinfo.label && fnmatch(addrinfo.label, label, 0)) in print_addrinfo()
979 if (ifa->ifa_index == addrinfo.ifindex) { in print_addrinfo()
1015 if (addrinfo.to && strcmp(addrinfo.addr, lbuf)) in print_addrinfo()
1232 memset(&addrinfo, 0, sizeof(addrinfo)); in ipaddr_listflush()
1240 addrinfo.scope = -1; in ipaddr_listflush()
[all …]
/external/compiler-rt/test/msan/
Dgetaddrinfo-positive.cc14 struct addrinfo *ai; in main()
15 struct addrinfo hint; in main()
/external/curl/tests/
Dmemanalyze.pl331 $addrinfo{$add}=1;
341 if(!$addrinfo{$1}) {
345 $addrinfo{$1}=0;
393 if($addrinfo{$_} == 1) {
/external/webrtc/webrtc/base/
Dnethelpers.cc36 struct addrinfo* result = NULL; in ResolveHostname()
37 struct addrinfo hints = {0}; in ResolveHostname()
45 struct addrinfo* cursor = result; in ResolveHostname()
/external/c-ares/
Dares_ipv6.h36 struct addrinfo struct
45 struct addrinfo *ai_next; argument
/external/libxml2/os400/
Dwrappers.h37 const struct addrinfo * hints, struct addrinfo * * res);
Dwrappers.c29 const struct addrinfo * hints, struct addrinfo * * res) in _lx_getaddrinfo()
/external/android-clat/
Ddns64.c39 const struct addrinfo hints = { in plat_prefix()
43 struct addrinfo *result = NULL; in plat_prefix()
/external/curl/tests/server/
Dresolve.c131 struct addrinfo *ai; in main()
132 struct addrinfo hints; in main()
/external/toybox/lib/
Dnet.c19 struct addrinfo info, *ai, *ai2; in xconnect()
22 memset(&info, 0, sizeof(struct addrinfo)); in xconnect()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.cc988 CHECK_TYPE_SIZE(addrinfo);
989 CHECK_SIZE_AND_OFFSET(addrinfo, ai_flags);
990 CHECK_SIZE_AND_OFFSET(addrinfo, ai_family);
991 CHECK_SIZE_AND_OFFSET(addrinfo, ai_socktype);
992 CHECK_SIZE_AND_OFFSET(addrinfo, ai_protocol);
993 CHECK_SIZE_AND_OFFSET(addrinfo, ai_protocol);
994 CHECK_SIZE_AND_OFFSET(addrinfo, ai_addrlen);
995 CHECK_SIZE_AND_OFFSET(addrinfo, ai_canonname);
996 CHECK_SIZE_AND_OFFSET(addrinfo, ai_addr);
/external/mtpd/
Dmtpd.c263 struct addrinfo hints = { in create_socket()
268 struct addrinfo *records; in create_socket()
269 struct addrinfo *r; in create_socket()

123456