Home
last modified time | relevance | path

Searched refs:hdrLen (Results 1 – 2 of 2) sorted by relevance

/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DPacketReflector.java94 private void processTcpPacket(byte[] buf, int version, int len, int hdrLen) { in processTcpPacket() argument
95 if (len < hdrLen + TCP_HEADER_LENGTH) { in processTcpPacket()
108 private void processUdpPacket(byte[] buf, int version, int len, int hdrLen) { in processUdpPacket() argument
109 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() argument
125 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 …]
/cts/apps/VpnApp/src/com/android/cts/vpnfirewall/
DPingReflector.java63 private void processPacket(byte[] buf, int version, int len, int hdrLen) throws IOException { in processPacket() argument