Home
last modified time | relevance | path

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

/packages/modules/Connectivity/thread/tests/integration/src/android/net/thread/utils/
DInfraNetworkDevice.java28 import com.android.net.module.util.Ipv6Utils;
75 ByteBuffer icmp6Packet = Ipv6Utils.buildEchoRequestPacket(ipv6Addr, dstAddr); in sendEchoRequest()
87 Ipv6Utils.buildRsPacket( in sendRsPacket()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DIpv6UtilsTest.java57 ByteBuffer b = Ipv6Utils.buildRsPacket(MAC1, MAC2, LINK_LOCAL, ALL_ROUTERS /* no opts */); in testBuildRsPacket()
83 ByteBuffer b = Ipv6Utils.buildRaPacket(MAC2, MAC1, ROUTER_LINK_LOCAL, ALL_NODES, in testBuildRaPacket()
117 final ByteBuffer b = Ipv6Utils.buildEchoRequestPacket(MAC2, MAC1, LINK_LOCAL, ALL_NODES); in testBuildEchoRequestPacket()
136 final ByteBuffer b = Ipv6Utils.buildEchoReplyPacket(LINK_LOCAL, ALL_NODES); in testBuildEchoReplyPacket()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/util/
DTetheringUtilsTest.java40 import com.android.net.module.util.Ipv6Utils;
174 final ByteBuffer na = Ipv6Utils.buildNaPacket(mac1, mac2, ll1, ll2, 0, ll1); in testIcmpSocketFilters()
175 final ByteBuffer ns = Ipv6Utils.buildNsPacket(mac1, mac2, ll1, ll2, ll1); in testIcmpSocketFilters()
176 final ByteBuffer rs = Ipv6Utils.buildRsPacket(mac1, mac2, ll1, allRouters); in testIcmpSocketFilters()
/packages/modules/Connectivity/staticlibs/testutils/devicetests/
DNSResponder.kt21 import com.android.net.module.util.Ipv6Utils
68 reader.sendResponse(Ipv6Utils.buildNaPacket( in replyToPacket()
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DRouterAdvertisementResponder.java40 import com.android.net.module.util.Ipv6Utils;
145 return Ipv6Utils.buildRaPacket(srcMac, dstMac, srcIp, IPV6_ADDR_ALL_NODES_MULTICAST, in buildRaPacket()
187 final ByteBuffer naResponse = Ipv6Utils.buildNaPacket(srcMac, dstMac, targetIp, dstIp, in replyToNeighborSolicitation()
/packages/modules/NetworkStack/src/com/android/networkstack/packets/
DNeighborAdvertisement.java29 import com.android.net.module.util.Ipv6Utils;
98 return Ipv6Utils.buildNaPacket(srcMac, dstMac, srcIp, dstIp, flags, target, tlla); in build()
DNeighborSolicitation.java29 import com.android.net.module.util.Ipv6Utils;
98 return Ipv6Utils.buildNsPacket(srcMac, dstMac, srcIp, dstIp, target, slla); in build()
/packages/modules/NetworkStack/tests/integration/signature/android/net/util/
DNetworkStackUtilsIntegrationTest.kt46 import com.android.net.module.util.Ipv6Utils
172 val echo = Ipv6Utils.buildEchoRequestPacket(TEST_SRC_MAC, TEST_TARGET_MAC, TEST_INET6ADDR_1, in doTestAttachRaFilter()
188 val ra = Ipv6Utils.buildRaPacket(TEST_SRC_MAC, TEST_TARGET_MAC, in doTestAttachRaFilter()
/packages/modules/Connectivity/Tethering/tests/integration/src/android/net/
DEthernetTetheringTest.java53 import com.android.net.module.util.Ipv6Utils;
482 ByteBuffer request = Ipv6Utils.buildEchoRequestPacket(tethered.macAddr, in runPing6Test()
491 ByteBuffer reply = Ipv6Utils.buildEchoReplyPacket(remoteIp6Addr, tethered.ipv6Addr); in runPing6Test()
650 final ByteBuffer reply = Ipv6Utils.buildEchoReplyPacket( in testTetherClatIcmp()
/packages/modules/Connectivity/Tethering/tests/privileged/src/android/net/ip/
DRouterAdvertisementDaemonTest.java57 import com.android.net.module.util.Ipv6Utils;
300 return Ipv6Utils.buildRsPacket(srcMac, dstMac, (Inet6Address) InetAddress.getByName(srcIp), in createRsPacket()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/
DIpv6Utils.java47 public class Ipv6Utils { class
/packages/modules/Connectivity/Tethering/tests/integration/base/android/net/
DTetheringTester.java70 import com.android.net.module.util.Ipv6Utils;
382 ByteBuffer rs = Ipv6Utils.buildRsPacket(srcMac, dstMac, (Inet6Address) LINK_LOCAL, in sendRsPacket()
407 ByteBuffer ns = Ipv6Utils.buildNaPacket(tethered.macAddr, tethered.routerMacAddr, in maybeReplyNa()
/packages/modules/Connectivity/staticlibs/
DAndroid.bp196 "device/com/android/net/module/util/Ipv6Utils.java",
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/
DIpClientIntegrationTestCommon.java203 import com.android.net.module.util.Ipv6Utils;
2128 return Ipv6Utils.buildRaPacket(ROUTER_MAC /* srcMac */, dstMac,