Searched refs:IPV4_HEADER_MIN_LEN (Results 1 – 7 of 7) sorted by relevance
34 import static com.android.net.module.util.NetworkStackConstants.IPV4_HEADER_MIN_LEN;181 final int length = IPV4_HEADER_MIN_LEN + TCP_HEADER_LENGTH; in buildV4Packet()207 buf, 0, IPV4_HEADER_MIN_LEN, TCP_HEADER_LENGTH)); in buildV4Packet()
24 import static com.android.net.module.util.NetworkStackConstants.IPV4_HEADER_MIN_LEN;289 return IPV4_HEADER_MIN_LEN + ICMP_HEADER_LEN; in getHeaderLen()
26 import static com.android.net.module.util.NetworkStackConstants.IPV4_HEADER_MIN_LEN;612 assertEquals(IPV4_HEADER_MIN_LEN + TCP_HEADER_MIN_LEN + dataLength, in checkIpv4Header()617 assertEquals(IPV4_HEADER_MIN_LEN + UDP_HEADER_LEN + dataLength, in checkIpv4Header()
91 public static final int IPV4_HEADER_MIN_LEN = 20; field in NetworkStackConstants
54 import com.android.net.module.util.NetworkStackConstants.IPV4_HEADER_MIN_LEN157 ETHER_HEADER_LEN + IPV4_HEADER_MIN_LEN + UDP_HEADER_LEN, sentPacket.size) in testAddArpEntry()
49 import static com.android.net.module.util.NetworkStackConstants.IPV4_HEADER_MIN_LEN;204 mPacket.remaining() < IPV4_HEADER_MIN_LEN) { in parseIPv4()
50 import static com.android.net.module.util.NetworkStackConstants.IPV4_HEADER_MIN_LEN;836 packet.putShort(ipv4HeaderOffset + IPV4_HEADER_MIN_LEN + ICMP_CHECKSUM_OFFSET,837 icmpChecksum(packet, ipv4HeaderOffset + IPV4_HEADER_MIN_LEN,