/external/chromium/net/websockets/ |
H A D | websocket_throttle.cc | 23 static std::string AddrinfoToHashkey(const struct addrinfo* addrinfo) { argument 24 switch (addrinfo->ai_family) { 27 reinterpret_cast<const sockaddr_in*>(addrinfo->ai_addr); 29 addrinfo->ai_family, 34 reinterpret_cast<const sockaddr_in6*>(addrinfo->ai_addr); 37 addrinfo->ai_family, 43 addrinfo->ai_family, 44 base::HexEncode(addrinfo->ai_addr, 45 addrinfo [all...] |
H A D | websocket_throttle_unittest.cc | 34 struct addrinfo *AddAddr(int a1, int a2, int a3, int a4, 35 struct addrinfo* next) { 36 struct addrinfo* addrinfo = new struct addrinfo; local 37 memset(addrinfo, 0, sizeof(struct addrinfo)); 38 addrinfo->ai_family = AF_INET; 40 addrinfo->ai_addrlen = addrlen; 41 addrinfo [all...] |
/external/chromium/net/base/ |
H A D | address_list.h | 14 struct addrinfo; 18 // An AddressList object contains a linked list of addrinfo structures. This 34 // Adopt the given addrinfo list (assumed to have been created by 37 // the addrinfo list to the AddressList object. 38 void Adopt(struct addrinfo* head); 40 // Copies the given addrinfo rather than adopting it. If |recursive| is true, 43 void Copy(const struct addrinfo* head, bool recursive); 46 // addrinfo. 47 void Append(const struct addrinfo* head); 74 // Get access to the head of the addrinfo lis [all...] |
H A D | address_list.cc | 26 void SetPortRecursive(struct addrinfo* info, int port) { 39 Data(struct addrinfo* ai, bool is_system_created); 40 struct addrinfo* head; 56 struct addrinfo* ai = new addrinfo; 57 memset(ai, 0, sizeof(addrinfo)); 113 void AddressList::Adopt(struct addrinfo* head) { 117 void AddressList::Copy(const struct addrinfo* head, bool recursive) { 122 void AddressList::Append(const struct addrinfo* head) { 124 struct addrinfo* new_hea [all...] |
H A D | host_port_pair.h | 12 struct addrinfo; 26 // Creates a HostPortPair from an addrinfo struct. 27 static HostPortPair FromAddrInfo(const struct addrinfo* ai);
|
H A D | address_list_net_log_param.cc | 21 for (const addrinfo* head = address_list_.head();
|
H A D | net_util.h | 28 struct addrinfo; 114 std::string NetAddressToString(const struct addrinfo* net_address); 120 std::string NetAddressToStringWithPort(const struct addrinfo* net_address); 449 struct addrinfo* CreateCopyOfAddrinfo(const struct addrinfo* info, 452 // Frees an addrinfo that was created by CreateCopyOfAddrinfo(). 453 void FreeCopyOfAddrinfo(struct addrinfo* info); 456 const uint16* GetPortFieldFromAddrinfo(const struct addrinfo* info); 457 uint16* GetPortFieldFromAddrinfo(struct addrinfo* info); 460 int GetPortFromAddrinfo(const struct addrinfo* inf [all...] |
H A D | address_list_unittest.cc | 20 // Use getaddrinfo() to allocate an addrinfo structure. 130 // Create an addrinfo with a canonical name. 135 struct addrinfo ai; 143 // Copy the addrinfo struct into an AddressList object and 147 const struct addrinfo* addrinfo1 = addrlist1.head(); 157 const struct addrinfo* addrinfo2 = addrlist2.head(); 198 const struct addrinfo* good_ai = expected_list.head(); 203 const struct addrinfo* test_ai = test_list.head(); 239 const struct addrinfo* good_ai = expected_list.head(); 246 const struct addrinfo* test_a [all...] |
H A D | host_port_pair.cc | 25 HostPortPair HostPortPair::FromAddrInfo(const struct addrinfo* ai) {
|
H A D | host_resolver_proc.cc | 23 bool IsAllLocalhostOfOneFamily(const struct addrinfo* ai) { 141 struct addrinfo* ai = NULL; 142 struct addrinfo hints = {0};
|
/external/tcpdump/missing/ |
H A D | addrinfo.h | 30 /* $Id: addrinfo.h,v 1.4 2002/06/11 17:13:36 itojun Exp $ */ 61 /* valid flags for addrinfo */ 71 struct addrinfo { struct 79 struct addrinfo *ai_next; /* next structure in linked list */ 82 extern void freeaddrinfo (struct addrinfo *); 86 const struct addrinfo *, struct addrinfo **);
|
H A D | getaddrinfo.c | 86 #include "addrinfo.h" 175 static int explore_fqdn (const struct addrinfo *, const char *, 176 const char *, struct addrinfo **); 177 static int explore_null (const struct addrinfo *, const char *, 178 const char *, struct addrinfo **); 179 static int explore_numeric (const struct addrinfo *, const char *, 180 const char *, struct addrinfo **); 181 static int explore_numeric_scope (const struct addrinfo *, const char *, 182 const char *, struct addrinfo **); 183 static int get_name (const char *, const struct afd *, struct addrinfo **, [all...] |
/external/dropbear/ |
H A D | fake-rfc2553.h | 124 struct addrinfo { struct 132 struct addrinfo *ai_next; /* next structure in linked list */ 142 const struct addrinfo *, struct addrinfo **); 152 void freeaddrinfo(struct addrinfo *);
|
H A D | fake-rfc2553.c | 105 freeaddrinfo(struct addrinfo *ai) 107 struct addrinfo *next; 119 addrinfo *malloc_ai(int port, u_long addr, const struct addrinfo *hints) 121 struct addrinfo *ai; 151 const struct addrinfo *hints, struct addrinfo **res) 203 struct addrinfo *cur, *prev;
|
/external/libpcap/ |
H A D | pcap-namedb.h | 63 struct addrinfo *pcap_nametoaddrinfo(const char *);
|
/external/libnl-headers/netlink/ |
H A D | addr.h | 45 extern int nl_addr_info(struct nl_addr *, struct addrinfo **);
|
/external/chromium/net/socket/ |
H A D | tcp_client_socket_win.h | 90 int CreateSocket(const struct addrinfo* ai); 110 const struct addrinfo* current_ai_;
|
H A D | tcp_client_socket_libevent.h | 140 int CreateSocket(const struct addrinfo* ai); 157 const struct addrinfo* current_ai_;
|
H A D | transport_client_socket_pool.cc | 34 const struct addrinfo* ai = addrlist.head(); 50 for (const struct addrinfo* ai = addrlist.head(); ai; ai = ai->ai_next) { 159 for (const struct addrinfo* ai = addrlist->head(); ai; ai = ai->ai_next) { 168 struct addrinfo* head = CreateCopyOfAddrinfo(addrlist->head(), true); 169 struct addrinfo* tail = head;
|
/external/chromium/net/tools/flip_server/ |
H A D | create_listener.cc | 23 // used to ensure we delete the addrinfo structure 27 struct addrinfo * addrinfo_ptr_; 30 explicit AddrinfoGuard(struct addrinfo* addrinfo_ptr) : 119 struct addrinfo *results = 0; 120 struct addrinfo hints; 138 // this will delete the addrinfo memory when we return from this function. 243 struct addrinfo *results = 0; 244 struct addrinfo hints; 261 // this will delete the addrinfo memory when we return from this function.
|
/external/netperf/ |
H A D | nettest_bsd.h | 411 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/opencv/otherlibs/highgui/ |
H A D | cvcap_socket.cpp | 95 struct addrinfo *pAddrInfo; 107 // Free the addrinfo if it was allocated. 123 // Setup a new addrinfo to support a streaming socket at the given address and port. 124 struct addrinfo hints; 210 // First ensure that our addrinfo and read buffer are allocated.
|
/external/chromium/third_party/libevent/ |
H A D | http-internal.h | 34 struct addrinfo;
|
/external/qemu/ |
H A D | qemu-sockets.c | 65 static int inet_getport(struct addrinfo *e) 82 static void inet_setport(struct addrinfo *e, int port) 109 static void inet_print_addrinfo(const char *tag, struct addrinfo *res) 111 struct addrinfo *e; 126 struct addrinfo ai,*res,*e; 234 struct addrinfo ai,*res,*e; 311 struct addrinfo ai, *peer = NULL, *local = NULL;
|
/external/chromium/net/proxy/ |
H A D | proxy_resolver_js_bindings_unittest.cc | 67 // Build an addrinfo for |ip_literal|. 70 struct addrinfo* result_head = const_cast<struct addrinfo*>(result.head()); 73 result_head->ai_next = const_cast<struct addrinfo*>(orig_list.head());
|