Searched refs:DHCP_SERVER (Results 1 – 6 of 6) sorted by relevance
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/ |
D | SessionConfigurationTest.java | 66 private static final InetAddress DHCP_SERVER = field in SessionConfigurationTest 160 .addInternalDhcpServer(DHCP_SERVER); in createChildSessionConfigBuilder() 176 assertEquals(Arrays.asList(DHCP_SERVER), config.getInternalDhcpServers()); in testChildSessionConfiguration()
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpPacket.java | 142 public static final short DHCP_SERVER = (short) 67; field in DhcpPacket 957 return (udpSrcPort == DHCP_SERVER) && (udpDstPort == DHCP_SERVER); in isPacketServerToServer() 1525 return pkt.buildPacket(encap, DHCP_SERVER, DHCP_CLIENT); in buildDiscoverPacket() 1572 return pkt.buildPacket(encap, DHCP_CLIENT, DHCP_SERVER); in buildOfferPacket() 1622 return pkt.buildPacket(encap, DHCP_CLIENT, DHCP_SERVER); in buildAckPacket() 1649 return pkt.buildPacket(encap, DHCP_CLIENT, DHCP_SERVER); in buildNakPacket() 1668 ByteBuffer result = pkt.buildPacket(encap, DHCP_SERVER, DHCP_CLIENT); in buildRequestPacket() 1694 ByteBuffer result = pkt.buildPacket(encap, DHCP_SERVER, DHCP_CLIENT); in buildDeclinePacket()
|
D | DhcpServer.java | 21 import static android.net.dhcp.DhcpPacket.DHCP_SERVER; 874 Os.bind(mSocket, IPV4_ADDR_ANY, DHCP_SERVER); in createFd()
|
D | DhcpClient.java | 650 Os.connect(mUdpSock, to, DhcpPacket.DHCP_SERVER); in connectUdpSock() 757 Os.sendto(mUdpSock, buf, 0, to, DhcpPacket.DHCP_SERVER); in transmitPacket()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpPacketTest.java | 145 DHCP_CLIENT, DHCP_SERVER, result, DHCP_BOOTREPLY, false); in buildPacket()
|
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/ |
D | IpClientIntegrationTestCommon.java | 34 import static android.net.dhcp.DhcpPacket.DHCP_SERVER; 1032 if (udpSrcPort != DHCP_CLIENT || udpDstPort != DHCP_SERVER) return false;
|