Home
last modified time | relevance | path

Searched refs:ETHER_BROADCAST (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DArpPacketTest.java21 import static com.android.net.module.util.NetworkStackConstants.ETHER_BROADCAST;
53 private static final MacAddress TEST_DESTINATION_MAC = MacAddress.fromBytes(ETHER_BROADCAST);
151 final ByteBuffer arpProbe = ArpPacket.buildArpPacket(ETHER_BROADCAST, in testBuildArpProbePacket()
159 final ByteBuffer arpAnnounce = ArpPacket.buildArpPacket(ETHER_BROADCAST, in testBuildArpAnnouncePacket()
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DNetworkStackConstants.java53 public static final byte[] ETHER_BROADCAST = new byte[] { field in NetworkStackConstants
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpPacket.java73 public static final byte[] ETHER_BROADCAST = new byte[] { field in DhcpPacket
519 buf.put(ETHER_BROADCAST); in fillInPacket()
1161 addrLen = ETHER_BROADCAST.length; in decodeFullPacket()
DDhcpClient.java620 ETH_P_IP, mIface.index, DhcpPacket.ETHER_BROADCAST); in initInterface()
1434 l2Packet.dstMacAddress = MacAddress.fromBytes(DhcpPacket.ETHER_BROADCAST); in sendPreconnectionPacket()
1584 final ByteBuffer packet = ArpPacket.buildArpPacket(DhcpPacket.ETHER_BROADCAST, hwAddr, in transmitPacket()
/packages/modules/NetworkStack/src/android/net/apf/
DApfFilter.java90 import static com.android.net.module.util.NetworkStackConstants.ETHER_BROADCAST;
1612 gen.addCountAndPassIfBytesAtR0NotEqual(ETHER_BROADCAST, Counter.PASSED_ARP_UNICAST_REPLY); in generateArpFilterLocked()
1759 gen.addCountAndPassIfBytesAtR0NotEqual(ETHER_BROADCAST, Counter.PASSED_IPV4_UNICAST); in generateIPv4FilterLocked()
1839 addresses.add(ETHER_BROADCAST); in getKnownMacAddresses()
2301 gen.addCountAndPassIfBytesAtR0NotEqual(ETHER_BROADCAST, Counter.PASSED_NON_IP_UNICAST); in emitPrologueLocked()
DLegacyApfFilter.java33 import static com.android.net.module.util.NetworkStackConstants.ETHER_BROADCAST;
1350 gen.addJumpIfBytesAtR0NotEqual(ETHER_BROADCAST, mCountAndPassLabel); in generateArpFilterLocked()
1446 gen.addJumpIfBytesAtR0NotEqual(ETHER_BROADCAST, mCountAndPassLabel); in generateIPv4FilterLocked()
1816 gen.addJumpIfBytesAtR0NotEqual(ETHER_BROADCAST, mCountAndPassLabel); in emitPrologueLocked()
/packages/modules/Connectivity/Tethering/tests/integration/base/android/net/
DTetheringTester.java40 import static com.android.net.module.util.NetworkStackConstants.ETHER_BROADCAST;
301 final ByteBuffer arpProbe = ArpPacket.buildArpPacket(ETHER_BROADCAST /* dst */, in getRouterMacAddressFromArp()
/packages/modules/NetworkStack/src/android/net/ip/
DIpClient.java43 import static com.android.net.module.util.NetworkStackConstants.ETHER_BROADCAST;
2033 final ByteBuffer packet = ArpPacket.buildArpPacket(ETHER_BROADCAST /* dstMac */, in sendGratuitousARP()
2036 ETHER_BROADCAST /* targetHwAddress */, in sendGratuitousARP()
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/
DIpClientIntegrationTestCommon.java65 import static com.android.net.module.util.NetworkStackConstants.ETHER_BROADCAST;
1193 final ByteBuffer packet = ArpPacket.buildArpPacket(DhcpPacket.ETHER_BROADCAST /* dst */,
1607 assertTrue(Arrays.equals(packet.targetHwAddress.toByteArray(), ETHER_BROADCAST));