Guidelines for Defining Packet Timestamps
draft-ietf-ntp-packet-timestamps-02

Document Type Active Internet-Draft (ntp WG)
Last updated 2018-06-24
Replaces draft-mizrahi-intarea-packet-timestamps
Stream IETF
Intended RFC status (None)
Formats plain text pdf html bibtex
Stream WG state WG Document
Document shepherd No shepherd assigned
IESG IESG state I-D Exists
Consensus Boilerplate Unknown
Telechat date
Responsible AD (None)
Send notices to (None)
NTP Working Group                                             T. Mizrahi
Internet-Draft                                                   Marvell
Intended status: Informational                                 J. Fabini
Expires: December 26, 2018                                       TU Wien
                                                               A. Morton
                                                               AT&T Labs
                                                           June 24, 2018

               Guidelines for Defining Packet Timestamps
                  draft-ietf-ntp-packet-timestamps-02

Abstract

   This document specifies guidelines for defining binary packet
   timestamp formats in networking protocols at various layers.  It also
   presents three recommended timestamp formats.  The target audience of
   this memo includes network protocol designers.  It is expected that a
   new network protocol that requires a packet timestamp will, in most
   cases, use one of the recommended timestamp formats.  If none of the
   recommended formats fits the protocol requirements, the new protocol
   specification should specify the format of the packet timestamp
   according to the guidelines in this document.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at https://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on December 26, 2018.

Copyright Notice

   Copyright (c) 2018 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents

Mizrahi, et al.         Expires December 26, 2018               [Page 1]
Internet-Draft              Packet Timestamps                  June 2018

   (https://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Terminology . . . . . . . . . . . . . . . . . . . . . . . . .   3
     2.1.  Requirements Language . . . . . . . . . . . . . . . . . .   3
     2.2.  Abbreviations . . . . . . . . . . . . . . . . . . . . . .   3
     2.3.  Terms used in this Document . . . . . . . . . . . . . . .   3
   3.  Packet Timestamp Specification Template . . . . . . . . . . .   4
   4.  Recommended Timestamp Formats . . . . . . . . . . . . . . . .   5
     4.1.  Using a Recommended Timestamp Format  . . . . . . . . . .   6
     4.2.  NTP Timestamp Formats . . . . . . . . . . . . . . . . . .   6
       4.2.1.  NTP 64-bit Timestamp Format . . . . . . . . . . . . .   6
       4.2.2.  NTP 32-bit Timestamp Format . . . . . . . . . . . . .   7
     4.3.  The PTP Truncated Timestamp Format  . . . . . . . . . . .   8
   5.  Synchronization Aspects . . . . . . . . . . . . . . . . . . .  10
   6.  Timestamp Use Cases . . . . . . . . . . . . . . . . . . . . .  10
     6.1.  Example 1 . . . . . . . . . . . . . . . . . . . . . . . .  11
     6.2.  Example 2 . . . . . . . . . . . . . . . . . . . . . . . .  12
   7.  Packet Timestamp Control Field  . . . . . . . . . . . . . . .  12
     7.1.  High-level Control Field Requirements . . . . . . . . . .  12
   8.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  13
   9.  Security Considerations . . . . . . . . . . . . . . . . . . .  13
   10. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . .  14
   11. References  . . . . . . . . . . . . . . . . . . . . . . . . .  15
     11.1.  Normative References . . . . . . . . . . . . . . . . . .  15
     11.2.  Informative References . . . . . . . . . . . . . . . . .  15
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  17

1.  Introduction

   Timestamps are widely used in network protocols for various purposes,
   including delay measurement, clock synchronization, and logging or
   reporting the time of an event.

   Timestamps are represented in the RFC series in one of two forms:
   text-based timestamps, and packet timestamps.  Text-based timestamps
Show full document text