ICMP Timestamp Reply

From Wikipedia, the free encyclopedia

The Timestamp Reply is an ICMP message which replies to a Timestamp message. It consists of the originating timestamp sent by the sender of the Timestamp as well as a receive timestamp and a transmit timestamp.

Message Format:

00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Type = 14 Code = 0 Header Checksum

Identifier

Sequence Number

Originate Timestamp

Receive Timestamp

Transmit Timestamp

  • Type must be set to 14.
  • Code must be set to 0.
  • The Identifier and Sequence Number can be used by the client to match the reply with the request that caused the reply.
  • The data received (a timestamp) in the timestamp is returned in the reply together with two additional timestamps. The timestamp is a 32 bits in length and is then number of milliseconds since midnight UT.
  • The Originate Timestamp is the time the sender last touched the message before sending it, the Receive Timestamp is the time the echoer first touched it on receipt, and the Transmit Timestamp is the time the echoer last touched the message on sending it.
  • If the time is not available in milliseconds or cannot be provided with respect to midnight UT then any time can be inserted in a timestamp provided the high order bit of the timestamp is also set to indicate this non-standard value.

[edit] See also