Searched refs:hdrLen (Results 1 – 2 of 2) sorted by relevance
94 private void processTcpPacket(byte[] buf, int version, int len, int hdrLen) { in processTcpPacket() argument95 if (len < hdrLen + TCP_HEADER_LENGTH) { in processTcpPacket()108 private void processUdpPacket(byte[] buf, int version, int len, int hdrLen) { in processUdpPacket() argument109 if (len < hdrLen + UDP_HEADER_LENGTH) { in processUdpPacket()117 int portOffset = hdrLen; in processUdpPacket()124 private void processIcmpPacket(byte[] buf, int version, int len, int hdrLen) { in processIcmpPacket() argument125 if (len < hdrLen + ICMP_HEADER_LENGTH) { in processIcmpPacket()129 byte type = buf[hdrLen]; in processIcmpPacket()151 byte replyType = buf[hdrLen]; in processIcmpPacket()162 request[hdrLen] = buf[hdrLen]; // Type in processIcmpPacket()[all …]
224 int hdrLen = isIpv6(pkt) ? IP6_HDRLEN : IP4_HDRLEN; in getIkeOffset() local225 int ikeOffset = UDP_HDRLEN + hdrLen; in getIkeOffset()234 int hdrLen = isIpv6(pkt) ? IP6_HDRLEN : IP4_HDRLEN; in hasNonEspMarker() local235 int ikeOffset = UDP_HDRLEN + hdrLen; in hasNonEspMarker()