Guidelines for Defining Packet Timestamps
draft-mizrahi-intarea-packet-timestamps-01

Document Type Active Internet-Draft (ntp WG)
Last updated 2017-09-29 (latest revision 2017-09-24)
Stream IETF
Intended RFC status (None)
Formats plain text pdf html bibtex
Stream WG state Candidate for WG Adoption
Document shepherd No shepherd assigned
IESG IESG state I-D Exists
Consensus Boilerplate Unknown
Telechat date
Responsible AD (None)
Send notices to (None)
Network Working Group                                         T. Mizrahi
Internet-Draft                                                   Marvell
Intended status: Informational                                 J. Fabini
Expires: March 28, 2018                  Vienna University of Technology
                                                               A. Morton
                                                               AT&T Labs
                                                      September 24, 2017

               Guidelines for Defining Packet Timestamps
               draft-mizrahi-intarea-packet-timestamps-01

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 March 28, 2018.

Copyright Notice

   Copyright (c) 2017 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 March 28, 2018                 [Page 1]
Internet-Draft              Packet Timestamps             September 2017

   (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
   3.  Packet Timestamp Format Specification . . . . . . . . . . . .   3
   4.  Recommended Timestamp Formats . . . . . . . . . . . . . . . .   4
     4.1.  Using a Recommended Timestamp Format  . . . . . . . . . .   5
     4.2.  NTP Timestamp Formats . . . . . . . . . . . . . . . . . .   5
       4.2.1.  NTP 64-bit Timestamp Format . . . . . . . . . . . . .   5
       4.2.2.  NTP 32-bit Timestamp Format . . . . . . . . . . . . .   6
     4.3.  The PTP Truncated Timestamp Format  . . . . . . . . . . .   8
   5.  Timestamp Use Cases . . . . . . . . . . . . . . . . . . . . .   9
     5.1.  Example 1 . . . . . . . . . . . . . . . . . . . . . . . .   9
     5.2.  Example 2 . . . . . . . . . . . . . . . . . . . . . . . .  10
   6.  Packet Timestamp Control Field  . . . . . . . . . . . . . . .  10
   7.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  11
   8.  Security Considerations . . . . . . . . . . . . . . . . . . .  11
   9.  Acknowledgments . . . . . . . . . . . . . . . . . . . . . . .  12
   10. References  . . . . . . . . . . . . . . . . . . . . . . . . .  12
     10.1.  Normative References . . . . . . . . . . . . . . . . . .  12
     10.2.  Informative References . . . . . . . . . . . . . . . . .  12
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  14

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
   [RFC3339] are represented as user-friendly strings, and are widely
Show full document text