Home
last modified time | relevance | path

Searched refs:ipAddr (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/webrtc/test/channel_transport/
Dudp_transport.h147 virtual int32_t InitializeSendSockets(const char* ipAddr,
158 const char* ipAddr = NULL,
179 char ipAddr[kIpAddressVersion6Length],
187 virtual int32_t SendSocketInformation(char ipAddr[kIpAddressVersion6Length],
194 char ipAddr[kIpAddressVersion6Length],
Dudp_transport_impl.h50 int32_t InitializeSendSockets(const char* ipAddr,
55 const char* ipAddr = NULL,
62 char ipAddr[kIpAddressVersion6Length],
66 int32_t SendSocketInformation(char ipAddr[kIpAddressVersion6Length],
69 int32_t RemoteSocketInformation(char ipAddr[kIpAddressVersion6Length],
Dudp_transport_impl.cc363 char ipAddr[kIpAddressVersion6Length], in ReceiveSocketInformation()
371 if (ipAddr) in ReceiveSocketInformation()
373 strncpy(ipAddr, _localIP, IpV6Enabled() ? in ReceiveSocketInformation()
387 char ipAddr[kIpAddressVersion6Length], in SendSocketInformation()
394 strncpy(ipAddr, _destIP, IpV6Enabled() ? in SendSocketInformation()
401 char ipAddr[kIpAddressVersion6Length], in RemoteSocketInformation()
408 if(ipAddr) in RemoteSocketInformation()
410 strncpy(ipAddr, _fromIP, IpV6Enabled() ? in RemoteSocketInformation()
/external/c-ares/
Dares_init.c724 IP_ADDR_STRING *ipAddr; in get_iphlpapi_dns_info() local
762 for (i = 0, ipAddr = fi->DnsServerList.Next; ipAddr && left > ipv4_size; in get_iphlpapi_dns_info()
763 ipAddr = ipAddr->Next, i++) in get_iphlpapi_dns_info()
765 if (inet_addr(ipAddr->IpAddress.String) != INADDR_NONE) in get_iphlpapi_dns_info()
767 ret += sprintf (ret, "%s,", ipAddr->IpAddress.String); in get_iphlpapi_dns_info()
772 printf (" %s (secondary %d)\n", ipAddr->IpAddress.String, i+1); in get_iphlpapi_dns_info()
/external/mdnsresponder/mDNSPosix/
DmDNSPosix.c117 mDNSlocal void SockAddrTomDNSAddr(const struct sockaddr *const sa, mDNSAddr *ipAddr, mDNSIPPort *ip… in SockAddrTomDNSAddr() argument
124 ipAddr->type = mDNSAddrType_IPv4; in SockAddrTomDNSAddr()
125 ipAddr->ip.v4.NotAnInteger = sin->sin_addr.s_addr; in SockAddrTomDNSAddr()
137 ipAddr->type = mDNSAddrType_IPv6; in SockAddrTomDNSAddr()
138 ipAddr->ip.v6 = *(mDNSv6Addr*)&sin6->sin6_addr; in SockAddrTomDNSAddr()
146 ipAddr->type = mDNSAddrType_None; in SockAddrTomDNSAddr()