Searched refs:ARP_REQUEST (Results 1 – 6 of 6) sorted by relevance
19 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()
25 import static com.android.server.util.NetworkStackConstants.ARP_REQUEST;134 if (opCode != ARP_REQUEST && opCode != ARP_REPLY) { in parseArpPacket()
58 public static final int ARP_REQUEST = 1; field in NetworkStackConstants
25 import static com.android.server.util.NetworkStackConstants.ARP_REQUEST;186 if (opCode == ARP_REQUEST) { in parseARP()
52 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()
37 import static com.android.server.util.NetworkStackConstants.ARP_REQUEST;593 INADDR_ANY.getAddress() /* sender IP */, (short) ARP_REQUEST);945 assertEquals(packet.opCode, ARP_REQUEST);