Examples of IcmpV4TimestampReplyHeader


Examples of org.pcap4j.packet.IcmpV4TimestampReplyPacket.IcmpV4TimestampReplyHeader

    }
  }

  @Test
  public void testGetHeader() {
    IcmpV4TimestampReplyHeader h = packet.getHeader();
    assertEquals(identifier, h.getIdentifier());
    assertEquals(sequenceNumber, h.getSequenceNumber());
    assertEquals(originateTimestamp, h.getOriginateTimestamp());
    assertEquals(receiveTimestamp, h.getReceiveTimestamp());
    assertEquals(transmitTimestamp, h.getTransmitTimestamp());

    IcmpV4TimestampReplyPacket.Builder b = packet.getBuilder();
    IcmpV4TimestampReplyPacket p;

    b.identifier((short)0);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.