Searched refs:shouldGetSource (Results 1 – 1 of 1) sorted by relevance
323 private static InetAddress getAddress(byte[] pkt, boolean shouldGetSource) throws Exception { in getAddress() argument326 int ipOffset = shouldGetSource ? srcIpOffset : srcIpOffset + ipLen; in getAddress()335 private static int getPort(byte[] pkt, boolean shouldGetSource) { in getPort() argument338 int portOffset = shouldGetSource ? srcPortOffset : srcPortOffset + PORT_LEN; in getPort()