Home
last modified time | relevance | path

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

12345

/external/libpcap/Win32/Src/
Dgetaddrinfo.c185 static int explore_fqdn __P((const struct addrinfo *, const char *,
186 const char *, struct addrinfo **));
187 static int explore_null __P((const struct addrinfo *, const char *,
188 const char *, struct addrinfo **));
189 static int explore_numeric __P((const struct addrinfo *, const char *,
190 const char *, struct addrinfo **));
191 static int explore_numeric_scope __P((const struct addrinfo *, const char *,
192 const char *, struct addrinfo **));
193 static int get_name __P((const char *, const struct afd *, struct addrinfo **,
194 char *, const struct addrinfo *, const char *));
[all …]
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
Dhost_resolver.cc24 void HintsToPPHints(const addrinfo* hints, PP_HostResolver_Hint* pp_hints) { in HintsToPPHints()
36 void CreateAddrInfo(const addrinfo* hints, in CreateAddrInfo()
39 addrinfo** list_start, in CreateAddrInfo()
40 addrinfo** list_end) { in CreateAddrInfo()
41 addrinfo* ai = static_cast<addrinfo*>(malloc(sizeof(addrinfo))); in CreateAddrInfo()
106 struct addrinfo* ai; in gethostbyname()
107 struct addrinfo hints; in gethostbyname()
163 struct addrinfo* current = ai; in gethostbyname()
213 void HostResolver::freeaddrinfo(struct addrinfo* res) { in freeaddrinfo()
215 struct addrinfo* cur = res; in freeaddrinfo()
[all …]
Dhost_resolver.h23 void freeaddrinfo(struct addrinfo* res);
26 const struct addrinfo* hints,
27 struct addrinfo** res);
/external/libpcap/Win32/Include/
Daddrinfo.h71 struct addrinfo { struct
79 struct addrinfo *ai_next; /* next structure in linked list */ argument
82 extern void freeaddrinfo (struct addrinfo *);
86 const struct addrinfo *, struct addrinfo **);
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
Dhost_resolver_test.cc83 #define NULL_INFO ((struct addrinfo*)NULL)
88 struct addrinfo* ai = NULL; in TEST_F()
90 struct addrinfo hints; in TEST_F()
111 struct addrinfo* ai = NULL; in TEST_F()
113 struct addrinfo hints; in TEST_F()
140 struct addrinfo* ai = NULL; in TEST_F()
145 struct addrinfo* ai = NULL; in TEST_F()
148 struct addrinfo hints; in TEST_F()
190 struct addrinfo* ai = NULL; in TEST_F()
191 struct addrinfo* ai_orig = NULL; in TEST_F()
[all …]
/external/chromium_org/native_client_sdk/src/libraries/third_party/newlib-extras/
Dnetdb.h135 struct addrinfo { struct
143 struct addrinfo *ai_next; /* next structure in linked list */ argument
257 const struct addrinfo *__restrict,
258 struct addrinfo **__restrict);
262 void freeaddrinfo(struct addrinfo *);
/external/chromium_org/net/tools/flip_server/
Dcreate_listener.cc26 struct addrinfo* addrinfo_ptr_;
29 explicit AddrinfoGuard(struct addrinfo* addrinfo_ptr) in AddrinfoGuard()
111 struct addrinfo* results = 0; in CreateListeningSocket()
112 struct addrinfo hints; in CreateListeningSocket()
241 struct addrinfo* results = 0; in CreateConnectedSocket()
242 struct addrinfo hints; in CreateConnectedSocket()
/external/lldb/source/Host/common/
DSocketAddress.cpp162 SocketAddress::operator=(const struct addrinfo *addr_info) in operator =()
206 SocketAddress::SetAddress (const struct addrinfo *hints_ptr, in SetAddress()
209 struct addrinfo *addr_info_ptr) in SetAddress()
211 struct addrinfo *service_info_list = NULL; in SetAddress()
228 ::memset (addr_info_ptr, 0, sizeof(struct addrinfo)); in SetAddress()
/external/tcpdump/missing/
Daddrinfo.h71 struct addrinfo { struct
79 struct addrinfo *ai_next; /* next structure in linked list */ argument
82 extern void freeaddrinfo (struct addrinfo *);
/external/netperf/
Dnettest_bsd.h411 extern struct addrinfo *complete_addrinfo(char *controlhost,
418 extern void complete_addrinfos(struct addrinfo **remote,
419 struct addrinfo **local,
427 struct addrinfo *source,
428 struct addrinfo *destination);
429 extern void set_port_number(struct addrinfo *res,
/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
2501 question2 = &request->u.addrinfo.q42; in SendAdditionalQuery()
2503 question2 = &request->u.addrinfo.q62; in SendAdditionalQuery()
2654 else if (req->hdr.op == addrinfo_request && question == req->u.addrinfo.q42) in queryrecord_result_callback()
2655 q = &req->u.addrinfo.q4; in queryrecord_result_callback()
2656 else if (req->hdr.op == addrinfo_request && question == req->u.addrinfo.q62) in queryrecord_result_callback()
2657 q = &req->u.addrinfo.q6; in queryrecord_result_callback()
3352 LogOperation("%3d: DNSServiceGetAddrInfo(%##s) STOP", request->sd, request->u.addrinfo.q4.qname.c); in addrinfo_termination_callback()
3354 if (request->u.addrinfo.q4.QuestionContext) in addrinfo_termination_callback()
3356 mDNS_StopQuery(&mDNSStorage, &request->u.addrinfo.q4); in addrinfo_termination_callback()
[all …]
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/
Dgetaddrinfo.c9 const struct addrinfo *hints, in getaddrinfo()
10 struct addrinfo **res) { in getaddrinfo()
/external/compiler-rt/test/msan/
Dgetaddrinfo-positive.cc14 struct addrinfo *ai; in main()
15 struct addrinfo hint; in main()
/external/lldb/include/lldb/Host/
DSocketAddress.h50 operator=(const struct addrinfo *addr_info);
115 …SetAddress (const struct addrinfo *hints_ptr, // Optional hints where the family, protocol and o…
118 … struct addrinfo *addr_info_ptr); // If non-NULL, this will get filled in with the match
/external/chromium_org/third_party/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/chromium_org/third_party/libjingle/source/talk/base/
Dnethelpers.cc53 struct addrinfo* result = NULL; in ResolveHostname()
54 struct addrinfo hints = {0}; in ResolveHostname()
62 struct addrinfo* cursor = result; in ResolveHostname()
/external/android-clat/
Ddns64.c39 const struct addrinfo hints = { in plat_prefix()
43 struct addrinfo *result = NULL; in plat_prefix()
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/
Dstandalone.py319 for addrinfo in addrinfo_array:
320 self._logger.info('Create socket on: %r', addrinfo)
321 family, socktype, proto, canonname, sockaddr = addrinfo
346 self._sockets.append((socket_, addrinfo))
356 socket_, addrinfo = socketinfo
357 self._logger.info('Bind on: %r', addrinfo)
378 socket_, addrinfo = socketinfo
379 self._logger.info('Listen on: %r', addrinfo)
400 socket_, addrinfo = socketinfo
401 self._logger.info('Close on: %r', addrinfo)
/external/chromium-trace/trace-viewer/examples/stream_server/
Dstandalone.py323 for addrinfo in addrinfo_array:
324 self._logger.info('Create socket on: %r', addrinfo)
325 family, socktype, proto, canonname, sockaddr = addrinfo
350 self._sockets.append((socket_, addrinfo))
360 socket_, addrinfo = socketinfo
361 self._logger.info('Bind on: %r', addrinfo)
382 socket_, addrinfo = socketinfo
383 self._logger.info('Listen on: %r', addrinfo)
404 socket_, addrinfo = socketinfo
405 self._logger.info('Close on: %r', addrinfo)
/external/chromium_org/net/dns/
Dhost_resolver_proc.cc24 bool IsAllLocalhostOfOneFamily(const struct addrinfo* ai) { in IsAllLocalhostOfOneFamily()
130 struct addrinfo* ai = NULL; in SystemHostResolverCall()
131 struct addrinfo hints = {0}; in SystemHostResolverCall()
/external/chromium_org/net/base/
Daddress_list.h18 struct addrinfo;
39 static AddressList CreateFromAddrinfo(const struct addrinfo* head); in NON_EXPORTED_BASE()
Daddress_list.cc61 AddressList AddressList::CreateFromAddrinfo(const struct addrinfo* head) { in CreateFromAddrinfo()
66 for (const struct addrinfo* ai = head; ai; ai = ai->ai_next) { in CreateFromAddrinfo()
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/
Dstandalone.py449 for addrinfo in addrinfo_array:
450 self._logger.info('Create socket on: %r', addrinfo)
451 family, socktype, proto, canonname, sockaddr = addrinfo
476 self._sockets.append((socket_, addrinfo))
486 socket_, addrinfo = socketinfo
487 self._logger.info('Bind on: %r', addrinfo)
517 socket_, addrinfo = socketinfo
518 self._logger.info('Listen on: %r', addrinfo)
539 socket_, addrinfo = socketinfo
540 self._logger.info('Close on: %r', addrinfo)
/external/qemu/util/
Dqemu-sockets.c65 static int inet_getport(struct addrinfo *e) in inet_getport()
82 static void inet_setport(struct addrinfo *e, int port) in inet_setport()
109 static void inet_print_addrinfo(const char *tag, struct addrinfo *res) in inet_print_addrinfo()
111 struct addrinfo *e; in inet_print_addrinfo()
126 struct addrinfo ai,*res,*e; in inet_listen_opts()
234 struct addrinfo ai,*res,*e; in inet_connect_opts()
311 struct addrinfo ai, *peer = NULL, *local = NULL; in inet_dgram_opts()

12345