Home
last modified time | relevance | path

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

/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/
DDatagramChannelTest.java1120 InetSocketAddress ipAddr = addr; in sendDataBlocking() local
1121 assertEquals(CAPACITY_NORMAL, this.channel1.send(writeBuf, ipAddr)); in sendDataBlocking()
1124 this.channel1.connect(ipAddr); in sendDataBlocking()
1130 InetSocketAddress ipAddr = addr; in sendDataNonBlocking() local
1132 assertEquals(CAPACITY_NORMAL, this.channel1.send(writeBuf, ipAddr)); in sendDataNonBlocking()
1135 this.channel1.connect(ipAddr); in sendDataNonBlocking()
1513 private void connectWriteBuf(InetSocketAddress ipAddr, ByteBuffer buf) in connectWriteBuf() argument
1515 this.channel1.connect(ipAddr); in connectWriteBuf()
1546 InetSocketAddress ipAddr = localAddr1; in testWriteByteBuffer_Block_closed() local
1548 this.channel1.connect(ipAddr); in testWriteByteBuffer_Block_closed()
[all …]
/external/mdnsresponder/mDNSPosix/
DmDNSPosix.c110 mDNSlocal void SockAddrTomDNSAddr(const struct sockaddr *const sa, mDNSAddr *ipAddr, mDNSIPPort *ip… in SockAddrTomDNSAddr() argument
117 ipAddr->type = mDNSAddrType_IPv4; in SockAddrTomDNSAddr()
118 ipAddr->ip.v4.NotAnInteger = sin->sin_addr.s_addr; in SockAddrTomDNSAddr()
130 ipAddr->type = mDNSAddrType_IPv6; in SockAddrTomDNSAddr()
131 ipAddr->ip.v6 = *(mDNSv6Addr*)&sin6->sin6_addr; in SockAddrTomDNSAddr()
139 ipAddr->type = mDNSAddrType_None; in SockAddrTomDNSAddr()