Searched refs:PacketReflector (Results 1 – 5 of 5) sorted by relevance
25 import com.android.testutils.PacketReflector.IPV4_HEADER_LENGTH26 import com.android.testutils.PacketReflector.IPV6_HEADER_LENGTH65 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()
19 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()
45 public class PacketReflector extends Thread { class84 public PacketReflector(@NonNull FileDescriptor fd, int mtu) { in PacketReflector() method in PacketReflector
35 import com.android.testutils.PacketReflector;56 private PacketReflector mPacketReflector = null;198 mPacketReflector = new PacketReflector(mFd.getFileDescriptor(), MTU); in start()
30 import com.android.testutils.PacketReflector.IPV6_HEADER_LENGTH