Home
last modified time | relevance | path

Searched refs:INADDR_ANY (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/services/net/java/android/net/dhcp/
DDhcpRequestPacket.java33 super(transId, secs, clientIp, INADDR_ANY, INADDR_ANY, INADDR_ANY, clientMac, broadcast); in DhcpRequestPacket()
49 fillInPacket(encap, INADDR_BROADCAST, INADDR_ANY, destUdp, srcUdp, in buildPacket()
61 if (!INADDR_ANY.equals(mRequestedIp)) { in finishPacket()
64 if (!INADDR_ANY.equals(mServerIdentifier)) { in finishPacket()
DDhcpDiscoverPacket.java30 super(transId, secs, INADDR_ANY, INADDR_ANY, INADDR_ANY, INADDR_ANY, clientMac, broadcast); in DhcpDiscoverPacket()
44 fillInPacket(encap, INADDR_BROADCAST, INADDR_ANY, destUdp, in buildPacket()
DDhcpOfferPacket.java36 super(transId, secs, clientIp, yourIp, INADDR_ANY, INADDR_ANY, clientMac, broadcast); in DhcpOfferPacket()
61 Inet4Address srcIp = mBroadcast ? INADDR_ANY : mSrcIp; in buildPacket()
DDhcpNakPacket.java32 super(transId, secs, INADDR_ANY, INADDR_ANY, nextIp, relayIp, in DhcpNakPacket()
DDhcpAckPacket.java34 super(transId, secs, clientIp, yourIp, serverAddress, INADDR_ANY, clientMac, broadcast); in DhcpAckPacket()
59 Inet4Address srcIp = mBroadcast ? INADDR_ANY : mSrcIp; in buildPacket()
DDhcpClient.java436 final int encap = INADDR_ANY.equals(clientAddress) in sendRequestPacket()
791 INADDR_ANY, // ciaddr in sendPacket()
936 INADDR_ANY, // DHCP_REQUESTED_IP in sendPacket()
DDhcpPacket.java41 public static final Inet4Address INADDR_ANY = (Inet4Address) Inet4Address.ANY; field in DhcpPacket
1192 transactionId, (short) 0, broadcast, serverIpAddr, INADDR_ANY, clientIpAddr, mac); in buildOfferPacket()
1212 transactionId, (short) 0, broadcast, serverIpAddr, INADDR_ANY, clientIpAddr, mac); in buildAckPacket()
/frameworks/av/media/libstagefright/rtsp/
DUDPPusher.cpp43 addr.sin_addr.s_addr = INADDR_ANY; in UDPPusher()
50 mRemoteAddr.sin_addr.s_addr = INADDR_ANY; in UDPPusher()
DARTPSession.cpp107 addr.sin_addr.s_addr = INADDR_ANY; in MakeUDPSocket()
DARTPConnection.cpp128 addr.sin_addr.s_addr = htonl(INADDR_ANY); in MakePortPair()
DARTPWriter.cpp65 mRTPAddr.sin_addr.s_addr = INADDR_ANY; in ARTPWriter()
/frameworks/base/tests/net/java/com/android/server/
DIpSecServiceTest.java79 private static final InetAddress INADDR_ANY; field in IpSecServiceTest
110 INADDR_ANY = InetAddress.getByAddress(new byte[] {0, 0, 0, 0});
218 Os.bind(newSocket, INADDR_ANY, localport); in testOpenUdpEncapsulationSocketAfterClose()
239 Os.bind(newSocket, INADDR_ANY, localport); in testUdpEncapPortNotReleased()
/frameworks/base/services/core/java/com/android/server/
DIpSecService.java98 private static final InetAddress INADDR_ANY; field in IpSecService
102 INADDR_ANY = InetAddress.getByAddress(new byte[] {0, 0, 0, 0});
1147 Os.bind(probeSocket, INADDR_ANY, 0); in bindToRandomPort()
1151 Os.bind(sockFd, INADDR_ANY, port); in bindToRandomPort()
1221 Os.bind(sockFd, INADDR_ANY, port); in openUdpEncapsulationSocket()
/frameworks/base/tests/net/java/android/net/dhcp/
DDhcpPacketTest.java74 super(0xdeadbeef, (short) 0, clientIp, yourIp, INADDR_ANY, INADDR_ANY, in TestDhcpPacket()
80 this(type, INADDR_ANY, CLIENT_ADDR); in TestDhcpPacket()
/frameworks/base/libs/common_time/
Ddiag_thread.cpp109 addr.sin_addr.s_addr = INADDR_ANY; in openListenSocket()
Dcommon_time_server.cpp466 bindAddr.sin_addr.s_addr = INADDR_ANY; in setupSocket_l()
482 mreq.imr_interface.s_addr = htonl(INADDR_ANY); in setupSocket_l()
/frameworks/av/media/libstagefright/foundation/
DANetworkSession.cpp1045 addr.sin_addr.s_addr = htonl(INADDR_ANY); in createClientOrServer()