Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/android/net/apf/
DApfTest.java734 private static final byte[] IPV4_ANY_HOST_ADDR = {0, 0, 0, 0}; field in ApfTest
922 assertDrop(program, arpRequestBroadcast(IPV4_ANY_HOST_ADDR)); in verifyArpFilter()
927 assertPass(program, arpReplyUnicast(IPV4_ANY_HOST_ADDR)); in verifyArpFilter()
975 put(packet, ARP_TARGET_IP_ADDRESS_OFFSET, IPV4_ANY_HOST_ADDR); in garpReply()
1239 assertEquals(0x00000000, ApfFilter.bytesToInt(IPV4_ANY_HOST_ADDR)); in testBytesToInt()
1248 assertEqualsIp("255.255.255.255", ApfFilter.ipv4BroadcastAddress(IPV4_ANY_HOST_ADDR, 0)); in testBroadcastAddress()
1249 assertEqualsIp("0.0.0.0", ApfFilter.ipv4BroadcastAddress(IPV4_ANY_HOST_ADDR, 32)); in testBroadcastAddress()
1250 assertEqualsIp("0.0.3.255", ApfFilter.ipv4BroadcastAddress(IPV4_ANY_HOST_ADDR, 22)); in testBroadcastAddress()
1251 assertEqualsIp("0.255.255.255", ApfFilter.ipv4BroadcastAddress(IPV4_ANY_HOST_ADDR, 8)); in testBroadcastAddress()