Searched refs:mServerIdentifier (Results 1 – 10 of 10) sorted by relevance
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpReleasePacket.java | 36 mServerIdentifier = serverId; in DhcpReleasePacket() 44 fillInPacket(encap, mServerIdentifier /* destIp */, mClientIp /* srcIp */, destUdp, srcUdp, in buildPacket() 54 addTlv(buffer, DHCP_SERVER_IDENTIFIER, mServerIdentifier); in finishPacket()
|
D | DhcpDeclinePacket.java | 34 mServerIdentifier = serverIdentifier; in DhcpDeclinePacket() 61 addTlv(buffer, DHCP_SERVER_IDENTIFIER, mServerIdentifier); in finishPacket()
|
D | DhcpRequestPacket.java | 62 if (!INADDR_ANY.equals(mServerIdentifier)) { in finishPacket() 63 addTlv(buffer, DHCP_SERVER_IDENTIFIER, mServerIdentifier); in finishPacket()
|
D | DhcpPacket.java | 269 public Inet4Address mServerIdentifier; field in DhcpPacket 1396 newPacket.mServerIdentifier = serverIdentifier; in decodeFullPacket() 1478 results.serverAddress = mServerIdentifier; in toDhcpResults() 1558 pkt.mServerIdentifier = dhcpServerIdentifier; in buildOfferPacket() 1609 pkt.mServerIdentifier = dhcpServerIdentifier; in buildAckPacket() 1648 pkt.mServerIdentifier = serverIpAddr; in buildNakPacket() 1663 pkt.mServerIdentifier = serverIdentifier; in buildRequestPacket()
|
D | DhcpNakPacket.java | 59 addTlv(buffer, DHCP_SERVER_IDENTIFIER, mServerIdentifier); in finishPacket()
|
D | DhcpOfferPacket.java | 77 addTlv(buffer, DHCP_SERVER_IDENTIFIER, mServerIdentifier); in finishPacket()
|
D | DhcpAckPacket.java | 76 addTlv(buffer, DHCP_SERVER_IDENTIFIER, mServerIdentifier); in finishPacket()
|
D | DhcpServer.java | 515 final Inet4Address sid = packet.mServerIdentifier; in processPacket() 568 final boolean sidSet = packet.mServerIdentifier != null; in processRequest()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpServerTest.java | 296 request.mServerIdentifier = TEST_SERVER_ADDR; in makeRequestSelectingPacket() 457 assertEquals(srvAddr, packet.mServerIdentifier); in assertMatchesLease()
|
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/ |
D | IpClientIntegrationTestCommon.java | 1634 assertEquals(packet.mServerIdentifier, SERVER_ADDR); 2963 assertNull(packet.mServerIdentifier); // server ID
|