Searched refs:ICMP_HEADER_SIZE (Results 1 – 1 of 1) sorted by relevance
57 private static final int ICMP_HEADER_SIZE = 8; field in PingTest71 byte[] packet = new byte[payloadLength + ICMP_HEADER_SIZE]; in pingPacket()161 byte[] packet = pingPacket((int) (Math.random() * (MAX_SIZE - ICMP_HEADER_SIZE))); in testLoopbackPing()