Home
last modified time | relevance | path

Searched refs:ARP_REQUEST (Results 1 – 6 of 6) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/arp/
DArpPacketTest.java19 import static com.android.server.util.NetworkStackConstants.ARP_REQUEST;
149 INADDR_ANY.getAddress(), (short) ARP_REQUEST); in testBuildArpProbePacket()
157 TEST_IPV4_ADDR.getAddress(), (short) ARP_REQUEST); in testBuildArpAnnouncePacket()
164 assertEquals(packet.opCode, ARP_REQUEST); in testParseArpProbePacket()
175 assertEquals(packet.opCode, ARP_REQUEST); in testParseArpAnnouncePacket()
/packages/modules/NetworkStack/src/com/android/networkstack/arp/
DArpPacket.java25 import static com.android.server.util.NetworkStackConstants.ARP_REQUEST;
134 if (opCode != ARP_REQUEST && opCode != ARP_REPLY) { in parseArpPacket()
/packages/modules/NetworkStack/src/com/android/server/util/
DNetworkStackConstants.java58 public static final int ARP_REQUEST = 1; field in NetworkStackConstants
/packages/modules/NetworkStack/src/android/net/util/
DConnectivityPacketSummary.java25 import static com.android.server.util.NetworkStackConstants.ARP_REQUEST;
186 if (opCode == ARP_REQUEST) { in parseARP()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpClient.java52 import static com.android.server.util.NetworkStackConstants.ARP_REQUEST;
1488 (short) ARP_REQUEST); in transmitPacket()
1501 return (packet.opCode == ARP_REQUEST && packet.senderIp.equals(INADDR_ANY) in isArpProbe()
1529 + (packet.opCode == ARP_REQUEST ? "ARP Request" : "ARP Reply") in hasIpAddressConflict()
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTest.java37 import static com.android.server.util.NetworkStackConstants.ARP_REQUEST;
593 INADDR_ANY.getAddress() /* sender IP */, (short) ARP_REQUEST);
945 assertEquals(packet.opCode, ARP_REQUEST);