Home
last modified time | relevance | path

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

/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DPacketReflectorUtil.kt25 import com.android.testutils.PacketReflector.IPV4_HEADER_LENGTH
26 import com.android.testutils.PacketReflector.IPV6_HEADER_LENGTH
65 4 -> PacketReflector.IPV4_ADDR_OFFSET to PacketReflector.IPV4_ADDR_LENGTH in getAddressPositionAndLength()
66 6 -> PacketReflector.IPV6_ADDR_OFFSET to PacketReflector.IPV6_ADDR_LENGTH in getAddressPositionAndLength()
86 PacketReflector.IPPROTO_UDP -> { in fixPacketChecksum()
98 PacketReflector.IPPROTO_TCP -> { in fixPacketChecksum()
129 addrPos = PacketReflector.IPV4_ADDR_OFFSET in swapAddresses()
130 addrLen = PacketReflector.IPV4_ADDR_LENGTH in swapAddresses()
133 addrPos = PacketReflector.IPV6_ADDR_OFFSET in swapAddresses()
134 addrLen = PacketReflector.IPV6_ADDR_LENGTH in swapAddresses()
DPacketForwarderBase.java19 import static com.android.testutils.PacketReflector.IPPROTO_TCP;
20 import static com.android.testutils.PacketReflector.IPPROTO_UDP;
21 import static com.android.testutils.PacketReflector.IPV4_HEADER_LENGTH;
22 import static com.android.testutils.PacketReflector.IPV6_HEADER_LENGTH;
23 import static com.android.testutils.PacketReflector.IPV6_PROTO_OFFSET;
24 import static com.android.testutils.PacketReflector.TCP_HEADER_LENGTH;
25 import static com.android.testutils.PacketReflector.UDP_HEADER_LENGTH;
161 protoPos = PacketReflector.IPV4_PROTO_OFFSET; in processPacket()
DPacketReflector.java45 public class PacketReflector extends Thread { class
84 public PacketReflector(@NonNull FileDescriptor fd, int mtu) { in PacketReflector() method in PacketReflector
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DMyVpnService.java35 import com.android.testutils.PacketReflector;
56 private PacketReflector mPacketReflector = null;
198 mPacketReflector = new PacketReflector(mFd.getFileDescriptor(), MTU); in start()
/packages/modules/Connectivity/staticlibs/testutils/devicetests/
DNSResponder.kt30 import com.android.testutils.PacketReflector.IPV6_HEADER_LENGTH