Searched refs:portOffset (Results 1 – 3 of 3) sorted by relevance
117 int portOffset = hdrLen; in processUdpPacket() local118 swapBytes(buf, portOffset, portOffset + 2, 2); in processUdpPacket()
156 final int portOffset = getSrcPort ? srcPortOffset : srcPortOffset + PORT_LEN; in getPort() local158 if (pkt.length < portOffset + PORT_LEN) { in getPort()165 return Short.toUnsignedInt(buffer.getShort(portOffset)); in getPort()
338 int portOffset = shouldGetSource ? srcPortOffset : srcPortOffset + PORT_LEN; in getPort() local340 buffer.get(new byte[portOffset]); in getPort()