Home
last modified time | relevance | path

Searched refs:mServerIdentifier (Results 1 – 10 of 10) sorted by relevance

/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpReleasePacket.java36 mServerIdentifier = serverId; in DhcpReleasePacket()
44 fillInPacket(encap, mServerIdentifier /* destIp */, mClientIp /* srcIp */, destUdp, srcUdp, in buildPacket()
54 addTlv(buffer, DHCP_SERVER_IDENTIFIER, mServerIdentifier); in finishPacket()
DDhcpDeclinePacket.java34 mServerIdentifier = serverIdentifier; in DhcpDeclinePacket()
61 addTlv(buffer, DHCP_SERVER_IDENTIFIER, mServerIdentifier); in finishPacket()
DDhcpRequestPacket.java62 if (!INADDR_ANY.equals(mServerIdentifier)) { in finishPacket()
63 addTlv(buffer, DHCP_SERVER_IDENTIFIER, mServerIdentifier); in finishPacket()
DDhcpPacket.java259 public Inet4Address mServerIdentifier; field in DhcpPacket
1287 newPacket.mServerIdentifier = serverIdentifier; in decodeFullPacket()
1363 results.serverAddress = mServerIdentifier; in toDhcpResults()
1419 pkt.mServerIdentifier = dhcpServerIdentifier; in buildOfferPacket()
1448 pkt.mServerIdentifier = dhcpServerIdentifier; in buildAckPacket()
1466 pkt.mServerIdentifier = serverIpAddr; in buildNakPacket()
1480 pkt.mServerIdentifier = serverIdentifier; in buildRequestPacket()
DDhcpNakPacket.java59 addTlv(buffer, DHCP_SERVER_IDENTIFIER, mServerIdentifier); in finishPacket()
DDhcpOfferPacket.java74 addTlv(buffer, DHCP_SERVER_IDENTIFIER, mServerIdentifier); in finishPacket()
DDhcpAckPacket.java74 addTlv(buffer, DHCP_SERVER_IDENTIFIER, mServerIdentifier); in finishPacket()
DDhcpServer.java499 final Inet4Address sid = packet.mServerIdentifier; in processPacket()
552 final boolean sidSet = packet.mServerIdentifier != null; in processRequest()
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpServerTest.java294 request.mServerIdentifier = TEST_SERVER_ADDR; in makeRequestSelectingPacket()
455 assertEquals(srvAddr, packet.mServerIdentifier); in assertMatchesLease()
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTest.java984 assertEquals(packet.mServerIdentifier, SERVER_ADDR);
2145 assertNull(packet.mServerIdentifier); // server ID