<?xml version="1.0" encoding="US-ASCII"?>
<!DOCTYPE rfc SYSTEM "rfc2629.dtd">
<?rfc toc="yes"?>
<?rfc tocompact="yes"?>
<?rfc tocdepth="3"?>
<?rfc tocindent="yes"?>
<?rfc symrefs="yes"?>
<?rfc sortrefs="yes"?>
<?rfc comments="yes"?>
<?rfc inline="yes"?>
<?rfc compact="yes"?>
<?rfc subcompact="no"?>
<rfc category="std" docName="draft-ietf-ippm-initial-registry-16"
     ipr="trust200902">
  <front>
    <title abbrev="Initial Registry">Initial Performance Metrics Registry
    Entries</title>

    <author fullname="Al Morton" initials="A." surname="Morton">
      <organization>AT&amp;T Labs</organization>

      <address>
        <postal>
          <street>200 Laurel Avenue South</street>

          <city>Middletown,</city>

          <region>NJ</region>

          <code>07748</code>

          <country>USA</country>
        </postal>

        <phone>+1 732 420 1571</phone>

        <facsimile>+1 732 368 1192</facsimile>

        <email>acmorton@att.com</email>

        <uri/>
      </address>
    </author>

    <author fullname="Marcelo Bagnulo" initials="M." surname="Bagnulo">
      <organization abbrev="UC3M">Universidad Carlos III de
      Madrid</organization>

      <address>
        <postal>
          <street>Av. Universidad 30</street>

          <city>Leganes</city>

          <region>Madrid</region>

          <code>28911</code>

          <country>SPAIN</country>
        </postal>

        <phone>34 91 6249500</phone>

        <email>marcelo@it.uc3m.es</email>

        <uri>http://www.it.uc3m.es</uri>
      </address>
    </author>

    <author fullname="Philip Eardley" initials="P." surname="Eardley">
      <organization abbrev="BT">BT</organization>

      <address>
        <postal>
          <street>Adastral Park, Martlesham Heath</street>

          <city>Ipswich</city>

          <country>ENGLAND</country>
        </postal>

        <email>philip.eardley@bt.com</email>
      </address>
    </author>

    <author fullname="Kevin D'Souza" initials="K." surname="D'Souza">
      <organization>AT&amp;T Labs</organization>

      <address>
        <postal>
          <street>200 Laurel Avenue South</street>

          <city>Middletown,</city>

          <region>NJ</region>

          <code>07748</code>

          <country>USA</country>
        </postal>

        <phone>+1 732 420 xxxx</phone>

        <facsimile/>

        <email>kld@att.com</email>

        <uri/>
      </address>
    </author>

    <date day="9" month="March" year="2020"/>

    <abstract>
      <t>This memo defines the set of Initial Entries for the IANA Performance
      Metrics Registry. The set includes: UDP Round-trip Latency and Loss,
      Packet Delay Variation, DNS Response Latency and Loss, UDP Poisson
      One-way Delay and Loss, UDP Periodic One-way Delay and Loss, ICMP
      Round-trip Latency and Loss, and TCP round-trip Latency and Loss.</t>
    </abstract>

    <note title="Requirements Language">
      <t>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
      "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
      "OPTIONAL" in this document are to be interpreted as described in BCP
      14<xref target="RFC2119"/> <xref target="RFC8174"/> when, and only when,
      they appear in all capitals, as shown here.</t>

      <t/>
    </note>
  </front>

  <middle>
    <section title="Introduction">
      <t>This memo proposes an initial set of entries for the Performance
      Metrics Registry. It uses terms and definitions from the IPPM
      literature, primarily <xref target="RFC2330"/>.</t>

      <t>Although there are several standard templates for organizing
      specifications of performance metrics (see <xref target="RFC7679"/> for
      an example of the traditional IPPM template, based to large extent on
      the Benchmarking Methodology Working Group's traditional template in
      <xref target="RFC1242"/>, and see <xref target="RFC6390"/> for a similar
      template), none of these templates were intended to become the basis for
      the columns of an IETF-wide registry of metrics. While examining aspects
      of metric specifications which need to be registered, it became clear
      that none of the existing metric templates fully satisfies the
      particular needs of a registry.</t>

      <t>Therefore, <xref target="I-D.ietf-ippm-metric-registry"/> defines the
      overall format for a Performance Metrics Registry. Section 5 of <xref
      target="I-D.ietf-ippm-metric-registry"/> also gives guidelines for those
      requesting registration of a Metric, that is the creation of entry(s) in
      the Performance Metrics Registry: "In essence, there needs to be
      evidence that a candidate Registered Performance Metric has significant
      industry interest, or has seen deployment, and there is agreement that
      the candidate Registered Performance Metric serves its intended
      purpose." The process in <xref target="I-D.ietf-ippm-metric-registry"/>
      also requires that new entries are administered by IANA through
      Specification Required policy, which will ensure that the metrics are
      tightly defined.</t>
    </section>

    <section title="Scope">
      <t>This document defines a set of initial Performance Metrics Registry
      entries. Most are Active Performance Metrics, which are based on RFCs
      prepared in the IPPM working group of the IETF, according to their
      framework <xref target="RFC2330"/> and its updates.</t>
    </section>

    <section title="Registry Categories and Columns">
      <t>This memo uses the terminology defined in <xref
      target="I-D.ietf-ippm-metric-registry"/>.</t>

      <t>This section provides the categories and columns of the registry, for
      easy reference. An entry (row) therefore gives a complete description of
      a Registered Metric.</t>

      <t><figure>
          <artwork><![CDATA[Legend:
 Registry Categories and Columns, shown as
                                            Category
                                            ------------------
                                            Column |  Column |

Summary
------------------------------------------------------------------------
Identifier | Name | URI | Desc. | Reference | Change Controller | Ver |

Metric Definition
-----------------------------------------
Reference Definition | Fixed Parameters |

Method of Measurement
---------------------------------------------------------------------
Reference | Packet     | Traffic | Sampling     | Run-time   | Role |
Method    | Stream     | Filter  | Distribution | Parameters |      |
          | Generation |
Output
-----------------------------------------
Type | Reference  | Units | Calibration |
     | Definition |       |             |

Administrative Information
------------------------------------
Status |Requester | Rev | Rev.Date |

Comments and Remarks
--------------------

]]></artwork>
        </figure></t>
    </section>

    <section title="UDP Round-trip Latency and Loss Registry Entries">
      <t>This section specifies an initial registry entry for the UDP
      Round-trip Latency, and another entry for UDP Round-trip Loss Ratio.</t>

      <t>Note: Each Registry entry only produces a "raw" output or a
      statistical summary. To describe both "raw" and one or more statistics
      efficiently, the Identifier, Name, and Output Categories can be split
      and a single section can specify two or more closely-related metrics.
      For example, this section specifies two Registry entries with many
      common columns. See Section 7 for an example specifying multiple
      Registry entries with many common columns.</t>

      <t>All column entries beside the ID, Name, Description, and Output
      Reference Method categories are the same, thus this section proposes two
      closely-related registry entries. As a result, IANA is also asked to
      assign a corresponding URL to each Named Metric.</t>

      <section title="Summary">
        <t>This category includes multiple indexes to the registry entry: the
        element ID and metric name.</t>

        <section title="ID (Identifier)">
          <t>IANA is asked to assign different numeric identifiers to each of
          the two Named Metrics.</t>
        </section>

        <section title="Name">
          <t>RTDelay_Active_IP-UDP-Periodic_RFCXXXXsec4_Seconds_95Percentile</t>

          <t>RTLoss_Active_IP-UDP-Periodic_RFCXXXXsec4_Percent_LossRatio</t>
        </section>

        <section title="URI">
          <t>URL: https://www.iana.org/ ... &lt;name&gt;</t>
        </section>

        <section title="Description">
          <t>RTDelay: This metric assesses the delay of a stream of packets
          exchanged between two hosts (which are the two measurement points),
          and the Output is the Round-trip delay for all successfully
          exchanged packets expressed as the 95th percentile of their
          conditional delay distribution.</t>

          <t>RTLoss: This metric assesses the loss ratio of a stream of
          packets exchanged between two hosts (which are the two measurement
          points), and the Output is the Round-trip loss ratio for all
          successfully exchanged packets expressed as a percentage.</t>
        </section>

        <section title="Change Controller">
          <t>IETF</t>
        </section>

        <section title="Version (of Registry Format)">
          <t>1.0</t>
        </section>
      </section>

      <section title="Metric Definition">
        <t>This category includes columns to prompt the entry of all necessary
        details related to the metric definition, including the RFC reference
        and values of input factors, called fixed parameters.</t>

        <section title="Reference Definition">
          <t>Almes, G., Kalidindi, S., and M. Zekauskas, "A Round-trip Delay
          Metric for IPPM", RFC 2681, September 1999.</t>

          <t><xref target="RFC2681"/></t>

          <t>Section 2.4 of <xref target="RFC2681"/> provides the reference
          definition of the singleton (single value) Round-trip delay metric.
          Section 3.4 of <xref target="RFC2681"/> provides the reference
          definition expanded to cover a multi-singleton sample. Note that
          terms such as singleton and sample are defined in Section 11 of
          <xref target="RFC2330"/>.</t>

          <t>Note that although the <xref target="RFC2681"/> definition of
          "Round-trip-Delay between Src and Dst" is directionally ambiguous in
          the text, this metric tightens the definition further to recognize
          that the host in the "Src" role will send the first packet to "Dst",
          and ultimately receive the corresponding return packet from "Dst"
          (when neither are lost).</t>

          <t>Finally, note that the variable "dT" is used in <xref
          target="RFC2681"/> to refer to the value of Round-trip delay in
          metric definitions and methods. The variable "dT" has been re-used
          in other IPPM literature to refer to different quantities, and
          cannot be used as a global variable name.</t>

          <t>Morton, A., "Round-trip Packet Loss Metrics", RFC 6673, August
          2012.</t>

          <t><xref target="RFC6673"/></t>

          <t>Both delay and loss metrics employ a maximum waiting time for
          received packets, so the count of lost packets to total packets sent
          is the basis for the loss ratio calculation as per Section 6.1 of
          <xref target="RFC6673"/>.</t>
        </section>

        <section title="Fixed Parameters">
          <t>Type-P as defined in Section 13 of <xref target="RFC2330"/>:
          <list style="symbols">
              <t>IPv4 header values: <list style="symbols">
                  <t>DSCP: set to 0</t>

                  <t>TTL: set to 255</t>

                  <t>Protocol: set to 17 (UDP)</t>
                </list></t>

              <t>IPv6 header values:<list style="symbols">
                  <t>DSCP: set to 0</t>

                  <t>Hop Count: set to 255</t>

                  <t>Next Header: set to 17 (UDP)</t>

                  <t>Flow Label: set to zero</t>

                  <t>Extension Headers: none</t>
                </list></t>

              <t>UDP header values: <list style="symbols">
                  <t>Checksum: the checksum MUST be calculated and the
                  non-zero checksum included in the header</t>
                </list></t>

              <t>UDP Payload <list style="symbols">
                  <t>total of 100 bytes</t>
                </list></t>
            </list></t>

          <t>Other measurement parameters:<list style="symbols">
              <t>Tmax: a loss threshold waiting time<list style="symbols">
                  <t>3.0, expressed in units of seconds, as a positive value
                  of type decimal64 with fraction digits = 4 (see section 9.3
                  of <xref target="RFC6020"/>) and with resolution of 0.0001
                  seconds (0.1 ms), with lossless conversion to/from the
                  32-bit NTP timestamp as per section 6 of <xref
                  target="RFC5905"/>.</t>
                </list></t>
            </list></t>
        </section>
      </section>

      <section title="Method of Measurement">
        <t>This category includes columns for references to relevant sections
        of the RFC(s) and any supplemental information needed to ensure an
        unambiguous methods for implementations.</t>

        <section title="Reference Method">
          <t>The methodology for this metric is defined as
          Type-P-Round-trip-Delay-Poisson-Stream in section 2.6 of <xref
          target="RFC2681">RFC 2681</xref> and section 3.6 of <xref
          target="RFC2681">RFC 2681</xref> using the Type-P and Tmax defined
          under Fixed Parameters. However, the Periodic stream will be
          generated according to <xref target="RFC3432"/>.</t>

          <t>The reference method distinguishes between long-delayed packets
          and lost packets by implementing a maximum waiting time for packet
          arrival. Tmax is the waiting time used as the threshold to declare a
          packet lost. Lost packets SHALL be designated as having undefined
          delay, and counted for the RTLoss metric.</t>

          <t>The calculations on the delay (RTT) SHALL be performed on the
          conditional distribution, conditioned on successful packet arrival
          within Tmax. Also, when all packet delays are stored, the process
          which calculates the RTT value MUST enforce the Tmax threshold on
          stored values before calculations. See section 4.1 of <xref
          target="RFC3393"/> for details on the conditional distribution to
          exclude undefined values of delay, and Section 5 of <xref
          target="RFC6703"/> for background on this analysis choice.</t>

          <t>The reference method requires some way to distinguish between
          different packets in a stream to establish correspondence between
          sending times and receiving times for each successfully-arriving
          packet. Sequence numbers or other send-order identification MUST be
          retained at the Src or included with each packet to disambiguate
          packet reordering if it occurs.</t>

          <t>If a standard measurement protocol is employed, then the
          measurement process will determine the sequence numbers or
          timestamps applied to test packets after the Fixed and Runtime
          parameters are passed to that process. The chosen measurement
          protocol will dictate the format of sequence numbers and
          time-stamps, if they are conveyed in the packet payload.</t>

          <t>Refer to Section 4.4 of <xref target="RFC6673"/> for expanded
          discussion of the instruction to "send a Type-P packet back to the
          Src as quickly as possible" in Section 2.6 of <xref
          target="RFC2681">RFC 2681</xref>. Section 8 of <xref
          target="RFC6673"/> presents additional requirements which MUST be
          included in the method of measurement for this metric.</t>
        </section>

        <section title="Packet Stream Generation">
          <t>This section gives the details of the packet traffic which is the
          basis for measurement. In IPPM metrics, this is called the Stream,
          and can easily be described by providing the list of stream
          parameters.</t>

          <t>Section 3 of <xref target="RFC3432"/> prescribes the method for
          generating Periodic streams using associated parameters.</t>

          <t><list style="hanging">
              <t hangText="incT">the nominal duration of inter-packet
              interval, first bit to first bit, with value 0.0200, expressed
              in units of seconds, as a positive value of type decimal64 with
              fraction digits = 4 (see section 9.3 of <xref
              target="RFC6020"/>) and with resolution of 0.0001 seconds (0.1
              ms).</t>

              <t hangText="dT">the duration of the interval for allowed sample
              start times, with value 1.0, expressed in units of seconds, as a
              positive value of type decimal64 with fraction digits = 4 (see
              section 9.3 of <xref target="RFC6020"/>) and with resolution of
              0.0001 seconds (0.1 ms).</t>
            </list>NOTE: an initiation process with a number of control
          exchanges resulting in unpredictable start times (within a time
          interval) may be sufficient to avoid synchronization of periodic
          streams, and therefore a valid replacement for selecting a start
          time at random from a fixed interval.</t>

          <t>The T0 parameter will be reported as a measured parameter.
          Parameters incT and dT are Fixed Parameters.</t>
        </section>

        <section title="Traffic Filtering (observation) Details">
          <t>NA</t>
        </section>

        <section title="Sampling Distribution">
          <t>NA</t>
        </section>

        <section title="Run-time Parameters and Data Format">
          <t>Run-time Parameters are input factors that must be determined,
          configured into the measurement system, and reported with the
          results for the context to be complete.</t>

          <t><list style="hanging">
              <t hangText="Src">the IP address of the host in the Src Role
              (format ipv4-address-no-zone value for IPv4, or
              ipv6-address-no-zone value for IPv6, see Section 4 of <xref
              target="RFC6991"/>)</t>

              <t hangText="Dst">the IP address of the host in the Dst Role
              (format ipv4-address-no-zone value for IPv4, or
              ipv6-address-no-zone value for IPv6, see section 4 of <xref
              target="RFC6991"/>)</t>

              <t hangText="T0">a time, the start of a measurement interval,
              (format "date-and-time" as specified in Section 5.6 of <xref
              target="RFC3339"/>, see also Section 3 of <xref
              target="RFC6991"/>). The UTC Time Zone is required by Section
              6.1 of <xref target="RFC2330"/>. When T0 is "all-zeros", a start
              time is unspecified and Tf is to be interpreted as the Duration
              of the measurement interval. The start time is controlled
              through other means.</t>

              <t hangText="Tf">a time, the end of a measurement interval,
              (format "date-and-time" as specified in Section 5.6 of <xref
              target="RFC3339"/>, see also Section 3 of <xref
              target="RFC6991"/>). The UTC Time Zone is required by Section
              6.1 of <xref target="RFC2330"/>. When T0 is "all-zeros", a end
              time date is ignored and Tf is interpreted as the Duration of
              the measurement interval.</t>
            </list></t>

          <t/>
        </section>

        <section title="Roles">
          <t><list style="hanging">
              <t hangText="Src">launches each packet and waits for return
              transmissions from Dst.</t>

              <t hangText="Dst">waits for each packet from Src and sends a
              return packet to Src.</t>
            </list></t>
        </section>
      </section>

      <section title="Output">
        <t>This category specifies all details of the Output of measurements
        using the metric.</t>

        <section title="Type">
          <t>Percentile -- for the conditional distribution of all packets
          with a valid value of Round-trip delay (undefined delays are
          excluded), a single value corresponding to the 95th percentile, as
          follows:</t>

          <t>See section 4.1 of <xref target="RFC3393"/> for details on the
          conditional distribution to exclude undefined values of delay, and
          Section 5 of <xref target="RFC6703"/> for background on this
          analysis choice.</t>

          <t>The percentile = 95, meaning that the reported delay,
          "95Percentile", is the smallest value of Round-trip delay for which
          the Empirical Distribution Function (EDF), F(95Percentile) &gt;= 95%
          of the singleton Round-trip delay values in the conditional
          distribution. See section 11.3 of <xref target="RFC2330"/> for the
          definition of the percentile statistic using the EDF.</t>

          <t>LossRatio -- the count of lost packets to total packets sent is
          the basis for the loss ratio calculation as per Section 6.1 of <xref
          target="RFC6673"/>.</t>
        </section>

        <section title="Reference Definition">
          <t>For all outputs ---</t>

          <t><list style="hanging">
              <t hangText="T0">the start of a measurement interval, (format
              "date-and-time" as specified in Section 5.6 of <xref
              target="RFC3339"/>, see also Section 3 of <xref
              target="RFC6991"/>). The UTC Time Zone is required by Section
              6.1 of <xref target="RFC2330"/>.</t>

              <t hangText="Tf">the end of a measurement interval, (format
              "date-and-time" as specified in Section 5.6 of <xref
              target="RFC3339"/>, see also Section 3 of <xref
              target="RFC6991"/>). The UTC Time Zone is required by Section
              6.1 of <xref target="RFC2330"/>.</t>

              <t hangText="TotalPkts">the count of packets sent by the Src to
              Dst during the measurement interval.</t>
            </list></t>

          <t/>

          <t>For</t>

          <t>RTDelay_Active_IP-UDP-Periodic_RFCXXXXsec4_Seconds_95Percentile:</t>

          <t><list style="hanging">
              <t hangText="95Percentile">The time value of the result is
              expressed in units of seconds, as a positive value of type
              decimal64 with fraction digits = 9 (see section 9.3 of <xref
              target="RFC6020"/>) with resolution of 0.000000001 seconds (1.0
              ns).</t>
            </list></t>

          <t>For</t>

          <t>RTLoss_Active_IP-UDP-Periodic_RFCXXXXsec4_Percent_LossRatio:</t>

          <t><list style="hanging">
              <t hangText="Percentile">The numeric value of the result is
              expressed in units of lost packets to total packets times 100%,
              as a positive value of type decimal64 with fraction digits = 9
              (see section 9.3 of <xref target="RFC6020"/>) with resolution of
              0.0000000001.</t>
            </list></t>
        </section>

        <section title="Metric Units">
          <t>The 95th Percentile of Round-trip Delay is expressed in
          seconds.</t>

          <t>The Round-trip Loss Ratio is expressed as a percentage of lost
          packets to total packets sent.</t>
        </section>

        <section title="Calibration">
          <t>Section 3.7.3 of <xref target="RFC7679"/> provides a means to
          quantify the systematic and random errors of a time measurement.
          In-situ calibration could be enabled with an internal loopback at
          the Source host that includes as much of the measurement system as
          possible, performs address manipulation as needed, and provides some
          form of isolation (e.g., deterministic delay) to avoid send-receive
          interface contention. Some portion of the random and systematic
          error can be characterized this way.</t>

          <t>When a measurement controller requests a calibration measurement,
          the loopback is applied and the result is output in the same format
          as a normal measurement with additional indication that it is a
          calibration result.</t>

          <t>Both internal loopback calibration and clock synchronization can
          be used to estimate the available accuracy of the Output Metric
          Units. For example, repeated loopback delay measurements will reveal
          the portion of the Output result resolution which is the result of
          system noise, and thus inaccurate.</t>
        </section>
      </section>

      <section title="Administrative items">
        <t/>

        <section title="Status">
          <t>Current</t>
        </section>

        <section title="Requester">
          <t>This RFC number</t>
        </section>

        <section title="Revision">
          <t>1.0</t>
        </section>

        <section title="Revision Date">
          <t>YYYY-MM-DD</t>
        </section>
      </section>

      <section title="Comments and Remarks">
        <t>None.</t>
      </section>
    </section>

    <section title="Packet Delay Variation Registry Entry">
      <t>This section gives an initial registry entry for a Packet Delay
      Variation metric.</t>

      <section title="Summary">
        <t>This category includes multiple indexes to the registry entries,
        the element ID and metric name.</t>

        <section title="ID (Identifier)">
          <t>&lt;insert numeric identifier, an integer&gt;</t>
        </section>

        <section title="Name">
          <t>OWPDV_Active_IP-UDP-Periodic_RFCXXXXsec5_Seconds_95Percentile</t>
        </section>

        <section title="URI">
          <t>URL: https://www.iana.org/ ... &lt;name&gt;</t>
        </section>

        <section title="Description">
          <t>An assessment of packet delay variation with respect to the
          minimum delay observed on the periodic stream, and the Output is
          expressed as the 95th percentile of the packet delay variation
          distribution.</t>
        </section>

        <section title="Change Controller">
          <t>IETF</t>
        </section>

        <section title="Version (of Registry Format)">
          <t>1.0</t>
        </section>
      </section>

      <section title="Metric Definition">
        <t>This category includes columns to prompt the entry of all necessary
        details related to the metric definition, including the RFC reference
        and values of input factors, called fixed parameters.</t>

        <section title="Reference Definition">
          <t>Paxson, V., Almes, G., Mahdavi, J., and M. Mathis, "Framework for
          IP Performance Metrics", RFC 2330, May 1998. <xref
          target="RFC2330"/></t>

          <t>Demichelis, C. and P. Chimento, "IP Packet Delay Variation Metric
          for IP Performance Metrics (IPPM)", RFC 3393, November 2002. <xref
          target="RFC3393"/></t>

          <t>Morton, A. and B. Claise, "Packet Delay Variation Applicability
          Statement", RFC 5481, March 2009. <xref target="RFC5481"/></t>

          <t>Mills, D., Martin, J., Burbank, J., and W. Kasch, "Network Time
          Protocol Version 4: Protocol and Algorithms Specification", RFC
          5905, June 2010.<xref target="RFC5905"> </xref></t>

          <t>See sections 2.4 and 3.4 of <xref target="RFC3393"/>. Singleton
          delay differences measured are referred to by the variable name
          "ddT" (applicable to all forms of delay variation). However, this
          metric entry specifies the PDV form defined in section 4.2 of <xref
          target="RFC5481"/>, where the singleton PDV for packet i is referred
          to by the variable name "PDV(i)".</t>
        </section>

        <section title="Fixed Parameters">
          <t><list style="symbols">
              <t>IPv4 header values: <list style="symbols">
                  <t>DSCP: set to 0</t>

                  <t>TTL: set to 255</t>

                  <t>Protocol: set to 17 (UDP)</t>
                </list></t>

              <t>IPv6 header values:<list style="symbols">
                  <t>DSCP: set to 0</t>

                  <t>Hop Count: set to 255</t>

                  <t>Next Header: set to 17 (UDP)</t>

                  <t>Flow Label: set to zero</t>

                  <t>Extension Headers: none</t>
                </list></t>

              <t>UDP header values: <list style="symbols">
                  <t>Checksum: the checksum MUST be calculated and the
                  non-zero checksum included in the header</t>
                </list></t>

              <t>UDP Payload <list style="symbols">
                  <t>total of 200 bytes</t>
                </list></t>
            </list></t>

          <t>Other measurement parameters:</t>

          <t><list style="hanging">
              <t hangText="Tmax:">a loss threshold waiting time with value
              3.0, expressed in units of seconds, as a positive value of type
              decimal64 with fraction digits = 4 (see section 9.3 of <xref
              target="RFC6020"/>) and with resolution of 0.0001 seconds (0.1
              ms), with lossless conversion to/from the 32-bit NTP timestamp
              as per section 6 of <xref target="RFC5905"/>.</t>

              <t hangText="F">a selection function unambiguously defining the
              packets from the stream selected for the metric. See section 4.2
              of <xref target="RFC5481"/> for the PDV form.</t>
            </list>See the Packet Stream generation category for two
          additional Fixed Parameters.</t>
        </section>
      </section>

      <section title="Method of Measurement">
        <t>This category includes columns for references to relevant sections
        of the RFC(s) and any supplemental information needed to ensure an
        unambiguous methods for implementations.</t>

        <section title="Reference Method">
          <t>See section 2.6 and 3.6 of <xref target="RFC3393"/> for general
          singleton element calculations. This metric entry requires
          implementation of the PDV form defined in section 4.2 of <xref
          target="RFC5481"/>. Also see measurement considerations in section 8
          of <xref target="RFC5481"/>.</t>

          <t>The reference method distinguishes between long-delayed packets
          and lost packets by implementing a maximum waiting time for packet
          arrival. Tmax is the waiting time used as the threshold to declare a
          packet lost. Lost packets SHALL be designated as having undefined
          delay.</t>

          <t>The calculations on the one-way delay SHALL be performed on the
          conditional distribution, conditioned on successful packet arrival
          within Tmax. Also, when all packet delays are stored, the process
          which calculates the one-way delay value MUST enforce the Tmax
          threshold on stored values before calculations. See section 4.1 of
          <xref target="RFC3393"/> for details on the conditional distribution
          to exclude undefined values of delay, and Section 5 of <xref
          target="RFC6703"/> for background on this analysis choice.</t>

          <t>The reference method requires some way to distinguish between
          different packets in a stream to establish correspondence between
          sending times and receiving times for each successfully-arriving
          packet. Sequence numbers or other send-order identification MUST be
          retained at the Src or included with each packet to disambiguate
          packet reordering if it occurs.</t>

          <t>If a standard measurement protocol is employed, then the
          measurement process will determine the sequence numbers or
          timestamps applied to test packets after the Fixed and Runtime
          parameters are passed to that process. The chosen measurement
          protocol will dictate the format of sequence numbers and
          time-stamps, if they are conveyed in the packet payload.</t>
        </section>

        <section title="Packet Stream Generation">
          <t>This section gives the details of the packet traffic which is the
          basis for measurement. In IPPM metrics, this is called the Stream,
          and can easily be described by providing the list of stream
          parameters.</t>

          <t>Section 3 of <xref target="RFC3432"/> prescribes the method for
          generating Periodic streams using associated parameters.</t>

          <t><list style="hanging">
              <t hangText="incT">the nominal duration of inter-packet
              interval, first bit to first bit, with value 0.0200, expressed
              in units of seconds, as a positive value of type decimal64 with
              fraction digits = 4 (see section 9.3 of <xref
              target="RFC6020"/>) and with resolution of 0.0001 seconds (0.1
              ms).</t>

              <t hangText="dT">the duration of the interval for allowed sample
              start times, with value 1.0, expressed in units of seconds, as a
              positive value of type decimal64 with fraction digits = 4 (see
              section 9.3 of <xref target="RFC6020"/>) and with resolution of
              0.0001 seconds (0.1 ms).</t>
            </list>NOTE: an initiation process with a number of control
          exchanges resulting in unpredictable start times (within a time
          interval) may be sufficient to avoid synchronization of periodic
          streams, and therefore a valid replacement for selecting a start
          time at random from a fixed interval.</t>

          <t>The T0 parameter will be reported as a measured parameter.
          Parameters incT and dT are Fixed Parameters.</t>
        </section>

        <section title="Traffic Filtering (observation) Details">
          <t>NA</t>
        </section>

        <section title="Sampling Distribution">
          <t>NA</t>
        </section>

        <section title="Run-time Parameters and Data Format">
          <t><list style="hanging">
              <t hangText="Src">the IP address of the host in the Src Role
              (format ipv4-address-no-zone value for IPv4, or
              ipv6-address-no-zone value for IPv6, see Section 4 of <xref
              target="RFC6991"/>)</t>

              <t hangText="Dst">the IP address of the host in the Dst Role
              (format ipv4-address-no-zone value for IPv4, or
              ipv6-address-no-zone value for IPv6, see section 4 of <xref
              target="RFC6991"/>)</t>

              <t hangText="T0">a time, the start of a measurement interval,
              (format "date-and-time" as specified in Section 5.6 of <xref
              target="RFC3339"/>, see also Section 3 of <xref
              target="RFC6991"/>). The UTC Time Zone is required by Section
              6.1 of <xref target="RFC2330"/>. When T0 is "all-zeros", a start
              time is unspecified and Tf is to be interpreted as the Duration
              of the measurement interval. The start time is controlled
              through other means.</t>

              <t hangText="Tf">a time, the end of a measurement interval,
              (format "date-and-time" as specified in Section 5.6 of <xref
              target="RFC3339"/>, see also Section 3 of <xref
              target="RFC6991"/>). The UTC Time Zone is required by Section
              6.1 of <xref target="RFC2330"/>. When T0 is "all-zeros", a end
              time date is ignored and Tf is interpreted as the Duration of
              the measurement interval.</t>
            </list></t>

          <t/>
        </section>

        <section title="Roles">
          <t><list style="hanging">
              <t hangText="Src">launches each packet and waits for return
              transmissions from Dst.</t>

              <t hangText="Dst">waits for each packet from Src and sends a
              return packet to Src.</t>
            </list></t>
        </section>
      </section>

      <section title="Output">
        <t>This category specifies all details of the Output of measurements
        using the metric.</t>

        <section title="Type">
          <t>Percentile -- for the conditional distribution of all packets
          with a valid value of one-way delay (undefined delays are excluded),
          a single value corresponding to the 95th percentile, as follows:</t>

          <t>See section 4.1 of <xref target="RFC3393"/> for details on the
          conditional distribution to exclude undefined values of delay, and
          Section 5 of <xref target="RFC6703"/> for background on this
          analysis choice.</t>

          <t>The percentile = 95, meaning that the reported delay,
          "95Percentile", is the smallest value of one-way PDV for which the
          Empirical Distribution Function (EDF), F(95Percentile) &gt;= 95% of
          the singleton one-way PDV values in the conditional distribution.
          See section 11.3 of <xref target="RFC2330"/> for the definition of
          the percentile statistic using the EDF.</t>
        </section>

        <section title="Reference Definition">
          <t><list style="hanging">
              <t hangText="T0">the start of a measurement interval, (format
              "date-and-time" as specified in Section 5.6 of <xref
              target="RFC3339"/>, see also Section 3 of <xref
              target="RFC6991"/>). The UTC Time Zone is required by Section
              6.1 of <xref target="RFC2330"/>.</t>

              <t hangText="Tf">the end of a measurement interval, (format
              "date-and-time" as specified in Section 5.6 of <xref
              target="RFC3339"/>, see also Section 3 of <xref
              target="RFC6991"/>). The UTC Time Zone is required by Section
              6.1 of <xref target="RFC2330"/>.</t>
            </list></t>

          <t><list style="hanging">
              <t hangText="95Percentile">The time value of the result is
              expressed in units of seconds, as a positive value of type
              decimal64 with fraction digits = 9 (see section 9.3 of <xref
              target="RFC6020"/>) with resolution of 0.000000001 seconds (1.0
              ns), and with lossless conversion to/from the 64-bit NTP
              timestamp as per section 6 of <xref
              target="RFC5905">RFC</xref></t>
            </list></t>
        </section>

        <section title="Metric Units">
          <t>The 95th Percentile of one-way PDV is expressed in seconds.</t>
        </section>

        <section title="Calibration">
          <t>Section 3.7.3 of <xref target="RFC7679"/> provides a means to
          quantify the systematic and random errors of a time measurement.
          In-situ calibration could be enabled with an internal loopback that
          includes as much of the measurement system as possible, performs
          address manipulation as needed, and provides some form of isolation
          (e.g., deterministic delay) to avoid send-receive interface
          contention. Some portion of the random and systematic error can be
          characterized this way.</t>

          <t>For one-way delay measurements, the error calibration must
          include an assessment of the internal clock synchronization with its
          external reference (this internal clock is supplying timestamps for
          measurement). In practice, the time offsets <xref target="RFC5905"/>
          of clocks at both the source and destination are needed to estimate
          the systematic error due to imperfect clock synchronization (the
          time offsets are smoothed, thus the random variation is not usually
          represented in the results).<list style="hanging">
              <t hangText="time_offset">The time value of the result is
              expressed in units of seconds, as a signed value of type
              decimal64 with fraction digits = 9 (see section 9.3 of <xref
              target="RFC6020"/>) with resolution of 0.000000001 seconds (1.0
              ns), and with lossless conversion to/from the 64-bit NTP
              timestamp as per section 6 of <xref
              target="RFC5905">RFC</xref></t>
            </list></t>

          <t>When a measurement controller requests a calibration measurement,
          the loopback is applied and the result is output in the same format
          as a normal measurement with additional indication that it is a
          calibration result. In any measurement, the measurement function
          SHOULD report its current estimate of time offset <xref
          target="RFC5905"/> as an indicator of the degree of
          synchronization.</t>

          <t>Both internal loopback calibration and clock synchronization can
          be used to estimate the available accuracy of the Output Metric
          Units. For example, repeated loopback delay measurements will reveal
          the portion of the Output result resolution which is the result of
          system noise, and thus inaccurate.</t>
        </section>
      </section>

      <section title="Administrative items">
        <t/>

        <section title="Status">
          <t>Current</t>
        </section>

        <section title="Requester">
          <t>This RFC number</t>
        </section>

        <section title="Revision">
          <t>1.0</t>
        </section>

        <section title="Revision Date">
          <t>YYYY-MM-DD</t>
        </section>
      </section>

      <section title="Comments and Remarks">
        <t>Lost packets represent a challenge for delay variation metrics. See
        section 4.1 of <xref target="RFC3393"/> and the delay variation
        applicability statement<xref target="RFC5481"/> for extensive analysis
        and comparison of PDV and an alternate metric, IPDV.</t>
      </section>
    </section>

    <section title="DNS Response Latency and Loss Registry Entries">
      <t>This section gives initial registry entries for DNS Response Latency
      and Loss from a network user's perspective, for a specific named
      resource. The metric can be measured repeatedly using different names.
      <xref target="RFC2681">RFC 2681</xref> defines a Round-trip delay
      metric. We build on that metric by specifying several of the input
      parameters to precisely define two metrics for measuring DNS latency and
      loss.</t>

      <t>Note to IANA: Each Registry "Name" below specifies a single registry
      entry, whose output format varies in accordance with the name.</t>

      <t>All column entries beside the ID, Name, Description, and Output
      Reference Method categories are the same, thus this section proposes two
      closely-related registry entries. As a result, IANA is also asked to
      assign corresponding URLs to each Named Metric.</t>

      <section title="Summary">
        <t>This category includes multiple indexes to the registry entries,
        the element ID and metric name.</t>

        <section title="ID (Identifier)">
          <t>&lt;insert numeric identifier, an integer&gt;</t>

          <t>IANA is asked to assign different numeric identifiers to each of
          the two Named Metrics.</t>
        </section>

        <section title="Name">
          <t>RTDNS_Active_IP-UDP-Poisson_RFCXXXXsec6_Seconds_Raw</t>

          <t>RLDNS_Active_IP-UDP-Poisson_RFCXXXXsec6_Logical_Raw</t>
        </section>

        <section title="URI">
          <t>URL: https://www.iana.org/ ... &lt;name&gt;</t>
        </section>

        <section title="Description">
          <t>This is a metric for DNS Response performance from a network
          user's perspective, for a specific named resource. The metric can be
          measured repeatedly using different resource names.</t>

          <t>RTDNS: This metric assesses the response time, the interval from
          the query transmission to the response.</t>

          <t>RLDNS: This metric indicates that the response was deemed lost.
          In other words, the response time exceeded the maximum waiting
          time.</t>
        </section>

        <section title="Change Controller">
          <t>IETF</t>
        </section>

        <section title="Version (of Registry Format)">
          <t>1.0</t>
        </section>
      </section>

      <section title="Metric Definition">
        <t>This category includes columns to prompt the entry of all necessary
        details related to the metric definition, including the RFC reference
        and values of input factors, called fixed parameters.</t>

        <section title="Reference Definition">
          <t>Mockapetris, P., "Domain names - implementation and
          specification", STD 13, RFC 1035, November 1987. (and updates)</t>

          <t><xref target="RFC1035"/></t>

          <t>Almes, G., Kalidindi, S., and M. Zekauskas, "A Round-trip Delay
          Metric for IPPM", RFC 2681, September 1999.</t>

          <t><xref target="RFC2681"/></t>

          <t>Section 2.4 of <xref target="RFC2681"/> provides the reference
          definition of the singleton (single value) Round-trip delay metric.
          Section 3.4 of <xref target="RFC2681"/> provides the reference
          definition expanded to cover a multi-singleton sample. Note that
          terms such as singleton and sample are defined in Section 11 of
          <xref target="RFC2330"/>.</t>

          <t>For DNS Response Latency, the entities in <xref
          target="RFC1035"/> must be mapped to <xref target="RFC2681"/>. The
          Local Host with its User Program and Resolver take the role of
          "Src", and the Foreign Name Server takes the role of "Dst".</t>

          <t>Note that although the <xref target="RFC2681"/> definition of
          "Round-trip-Delay between Src and Dst at T" is directionally
          ambiguous in the text, this metric tightens the definition further
          to recognize that the host in the "Src" role will send the first
          packet to "Dst", and ultimately receive the corresponding return
          packet from "Dst" (when neither are lost).</t>

          <t>Morton, A., "Round-trip Packet Loss Metrics", RFC 6673, August
          2012.</t>

          <t><xref target="RFC6673"/></t>

          <t>Both response time and loss metrics employ a maximum waiting time
          for received responses, so the count of lost packets to total
          packets sent is the basis for the loss determination as per Section
          4.3 of <xref target="RFC6673"/>.</t>
        </section>

        <section title="Fixed Parameters">
          <t>Type-P as defined in Section 13 of <xref target="RFC2330"/>:
          <list style="symbols">
              <t>IPv4 header values: <list style="symbols">
                  <t>DSCP: set to 0</t>

                  <t>TTL set to 255</t>

                  <t>Protocol: set to 17 (UDP)</t>
                </list></t>

              <t>IPv6 header values:<list style="symbols">
                  <t>DSCP: set to 0</t>

                  <t>Hop Count: set to 255</t>

                  <t>Next Header: set to 17 (UDP)</t>

                  <t>Flow Label: set to zero</t>

                  <t>Extension Headers: none</t>
                </list></t>

              <t>UDP header values: <list style="symbols">
                  <t>Source port: 53</t>

                  <t>Destination port: 53</t>

                  <t>Checksum: the checksum must be calculated and the
                  non-zero checksum included in the header</t>
                </list></t>

              <t>Payload: The payload contains a DNS message as defined in
              <xref target="RFC1035">RFC 1035</xref> with the following
              values: <list style="symbols">
                  <t>The DNS header section contains: <list style="symbols">
                      <t>Identification (see the Run-time column)</t>

                      <t>QR: set to 0 (Query)</t>

                      <t>OPCODE: set to 0 (standard query)</t>

                      <t>AA: not set</t>

                      <t>TC: not set</t>

                      <t>RD: set to one (recursion desired)</t>

                      <t>RA: not set</t>

                      <t>RCODE: not set</t>

                      <t>QDCOUNT: set to one (only one entry)</t>

                      <t>ANCOUNT: not set</t>

                      <t>NSCOUNT: not set</t>

                      <t>ARCOUNT: not set</t>
                    </list></t>

                  <t>The Question section contains: <list style="symbols">
                      <t>QNAME: the Fully Qualified Domain Name (FQDN)
                      provided as input for the test, see the Run-time
                      column</t>

                      <t>QTYPE: the query type provided as input for the test,
                      see the Run-time column</t>

                      <t>QCLASS: set to 1 for IN</t>
                    </list></t>

                  <t>The other sections do not contain any Resource
                  Records.</t>
                </list></t>
            </list></t>

          <t>Other measurement parameters:<list style="symbols">
              <t>Tmax: a loss threshold waiting time (and to help disambiguate
              queries)<list style="symbols">
                  <t>5.0, expressed in units of seconds, as a positive value
                  of type decimal64 with fraction digits = 4 (see section 9.3
                  of <xref target="RFC6020"/>) and with resolution of 0.0001
                  seconds (0.1 ms), with lossless conversion to/from the
                  32-bit NTP timestamp as per section 6 of <xref
                  target="RFC5905"/>.</t>
                </list></t>
            </list>Observation: reply packets will contain a DNS response and
          may contain RRs.</t>
        </section>
      </section>

      <section title="Method of Measurement">
        <t>This category includes columns for references to relevant sections
        of the RFC(s) and any supplemental information needed to ensure an
        unambiguous methods for implementations.</t>

        <section title="Reference Method">
          <t>The methodology for this metric is defined as
          Type-P-Round-trip-Delay-Poisson-Stream in section 2.6 of <xref
          target="RFC2681">RFC 2681</xref> and section 3.6 of <xref
          target="RFC2681">RFC 2681</xref> using the Type-P and Timeout
          defined under Fixed Parameters.</t>

          <t>The reference method distinguishes between long-delayed packets
          and lost packets by implementing a maximum waiting time for packet
          arrival. Tmax is the waiting time used as the threshold to declare a
          response packet lost. Lost packets SHALL be designated as having
          undefined delay and counted for the RLDNS metric.</t>

          <t>The calculations on the delay (RTT) SHALL be performed on the
          conditional distribution, conditioned on successful packet arrival
          within Tmax. Also, when all packet delays are stored, the process
          which calculates the RTT value MUST enforce the Tmax threshold on
          stored values before calculations. See section 4.1 of <xref
          target="RFC3393"/> for details on the conditional distribution to
          exclude undefined values of delay, and Section 5 of <xref
          target="RFC6703"/> for background on this analysis choice.</t>

          <t>The reference method requires some way to distinguish between
          different packets in a stream to establish correspondence between
          sending times and receiving times for each successfully-arriving
          reply.</t>

          <t>DNS Messages bearing Queries provide for random ID Numbers in the
          Identification header field, so more than one query may be launched
          while a previous request is outstanding when the ID Number is used.
          Therefore, the ID Number MUST be retained at the Src and included
          with each response packet to disambiguate packet reordering if it
          occurs.</t>

          <t>IF a DNS response does not arrive within Tmax, the response time
          RTDNS is undefined, and RLDNS = 1. The Message ID SHALL be used to
          disambiguate the successive queries that are otherwise
          identical.</t>

          <t>Since the ID Number field is only 16 bits in length, it places a
          limit on the number of simultaneous outstanding DNS queries during a
          stress test from a single Src address.</t>

          <t>Refer to Section 4.4 of <xref target="RFC6673"/> for expanded
          discussion of the instruction to "send a Type-P packet back to the
          Src as quickly as possible" in Section 2.6 of <xref
          target="RFC2681">RFC 2681</xref>. However, the DNS Server is
          expected to perform all required functions to prepare and send a
          response, so the response time will include processing time and
          network delay. Section 8 of <xref target="RFC6673"/> presents
          additional requirements which SHALL be included in the method of
          measurement for this metric.</t>

          <t>In addition to operations described in <xref target="RFC2681"/>,
          the Src MUST parse the DNS headers of the reply and prepare the
          query response information for subsequent reporting as a measured
          result, along with the Round-Trip Delay.</t>
        </section>

        <section title="Packet Stream Generation">
          <t>This section gives the details of the packet traffic which is the
          basis for measurement. In IPPM metrics, this is called the Stream,
          and can easily be described by providing the list of stream
          parameters.</t>

          <t>Section 11.1.3 of <xref target="RFC2330">RFC 2681</xref> provides
          three methods to generate Poisson sampling intervals. The reciprocal
          of lambda is the average packet spacing, thus the Run-time Parameter
          is Reciprocal_lambda = 1/lambda, in seconds.</t>

          <t>Method 3 is used, where given a start time (Run-time Parameter),
          the subsequent send times are all computed prior to measurement by
          computing the pseudo-random distribution of inter-packet send times,
          (truncating the distribution as specified in the Run-time
          Parameters), and the Src sends each packet at the computed
          times.</t>

          <t>Note that Trunc is the upper limit on inter-packet times in the
          Poisson distribution. A random value greater than Trunc is set equal
          to Trunc instead.</t>
        </section>

        <section title="Traffic Filtering (observation) Details">
          <t>NA</t>
        </section>

        <section title="Sampling Distribution">
          <t>NA</t>
        </section>

        <section title="Run-time Parameters and Data Format">
          <t>Run-time Parameters are input factors that must be determined,
          configured into the measurement system, and reported with the
          results for the context to be complete.</t>

          <t><list style="hanging">
              <t hangText="Src">the IP address of the host in the Src Role
              (format ipv4-address-no-zone value for IPv4, or
              ipv6-address-no-zone value for IPv6, see Section 4 of <xref
              target="RFC6991"/>)</t>

              <t hangText="Dst">the IP address of the host in the Dst Role
              (format ipv4-address-no-zone value for IPv4, or
              ipv6-address-no-zone value for IPv6, see section 4 of <xref
              target="RFC6991"/>)</t>

              <t hangText="T0">a time, the start of a measurement interval,
              (format "date-and-time" as specified in Section 5.6 of <xref
              target="RFC3339"/>, see also Section 3 of <xref
              target="RFC6991"/>). The UTC Time Zone is required by Section
              6.1 of <xref target="RFC2330"/>. When T0 is "all-zeros", a start
              time is unspecified and Tf is to be interpreted as the Duration
              of the measurement interval. The start time is controlled
              through other means.</t>

              <t hangText="Tf">a time, the end of a measurement interval,
              (format "date-and-time" as specified in Section 5.6 of <xref
              target="RFC3339"/>, see also Section 3 of <xref
              target="RFC6991"/>). The UTC Time Zone is required by Section
              6.1 of <xref target="RFC2330"/>. When T0 is "all-zeros", a end
              time date is ignored and Tf is interpreted as the Duration of
              the measurement interval.</t>

              <t hangText="Reciprocal_lambda">average packet interval for
              Poisson Streams expressed in units of seconds, as a positive
              value of type decimal64 with fraction digits = 4 (see section
              9.3 of <xref target="RFC6020"/>) with resolution of 0.0001
              seconds (0.1 ms), and with lossless conversion to/from the
              32-bit NTP timestamp as per section 6 of <xref
              target="RFC5905"/>.</t>

              <t hangText="Trunc">Upper limit on Poisson distribution
              expressed in units of seconds, as a positive value of type
              decimal64 with fraction digits = 4 (see section 9.3 of <xref
              target="RFC6020"/>) with resolution of 0.0001 seconds (0.1 ms),
              and with lossless conversion to/from the 32-bit NTP timestamp as
              per section 6 of <xref target="RFC5905"/> (values above this
              limit will be clipped and set to the limit value).</t>

              <t hangText="ID">The 16-bit identifier assigned by the program
              that generates the query, and which must vary in successive
              queries (a list of IDs is needed), see Section 4.1.1 of <xref
              target="RFC1035"/>. This identifier is copied into the
              corresponding reply and can be used by the requester (Src) to
              match-up replies to outstanding queries.</t>

              <t hangText="QNAME">The domain name of the Query, formatted as
              specified in section 4 of <xref target="RFC6991"/>.</t>

              <t hangText="QTYPE">The Query Type, which will correspond to the
              IP address family of the query (decimal 1 for IPv4 or 28 for
              IPv6, formatted as a uint16, as per section 9.2 of <xref
              target="RFC6020"/>.</t>
            </list></t>
        </section>

        <section title="Roles">
          <t><list style="hanging">
              <t hangText="Src">launches each packet and waits for return
              transmissions from Dst.</t>

              <t hangText="Dst">waits for each packet from Src and sends a
              return packet to Src.</t>
            </list></t>
        </section>
      </section>

      <section title="Output">
        <t>This category specifies all details of the Output of measurements
        using the metric.</t>

        <section title="Type">
          <t>Raw -- for each DNS Query packet sent, sets of values as defined
          in the next column, including the status of the response, only
          assigning delay values to successful query-response pairs.</t>
        </section>

        <section title="Reference Definition">
          <t>For all outputs:</t>

          <t><list style="hanging">
              <t hangText="T">the time the DNS Query was sent during the
              measurement interval, (format "date-and-time" as specified in
              Section 5.6 of <xref target="RFC3339"/>, see also Section 3 of
              <xref target="RFC6991"/>). The UTC Time Zone is required by
              Section 6.1 of <xref target="RFC2330"/>.</t>

              <t hangText="dT">The time value of the round-trip delay to
              receive the DNS response, expressed in units of seconds, as a
              positive value of type decimal64 with fraction digits = 9 (see
              section 9.3 of <xref target="RFC6020"/>) with resolution of
              0.000000001 seconds (1.0 ns), and with lossless conversion
              to/from the 64-bit NTP timestamp as per section 6 of <xref
              target="RFC5905">RFC</xref>. This value is undefined when the
              response packet is not received at Src within waiting time Tmax
              seconds.</t>

              <t hangText="Rcode">The value of the Rcode field in the DNS
              response header, expressed as a uint64 as specified in section
              9.2 of <xref target="RFC6020"/>. Non-zero values convey errors
              in the response, and such replies must be analyzed separately
              from successful requests.</t>
            </list></t>
        </section>

        <section title="Metric Units">
          <t>RTDNS: Round-trip Delay, dT, is expressed in seconds.</t>

          <t>RTLDNS: the Logical value, where 1 = Lost and 0 = Received.</t>
        </section>

        <section title="Calibration">
          <t>Section 3.7.3 of <xref target="RFC7679"/> provides a means to
          quantify the systematic and random errors of a time measurement.
          In-situ calibration could be enabled with an internal loopback at
          the Source host that includes as much of the measurement system as
          possible, performs address and payload manipulation as needed, and
          provides some form of isolation (e.g., deterministic delay) to avoid
          send-receive interface contention. Some portion of the random and
          systematic error can be characterized this way.</t>

          <t>When a measurement controller requests a calibration measurement,
          the loopback is applied and the result is output in the same format
          as a normal measurement with additional indication that it is a
          calibration result.</t>

          <t>Both internal loopback calibration and clock synchronization can
          be used to estimate the available accuracy of the Output Metric
          Units. For example, repeated loopback delay measurements will reveal
          the portion of the Output result resolution which is the result of
          system noise, and thus inaccurate.</t>
        </section>
      </section>

      <section title="Administrative items">
        <t/>

        <section title="Status">
          <t>Current</t>
        </section>

        <section title="Requester">
          <t>This RFC number</t>
        </section>

        <section title="Revision">
          <t>1.0</t>
        </section>

        <section title="Revision Date">
          <t>YYYY-MM-DD</t>
        </section>
      </section>

      <section title="Comments and Remarks">
        <t>None</t>
      </section>
    </section>

    <section title="UDP Poisson One-way Delay and Loss Registry Entries">
      <t>This section specifies five initial registry entries for the UDP
      Poisson One-way Delay, and one for UDP Poisson One-way Loss.</t>

      <t>IANA Note: Registry "Name" below specifies multiple registry entries,
      whose output format varies according to the &lt;statistic&gt; element of
      the name that specifies one form of statistical summary. There is an
      additional metric name for the Loss metric.</t>

      <t>All column entries beside the ID, Name, Description, and Output
      Reference Method categories are the same, thus this section proposes six
      closely-related registry entries. As a result, IANA is also asked to
      assign corresponding URLs to each Named Metric.</t>

      <section title="Summary">
        <t>This category includes multiple indexes to the registry entries,
        the element ID and metric name.</t>

        <section title="ID (Identifier)">
          <t>IANA is asked to assign different numeric identifiers to each of
          the six Metrics.</t>
        </section>

        <section title="Name">
          <t>OWDelay_Active_IP-UDP-Poisson-Payload250B_RFCXXXXsec7_Seconds_&lt;statistic&gt;</t>

          <t>where &lt;statistic&gt; is one of:</t>

          <t><list style="symbols">
              <t>95Percentile</t>

              <t>Mean</t>

              <t>Min</t>

              <t>Max</t>

              <t>StdDev</t>
            </list></t>

          <t>OWLoss_Active_IP-UDP-Poisson-Payload250B_RFCXXXXsec7_Percent_LossRatio</t>
        </section>

        <section title="URI">
          <t>URL: https://www.iana.org/ ... &lt;name&gt;</t>
        </section>

        <section title="Description">
          <t>OWDelay: This metric assesses the delay of a stream of packets
          exchanged between two hosts (or measurement points), and reports the
          &lt;statistic&gt; One-way delay for all successfully exchanged
          packets based on their conditional delay distribution.</t>

          <t>where &lt;statistic&gt; is one of:</t>

          <t><list style="symbols">
              <t>95Percentile</t>

              <t>Mean</t>

              <t>Min</t>

              <t>Max</t>

              <t>StdDev</t>
            </list></t>

          <t>OWLoss: This metric assesses the loss ratio of a stream of
          packets exchanged between two hosts (which are the two measurement
          points), and the Output is the One-way loss ratio for all
          successfully received packets expressed as a percentage.</t>
        </section>
      </section>

      <section title="Metric Definition">
        <t>This category includes columns to prompt the entry of all necessary
        details related to the metric definition, including the RFC reference
        and values of input factors, called fixed parameters.</t>

        <section title="Reference Definition">
          <t>For Delay:</t>

          <t>Almes, G., Kalidindi, S., Zekauskas, M., and A. Morton, Ed., "A
          One-Way Delay Metric for IP Performance Metrics (IPPM)", STD 81, RFC
          7679, DOI 10.17487/RFC7679, January 2016,
          &lt;http://www.rfc-editor.org/info/rfc7679&gt;.</t>

          <t><xref target="RFC7679"/></t>

          <t>Morton, A., and Stephan, E., "Spatial Composition of Metrics",
          RFC 6049, January 2011.</t>

          <t><xref target="RFC6049"/></t>

          <t>Section 3.4 of <xref target="RFC7679"/> provides the reference
          definition of the singleton (single value) One-way delay metric.
          Section 4.4 of <xref target="RFC7679"/> provides the reference
          definition expanded to cover a multi-value sample. Note that terms
          such as singleton and sample are defined in Section 11 of <xref
          target="RFC2330"/>.</t>

          <t>Only successful packet transfers with finite delay are included
          in the sample, as prescribed in section 4.1.2 of <xref
          target="RFC6049"/>.</t>

          <t>For loss:</t>

          <t>Almes, G., Kalidini, S., Zekauskas, M., and A. Morton, Ed., "A
          One-Way Loss Metric for IP Performance Metrics (IPPM)", RFC 7680,
          DOI 10.17487/RFC7680, January 2016,
          &lt;http://www.rfc-editor.org/info/rfc7680&gt;.</t>

          <t>Section 2.4 of <xref target="RFC7680"/> provides the reference
          definition of the singleton (single value) one-way loss metric.
          Section 3.4 of <xref target="RFC7680"/> provides the reference
          definition expanded to cover a multi-singleton sample. Note that
          terms such as singleton and sample are defined in Section 11 of
          <xref target="RFC2330"/>.</t>
        </section>

        <section title="Fixed Parameters">
          <t>Type-P:<list style="symbols">
              <t>IPv4 header values: <list style="symbols">
                  <t>DSCP: set to 0</t>

                  <t>TTL: set to 255</t>

                  <t>Protocol: Set to 17 (UDP)</t>
                </list></t>

              <t>IPv6 header values:<list style="symbols">
                  <t>DSCP: set to 0</t>

                  <t>Hop Count: set to 255</t>

                  <t>Next Header: set to 17 (UDP)</t>

                  <t>Flow Label: set to zero</t>

                  <t>Extension Headers: none</t>
                </list></t>

              <t>UDP header values: <list style="symbols">
                  <t>Checksum: the checksum MUST be calculated and the
                  non-zero checksum included in the header</t>
                </list></t>

              <t>UDP Payload: TWAMP Test Packet Formats, Section 4.1.2 of
              <xref target="RFC5357"/> <list style="symbols">
                  <t>Security features in use influence the number of Padding
                  octets.</t>

                  <t>250 octets total, including the TWAMP format type, which
                  MUST be reported.</t>
                </list></t>
            </list></t>

          <t>Other measurement parameters:</t>

          <t><list style="hanging">
              <t hangText="Tmax:">a loss threshold waiting time with value
              3.0, expressed in units of seconds, as a positive value of type
              decimal64 with fraction digits = 4 (see section 9.3 of <xref
              target="RFC6020"/>) and with resolution of 0.0001 seconds (0.1
              ms), with lossless conversion to/from the 32-bit NTP timestamp
              as per section 6 of <xref target="RFC5905"/>.</t>
            </list></t>

          <t>See the Packet Stream generation category for two additional
          Fixed Parameters.</t>
        </section>
      </section>

      <section title="Method of Measurement">
        <t>This category includes columns for references to relevant sections
        of the RFC(s) and any supplemental information needed to ensure an
        unambiguous methods for implementations.</t>

        <section title="Reference Method">
          <t>The methodology for this metric is defined as
          Type-P-One-way-Delay-Poisson-Stream in section 3.6 of <xref
          target="RFC7679"/> and section 4.6 of <xref target="RFC7679"/> using
          the Type-P and Tmax defined under Fixed Parameters.</t>

          <t>The reference method distinguishes between long-delayed packets
          and lost packets by implementing a maximum waiting time for packet
          arrival. Tmax is the waiting time used as the threshold to declare a
          packet lost. Lost packets SHALL be designated as having undefined
          delay, and counted for the OWLoss metric.</t>

          <t>The calculations on the one-way delay SHALL be performed on the
          conditional distribution, conditioned on successful packet arrival
          within Tmax. Also, when all packet delays are stored, the process
          which calculates the one-way delay value MUST enforce the Tmax
          threshold on stored values before calculations. See section 4.1 of
          <xref target="RFC3393"/> for details on the conditional distribution
          to exclude undefined values of delay, and Section 5 of <xref
          target="RFC6703"/> for background on this analysis choice.</t>

          <t>The reference method requires some way to distinguish between
          different packets in a stream to establish correspondence between
          sending times and receiving times for each successfully-arriving
          packet.</t>

          <t>Since a standard measurement protocol is employed <xref
          target="RFC5357"/>, then the measurement process will determine the
          sequence numbers or timestamps applied to test packets after the
          Fixed and Runtime parameters are passed to that process. The
          measurement protocol dictates the format of sequence numbers and
          time-stamps conveyed in the TWAMP-Test packet payload.</t>
        </section>

        <section title="Packet Stream Generation">
          <t>This section gives the details of the packet traffic which is the
          basis for measurement. In IPPM metrics, this is called the Stream,
          and can easily be described by providing the list of stream
          parameters.</t>

          <t>Section 11.1.3 of <xref target="RFC2330">RFC 2681</xref> provides
          three methods to generate Poisson sampling intervals. The reciprocal
          of lambda is the average packet spacing, thus the Run-time Parameter
          is Reciprocal_lambda = 1/lambda, in seconds.</t>

          <t>Method 3 SHALL be used, where given a start time (Run-time
          Parameter), the subsequent send times are all computed prior to
          measurement by computing the pseudo-random distribution of
          inter-packet send times, (truncating the distribution as specified
          in the Parameter Trunc), and the Src sends each packet at the
          computed times.</t>

          <t>Note that Trunc is the upper limit on inter-packet times in the
          Poisson distribution. A random value greater than Trunc is set equal
          to Trunc instead.</t>

          <t><list style="hanging">
              <t hangText="Reciprocal_lambda">average packet interval for
              Poisson Streams expressed in units of seconds, as a positive
              value of type decimal64 with fraction digits = 4 (see section
              9.3 of <xref target="RFC6020"/>) with resolution of 0.0001
              seconds (0.1 ms), and with lossless conversion to/from the
              32-bit NTP timestamp as per section 6 of <xref
              target="RFC5905"/>. Reciprocal_lambda = 1 second.</t>

              <t hangText="Trunc">Upper limit on Poisson distribution
              expressed in units of seconds, as a positive value of type
              decimal64 with fraction digits = 4 (see section 9.3 of <xref
              target="RFC6020"/>) with resolution of 0.0001 seconds (0.1 ms),
              and with lossless conversion to/from the 32-bit NTP timestamp as
              per section 6 of <xref target="RFC5905"/> (values above this
              limit will be clipped and set to the limit value). Trunc =
              30.0000 seconds.</t>
            </list></t>
        </section>

        <section title="Traffic Filtering (observation) Details">
          <t>NA</t>
        </section>

        <section title="Sampling Distribution">
          <t>NA</t>
        </section>

        <section title="Run-time Parameters and Data Format">
          <t>Run-time Parameters are input factors that must be determined,
          configured into the measurement system, and reported with the
          results for the context to be complete.</t>

          <t><list style="hanging">
              <t hangText="Src">the IP address of the host in the Src Role
              (format ipv4-address-no-zone value for IPv4, or
              ipv6-address-no-zone value for IPv6, see Section 4 of <xref
              target="RFC6991"/>)</t>

              <t hangText="Dst">the IP address of the host in the Dst Role
              (format ipv4-address-no-zone value for IPv4, or
              ipv6-address-no-zone value for IPv6, see section 4 of <xref
              target="RFC6991"/>)</t>

              <t hangText="T0">a time, the start of a measurement interval,
              (format "date-and-time" as specified in Section 5.6 of <xref
              target="RFC3339"/>, see also Section 3 of <xref
              target="RFC6991"/>). The UTC Time Zone is required by Section
              6.1 of <xref target="RFC2330"/>. When T0 is "all-zeros", a start
              time is unspecified and Tf is to be interpreted as the Duration
              of the measurement interval. The start time is controlled
              through other means.</t>

              <t hangText="Tf">a time, the end of a measurement interval,
              (format "date-and-time" as specified in Section 5.6 of <xref
              target="RFC3339"/>, see also Section 3 of <xref
              target="RFC6991"/>). The UTC Time Zone is required by Section
              6.1 of <xref target="RFC2330"/>. When T0 is "all-zeros", a end
              time date is ignored and Tf is interpreted as the Duration of
              the measurement interval.</t>
            </list></t>
        </section>

        <section title="Roles">
          <t><list style="hanging">
              <t hangText="Src">launches each packet and waits for return
              transmissions from Dst. This is the TWAMP Session-Sender.</t>

              <t hangText="Dst">waits for each packet from Src and sends a
              return packet to Src. This is the TWAMP Session-Reflector.</t>
            </list></t>
        </section>
      </section>

      <section title="Output">
        <t>This category specifies all details of the Output of measurements
        using the metric.</t>

        <section title="Type">
          <t>See subsection titles below for Types.</t>
        </section>

        <section title="Reference Definition">
          <t>For all output types ---<list style="hanging">
              <t hangText="T0">the start of a measurement interval, (format
              "date-and-time" as specified in Section 5.6 of <xref
              target="RFC3339"/>, see also Section 3 of <xref
              target="RFC6991"/>). The UTC Time Zone is required by Section
              6.1 of <xref target="RFC2330"/>.</t>

              <t hangText="Tf">the end of a measurement interval, (format
              "date-and-time" as specified in Section 5.6 of <xref
              target="RFC3339"/>, see also Section 3 of <xref
              target="RFC6991"/>). The UTC Time Zone is required by Section
              6.1 of <xref target="RFC2330"/>.</t>
            </list></t>

          <t>For LossRatio -- the count of lost packets to total packets sent
          is the basis for the loss ratio calculation as per Section 4.1 of
          <xref target="RFC7680"/>.</t>

          <t>For each &lt;statistic&gt;, one of the following sub-sections
          apply:</t>

          <section title="Percentile95">
            <t>The 95th percentile SHALL be calculated using the conditional
            distribution of all packets with a finite value of One-way delay
            (undefined delays are excluded), a single value as follows:</t>

            <t>See section 4.1 of <xref target="RFC3393"/> for details on the
            conditional distribution to exclude undefined values of delay, and
            Section 5 of <xref target="RFC6703"/> for background on this
            analysis choice.</t>

            <t>See section 4.3 of <xref target="RFC3393"/> for details on the
            percentile statistic (where Round-trip delay should be substituted
            for "ipdv").</t>

            <t>The percentile = 95, meaning that the reported delay,
            "95Percentile", is the smallest value of one-way delay for which
            the Empirical Distribution Function (EDF), F(95Percentile) &gt;=
            95% of the singleton one-way delay values in the conditional
            distribution. See section 11.3 of <xref target="RFC2330"/> for the
            definition of the percentile statistic using the EDF.</t>

            <t><list style="hanging">
                <t hangText="95Percentile">The time value of the result is
                expressed in units of seconds, as a positive value of type
                decimal64 with fraction digits = 9 (see section 9.3 of <xref
                target="RFC6020"/>) with resolution of 0.000000001 seconds
                (1.0 ns), and with lossless conversion to/from the 64-bit NTP
                timestamp as per section 6 of <xref
                target="RFC5905">RFC</xref></t>
              </list></t>
          </section>

          <section title="Mean">
            <t>The mean SHALL be calculated using the conditional distribution
            of all packets with a finite value of One-way delay (undefined
            delays are excluded), a single value as follows:</t>

            <t>See section 4.1 of <xref target="RFC3393"/> for details on the
            conditional distribution to exclude undefined values of delay, and
            Section 5 of <xref target="RFC6703"/> for background on this
            analysis choice.</t>

            <t>See section 4.2.2 of <xref target="RFC6049"/> for details on
            calculating this statistic, and 4.2.3 of <xref
            target="RFC6049"/>.</t>

            <t><list style="hanging">
                <t hangText="Mean">The time value of the result is expressed
                in units of seconds, as a positive value of type decimal64
                with fraction digits = 9 (see section 9.3 of <xref
                target="RFC6020"/>) with resolution of 0.000000001 seconds
                (1.0 ns), and with lossless conversion to/from the 64-bit NTP
                timestamp as per section 6 of <xref
                target="RFC5905">RFC</xref></t>
              </list></t>
          </section>

          <section title="Min">
            <t>The minimum SHALL be calculated using the conditional
            distribution of all packets with a finite value of One-way delay
            (undefined delays are excluded), a single value as follows:</t>

            <t>See section 4.1 of <xref target="RFC3393"/> for details on the
            conditional distribution to exclude undefined values of delay, and
            Section 5 of <xref target="RFC6703"/> for background on this
            analysis choice.</t>

            <t>See section 4.3.2 of <xref target="RFC6049"/> for details on
            calculating this statistic, and 4.3.3 of <xref
            target="RFC6049"/>.</t>

            <t><list style="hanging">
                <t hangText="Min">The time value of the result is expressed in
                units of seconds, as a positive value of type decimal64 with
                fraction digits = 9 (see section 9.3 of <xref
                target="RFC6020"/>) with resolution of 0.000000001 seconds
                (1.0 ns), and with lossless conversion to/from the 64-bit NTP
                timestamp as per section 6 of <xref
                target="RFC5905">RFC</xref></t>
              </list></t>
          </section>

          <section title="Max">
            <t>The maximum SHALL be calculated using the conditional
            distribution of all packets with a finite value of One-way delay
            (undefined delays are excluded), a single value as follows:</t>

            <t>See section 4.1 of <xref target="RFC3393"/> for details on the
            conditional distribution to exclude undefined values of delay, and
            Section 5 of <xref target="RFC6703"/> for background on this
            analysis choice.</t>

            <t>See section 4.3.2 of <xref target="RFC6049"/> for a closely
            related method for calculating this statistic, and 4.3.3 of <xref
            target="RFC6049"/>. The formula is as follows:</t>

            <t><figure>
                <artwork><![CDATA[         Max = (FiniteDelay [j])

               such that for some index, j, where 1 <= j <= N
               FiniteDelay[j] >= FiniteDelay[n] for all n]]></artwork>
              </figure></t>

            <t><list style="hanging">
                <t hangText="Max">The time value of the result is expressed in
                units of seconds, as a positive value of type decimal64 with
                fraction digits = 9 (see section 9.3 of <xref
                target="RFC6020"/>) with resolution of 0.000000001 seconds
                (1.0 ns), and with lossless conversion to/from the 64-bit NTP
                timestamp as per section 6 of <xref
                target="RFC5905">RFC</xref></t>
              </list></t>
          </section>

          <section title="Std_Dev">
            <t>The Std_Dev SHALL be calculated using the conditional
            distribution of all packets with a finite value of One-way delay
            (undefined delays are excluded), a single value as follows:</t>

            <t>See section 4.1 of <xref target="RFC3393"/> for details on the
            conditional distribution to exclude undefined values of delay, and
            Section 5 of <xref target="RFC6703"/> for background on this
            analysis choice.</t>

            <t>See section 6.1.4 of <xref target="RFC6049"/> for a closely
            related method for calculating this statistic. The formula is the
            classic calculation for standard deviation of a population.<figure>
                <artwork><![CDATA[Define Population Std_Dev_Delay as follows:
(where all packets n = 1 through N have a value for Delay[n],
and MeanDelay calculated as in 7.4.2.2), and SQRT[] is the 
Square Root function:
                 _                                       _
                |            N                            |
                |           ---                           |
                |     1     \                          2  |
Std_Dev = SQRT  |  -------   >   (Delay[n] - MeanDelay)   |
                |    (N)    /                             |
                |           ---                           |
                |          n = 1                          |
                |_                                       _|
  ]]></artwork>
              </figure></t>

            <t><list style="hanging">
                <t hangText="Std_Dev">The time value of the result is
                expressed in units of seconds, as a positive value of type
                decimal64 with fraction digits = 9 (see section 9.3 of <xref
                target="RFC6020"/>) with resolution of 0.000000001 seconds
                (1.0 ns), and with lossless conversion to/from the 64-bit NTP
                timestamp as per section 6 of <xref
                target="RFC5905">RFC</xref></t>
              </list></t>
          </section>
        </section>

        <section title="Metric Units">
          <t>The &lt;statistic&gt; of One-way Delay is expressed in
          seconds.</t>

          <t>The One-way Loss Ratio is expressed as a percentage of lost
          packets to total packets sent.</t>
        </section>

        <section title="Calibration">
          <t>Section 3.7.3 of <xref target="RFC7679"/> provides a means to
          quantify the systematic and random errors of a time measurement.
          In-situ calibration could be enabled with an internal loopback that
          includes as much of the measurement system as possible, performs
          address manipulation as needed, and provides some form of isolation
          (e.g., deterministic delay) to avoid send-receive interface
          contention. Some portion of the random and systematic error can be
          characterized this way.</t>

          <t>For one-way delay measurements, the error calibration must
          include an assessment of the internal clock synchronization with its
          external reference (this internal clock is supplying timestamps for
          measurement). In practice, the time offsets <xref target="RFC5905"/>
          of clocks at both the source and destination are needed to estimate
          the systematic error due to imperfect clock synchronization (the
          time offsets <xref target="RFC5905"/> are smoothed, thus the random
          variation is not usually represented in the results).<list
              style="hanging">
              <t hangText="time_offset">The time value of the result is
              expressed in units of seconds, as a signed value of type
              decimal64 with fraction digits = 9 (see section 9.3 of <xref
              target="RFC6020"/>) with resolution of 0.000000001 seconds (1.0
              ns), and with lossless conversion to/from the 64-bit NTP
              timestamp as per section 6 of <xref
              target="RFC5905">RFC</xref></t>
            </list></t>

          <t>When a measurement controller requests a calibration measurement,
          the loopback is applied and the result is output in the same format
          as a normal measurement with additional indication that it is a
          calibration result. In any measurement, the measurement function
          SHOULD report its current estimate of time offset <xref
          target="RFC5905"/> as an indicator of the degree of
          synchronization.</t>

          <t>Both internal loopback calibration and clock synchronization can
          be used to estimate the available accuracy of the Output Metric
          Units. For example, repeated loopback delay measurements will reveal
          the portion of the Output result resolution which is the result of
          system noise, and thus inaccurate.</t>

          <t/>
        </section>
      </section>

      <section title="Administrative items">
        <t/>

        <section title="Status">
          <t>Current</t>
        </section>

        <section title="Requester">
          <t>This RFC number</t>
        </section>

        <section title="Revision">
          <t>1.0</t>
        </section>

        <section title="Revision Date">
          <t>YYYY-MM-DD</t>
        </section>
      </section>

      <section title="Comments and Remarks">
        <t>None</t>
      </section>
    </section>

    <section title="UDP Periodic One-way Delay and Loss Registry Entries">
      <t>This section specifies five initial registry entries for the UDP
      Periodic One-way Delay, and one for UDP Periodic One-way Loss.</t>

      <t>IANA Note: Registry "Name" below specifies multiple registry entries,
      whose output format varies according to the &lt;statistic&gt; element of
      the name that specifies one form of statistical summary. There is an
      additional metric name for the Loss metric.</t>

      <t>All column entries beside the ID, Name, Description, and Output
      Reference Method categories are the same, thus this section proposes six
      closely-related registry entries. As a result, IANA is also asked to
      assign corresponding URLs to each Named Metric.</t>

      <section title="Summary">
        <t>This category includes multiple indexes to the registry entries,
        the element ID and metric name.</t>

        <section title="ID (Identifier)">
          <t>IANA is asked to assign a different numeric identifiers to each
          of the six Metrics.</t>
        </section>

        <section title="Name">
          <t>OWDelay_Active_IP-UDP-Periodic20m-Payload142B_RFCXXXXsec8_Seconds_&lt;statistic&gt;</t>

          <t>where &lt;statistic&gt; is one of:</t>

          <t><list style="symbols">
              <t>95Percentile</t>

              <t>Mean</t>

              <t>Min</t>

              <t>Max</t>

              <t>StdDev</t>
            </list></t>

          <t>OWLoss_Active_IP-UDP-Periodic-Payload142B_RFCXXXXsec8_Percent_LossRatio</t>
        </section>

        <section title="URI">
          <t>URL: https://www.iana.org/ ... &lt;name&gt;</t>
        </section>

        <section title="Description">
          <t>OWDelay: This metric assesses the delay of a stream of packets
          exchanged between two hosts (or measurement points), and reports the
          &lt;statistic&gt; One-way delay for all successfully exchanged
          packets based on their conditional delay distribution.</t>

          <t>where &lt;statistic&gt; is one of:</t>

          <t><list style="symbols">
              <t>95Percentile</t>

              <t>Mean</t>

              <t>Min</t>

              <t>Max</t>

              <t>StdDev</t>
            </list></t>

          <t>OWLoss: This metric assesses the loss ratio of a stream of
          packets exchanged between two hosts (which are the two measurement
          points), and the Output is the One-way loss ratio for all
          successfully received packets expressed as a percentage.</t>
        </section>
      </section>

      <section title="Metric Definition">
        <t>This category includes columns to prompt the entry of all necessary
        details related to the metric definition, including the RFC reference
        and values of input factors, called fixed parameters.</t>

        <section title="Reference Definition">
          <t>For Delay:</t>

          <t>Almes, G., Kalidindi, S., Zekauskas, M., and A. Morton, Ed., "A
          One-Way Delay Metric for IP Performance Metrics (IPPM)", STD 81, RFC
          7679, DOI 10.17487/RFC7679, January 2016,
          &lt;http://www.rfc-editor.org/info/rfc7679&gt;.</t>

          <t><xref target="RFC7679"/></t>

          <t>Morton, A., and Stephan, E., "Spatial Composition of Metrics",
          RFC 6049, January 2011.</t>

          <t><xref target="RFC6049"/></t>

          <t>Section 3.4 of <xref target="RFC7679"/> provides the reference
          definition of the singleton (single value) One-way delay metric.
          Section 4.4 of <xref target="RFC7679"/> provides the reference
          definition expanded to cover a multi-value sample. Note that terms
          such as singleton and sample are defined in Section 11 of <xref
          target="RFC2330"/>.</t>

          <t>Only successful packet transfers with finite delay are included
          in the sample, as prescribed in section 4.1.2 of <xref
          target="RFC6049"/>.</t>

          <t>For loss:</t>

          <t>Almes, G., Kalidini, S., Zekauskas, M., and A. Morton, Ed., "A
          One-Way Loss Metric for IP Performance Metrics (IPPM)", RFC 7680,
          DOI 10.17487/RFC7680, January 2016,
          &lt;http://www.rfc-editor.org/info/rfc7680&gt;.</t>

          <t>Section 2.4 of <xref target="RFC7680"/> provides the reference
          definition of the singleton (single value) one-way loss metric.
          Section 3.4 of <xref target="RFC7680"/> provides the reference
          definition expanded to cover a multi-singleton sample. Note that
          terms such as singleton and sample are defined in Section 11 of
          <xref target="RFC2330"/>.</t>
        </section>

        <section title="Fixed Parameters">
          <t>Type-P: <list style="symbols">
              <t>IPv4 header values: <list style="symbols">
                  <t>DSCP: set to 0</t>

                  <t>TTL: set to 255</t>

                  <t>Protocol: Set to 17 (UDP)</t>
                </list></t>

              <t>IPv6 header values:<list style="symbols">
                  <t>DSCP: set to 0</t>

                  <t>Hop Count: set to 255</t>

                  <t>Next Header: set to 17 (UDP)</t>

                  <t>Flow Label: set to zero</t>

                  <t>Extension Headers: none</t>
                </list></t>

              <t>UDP header values: <list style="symbols">
                  <t>Checksum: the checksum MUST be calculated and the
                  non-zero checksum included in the header</t>
                </list></t>

              <t>UDP Payload: TWAMP Test Packet Formats, Section 4.1.2 of
              <xref target="RFC5357"/> <list style="symbols">
                  <t>Security features in use influence the number of Padding
                  octets.</t>

                  <t>142 octets total, including the TWAMP format (and format
                  type MUST be reported, if used)</t>
                </list></t>
            </list></t>

          <t>Other measurement parameters:</t>

          <t><list style="hanging">
              <t hangText="Tmax:">a loss threshold waiting time with value
              3.0, expressed in units of seconds, as a positive value of type
              decimal64 with fraction digits = 4 (see section 9.3 of <xref
              target="RFC6020"/>) and with resolution of 0.0001 seconds (0.1
              ms), with lossless conversion to/from the 32-bit NTP timestamp
              as per section 6 of <xref target="RFC5905"/>.</t>
            </list></t>

          <t>See the Packet Stream generation category for two additional
          Fixed Parameters.</t>
        </section>
      </section>

      <section title="Method of Measurement">
        <t>This category includes columns for references to relevant sections
        of the RFC(s) and any supplemental information needed to ensure an
        unambiguous methods for implementations.</t>

        <section title="Reference Method">
          <t>The methodology for this metric is defined as
          Type-P-One-way-Delay-Poisson-Stream in section 3.6 of <xref
          target="RFC7679"/> and section 4.6 of <xref target="RFC7679"/> using
          the Type-P and Tmax defined under Fixed Parameters. However, a
          Periodic stream is used, as defined in <xref target="RFC3432"/>.</t>

          <t>The reference method distinguishes between long-delayed packets
          and lost packets by implementing a maximum waiting time for packet
          arrival. Tmax is the waiting time used as the threshold to declare a
          packet lost. Lost packets SHALL be designated as having undefined
          delay, and counted for the OWLoss metric.</t>

          <t>The calculations on the one-way delay SHALL be performed on the
          conditional distribution, conditioned on successful packet arrival
          within Tmax. Also, when all packet delays are stored, the process
          which calculates the one-way delay value MUST enforce the Tmax
          threshold on stored values before calculations. See section 4.1 of
          <xref target="RFC3393"/> for details on the conditional distribution
          to exclude undefined values of delay, and Section 5 of <xref
          target="RFC6703"/> for background on this analysis choice.</t>

          <t>The reference method requires some way to distinguish between
          different packets in a stream to establish correspondence between
          sending times and receiving times for each successfully-arriving
          packet.</t>

          <t>Since a standard measurement protocol is employed <xref
          target="RFC5357"/>, then the measurement process will determine the
          sequence numbers or timestamps applied to test packets after the
          Fixed and Runtime parameters are passed to that process. The
          measurement protocol dictates the format of sequence numbers and
          time-stamps conveyed in the TWAMP-Test packet payload.</t>
        </section>

        <section title="Packet Stream Generation">
          <t>This section gives the details of the packet traffic which is the
          basis for measurement. In IPPM metrics, this is called the Stream,
          and can easily be described by providing the list of stream
          parameters.</t>

          <t>Section 3 of <xref target="RFC3432"/> prescribes the method for
          generating Periodic streams using associated parameters.</t>

          <t><list style="hanging">
              <t hangText="incT">the nominal duration of inter-packet
              interval, first bit to first bit, with value 0.0200 expressed in
              units of seconds, as a positive value of type decimal64 with
              fraction digits = 4 (see section 9.3 of <xref
              target="RFC6020"/>) and with resolution of 0.0001 seconds (0.1
              ms), with lossless conversion to/from the 32-bit NTP timestamp
              as per section 6 of <xref target="RFC5905"/>.</t>

              <t hangText="dT">the duration of the interval for allowed sample
              start times, with value 1.0000, expressed in units of seconds,
              as a positive value of type decimal64 with fraction digits = 4
              (see section 9.3 of <xref target="RFC6020"/>) and with
              resolution of 0.0001 seconds (0.1 ms), with lossless conversion
              to/from the 32-bit NTP timestamp as per section 6 of <xref
              target="RFC5905"/>.</t>

              <t hangText="T0">the actual start time of the periodic stream,
              determined from T0 and dT.</t>
            </list>NOTE: an initiation process with a number of control
          exchanges resulting in unpredictable start times (within a time
          interval) may be sufficient to avoid synchronization of periodic
          streams, and therefore a valid replacement for selecting a start
          time at random from a fixed interval.</t>

          <t>These stream parameters will be specified as Run-time
          parameters.</t>
        </section>

        <section title="Traffic Filtering (observation) Details">
          <t>NA</t>
        </section>

        <section title="Sampling Distribution">
          <t>NA</t>
        </section>

        <section title="Run-time Parameters and Data Format">
          <t>Run-time Parameters are input factors that must be determined,
          configured into the measurement system, and reported with the
          results for the context to be complete.</t>

          <t><list style="hanging">
              <t hangText="Src">the IP address of the host in the Src Role
              (format ipv4-address-no-zone value for IPv4, or
              ipv6-address-no-zone value for IPv6, see Section 4 of <xref
              target="RFC6991"/>)</t>

              <t hangText="Dst">the IP address of the host in the Dst Role
              (format ipv4-address-no-zone value for IPv4, or
              ipv6-address-no-zone value for IPv6, see section 4 of <xref
              target="RFC6991"/>)</t>

              <t hangText="T0">a time, the start of a measurement interval,
              (format "date-and-time" as specified in Section 5.6 of <xref
              target="RFC3339"/>, see also Section 3 of <xref
              target="RFC6991"/>). The UTC Time Zone is required by Section
              6.1 of <xref target="RFC2330"/>. When T0 is "all-zeros", a start
              time is unspecified and Tf is to be interpreted as the Duration
              of the measurement interval. The start time is controlled
              through other means.</t>

              <t hangText="Tf">a time, the end of a measurement interval,
              (format "date-and-time" as specified in Section 5.6 of <xref
              target="RFC3339"/>, see also Section 3 of <xref
              target="RFC6991"/>). The UTC Time Zone is required by Section
              6.1 of <xref target="RFC2330"/>. When T0 is "all-zeros", a end
              time date is ignored and Tf is interpreted as the Duration of
              the measurement interval.</t>
            </list></t>

          <t/>
        </section>

        <section title="Roles">
          <t><list style="hanging">
              <t hangText="Src">launches each packet and waits for return
              transmissions from Dst. This is the TWAMP Session-Sender.</t>

              <t hangText="Dst">waits for each packet from Src and sends a
              return packet to Src. This is the TWAMP Session-Reflector.</t>
            </list></t>
        </section>
      </section>

      <section title="Output">
        <t>This category specifies all details of the Output of measurements
        using the metric.</t>

        <section title="Type">
          <t>See subsection titles in Reference Definition for Latency
          Types.</t>
        </section>

        <section title="Reference Definition">
          <t>For all output types ---<list style="hanging">
              <t hangText="T0">the start of a measurement interval, (format
              "date-and-time" as specified in Section 5.6 of <xref
              target="RFC3339"/>, see also Section 3 of <xref
              target="RFC6991"/>). The UTC Time Zone is required by Section
              6.1 of <xref target="RFC2330"/>.</t>

              <t hangText="Tf">the end of a measurement interval, (format
              "date-and-time" as specified in Section 5.6 of <xref
              target="RFC3339"/>, see also Section 3 of <xref
              target="RFC6991"/>). The UTC Time Zone is required by Section
              6.1 of <xref target="RFC2330"/>.</t>
            </list></t>

          <t>For LossRatio -- the count of lost packets to total packets sent
          is the basis for the loss ratio calculation as per Section 4.1 of
          <xref target="RFC7680"/>.</t>

          <t>For each &lt;statistic&gt;, one of the following sub-sections
          apply:</t>

          <section title="Percentile95">
            <t>The 95th percentile SHALL be calculated using the conditional
            distribution of all packets with a finite value of One-way delay
            (undefined delays are excluded), a single value as follows:</t>

            <t>See section 4.1 of <xref target="RFC3393"/> for details on the
            conditional distribution to exclude undefined values of delay, and
            Section 5 of <xref target="RFC6703"/> for background on this
            analysis choice.</t>

            <t>See section 4.3 of <xref target="RFC3393"/> for details on the
            percentile statistic (where Round-trip delay should be substituted
            for "ipdv").</t>

            <t>The percentile = 95, meaning that the reported delay,
            "95Percentile", is the smallest value of one-way delay for which
            the Empirical Distribution Function (EDF), F(95Percentile) &gt;=
            95% of the singleton one-way delay values in the conditional
            distribution. See section 11.3 of <xref target="RFC2330"/> for the
            definition of the percentile statistic using the EDF.</t>

            <t><list style="hanging">
                <t hangText="95Percentile">The time value of the result is
                expressed in units of seconds, as a positive value of type
                decimal64 with fraction digits = 9 (see section 9.3 of <xref
                target="RFC6020"/>) with resolution of 0.000000001 seconds
                (1.0 ns), and with lossless conversion to/from the 64-bit NTP
                timestamp as per section 6 of <xref
                target="RFC5905">RFC</xref></t>
              </list></t>
          </section>

          <section title="Mean">
            <t>The mean SHALL be calculated using the conditional distribution
            of all packets with a finite value of One-way delay (undefined
            delays are excluded), a single value as follows:</t>

            <t>See section 4.1 of <xref target="RFC3393"/> for details on the
            conditional distribution to exclude undefined values of delay, and
            Section 5 of <xref target="RFC6703"/> for background on this
            analysis choice.</t>

            <t>See section 4.2.2 of <xref target="RFC6049"/> for details on
            calculating this statistic, and 4.2.3 of <xref
            target="RFC6049"/>.</t>

            <t><list style="hanging">
                <t hangText="Mean">The time value of the result is expressed
                in units of seconds, as a positive value of type decimal64
                with fraction digits = 9 (see section 9.3 of <xref
                target="RFC6020"/>) with resolution of 0.000000001 seconds
                (1.0 ns), and with lossless conversion to/from the 64-bit NTP
                timestamp as per section 6 of <xref
                target="RFC5905">RFC</xref></t>
              </list></t>
          </section>

          <section title="Min">
            <t>The minimum SHALL be calculated using the conditional
            distribution of all packets with a finite value of One-way delay
            (undefined delays are excluded), a single value as follows:</t>

            <t>See section 4.1 of <xref target="RFC3393"/> for details on the
            conditional distribution to exclude undefined values of delay, and
            Section 5 of <xref target="RFC6703"/> for background on this
            analysis choice.</t>

            <t>See section 4.3.2 of <xref target="RFC6049"/> for details on
            calculating this statistic, and 4.3.3 of <xref
            target="RFC6049"/>.</t>

            <t><list style="hanging">
                <t hangText="Min">The time value of the result is expressed in
                units of seconds, as a positive value of type decimal64 with
                fraction digits = 9 (see section 9.3 of <xref
                target="RFC6020"/>) with resolution of 0.000000001 seconds
                (1.0 ns), and with lossless conversion to/from the 64-bit NTP
                timestamp as per section 6 of <xref
                target="RFC5905">RFC</xref></t>
              </list></t>
          </section>

          <section title="Max">
            <t>The maximum SHALL be calculated using the conditional
            distribution of all packets with a finite value of One-way delay
            (undefined delays are excluded), a single value as follows:</t>

            <t>See section 4.1 of <xref target="RFC3393"/> for details on the
            conditional distribution to exclude undefined values of delay, and
            Section 5 of <xref target="RFC6703"/> for background on this
            analysis choice.</t>

            <t>See section 4.3.2 of <xref target="RFC6049"/> for a closely
            related method for calculating this statistic, and 4.3.3 of <xref
            target="RFC6049"/>. The formula is as follows:</t>

            <t><figure>
                <artwork><![CDATA[         Max = (FiniteDelay [j])

               such that for some index, j, where 1 <= j <= N
               FiniteDelay[j] >= FiniteDelay[n] for all n]]></artwork>
              </figure></t>

            <t><list style="hanging">
                <t hangText="Max">The time value of the result is expressed in
                units of seconds, as a positive value of type decimal64 with
                fraction digits = 9 (see section 9.3 of <xref
                target="RFC6020"/>) with resolution of 0.000000001 seconds
                (1.0 ns), and with lossless conversion to/from the 64-bit NTP
                timestamp as per section 6 of <xref
                target="RFC5905">RFC</xref></t>
              </list></t>
          </section>

          <section title="Std_Dev">
            <t>The Std_Dev SHALL be calculated using the conditional
            distribution of all packets with a finite value of One-way delay
            (undefined delays are excluded), a single value as follows:</t>

            <t>See section 4.1 of <xref target="RFC3393"/> for details on the
            conditional distribution to exclude undefined values of delay, and
            Section 5 of <xref target="RFC6703"/> for background on this
            analysis choice.</t>

            <t>See section 4.3.2 of <xref target="RFC6049"/> for a closely
            related method for calculating this statistic, and 4.3.3 of <xref
            target="RFC6049"/>. The formula is the classic calculation for
            standard deviation of a population.</t>

            <figure>
              <artwork><![CDATA[Define Population Std_Dev_Delay as follows:
(where all packets n = 1 through N have a value for Delay[n],
and MeanDelay calculated as in 7.4.2.2), and SQRT[] is the 
Square Root function:
                 _                                       _
                |            N                            |
                |           ---                           |
                |     1     \                          2  |
Std_Dev = SQRT  |  -------   >   (Delay[n] - MeanDelay)   |
                |    (N)    /                             |
                |           ---                           |
                |          n = 1                          |
                |_                                       _|
  ]]></artwork>
            </figure>

            <t/>

            <t><list style="hanging">
                <t hangText="Std_Dev">The time value of the result is
                expressed in units of seconds, as a positive value of type
                decimal64 with fraction digits = 9 (see section 9.3 of <xref
                target="RFC6020"/>) with resolution of 0.000000001 seconds
                (1.0 ns), and with lossless conversion to/from the 64-bit NTP
                timestamp as per section 6 of <xref
                target="RFC5905">RFC</xref></t>
              </list></t>
          </section>
        </section>

        <section title="Metric Units">
          <t>The &lt;statistic&gt; of One-way Delay is expressed in seconds,
          where &lt;statistic&gt; is one of:</t>

          <t><list style="symbols">
              <t>95Percentile</t>

              <t>Mean</t>

              <t>Min</t>

              <t>Max</t>

              <t>StdDev</t>
            </list></t>

          <t>The One-way Loss Ratio is expressed as a percentage of lost
          packets to total packets sent.</t>
        </section>

        <section title="Calibration">
          <t>Section 3.7.3 of <xref target="RFC7679"/> provides a means to
          quantify the systematic and random errors of a time measurement.
          In-situ calibration could be enabled with an internal loopback that
          includes as much of the measurement system as possible, performs
          address manipulation as needed, and provides some form of isolation
          (e.g., deterministic delay) to avoid send-receive interface
          contention. Some portion of the random and systematic error can be
          characterized this way.</t>

          <t>For one-way delay measurements, the error calibration must
          include an assessment of the internal clock synchronization with its
          external reference (this internal clock is supplying timestamps for
          measurement). In practice, the time offsets <xref target="RFC5905"/>
          of clocks at both the source and destination are needed to estimate
          the systematic error due to imperfect clock synchronization (the
          time offsets <xref target="RFC5905"/> are smoothed, thus the random
          variation is not usually represented in the results).<list
              style="hanging">
              <t hangText="time_offset">The time value of the result is
              expressed in units of seconds, as a signed value of type
              decimal64 with fraction digits = 9 (see section 9.3 of <xref
              target="RFC6020"/>) with resolution of 0.000000001 seconds (1.0
              ns), and with lossless conversion to/from the 64-bit NTP
              timestamp as per section 6 of <xref
              target="RFC5905">RFC</xref></t>
            </list></t>

          <t>When a measurement controller requests a calibration measurement,
          the loopback is applied and the result is output in the same format
          as a normal measurement with additional indication that it is a
          calibration result. In any measurement, the measurement function
          SHOULD report its current estimate of time offset <xref
          target="RFC5905"/> as an indicator of the degree of
          synchronization.</t>

          <t>Both internal loopback calibration and clock synchronization can
          be used to estimate the available accuracy of the Output Metric
          Units. For example, repeated loopback delay measurements will reveal
          the portion of the Output result resolution which is the result of
          system noise, and thus inaccurate.</t>

          <t/>
        </section>
      </section>

      <section title="Administrative items">
        <t/>

        <section title="Status">
          <t>Current</t>
        </section>

        <section title="Requester">
          <t>This RFC number</t>
        </section>

        <section title="Revision">
          <t>1.0</t>
        </section>

        <section title="Revision Date">
          <t>YYYY-MM-DD</t>
        </section>
      </section>

      <section title="Comments and Remarks">
        <t>None.</t>
      </section>
    </section>

    <section title="ICMP Round-trip Latency and Loss Registry Entries">
      <t>This section specifies three initial registry entries for the ICMP
      Round-trip Latency, and another entry for ICMP Round-trip Loss
      Ratio.</t>

      <t>IANA Note: Registry "Name" below specifies multiple registry entries,
      whose output format varies according to the &lt;statistic&gt; element of
      the name that specifies one form of statistical summary. There is an
      additional metric name for the Loss metric.</t>

      <t>All column entries beside the ID, Name, Description, and Output
      Reference Method categories are the same, thus this section proposes two
      closely-related registry entries. As a result, IANA is also asked to
      assign corresponding URLs to each Named Metric.</t>

      <section title="Summary">
        <t>This category includes multiple indexes to the registry entry: the
        element ID and metric name.</t>

        <section title="ID (Identifier)">
          <t>IANA is asked to assign different numeric identifiers to each of
          the four Named Metrics.</t>
        </section>

        <section title="Name">
          <t>RTDelay_Active_IP-ICMP-SendOnRcv_RFCXXXXsec9_Seconds_&lt;statistic&gt;</t>

          <t>where &lt;statistic&gt; is one of:</t>

          <t><list style="symbols">
              <t>Mean</t>

              <t>Min</t>

              <t>Max</t>
            </list></t>

          <t>RTLoss_Active_IP-ICMP-SendOnRcv_RFCXXXXsec9_Percent_LossRatio</t>
        </section>

        <section title="URI">
          <t>URL: https://www.iana.org/ ... &lt;name&gt;</t>
        </section>

        <section title="Description">
          <t>RTDelay: This metric assesses the delay of a stream of ICMP
          packets exchanged between two hosts (which are the two measurement
          points), and the Output is the Round-trip delay for all successfully
          exchanged packets expressed as the &lt;statistic&gt; of their
          conditional delay distribution, where &lt;statistic&gt; is one
          of:</t>

          <t><list style="symbols">
              <t>Mean</t>

              <t>Min</t>

              <t>Max</t>
            </list></t>

          <t>RTLoss: This metric assesses the loss ratio of a stream of ICMP
          packets exchanged between two hosts (which are the two measurement
          points), and the Output is the Round-trip loss ratio for all
          successfully exchanged packets expressed as a percentage.</t>
        </section>

        <section title="Change Controller">
          <t>IETF</t>
        </section>

        <section title="Version (of Registry Format)">
          <t>1.0</t>
        </section>
      </section>

      <section title="Metric Definition">
        <t>This category includes columns to prompt the entry of all necessary
        details related to the metric definition, including the RFC reference
        and values of input factors, called fixed parameters.</t>

        <section title="Reference Definition">
          <t>Almes, G., Kalidindi, S., and M. Zekauskas, "A Round-trip Delay
          Metric for IPPM", RFC 2681, September 1999.</t>

          <t><xref target="RFC2681"/></t>

          <t>Section 2.4 of <xref target="RFC2681"/> provides the reference
          definition of the singleton (single value) Round-trip delay metric.
          Section 3.4 of <xref target="RFC2681"/> provides the reference
          definition expanded to cover a multi-singleton sample. Note that
          terms such as singleton and sample are defined in Section 11 of
          <xref target="RFC2330"/>.</t>

          <t>Note that although the <xref target="RFC2681"/> definition of
          "Round-trip-Delay between Src and Dst" is directionally ambiguous in
          the text, this metric tightens the definition further to recognize
          that the host in the "Src" role will send the first packet to "Dst",
          and ultimately receive the corresponding return packet from "Dst"
          (when neither are lost).</t>

          <t>Finally, note that the variable "dT" is used in <xref
          target="RFC2681"/> to refer to the value of Round-trip delay in
          metric definitions and methods. The variable "dT" has been re-used
          in other IPPM literature to refer to different quantities, and
          cannot be used as a global variable name.</t>

          <t>Morton, A., "Round-trip Packet Loss Metrics", RFC 6673, August
          2012.</t>

          <t><xref target="RFC6673"/></t>

          <t>Both delay and loss metrics employ a maximum waiting time for
          received packets, so the count of lost packets to total packets sent
          is the basis for the loss ratio calculation as per Section 6.1 of
          <xref target="RFC6673"/>.</t>
        </section>

        <section title="Fixed Parameters">
          <t>Type-P as defined in Section 13 of <xref target="RFC2330"/>:
          <list style="symbols">
              <t>IPv4 header values: <list style="symbols">
                  <t>DSCP: set to 0</t>

                  <t>TTL: set to 255</t>

                  <t>Protocol: Set to 01 (ICMP)</t>
                </list></t>

              <t>IPv6 header values:<list style="symbols">
                  <t>DSCP: set to 0</t>

                  <t>Hop Count: set to 255</t>

                  <t>Next Header: set to 128 decimal (ICMP)</t>

                  <t>Flow Label: set to zero</t>

                  <t>Extension Headers: none</t>
                </list></t>

              <t>ICMP header values: <list style="symbols">
                  <t>Type: 8 (Echo Request)</t>

                  <t>Code: 0</t>

                  <t>Checksum: the checksum MUST be calculated and the
                  non-zero checksum included in the header</t>

                  <t>(Identifier and Sequence Number set at Run-Time)</t>
                </list></t>

              <t>ICMP Payload <list style="symbols">
                  <t>total of 32 bytes of random info, constant per test.</t>
                </list></t>
            </list></t>

          <t>Other measurement parameters:<list style="symbols">
              <t>Tmax: a loss threshold waiting time<list style="symbols">
                  <t>3.0, expressed in units of seconds, as a positive value
                  of type decimal64 with fraction digits = 4 (see section 9.3
                  of <xref target="RFC6020"/>) and with resolution of 0.0001
                  seconds (0.1 ms), with lossless conversion to/from the
                  32-bit NTP timestamp as per section 6 of <xref
                  target="RFC5905"/>.</t>
                </list></t>
            </list></t>
        </section>
      </section>

      <section title="Method of Measurement">
        <t>This category includes columns for references to relevant sections
        of the RFC(s) and any supplemental information needed to ensure an
        unambiguous methods for implementations.</t>

        <section title="Reference Method">
          <t>The methodology for this metric is defined as
          Type-P-Round-trip-Delay-Poisson-Stream in section 2.6 of <xref
          target="RFC2681">RFC 2681</xref> and section 3.6 of <xref
          target="RFC2681">RFC 2681</xref> using the Type-P and Tmax defined
          under Fixed Parameters.</t>

          <t>The reference method distinguishes between long-delayed packets
          and lost packets by implementing a maximum waiting time for packet
          arrival. Tmax is the waiting time used as the threshold to declare a
          packet lost. Lost packets SHALL be designated as having undefined
          delay, and counted for the RTLoss metric.</t>

          <t>The calculations on the delay (RTD) SHALL be performed on the
          conditional distribution, conditioned on successful packet arrival
          within Tmax. Also, when all packet delays are stored, the process
          which calculates the RTD value MUST enforce the Tmax threshold on
          stored values before calculations. See section 4.1 of <xref
          target="RFC3393"/> for details on the conditional distribution to
          exclude undefined values of delay, and Section 5 of <xref
          target="RFC6703"/> for background on this analysis choice.</t>

          <t>The reference method requires some way to distinguish between
          different packets in a stream to establish correspondence between
          sending times and receiving times for each successfully-arriving
          packet. Sequence numbers or other send-order identification MUST be
          retained at the Src or included with each packet to disambiguate
          packet reordering if it occurs.</t>

          <t>The measurement process will determine the sequence numbers
          applied to test packets after the Fixed and Runtime parameters are
          passed to that process. The ICMP measurement process and protocol
          will dictate the format of sequence numbers and other
          identifiers.</t>

          <t>Refer to Section 4.4 of <xref target="RFC6673"/> for expanded
          discussion of the instruction to "send a Type-P packet back to the
          Src as quickly as possible" in Section 2.6 of <xref
          target="RFC2681">RFC 2681</xref>. Section 8 of <xref
          target="RFC6673"/> presents additional requirements which MUST be
          included in the method of measurement for this metric.</t>
        </section>

        <section title="Packet Stream Generation">
          <t>This section gives the details of the packet traffic which is the
          basis for measurement. In IPPM metrics, this is called the Stream,
          and can easily be described by providing the list of stream
          parameters.</t>

          <t>The ICMP metrics use a sending discipline called "SendOnRcv" or
          Send On Receive. This is a modification of Section 3 of <xref
          target="RFC3432"/>, which prescribes the method for generating
          Periodic streams using associated parameters as defined below for
          this description:</t>

          <t><list style="hanging">
              <t hangText="incT">the nominal duration of inter-packet
              interval, first bit to first bit</t>

              <t hangText="dT">the duration of the interval for allowed sample
              start times</t>
            </list></t>

          <t>The incT stream parameter will be specified as a Run-time
          parameter, and dT is not used in SendOnRcv.</t>

          <t>A SendOnRcv sender behaves exactly like a Periodic stream
          generator while all reply packets arrive with RTD &lt; incT, and the
          inter-packet interval will be constant.</t>

          <t>If a reply packet arrives with RTD &gt;= incT, then the
          inter-packet interval for the next sending time is nominally
          RTD.</t>

          <t>If a reply packet fails to arrive within Tmax, then the
          inter-packet interval for the next sending time is nominally
          Tmax.</t>

          <t>If an immediate send on reply arrival is desired, then set
          incT=0.</t>
        </section>

        <section title="Traffic Filtering (observation) Details">
          <t>NA</t>
        </section>

        <section title="Sampling Distribution">
          <t>NA</t>
        </section>

        <section title="Run-time Parameters and Data Format">
          <t>Run-time Parameters are input factors that must be determined,
          configured into the measurement system, and reported with the
          results for the context to be complete.</t>

          <t><list style="hanging">
              <t hangText="Src">the IP address of the host in the Src Role
              (format ipv4-address-no-zone value for IPv4, or
              ipv6-address-no-zone value for IPv6, see Section 4 of <xref
              target="RFC6991"/>)</t>

              <t hangText="Dst">the IP address of the host in the Dst Role
              (format ipv4-address-no-zone value for IPv4, or
              ipv6-address-no-zone value for IPv6, see section 4 of <xref
              target="RFC6991"/>)</t>

              <t hangText="incT">the nominal duration of inter-packet
              interval, first bit to first bit, expressed in units of seconds,
              as a positive value of type decimal64 with fraction digits = 4
              (see section 9.3 of <xref target="RFC6020"/>) and with
              resolution of 0.0001 seconds (0.1 ms).</t>

              <t hangText="T0">a time, the start of a measurement interval,
              (format "date-and-time" as specified in Section 5.6 of <xref
              target="RFC3339"/>, see also Section 3 of <xref
              target="RFC6991"/>). The UTC Time Zone is required by Section
              6.1 of <xref target="RFC2330"/>. When T0 is "all-zeros", a start
              time is unspecified and Tf is to be interpreted as the Duration
              of the measurement interval. The start time is controlled
              through other means.</t>

              <t hangText="Count">The total count of ICMP Echo Requests to
              send, formatted as a uint16, as per section 9.2 of <xref
              target="RFC6020"/>.</t>
            </list></t>

          <t>(see the Packet Stream Generation section for additional Run-time
          parameters)</t>
        </section>

        <section title="Roles">
          <t><list style="hanging">
              <t hangText="Src">launches each packet and waits for return
              transmissions from Dst.</t>

              <t hangText="Dst">waits for each packet from Src and sends a
              return packet to Src.</t>
            </list></t>
        </section>
      </section>

      <section title="Output">
        <t>This category specifies all details of the Output of measurements
        using the metric.</t>

        <section title="Type">
          <t>See subsection titles in Reference Definition for Latency
          Types.</t>

          <t>LossRatio -- the count of lost packets to total packets sent is
          the basis for the loss ratio calculation as per Section 6.1 of <xref
          target="RFC6673"/>.</t>
        </section>

        <section title="Reference Definition">
          <t>For all output types ---<list style="hanging">
              <t hangText="T0">the start of a measurement interval, (format
              "date-and-time" as specified in Section 5.6 of <xref
              target="RFC3339"/>, see also Section 3 of <xref
              target="RFC6991"/>). The UTC Time Zone is required by Section
              6.1 of <xref target="RFC2330"/>.</t>

              <t hangText="Tf">the end of a measurement interval, (format
              "date-and-time" as specified in Section 5.6 of <xref
              target="RFC3339"/>, see also Section 3 of <xref
              target="RFC6991"/>). The UTC Time Zone is required by Section
              6.1 of <xref target="RFC2330"/>.</t>

              <t hangText="TotalCount">the count of packets actually sent by
              the Src to Dst during the measurement interval.</t>
            </list></t>

          <t>For LossRatio -- the count of lost packets to total packets sent
          is the basis for the loss ratio calculation as per Section 4.1 of
          <xref target="RFC7680"/>.</t>

          <t>For each &lt;statistic&gt;, one of the following sub-sections
          apply:</t>

          <section title="Mean">
            <t>The mean SHALL be calculated using the conditional distribution
            of all packets with a finite value of Round-trip delay (undefined
            delays are excluded), a single value as follows:</t>

            <t>See section 4.1 of <xref target="RFC3393"/> for details on the
            conditional distribution to exclude undefined values of delay, and
            Section 5 of <xref target="RFC6703"/> for background on this
            analysis choice.</t>

            <t>See section 4.2.2 of <xref target="RFC6049"/> for details on
            calculating this statistic, and 4.2.3 of <xref
            target="RFC6049"/>.</t>

            <t><list style="hanging">
                <t hangText="Mean">The time value of the result is expressed
                in units of seconds, as a positive value of type decimal64
                with fraction digits = 9 (see section 9.3 of <xref
                target="RFC6020"/>) with resolution of 0.000000001 seconds
                (1.0 ns), and with lossless conversion to/from the 64-bit NTP
                timestamp as per section 6 of <xref
                target="RFC5905">RFC</xref></t>
              </list></t>
          </section>

          <section title="Min">
            <t>The minimum SHALL be calculated using the conditional
            distribution of all packets with a finite value of Round-trip
            delay (undefined delays are excluded), a single value as
            follows:</t>

            <t>See section 4.1 of <xref target="RFC3393"/> for details on the
            conditional distribution to exclude undefined values of delay, and
            Section 5 of <xref target="RFC6703"/> for background on this
            analysis choice.</t>

            <t>See section 4.3.2 of <xref target="RFC6049"/> for details on
            calculating this statistic, and 4.3.3 of <xref
            target="RFC6049"/>.</t>

            <t><list style="hanging">
                <t hangText="Min">The time value of the result is expressed in
                units of seconds, as a positive value of type decimal64 with
                fraction digits = 9 (see section 9.3 of <xref
                target="RFC6020"/>) with resolution of 0.000000001 seconds
                (1.0 ns), and with lossless conversion to/from the 64-bit NTP
                timestamp as per section 6 of <xref
                target="RFC5905">RFC</xref></t>
              </list></t>
          </section>

          <section title="Max">
            <t>The maximum SHALL be calculated using the conditional
            distribution of all packets with a finite value of Round-trip
            delay (undefined delays are excluded), a single value as
            follows:</t>

            <t>See section 4.1 of <xref target="RFC3393"/> for details on the
            conditional distribution to exclude undefined values of delay, and
            Section 5 of <xref target="RFC6703"/> for background on this
            analysis choice.</t>

            <t>See section 4.3.2 of <xref target="RFC6049"/> for a closely
            related method for calculating this statistic, and 4.3.3 of <xref
            target="RFC6049"/>. The formula is as follows:</t>

            <t><figure>
                <artwork><![CDATA[         Max = (FiniteDelay [j])

               such that for some index, j, where 1 <= j <= N
               FiniteDelay[j] >= FiniteDelay[n] for all n]]></artwork>
              </figure></t>

            <t><list style="hanging">
                <t hangText="Max">The time value of the result is expressed in
                units of seconds, as a positive value of type decimal64 with
                fraction digits = 9 (see section 9.3 of <xref
                target="RFC6020"/>) with resolution of 0.000000001 seconds
                (1.0 ns), and with lossless conversion to/from the 64-bit NTP
                timestamp as per section 6 of <xref
                target="RFC5905">RFC</xref></t>
              </list></t>
          </section>
        </section>

        <section title="Metric Units">
          <t>The &lt;statistic&gt; of Round-trip Delay is expressed in
          seconds, where &lt;statistic&gt; is one of:</t>

          <t><list style="symbols">
              <t>Mean</t>

              <t>Min</t>

              <t>Max</t>
            </list></t>

          <t>The Round-trip Loss Ratio is expressed as a percentage of lost
          packets to total packets sent.</t>
        </section>

        <section title="Calibration">
          <t>Section 3.7.3 of <xref target="RFC7679"/> provides a means to
          quantify the systematic and random errors of a time measurement.
          In-situ calibration could be enabled with an internal loopback at
          the Source host that includes as much of the measurement system as
          possible, performs address manipulation as needed, and provides some
          form of isolation (e.g., deterministic delay) to avoid send-receive
          interface contention. Some portion of the random and systematic
          error can be characterized this way.</t>

          <t>When a measurement controller requests a calibration measurement,
          the loopback is applied and the result is output in the same format
          as a normal measurement with additional indication that it is a
          calibration result.</t>

          <t>Both internal loopback calibration and clock synchronization can
          be used to estimate the available accuracy of the Output Metric
          Units. For example, repeated loopback delay measurements will reveal
          the portion of the Output result resolution which is the result of
          system noise, and thus inaccurate.</t>
        </section>
      </section>

      <section title="Administrative items">
        <t/>

        <section title="Status">
          <t>Current</t>
        </section>

        <section title="Requester">
          <t>This RFC number</t>
        </section>

        <section title="Revision">
          <t>1.0</t>
        </section>

        <section title="Revision Date">
          <t>YYYY-MM-DD</t>
        </section>
      </section>

      <section title="Comments and Remarks">
        <t>None</t>
      </section>
    </section>

    <section title="TCP Round-Trip Delay and Loss Registry Entries">
      <t>This section specifies three initial registry entries for the Passive
      assessment of TCP Round-Trip Delay (RTD) and another entry for TCP
      Round-trip Loss Count.</t>

      <t>IANA Note: Registry "Name" below specifies multiple registry entries,
      whose output format varies according to the &lt;statistic&gt; element of
      the name that specifies one form of statistical summary. There are two
      additional metric names for Singleton RT Delay and Packet Count
      metrics.</t>

      <t>All column entries beside the ID, Name, Description, and Output
      Reference Method categories are the same, thus this section proposes
      four closely-related registry entries. As a result, IANA is also asked
      to assign corresponding URLs to each Named Metric.</t>

      <section title="Summary">
        <t>This category includes multiple indexes to the registry entry: the
        element ID and metric name.</t>

        <section title="ID (Identifier)">
          <t>IANA is asked to assign different numeric identifiers to each of
          the four Named Metrics.</t>
        </section>

        <section title="Name">
          <t>RTDelay_Passive_IP-TCP_RFCXXXXsec10_Seconds_&lt;statistic&gt;</t>

          <t>where &lt;statistic&gt; is one of:</t>

          <t><list style="symbols">
              <t>Mean</t>

              <t>Min</t>

              <t>Max</t>
            </list></t>

          <t>RTDelay_Passive_IP-TCP-HS_RFCXXXXsec10_Seconds_Singleton</t>

          <t>Note that a mid-point observer only has the opportunity to
          compose a single RTDelay on the TCP Hand Shake.</t>

          <t>RTLoss_Passive_IP-TCP_RFCXXXXsec10_Packet_Count</t>
        </section>

        <section title="URI">
          <t>URL: https://www.iana.org/ ... &lt;name&gt;</t>
        </section>

        <section title="Description">
          <t>RTDelay: This metric assesses the round-trip delay of TCP packets
          constituting a single connection, exchanged between two hosts. We
          consider the measurement of round-trip delay based on a single
          Observation Point <xref target="RFC7011"/> somewhere in the network.
          The Output is the Round-trip delay for all successfully exchanged
          packets expressed as the &lt;statistic&gt; of their conditional
          delay distribution, where &lt;statistic&gt; is one of:</t>

          <t><list style="symbols">
              <t>Mean</t>

              <t>Min</t>

              <t>Max</t>
            </list></t>

          <t>RTLoss: This metric assesses the estimated loss count for TCP
          packets constituting a single connection, exchanged between two
          hosts. We consider the measurement of round-trip delay based on a
          single Observation Point <xref target="RFC7011"/> somewhere in the
          network. The Output is the estimated Loss Count for the measurement
          interval.</t>
        </section>

        <section title="Change Controller">
          <t>IETF</t>
        </section>

        <section title="Version (of Registry Format)">
          <t>1.0</t>
        </section>
      </section>

      <section title="Metric Definition">
        <t>This category includes columns to prompt the entry of all necessary
        details related to the metric definition, including the RFC reference
        and values of input factors, called fixed parameters.</t>

        <section title="Reference Definitions">
          <t>Although there is no RFC that describes passive measurement of
          Round-Trip Delay, the parallel definition for Active measurement
          is:</t>

          <t>Almes, G., Kalidindi, S., and M. Zekauskas, "A Round-trip Delay
          Metric for IPPM", RFC 2681, September 1999.</t>

          <t><xref target="RFC2681"/></t>

          <t>This metric definition uses the terms singleton and sample as
          defined in Section 11 of <xref target="RFC2330"/>. (Section 2.4 of
          <xref target="RFC2681"/> provides the reference definition of the
          singleton (single value) Round-trip delay metric. Section 3.4 of
          <xref target="RFC2681"/> provides the reference definition expanded
          to cover a multi-singleton sample.)</t>

          <t>With the Observation Point <xref target="RFC7011"/> (OP)
          typically located between the hosts participating in the TCP
          connection, the Round-trip Delay metric requires two individual
          measurements between the OP and each host, such that the Spatial
          Composition <xref target="RFC6049"/>of the measurements yields a
          Round-trip Delay singleton (we are extending the composition of
          one-way subpath delays to subpath round-trip delay).</t>

          <t>Using the direction of TCP SYN transmission to anchor the
          nomenclature, host A sends the SYN and host B replies with SYN-ACK
          during connection establishment. The direction of SYN transfer is
          considered the Forward direction of transmission, from A through OP
          to B (Reverse is B through OP to A).</t>

          <t>Traffic filters reduce the packet stream at the OP to a Qualified
          bidirectional flow of packets.</t>

          <t>In the definitions below, Corresponding Packets are transferred
          in different directions and convey a common value in a TCP header
          field that establishes correspondence (to the extent possible).
          Examples may be found in the TCP timestamp fields.</t>

          <t>For a real number, RTD_fwd, &gt;&gt; the Round-trip Delay in the
          Forward direction from OP to host B at time T' is RTD_fwd &lt;&lt;
          it is REQUIRED that OP observed a Qualified Packet to host B at
          wire-time T', that host B received that packet and sent a
          Corresponding Packet back to host A, and OP observed the
          Corresponding Packet at wire-time T' + RTD_fwd.</t>

          <t>For a real number, RTD_rev, &gt;&gt; the Round-trip Delay in the
          Reverse direction from OP to host A at time T'' is RTD_rev &lt;&lt;
          it is REQUIRED that OP observed a Qualified Packet to host A at
          wire-time T'', that host A received that packet and sent a
          Corresponding Packet back to host B, and that OP observed the
          Corresponding Packet at wire-time T'' + RTD_rev.</t>

          <t>Ideally, the packet sent from host B to host A in both
          definitions above SHOULD be the same packet (or, when measuring
          RTD_rev first, the packet from host A to host B in both definitions
          should be the same).</t>

          <t>The REQUIRED Composition Function for a singleton of Round-trip
          Delay at time T (where T is the earliest of T' and T'' above)
          is:</t>

          <t>RTDelay = RTD_fwd + RTD_rev</t>

          <t>Note that when OP is located at host A or host B, one of the
          terms composing RTDelay will be zero or negligible.</t>

          <t>When the Qualified and Corresponding Packets are a TCP-SYN and a
          TCP-SYN-ACK, then RTD_fwd == RTD_HS_fwd.</t>

          <t>When the Qualified and Corresponding Packets are a TCP-SYN-ACK
          and a TCP-ACK, then RTD_rev == RTD_HS_rev.</t>

          <t>The REQUIRED Composition Function for a singleton of Round-trip
          Delay for the connection Hand Shake:</t>

          <t>RTDelay_HS = RTD_HS_fwd + RTD_HS_rev</t>

          <t>The definition of Round-trip Loss Count uses the nomenclature
          developed above, based on observation of the TCP header sequence
          numbers and storing the sequence number gaps observed. Packet Losses
          can be inferred from:<list style="symbols">
              <t>Out-of-order segments: TCP segments are transmitted with
              monotonically increasing sequence numbers, but these segments
              may be received out of order. Section 3 of <xref
              target="RFC4737"/> describes the notion of "next expected"
              sequence numbers which can be adapted to TCP segments (for the
              purpose of detecting reordered packets). Observation of
              out-of-order segments indicates loss on the path prior to the
              OP, and creates a gap.</t>

              <t>Duplicate segments: Section 2 of <xref target="RFC5560"/>
              defines identical packets and is suitable for evaluation of TCP
              packets to detect duplication. Observation of duplicate segments
              *without a corresponding gap* indicates loss on the path
              following the OP (because they overlap part of the delivered
              sequence numbers already observed at OP).</t>
            </list></t>

          <t>Each observation of an out-of-order or duplicate infers a
          singleton of loss, but composition of Round-trip Loss Counts will be
          conducted over a measurement interval which is synonymous with a
          single TCP connection.</t>

          <t>With the above observations in the Forward direction over a
          measurement interval, the count of out-of-order and duplicate
          segments is defined as RTL_fwd. Comparable observations in the
          Reverse direction are defined as RTL_rev.</t>

          <t>For a measurement interval (corresponding to a single TCP
          connection), T0 to Tf, the REQUIRED Composition Function for a the
          two single-direction counts of inferred loss is:</t>

          <t>RTLoss = RTL_fwd + RTL_rev</t>
        </section>

        <section title="Fixed Parameters">
          <t/>

          <t>Traffic Filters: <list style="symbols">
              <t>IPv4 header values: <list style="symbols">
                  <t>DSCP: set to 0</t>

                  <t>Protocol: Set to 06 (TCP)</t>
                </list></t>

              <t>IPv6 header values:<list style="symbols">
                  <t>DSCP: set to 0</t>

                  <t>Hop Count: set to 255</t>

                  <t>Next Header: set to 6 (TCP)</t>

                  <t>Flow Label: set to zero</t>

                  <t>Extension Headers: none</t>
                </list></t>

              <t>TCP header values: <list style="symbols">
                  <t>Flags: ACK, SYN, FIN, set as required</t>

                  <t>Timestamp Option (TSopt): Set <list style="symbols">
                      <t><xref target="RFC7323">Section 3.2 of </xref></t>
                    </list></t>
                </list></t>
            </list></t>

          <t/>
        </section>
      </section>

      <section title="Method of Measurement">
        <t>This category includes columns for references to relevant sections
        of the RFC(s) and any supplemental information needed to ensure an
        unambiguous methods for implementations.</t>

        <section title="Reference Methods">
          <t>The foundation methodology for this metric is defined in Section
          4 of <xref target="RFC7323"/> using the Timestamp Option with
          modifications that allow application at a mid-path Observation Point
          (OP) <xref target="RFC7011"/>. Further details and applicable
          heuristics were derived from <xref target="Strowes"/> and <xref
          target="Trammell-14"/>.</t>

          <t>The Traffic Filter at the OP is configured to observe a single
          TCP connection. When the SYN, SYN-ACK, ACK handshake occurs, it
          offers the first opportunity to measure both RTD_fwd (on the SYN to
          SYN-ACK pair) and RTD_rev (on the SYN-ACK to ACK pair). Label this
          singleton of RTDelay as RTDelay_HS (composed using the forward and
          reverse measurement pair). RTDelay_HS SHALL be treated separately
          from other RTDelays on data-bearing packets and their ACKs. The
          RTDelay_HS value MAY be used as a sanity check on other Composed
          values of RTDelay.</t>

          <t>For payload bearing packets, the OP measures the time interval
          between observation of a packet with Sequence Number s, and the
          corresponding ACK with same Sequence number. When the payload is
          transferred from host A to host B, the observed interval is
          RTD_fwd.</t>

          <t>Because many data transfers are unidirectional (say, in the
          Forward direction from host A to host B), it is necessary to use
          pure ACK packets with Timestamp (TSval) and their Timestamp value
          echo to perform a RTD_rev measurement. The time interval between
          observation of the ACK from B to A, and the corresponding packet
          with Timestamp echo (TSecr) is the RTD_rev.</t>

          <t>Delay Measurement Filtering Heuristics:</t>

          <t>If Data payloads were transferred in both Forward and Reverse
          directions, then the Round-Trip Time Measurement Rule in Section 4.1
          of <xref target="RFC7323"/> could be applied. This rule essentially
          excludes any measurement using a packet unless it makes progress in
          the transfer (advances the left edge of the send window, consistent
          with <xref target="Strowes"/>).</t>

          <t>A different heuristic from <xref target="Trammell-14"/> is to
          exclude any RTD_rev that is larger than previously observed values.
          This would tend to exclude Reverse measurements taken when the
          Application has no data ready to send, because considerable time
          could be added to RTD_rev from this source of error.</t>

          <t>Note that the above Heuristic assumes that host A is sending
          data. Host A expecting a download would mean that this heuristic
          should be applied to RTD_fwd.</t>

          <t>The statistic calculations to summarize the delay (RTDelay) SHALL
          be performed on the conditional distribution, conditioned on
          successful Forward and Reverse measurements which follow the
          Heuristics.</t>

          <t>Method for Inferring Loss:</t>

          <t>The OP tracks sequence numbers and stores gaps for each direction
          of transmission, as well as the next-expected sequence number as in
          <xref target="Trammell-14"/> and <xref target="RFC4737"/>. Loss is
          inferred from Out-of-order segments and Duplicate segments.</t>

          <t>Loss Measurement Filtering Heuristics:</t>

          <t><xref target="Trammell-14"/> adds a window of evaluation based on
          the RTDelay.</t>

          <t>Distinguish Re-ordered from OOO due to loss, because sequence
          number gap is filled during the same RTDelay window. Segments
          detected as re-ordered according to <xref target="RFC4737"/> MUST
          reduce the Loss Count inferred from Out-of-order segments.</t>

          <t>Spurious (unneeded) retransmissions (observed as duplicates) can
          also be reduced this way, as described in <xref
          target="Trammell-14"/>.</t>

          <t>Sources of Error:</t>

          <t>The principal source of RTDelay error is the host processing time
          to return a packet that defines the termination of a time interval.
          The heuristics above intend to mitigate these errors by excluding
          measurements where host processing time is a significant part of
          RTD_fwd or RTD_rev.</t>

          <t>A key source of RTLoss error is observation loss, described in
          section 3 of <xref target="Trammell-14"/>.</t>
        </section>

        <section title="Packet Stream Generation">
          <t>NA</t>
        </section>

        <section title="Traffic Filtering (observation) Details">
          <t>The Fixed Parameters above give a portion of the Traffic Filter.
          Other aspects will be supplied as Run-time Parameters (below).</t>
        </section>

        <section title="Sampling Distribution">
          <t>This metric requires a complete sample of all packets that
          qualify according to the Traffic Filter criteria.</t>
        </section>

        <section title="Run-time Parameters and Data Format">
          <t>Run-time Parameters are input factors that must be determined,
          configured into the measurement system, and reported with the
          results for the context to be complete.</t>

          <t><list style="hanging">
              <t hangText="Src">the IP address of the host in the host A Role
              (format ipv4-address-no-zone value for IPv4, or
              ipv6-address-no-zone value for IPv6, see Section 4 of <xref
              target="RFC6991"/>)</t>

              <t hangText="Dst">the IP address of the host in the host B
              (format ipv4-address-no-zone value for IPv4, or
              ipv6-address-no-zone value for IPv6, see section 4 of <xref
              target="RFC6991"/>)</t>

              <t hangText="T0">a time, the start of a measurement interval,
              (format "date-and-time" as specified in Section 5.6 of <xref
              target="RFC3339"/>, see also Section 3 of <xref
              target="RFC6991"/>). The UTC Time Zone is required by Section
              6.1 of <xref target="RFC2330"/>. When T0 is "all-zeros", a start
              time is unspecified and Td is to be interpreted as the Duration
              of the measurement interval. The start time is controlled
              through other means.</t>

              <t hangText="Td">Optionally, the end of a measurement interval,
              (format "date-and-time" as specified in Section 5.6 of <xref
              target="RFC3339"/>, see also Section 3 of <xref
              target="RFC6991"/>), or the duration (see T0). The UTC Time Zone
              is required by Section 6.1 of <xref target="RFC2330"/>.
              Alternatively, the end of the measurement interval MAY be
              controlled by the measured connection, where the second pair of
              FIN and ACK packets exchanged between host A and B effectively
              ends the interval.</t>

              <t hangText="TTL or Hop Limit">Set at desired value.</t>
            </list></t>

          <t/>
        </section>

        <section title="Roles">
          <t><list style="hanging">
              <t hangText="host A">launches the SYN packet to open the
              connection, and synonymous with an IP address.</t>

              <t hangText="host B">replies with the SYN-ACK packet to open the
              connection, and synonymous with an IP address.</t>
            </list></t>
        </section>
      </section>

      <section title="Output">
        <t>This category specifies all details of the Output of measurements
        using the metric.</t>

        <section title="Type">
          <t>See subsection titles in Reference Definition for RTDelay
          Types.</t>

          <t>For RTLoss -- the count of lost packets.</t>
        </section>

        <section title="Reference Definition">
          <t>For all output types ---<list style="hanging">
              <t hangText="T0">the start of a measurement interval, (format
              "date-and-time" as specified in Section 5.6 of <xref
              target="RFC3339"/>, see also Section 3 of <xref
              target="RFC6991"/>). The UTC Time Zone is required by Section
              6.1 of <xref target="RFC2330"/>.</t>

              <t hangText="Tf">the end of a measurement interval, (format
              "date-and-time" as specified in Section 5.6 of <xref
              target="RFC3339"/>, see also Section 3 of <xref
              target="RFC6991"/>). The UTC Time Zone is required by Section
              6.1 of <xref target="RFC2330"/>. The end of the measurement
              interval MAY be controlled by the measured connection, where the
              second pair of FIN and ACK packets exchanged between host A and
              B effectively ends the interval.</t>

              <t hangText="...">...</t>
            </list></t>

          <t>For RTDelay_HS -- the Round trip delay of the Handshake.</t>

          <t>For RTLoss -- the count of lost packets.</t>

          <t>For each &lt;statistic&gt;, one of the following sub-sections
          apply:</t>

          <section title="Mean">
            <t>The mean SHALL be calculated using the conditional distribution
            of all packets with a finite value of Round-trip delay (undefined
            delays are excluded), a single value as follows:</t>

            <t>See section 4.1 of <xref target="RFC3393"/> for details on the
            conditional distribution to exclude undefined values of delay, and
            Section 5 of <xref target="RFC6703"/> for background on this
            analysis choice.</t>

            <t>See section 4.2.2 of <xref target="RFC6049"/> for details on
            calculating this statistic, and 4.2.3 of <xref
            target="RFC6049"/>.</t>

            <t><list style="hanging">
                <t hangText="Mean">The time value of the result is expressed
                in units of seconds, as a positive value of type decimal64
                with fraction digits = 9 (see section 9.3 of <xref
                target="RFC6020"/>) with resolution of 0.000000001 seconds
                (1.0 ns), and with lossless conversion to/from the 64-bit NTP
                timestamp as per section 6 of <xref
                target="RFC5905">RFC</xref></t>
              </list></t>
          </section>

          <section title="Min">
            <t>The minimum SHALL be calculated using the conditional
            distribution of all packets with a finite value of Round-trip
            delay (undefined delays are excluded), a single value as
            follows:</t>

            <t>See section 4.1 of <xref target="RFC3393"/> for details on the
            conditional distribution to exclude undefined values of delay, and
            Section 5 of <xref target="RFC6703"/> for background on this
            analysis choice.</t>

            <t>See section 4.3.2 of <xref target="RFC6049"/> for details on
            calculating this statistic, and 4.3.3 of <xref
            target="RFC6049"/>.</t>

            <t><list style="hanging">
                <t hangText="Min">The time value of the result is expressed in
                units of seconds, as a positive value of type decimal64 with
                fraction digits = 9 (see section 9.3 of <xref
                target="RFC6020"/>) with resolution of 0.000000001 seconds
                (1.0 ns), and with lossless conversion to/from the 64-bit NTP
                timestamp as per section 6 of <xref
                target="RFC5905">RFC</xref></t>
              </list></t>
          </section>

          <section title="Max">
            <t>The maximum SHALL be calculated using the conditional
            distribution of all packets with a finite value of Round-trip
            delay (undefined delays are excluded), a single value as
            follows:</t>

            <t>See section 4.1 of <xref target="RFC3393"/> for details on the
            conditional distribution to exclude undefined values of delay, and
            Section 5 of <xref target="RFC6703"/> for background on this
            analysis choice.</t>

            <t>See section 4.3.2 of <xref target="RFC6049"/> for a closely
            related method for calculating this statistic, and 4.3.3 of <xref
            target="RFC6049"/>. The formula is as follows:</t>

            <t><figure>
                <artwork><![CDATA[         Max = (FiniteDelay [j])

               such that for some index, j, where 1 <= j <= N
               FiniteDelay[j] >= FiniteDelay[n] for all n]]></artwork>
              </figure></t>

            <t><list style="hanging">
                <t hangText="Max">The time value of the result is expressed in
                units of seconds, as a positive value of type decimal64 with
                fraction digits = 9 (see section 9.3 of <xref
                target="RFC6020"/>) with resolution of 0.000000001 seconds
                (1.0 ns), and with lossless conversion to/from the 64-bit NTP
                timestamp as per section 6 of <xref
                target="RFC5905">RFC</xref></t>
              </list></t>
          </section>
        </section>

        <section title="Metric Units">
          <t>The &lt;statistic&gt; of Round-trip Delay is expressed in
          seconds, where &lt;statistic&gt; is one of:</t>

          <t><list style="symbols">
              <t>Mean</t>

              <t>Min</t>

              <t>Max</t>
            </list></t>

          <t>The Round-trip Delay of the Hand Shake is expressed in
          seconds.</t>

          <t>The Round-trip Loss Count is expressed as a number of
          packets.</t>
        </section>

        <section title="Calibration">
          <t>Passive measurements at an OP could be calibrated against an
          active measurement (with loss emulation) at host A or B, where the
          active measurement represents the ground-truth.</t>
        </section>
      </section>

      <section title="Administrative items">
        <t/>

        <section title="Status">
          <t>Current</t>
        </section>

        <section title="Requester">
          <t>This RFC number</t>
        </section>

        <section title="Revision">
          <t>1.0</t>
        </section>

        <section title="Revision Date">
          <t>YYYY-MM-DD</t>
        </section>
      </section>

      <section title="Comments and Remarks">
        <t>None.</t>
      </section>
    </section>

    <section title="Security Considerations">
      <t>These registry entries represent no known implications for Internet
      Security. Each RFC referenced above contains a Security Considerations
      section. Further, the LMAP Framework <xref target="RFC7594"/> provides
      both security and privacy considerations for measurements.</t>

      <t>There are potential privacy considerations for observed traffic,
      particularly for passive metrics in section 10. An attacker that knows
      that its TCP connection is being measured can modify its behavior to
      skew the measurement results.</t>
    </section>

    <section anchor="IANA" title="IANA Considerations">
      <!--     <t>Metrics previously defined in IETF were registered in the IANA IPPM
      METRICS REGISTRY, however this process was discontinued when the
      registry structure was found to be inadequate, and the registry was
      declared Obsolete <xref target="RFC6248"/>.</t>

      <t>The form of metric registration will finalized in this and other
      memos, and IANA Action will be requested when the initial contents of
      the registry are prepared.</t>-->

      <t>IANA is requested to populate The Performance Metrics Registry
      defined in <xref target="I-D.ietf-ippm-metric-registry"/> with the
      values defined in sections 4 through 10.</t>

      <t>See the IANA Considerations section of <xref
      target="I-D.ietf-ippm-metric-registry"/> for additional requests and
      considerations.</t>
    </section>

    <section title="Acknowledgements">
      <t>The authors thank Brian Trammell for suggesting the term "Run-time
      Parameters", which led to the distinction between run-time and fixed
      parameters implemented in this memo, for identifying the IPFIX metric
      with Flow Key as an example, for suggesting the Passive TCP RTD metric
      and supporting references, and for many other productive suggestions.
      Thanks to Peter Koch, who provided several useful suggestions for
      disambiguating successive DNS Queries in the DNS Response time
      metric.</t>

      <t>The authors also acknowledge the constructive reviews and helpful
      suggestions from Barbara Stark, Juergen Schoenwaelder, Tim Carey, Yaakov
      Stein, and participants in the LMAP working group. Thanks to Michelle
      Cotton for her early IANA reviews, and to Amanda Barber for answering
      questions related to the presentation of the registry and accessibility
      of the complete template via URL.</t>
    </section>
  </middle>

  <back>
    <references title="Normative References">
      <?rfc include="reference.RFC.1035"?>

      <?rfc include="reference.RFC.2119"?>

      <?rfc include="reference.RFC.2330"?>

      <?rfc ?>

      <?rfc ?>

      <?rfc ?>

      <?rfc ?>

      <?rfc include='reference.RFC.2681'?>

      <?rfc include='reference.RFC.3393'?>

      <?rfc include='reference.RFC.3339'?>

      <?rfc include='reference.RFC.3432'?>

      <?rfc include='reference.RFC.5560'?>

      <?rfc include='reference.RFC.5905'?>

      <?rfc include='reference.RFC.4737'?>

      <?rfc include='reference.RFC.5357'?>

      <?rfc include='reference.RFC.5481'?>

      <?rfc include='reference.RFC.6020'?>

      <?rfc include='reference.RFC.6049'?>

      <?rfc include='reference.RFC.6673'?>

      <?rfc include='reference.RFC.6991'?>

      <?rfc include='reference.RFC.7011'?>

      <?rfc include='reference.RFC.7323'?>

      <?rfc include='reference.RFC.7679'?>

      <?rfc include='reference.RFC.7680'?>

      <?rfc include='reference.RFC.8174'?>

      <reference anchor="I-D.ietf-ippm-metric-registry">
        <front>
          <title>Registry for Performance Metrics</title>

          <author fullname="Marcelo Bagnulo" initials="M." surname="Bagnulo">
            <organization/>
          </author>

          <author fullname="Benoit Claise" initials="B." surname="Claise">
            <organization/>
          </author>

          <author fullname="Phil Eardley" initials="P." surname="Eardley">
            <organization/>
          </author>

          <author fullname="Al Morton" initials="A." surname="Morton">
            <organization/>
          </author>

          <date year="2019"/>
        </front>

        <seriesInfo name="Internet Draft (work in progress)"
                    value="draft-ietf-ippm-metric-registry"/>

        <format type="TXT"/>
      </reference>

      <reference anchor="Strowes">
        <front>
          <title>Passively Measuring TCP Round Trip Times, Communications of
          the ACM, Vol. 56 No. 10, Pages 57-64</title>

          <author fullname="S.Strowes" initials="S." surname="Strowes">
            <organization>Communications of the ACM, Vol. 56 No. 10, Pages
            57-64.</organization>
          </author>

          <date month="September" year="2013"/>
        </front>
      </reference>

      <reference anchor="Trammell-14">
        <front>
          <title>Inline Data Integrity Signals for Passive Measurement, In:
          Dainotti A., Mahanti A., Uhlig S. (eds) Traffic Monitoring and
          Analysis. TMA 2014. Lecture Notes in Computer Science, vol 8406.
          Springer, Berlin, Heidelberg
          https://link.springer.com/chapter/10.1007/978-3-642-54999-1_2</title>

          <author fullname="B.Trammell, et al." initials="B."
                  surname="Trammell">
            <organization>TMA 2014 In: Dainotti A., Mahanti A., Uhlig S. (eds)
            Traffic Monitoring and Analysis. TMA 2014. Lecture Notes in
            Computer Science, vol 8406. Springer, Berlin,
            Heidelberg</organization>
          </author>

          <date month="March" year="2014"/>
        </front>
      </reference>
    </references>

    <references title="Informative References">
      <?rfc include='reference.RFC.1242'?>

      <?rfc ?>

      <?rfc ?>

      <?rfc ?>

      <?rfc ?>

      <?rfc ?>

      <?rfc ?>

      <?rfc ?>

      <?rfc include='reference.RFC.6390'?>

      <?rfc include='reference.RFC.6703'?>

      <?rfc include='reference.RFC.7594'?>

      <?rfc ?>

      <?rfc ?>

      <?rfc ?>
    </references>
  </back>
</rfc>
