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 | 259 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()
|
D | DhcpNakPacket.java | 59 addTlv(buffer, DHCP_SERVER_IDENTIFIER, mServerIdentifier); in finishPacket()
|
D | DhcpOfferPacket.java | 74 addTlv(buffer, DHCP_SERVER_IDENTIFIER, mServerIdentifier); in finishPacket()
|
D | DhcpAckPacket.java | 74 addTlv(buffer, DHCP_SERVER_IDENTIFIER, mServerIdentifier); in finishPacket()
|
D | DhcpServer.java | 499 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/ |
D | DhcpServerTest.java | 294 request.mServerIdentifier = TEST_SERVER_ADDR; in makeRequestSelectingPacket() 455 assertEquals(srvAddr, packet.mServerIdentifier); in assertMatchesLease()
|
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/ |
D | IpClientIntegrationTest.java | 984 assertEquals(packet.mServerIdentifier, SERVER_ADDR); 2145 assertNull(packet.mServerIdentifier); // server ID
|