Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpReachabilityMonitorTest.kt59 import com.android.net.module.util.netlink.StructNdMsg.NUD_REACHABLE in <lambda>()
381 neighborMonitor.enqueuePacket(makeNewNeighMessage(TEST_IPV4_DNS, NUD_REACHABLE)) in runLoseProvisioningTest()
382 neighborMonitor.enqueuePacket(makeNewNeighMessage(TEST_IPV4_GATEWAY, NUD_REACHABLE)) in runLoseProvisioningTest()
383 neighborMonitor.enqueuePacket(makeNewNeighMessage(TEST_IPV6_DNS, NUD_REACHABLE)) in runLoseProvisioningTest()
384 neighborMonitor.enqueuePacket(makeNewNeighMessage(TEST_IPV6_GATEWAY, NUD_REACHABLE)) in runLoseProvisioningTest()
444 neighborMonitor.enqueuePacket(makeNewNeighMessage(neighbor, NUD_REACHABLE, macaddr)) in prepareNeighborReachableButMacAddrChangedTest()
618 neighborMonitor.enqueuePacket(makeNewNeighMessage(TEST_IPV4_DNS, NUD_REACHABLE)) in testLoseProvisioning_ignoreNeverReachableIpv6GatewayLost_withTwoIPv6DnsServers()
619 neighborMonitor.enqueuePacket(makeNewNeighMessage(TEST_IPV4_GATEWAY, NUD_REACHABLE)) in testLoseProvisioning_ignoreNeverReachableIpv6GatewayLost_withTwoIPv6DnsServers()
620 neighborMonitor.enqueuePacket(makeNewNeighMessage(TEST_IPV6_DNS, NUD_REACHABLE)) in testLoseProvisioning_ignoreNeverReachableIpv6GatewayLost_withTwoIPv6DnsServers()
621 neighborMonitor.enqueuePacket(makeNewNeighMessage(TEST_IPV6_DNS2, NUD_REACHABLE)) in testLoseProvisioning_ignoreNeverReachableIpv6GatewayLost_withTwoIPv6DnsServers()
[all …]
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/
DStructNdMsg.java37 public static final short NUD_REACHABLE = 0x02; field in StructNdMsg
52 case NUD_REACHABLE: return "NUD_REACHABLE"; in stringForNudState()
68 return ((nudState & (NUD_PERMANENT | NUD_NOARP | NUD_REACHABLE)) != 0); in isNudStateConnected()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java51 import static com.android.net.module.util.netlink.StructNdMsg.NUD_REACHABLE;
2867 recvNewNeigh(notMyIfindex, NEIGH_A, NUD_REACHABLE, MAC_A); in addRemoveIpv6ForwardingRules()
2871 recvNewNeigh(myIfindex, NEIGH_A, NUD_REACHABLE, MAC_A); in addRemoveIpv6ForwardingRules()
2876 recvNewNeigh(myIfindex, NEIGH_B, NUD_REACHABLE, MAC_B); in addRemoveIpv6ForwardingRules()
2882 recvNewNeigh(myIfindex, NEIGH_LL, NUD_REACHABLE, MAC_A); in addRemoveIpv6ForwardingRules()
2884 recvNewNeigh(myIfindex, NEIGH_MC, NUD_REACHABLE, MAC_A); in addRemoveIpv6ForwardingRules()
2903 recvNewNeigh(myIfindex, NEIGH_A, NUD_REACHABLE, MAC_A); in addRemoveIpv6ForwardingRules()
2904 recvNewNeigh(myIfindex, NEIGH_B, NUD_REACHABLE, MAC_B); in addRemoveIpv6ForwardingRules()
2952 recvNewNeigh(myIfindex, NEIGH_A, NUD_REACHABLE, MAC_A); in addRemoveIpv6ForwardingRules()
2964 recvNewNeigh(myIfindex, NEIGH_B, NUD_REACHABLE, MAC_B); in addRemoveIpv6ForwardingRules()
[all …]
/packages/modules/NetworkStack/src/android/net/ip/
DIpReachabilityMonitor.java319 } else if (event.nudState == StructNdMsg.NUD_REACHABLE) {
598 if (val == null || val.nudState != StructNdMsg.NUD_REACHABLE) return;