Searched refs:DATA_BUFFER_LEN (Results 1 – 5 of 5) sorted by relevance
45 private static final int DATA_BUFFER_LEN = 4096; field in PacketUtils112 ByteBuffer bb = ByteBuffer.allocate(DATA_BUFFER_LEN); in buildHeader()174 ByteBuffer bb = ByteBuffer.allocate(DATA_BUFFER_LEN); in getPacketBytes()220 ByteBuffer bb = ByteBuffer.allocate(DATA_BUFFER_LEN); in getPacketBytes()256 ByteBuffer bb = ByteBuffer.allocate(DATA_BUFFER_LEN); in getPacketBytes()271 ByteBuffer payloadBuffer = ByteBuffer.allocate(DATA_BUFFER_LEN); in addPacketBytes()349 ByteBuffer bb = ByteBuffer.allocate(DATA_BUFFER_LEN); in getPacketBytes()356 ByteBuffer espPayloadBuffer = ByteBuffer.allocate(DATA_BUFFER_LEN); in addPacketBytes()
49 private static final int DATA_BUFFER_LEN = 4096; field in TunUtils99 byte[] inBytes = new byte[DATA_BUFFER_LEN]; in receiveFromTun()104 } else if (bytesRead >= DATA_BUFFER_LEN) { in receiveFromTun()
39 private static final int DATA_BUFFER_LEN = 4096; field in PacketUtils106 ByteBuffer bb = ByteBuffer.allocate(DATA_BUFFER_LEN); in buildHeader()168 ByteBuffer bb = ByteBuffer.allocate(DATA_BUFFER_LEN); in getPacketBytes()214 ByteBuffer bb = ByteBuffer.allocate(DATA_BUFFER_LEN); in getPacketBytes()250 ByteBuffer bb = ByteBuffer.allocate(DATA_BUFFER_LEN); in getPacketBytes()265 ByteBuffer payloadBuffer = ByteBuffer.allocate(DATA_BUFFER_LEN); in addPacketBytes()343 ByteBuffer bb = ByteBuffer.allocate(DATA_BUFFER_LEN); in getPacketBytes()350 ByteBuffer espPayloadBuffer = ByteBuffer.allocate(DATA_BUFFER_LEN); in addPacketBytes()
49 private static final int DATA_BUFFER_LEN = 4096; field in TunUtils91 byte[] inBytes = new byte[DATA_BUFFER_LEN]; in receiveFromTun()96 } else if (bytesRead >= DATA_BUFFER_LEN) { in receiveFromTun()
63 protected static final int DATA_BUFFER_LEN = 4096; field in IpSecBaseTest145 byte[] in = new byte[DATA_BUFFER_LEN]; in receive()152 bytesRead.set(Os.recvfrom(mFd, in, 0, DATA_BUFFER_LEN, 0, null)); in receive()255 DatagramPacket data = new DatagramPacket(new byte[DATA_BUFFER_LEN], DATA_BUFFER_LEN); in receive()293 byte[] in = new byte[DATA_BUFFER_LEN]; in receive()