<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id$ -->
<!DOCTYPE rfc SYSTEM "rfc2629.dtd">
<rfc category="exp" docName="draft-irtf-nwcrg-tetrys-01" ipr="trust200902" obsoletes="" updates="" submissionType="IETF" xml:lang="en">
   <?xml-stylesheet type='text/xsl' href='http://xml.resource.org/authoring/rfc2629.xslt' ?>
   <?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 iprnotified="no" ?>
   <?rfc strict="yes" ?>
   <front>
      <title abbrev="Tetrys Network Coding Protocol">Tetrys, an On-the-Fly Network Coding Protocol</title>
      <author fullname="Jonathan Detchart" initials="J." surname="Detchart">
         <organization>ISAE-SUPAERO</organization>
         <address>
            <postal>
               <street>10, avenue Edouard Belin</street>
               <street>BP 54032</street>
               <city>Toulouse CEDEX 4</city>
               <code>31055</code>
               <country>France</country>
            </postal>
            <email>jonathan.detchart@isae-supaero.fr</email>
         </address>
      </author>
      <author fullname="Emmanuel Lochin" initials="E." surname="Lochin">
         <organization>ENAC</organization>
         <address>
            <postal>
               <street>7, avenue Edouard Belin</street>
               <city>Toulouse</city>
               <code>31400</code>
               <country>France</country>
            </postal>
            <email>emmanuel.lochin@enac.fr</email>
         </address>
      </author>
      <author fullname="Jerome Lacan" initials="J." surname="Lacan">
         <organization>ISAE-SUPAERO</organization>
         <address>
            <postal>
               <street>10, avenue Edouard Belin</street>
               <street>BP 54032</street>
               <city>Toulouse CEDEX 4</city>
               <code>31055</code>
               <country>France</country>
            </postal>
            <email>jerome.lacan@isae-supaero.fr</email>
         </address>
      </author>
      <author fullname="Vincent Roca" initials="V." surname="Roca">
         <organization>INRIA</organization>
         <address>
            <postal>
               <street>655, avenue de l'Europe</street>
               <street>Inovallee; Montbonnot</street>
               <city>ST ISMIER cedex</city>
               <code>38334</code>
               <country>France</country>
            </postal>
            <email>vincent.roca@inria.fr</email>
         </address>
      </author>
      <date />
      <area />
      <workgroup>NWCRG</workgroup>
      <keyword>Network Coding</keyword>
      <abstract>
         <t>This document describes Tetrys, an On-The-Fly Network Coding (NC) protocol that MAY be used to transport delay and loss-sensitive data over a lossy network. Tetrys MAY recover from erasures within an RTT-independent delay, thanks to the transmission of coded packets.
This document is a record of the experience gained by the authors while developing and testing in real conditions the Tetrys protocol.</t>
         <t>
            This document is a product of the Coding for Efficient Network Communications Research Group (NWCRG).  It conforms to the NWCRG taxonomy<xref target="RFC8406" />.
         </t>
      </abstract>
   </front>
   <middle>
      <section anchor="intro" title="Introduction" numbered="true" toc="default">
         <!-- ==================================== -->
         <t>This document is a product of and represents the collaborative work
	   and consensus of the Coding for Efficient Network Communications
	   Research Group (NWCRG). It is not an IETF product and is not an IETF standard.</t>
         <t>
            This document describes Tetrys, a novel erasure coding protocol. Network codes were introduced in the early 2000s
            <xref target="AHL-00" pageno="false" format="default" />
            to address the limitations of transmission over the Internet (delay, capacity and packet loss). While the use of network codes is fairly recent in the Internet community, the use of application layer erasure codes in the IETF has already been standardized in the RMT
            <xref target="RFC3452" pageno="false" format="default" />
            and the FECFRAME
            <xref target="RFC8680" pageno="false" format="default" />
            working groups. The protocol presented here MAY be seen as a network coding extension to classic unicast transport protocols (or even multicast or anycast with a few modifications).  The current proposal MAY be considered a combination of network erasure coding and feedback mechanisms
            <xref target="Tetrys" pageno="false" format="default" />, <xref target="Tetrys-RT" pageno="false" format="default"/>
            .
         </t>
         <t>The main innovation of the Tetrys protocol is in the generation of coded packets from an elastic encoding window. This window is filled by any source packets coming from an input flow and is periodically updated with the receiver's feedbacks. These feedbacks return to the sender the highest sequence number received or rebuilt, which allows to flush the corresponding source packets stored in the encoding window. The size of this window MAY be fixed or dynamically updated. If the window is full, incoming source packets replace older sources packets which are dropped. As a matter of fact, its limit should be correctly sized. Finally, Tetrys allows to deal with losses on both the forward and return paths and in particular, is resilient to acknowledgment losses.</t>
         <t>With Tetrys, a coded packet is a linear combination over a finite field of the data source packets belonging to the coding window. The coefficients finite field's choice is a trade-off between the best erasure recovery performance (finite fields of 256 elements) and the system constraints (finite fields of 16 elements is prefered) and is driven by the application.</t>
         <t>Thanks to the elastic encoding window, the coded packets are built on-the-fly, by using an algorithm or a function to choose the coefficients. The redundancy ratio MAY be dynamically adjusted, and the coefficients MAY be generated in different ways along with a transmission. Compared to FEC block codes, this allows reducing the bandwidth use and the decoding delay.</t>
         <t>This document is a record of the experience gained by the authors while developing and testing in real conditions the Tetrys protocol.</t>

         <section title="Requirements Notation" numbered="true" toc="default">
            <!-- ==================================== -->
            <t>
               The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in
               <xref target="RFC2119" pageno="false" format="default" />
               .
            </t>
         </section>
      </section>
      <section anchor="terminology" title="Definitions, Notations and Abbreviations" numbered="true" toc="default">
         <!-- ==================================== -->
                <t>
                  The notation used in this document is based on the NWCRG taxonomy
                  <xref target="RFC8406" pageno="false" format="default" />
                  .
               </t>
         <t>
            <list style="empty">
               <t>Source symbol: a symbol that has to be transmitted between the ingress and egress of the network.</t>
               <t>Coded symbol: a linear combination over a finite field of a set of source symbols.</t>
               <t>Source symbol ID: a sequence number to identify the source symbols.</t>
               <t>Coded symbol ID: a sequence number to identify the coded symbols.</t>
               <t>Encoding coefficients: elements of the finite field characterizing the linear combination used to generate coded symbols.</t>
               <t>Encoding vector: a set of the coding coefficients and input source symbol IDs.</t>
               <t>Source packet: a source packet contains a source symbol with its associated IDs.</t>
               <t>Coded packet: a coded packet contains a coded symbol, the coded symbol's ID, and encoding vector.</t>
               <t>Input symbol: a symbol at the input of the Tetrys Encoding Building Block.</t>
               <t>Output symbol: a symbol generated by the Tetrys Encoding Building Block. For a non-systematic mode, all output symbols are coded symbols. For a systematic mode, output symbols MAY be the input symbols and a number of coded symbols that are linear combinations of the input symbols + the encoding vectors.</t>
               <t>Feedback packet: a feedback packet is a packet containing information about the decoded or received source symbols. It MAY also bring additional information about the Packet Error Rate or the number of various packets in the receiver decoding window.</t>
               <t>Elastic Encoding Window: an encoder-side buffer that stores all the non-acknowledged source packets of the input flow involved in the coding process.</t>
               <t>Coding Coefficient Generator Identifier: a unique identifier that defines a function or an algorithm allowing to generate the encoding vector.</t>
               <t>Code rate: Define the rate between the number of input symbols and the number of output symbols.</t>
            </list>
         </t>
      </section>
      <section anchor="tetrys_architecture" title="Architecture" numbered="true" toc="default">
         <!-- ==================================== -->
         <section anchor="use_cases" title="Use Cases" numbered="true" toc="default">
            <!-- ==================================== -->
            <t>Tetrys is well suited, but not limited to the use case where there is a single flow originated by a single source, with intra stream coding at a single encoding node. Note that the input stream MAY be a multiplex of several upper layer streams.
			Transmission MAY be over a single path or multiple paths.
			This is the simplest use-case, that is very much aligned with currently proposed scenarios for end-to-end streaming.</t>
         </section>
         <section anchor="protocol_overview" title="Overview" numbered="true" toc="default">
            <!-- ==================================== -->
            <figure anchor="fig-archi-tetrys" title="Tetrys Architecture" suppress-title="false" align="left" alt="" width="" height="">
               <artwork xml:space="preserve" name="" type="" align="left" alt="" width="" height="">
   +----------+                +----------+
   |          |                |          |
   |    App   |                |    App   |
   |          |                |          |
   +----------+                +----------+
        |                           ^
        |  source           source  |
        |  symbols          symbols |
        |                           |
        v                           |
   +----------+                +----------+
   |          | output packets |          |
   |  Tetrys  |---------------&gt;|  Tetrys  |
   |  Encoder |feedback packets|  Decoder |
   |          |&lt;---------------|          |
   +----------+                +----------+
</artwork>
            </figure>
            <t>
               The Tetrys protocol features several key functionalities. The mandatory features are:
               <list style="symbols">
                  <t>on-the-fly encoding;</t>
                  <t>decoding;</t>
                  <t>signaling, to carry in particular the symbol identifiers in the encoding window and the associated coding coefficients when meaningful;</t>
                  <t>feedback management;</t>
                  <t>elastic window management;</t>
                  <t>Tetrys packet header creation and processing;</t>
               </list>
            </t>
            <t>
               and the optional features are :
               <list style="symbols">
                  <t>channel estimation;</t>
                  <t>dynamic adjustment of the code rate and flow control;</t>
                  <t>
                     congestion control management (if appropriate). See <xref target="transport-issue" /> for further details;
                  </t>
               </list>
            </t>
            <t>
               Several building blocks provide these functionalities:
               <list style="symbols">
                  <t>The Tetrys Building Block: this BB is used during encoding, and decoding processes.
					It must be noted that Tetrys does not mandate a specific building block.
					Instead, any building block compatible with the elastic encoding window feature of Tetrys MAY be used.</t>
                  <t>
                     The Window Management Building Block: this building block is in charge of managing the encoding window at a Tetrys sender.
                  </t>
               </list>
            </t>
            <t>
               To ease the addition of future components and services, Tetrys adds a header extension mechanism, compatible with that of LCT
               <xref target="RFC5651" />, NORM
               <xref target="RFC5740" />, FECFRAME
               <xref target="RFC8680" />.
            </t>
            <!--	VR: pas d'accord... JL: OK, a discuter.
			<t>Tetrys uses three building blocks to provide a reliable protocol:</t>
			<t>    - The Tetrys Encoding Building Block creates some linear combinations of all the non-acknowledged input symbols. An upper limit can be set to avoid big computations. Each linear combination is called a coded symbol. It is associated to an encoding vector, which MUST defines the input symbols and MAY defines the coefficients used in the combinations. If not, a Coding Coefficient Generator Identifier (CCGI) is used to identify the function or the algorithm used to rebuild the coefficients.</t>
			<t>    - The Tetrys Relaying Building Block transmits input packets received from the source or a relay node to a relay node or the destination node. According to the characteristics of previous and next links, it can remove some coded packets or generate additional coded packets. The generation of new packets is done by the recoding process (which does not need a decoding process).</t>
			<t>    - The Tetrys Decoding Building Block stores all the received output packets. When it is possible, the coded symbols are decoded to rebuild the lost source symbols.
				Regularly, this building block sends a feedback packet containing information about the acknowledgment of received and decoded source symbols.
				When this information is received by a Tetrys Encoding Building Block, the acknowledged source symbols are removed, and will not be considered in the next coded symbols.</t>
			<t>This encoding mechanism is called an elastic coding window. Each generated output symbols is encapsulated in an output packet format. </t>
			-->
         </section>
      </section>
      <section anchor="tetrys_basic_functions" title="Tetrys Basic Functions" numbered="true" toc="default">
         <!-- ==================================== -->
         <section anchor="encoding" title="Encoding" numbered="true" toc="default">
            <!-- ==================================== -->
            <t>At the beginning of a transmission, a Tetrys Encoder MUST choose an initial code rate (added redundancy) as it doesn't know the packet loss rate of the channel. In the steady state, depending on the code-rate, the Tetrys Encoder MAY generate coded symbols when it receives a source symbol from the application or some feedback from the decoding blocks.</t>
            <t>When a Tetrys Encoder needs to generate a coded symbol, it considers the set of source symbols stored in the Elastic Encoding Window and generates an encoding vector with the coded symbol. These source symbols are the set of source symbols that are not yet acknowledged by the receiver. For each source symbol, a finite field coefficient is determined using a Coding Coefficient Generator. This generator MAY take as input the source symbol identifiers and the coded symbol identifier and MAY determine a coefficient in a deterministic way as presented in <xref target="coded-packet" pageno="false" format="default" />. Finally, the coded symbol is the sum of the source symbols multiplied by their corresponding coefficients.</t>
            <t>A Tetrys Encoder SHOULD set a limit to the Elastic Encoding Window maximum size. This controls the algorithmic complexity at the encoder and decoder by limiting the size of linear combinations. It is also needed in situations where acknowledgment packets are all lost or absent.</t>            
         </section>
         <section anchor="windowing" title="The Elastic Encoding Window" numbered="true" toc="default">
            <!-- ==================================== -->
            <t>When an input source symbol is passed to a Tetrys Encoder, it is added to the Elastic Encoding Window. This window MUST have a limit set by the encoding building Block. If the Elastic Encoding Window reached its limit, the window slides over the symbols: the first (oldest) symbol is removed, and the newest symbol is added. As an element of the coding window, this symbol is included in the next linear combinations created to generate the coded symbols.</t>
            <t>As explained below, the Tetrys Decoder sends periodic feedback indicating the received or decoded source symbols. When the sender receives the information that a source symbol was received or decoded by the receiver, it removes this symbol from the coding window.</t>
         </section>
         <section anchor="decoding" title="Decoding" numbered="true" toc="default">
            <!-- ==================================== -->
            <t>A classical matrix inversion is sufficient to recover the erased source symbols, when the matrix rank enables it.</t>
         </section>
      </section>      
      <section anchor="encapsulation-format" title="Packet Format" numbered="true" toc="default">
         <!-- ==================================== -->
         <section anchor="common-packet-header-format" title="Common Header Format" numbered="true" toc="default">
            <!-- ==================================== -->
            <t>
               All types of Tetrys packets share the same common header format (see
               <xref target="fig-common-header-format" pageno="false" format="default" />
               ).
               <figure anchor="fig-common-header-format" title="Common Header Format" suppress-title="false" align="left" alt="" width="" height="">
                  <artwork xml:space="preserve" name="" type="" align="left" alt="" width="" height="">
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|   V   | C |S|     Reserved    |   HDR_LEN     |  Packet Type  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|   Congestion Control Information (CCI, length = 32*C bits)    |
|                          ...                                  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|    Transport Session Identifier (TSI, length = 32*S bits)     |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                Header Extensions (if applicable)              |
|                          ...                                  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
</artwork>
               </figure>
            </t>
            <t>As already noted above in the document, this format is inspired and inherits from the LCT header format <xref target="RFC5651" pageno="false" format="default" /> with slight modifications.</t>
            <t>
               <list style="symbols">
                  <t>Tetrys version number (V): 4 bits.
			      Indicates the Tetrys version number.  The Tetrys version number for this specification is 1.</t>
                  <t>
                     Congestion control flag (C): 2 bits.
                   C=0 indicates the Congestion Control Information (CCI) field is 0 bits in length.  C=1 indicates the CCI field is 32 bits in length. C=2 indicates the CCI field is 64 bits in length.  C=3 indicates the CCI field is 96 bits in length.
                  </t>
                  <t>Transport Session Identifier flag (S): 1 bit.
      			 This is the number of full 32-bit words in the TSI field.  The TSI field is 32*S bits in length, i.e., the length is either 0 bits or 32 bits.</t>
                  <t>Reserved (Resv): 9 bits. These bits are reserved.  In this version of the specification, they MUST be set to zero by senders and MUST be ignored by receivers.</t>
                  <t>Header length (HDR_LEN): 8 bits.
			      The total length of the Tetrys header in units of 32-bit words. The
			      length of the Tetrys header MUST be a multiple of 32 bits. This
			      field MAY be used to directly access the portion of the packet
			      beyond the Tetrys header, i.e., to the first next header if it
			      exists, or to the packet payload if it exists and there is no
			      other header, or to the end of the packet if there are no other
			      headers or packet payload.</t>
                  <t>Packet Type: 8 bits.
				Type of packet. There is 3 types of packets: the source packets (0) defined in <xref target="source-packet" pageno="false" format="default" />, the coded packets (1) defined in <xref target="coded-packet" pageno="false" format="default" /> and the acknowledgment packets (3) defined in <xref target="ack-packet" pageno="false" format="default" />.</t>                  
            <t>Congestion Control Information (CCI): 0, 32, 64, or 96 bits
			      Used to carry congestion control information.  For example, the
			      congestion control information could include layer numbers,
			      logical channel numbers, and sequence numbers.  This field is
			      opaque for this specification.
			      This field MUST be 0 bits (absent) if C=0.
			      This field MUST be 32 bits if C=1.
			      This field MUST be 64 bits if C=2.
			      This field MUST be 96 bits if C=3.</t>
                  <t>
                     Transport Session Identifier (TSI): 0 or 32 bits
			      The TSI uniquely identifies a session among all sessions from a
			      particular tetrys encoder. The TSI is scoped by the IP address of the
			      sender, and thus the IP address of the sender and the TSI together
			      uniquely identify the session.  Although a TSI in conjunction with
			      the IP address of the sender always uniquely identifies a session,
			      whether or not the TSI is included in the Tetrys header depends on
			      what is used as the TSI value.  If the underlying transport is
			      UDP, then the 16-bit UDP source port number MAY serve as the TSI
			      for the session.
                     <!-- If the TSI value appears multiple times in a
			      packet, then all occurrences MUST be the same value. -->
                     If there is
			      no underlying TSI provided by the network, transport or any other
			      layer, then the TSI MUST be included in the Tetrys header.
                  </t>
               </list>
            </t>
            <section anchor="header-extension-format" title="Header Extensions" numbered="true" toc="default">
               <!-- ==================================== -->
               <t>Header Extensions are used in Tetrys to accommodate optional header fields that are not always used or have variable size.
				The presence of Header Extensions MAY be inferred by the Tetrys header length (HDR_LEN).
				If HDR_LEN is larger than the length of the standard header, then the remaining header space is taken by Header Extensions.</t>
               <t>If present, Header Extensions MUST be processed to ensure that they are recognized before performing any congestion control procedure or otherwise accepting a packet.
				The default action for unrecognized Header Extensions is to ignore them.
				This allows the future introduction of backward-compatible enhancements to Tetrys without changing the Tetrys version number.
				Non-backward-compatible Header Extensions CANNOT be introduced without changing the Tetrys version number.</t>
               <t>
                  There are two formats for Header Extensions, as depicted in
                  <xref target="fig:header_extension" pageno="false" format="default" />
                  .
				The first format is used for variable-length extensions, with Header Extension Type (HET) values between 0 and 127.
				The second format is used for fixed-length (one 32-bit word) extensions, using HET values from 128 to 255.
               </t>
               <figure anchor="fig:header_extension" title="Header Extension Format" suppress-title="false" align="left" alt="" width="" height="">
                  <artwork xml:space="preserve" name="" type="" align="left" alt="" width="" height="">
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|  HET (&lt;=127)  |       HEL     |                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
.                                                               .
.              Header Extension Content (HEC)                   .
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|  HET (&gt;=128)  |       Header Extension Content (HEC)          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
</artwork>
               </figure>
               <t>
                  <list style="symbols">
                     <t>Header Extension Type (HET): 8 bits
				The type of the Header Extension.
				This document defines several possible types.
				Additional types may be defined in future versions of this specification.
				HET values from 0 to 127 are used for variable-length Header Extensions.
				HET values from 128 to 255 are used for fixed-length 32-bit Header Extensions.</t>
                     <t>Header Extension Length (HEL): 8 bits
				The length of the whole Header Extension field, expressed in multiples of 32-bit words.
				This field MUST be present for variable-length extensions (HETs between 0 and 127) and MUST NOT be present for fixed-length extensions (HETs between 128 and 255).</t>
                     <t>Header Extension Content (HEC): variable length
				The content of the Header Extension.
				The format of this sub-field depends on the Header Extension Type.
				For fixed-length Header Extensions, the HEC is 24 bits.
				For variable-length Header Extensions, the HEC field has variable size, as specified by the HEL field.
				Note that the length of each Header Extension MUST be a multiple of 32 bits.
				Also, note that the total size of the Tetrys header, including all Header Extensions and all optional header fields, cannot exceed 255 32-bit words.</t>
                  </list>
               </t>
            </section>
         </section>
         <section anchor="source-packet" title="Source Packet Format" numbered="true" toc="default">
            <!-- ==================================== -->
            <t>A source packet is a Common Packet Header encapsulation, a Source Symbol ID and a source symbol (payload). The source symbols MAY have variable sizes.</t>
            <figure anchor="fig-src-pkt" title="Source Packet Format" suppress-title="false" align="left" alt="" width="" height="">
               <artwork xml:space="preserve" name="" type="" align="left" alt="" width="" height="">
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                                                               |
/                      Common Packet Header                     /
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                         Source Symbol ID                      |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                                                               |
/                            Payload                            /
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
</artwork>
            </figure>
            <t>Common Packet Header: a common packet header (as common header format) where Packet Type=0.</t>
            <t>Source Symbol ID: the sequence number to identify a source symbol.</t>
            <t>Payload: the payload (source symbol)</t>
         </section>
         <section anchor="coded-packet" title="Coded Packet Format" numbered="true" toc="default">
            <!-- ==================================== -->
            <t>
               A coded packet is the encapsulation of a Common Packet Header, a Coded Symbol ID, the associated Encoding Vector, and a coded symbol (payload). 
               As the source symbols MAY have variable sizes, all the source symbol sizes need to be encoded. To generate this encoded payload size, as a 16-bit unsigned value, the linear combination uses the same coefficients as the coded payload. The result MUST be stored in the coded packet as the Encoded Payload Size (16 bits): as it is an optional field, the encoding vector MUST signal the use of variable source symbol sizes with the field V (see
               <xref target="unified-encoding-vector-format" pageno="false" format="default" />
               ).
            </t>
            <figure anchor="fig-rpr-pkt" title="Coded Packet Format" suppress-title="false" align="left" alt="" width="" height="">
               <artwork xml:space="preserve" name="" type="" align="left" alt="" width="" height="">
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                                                               |
/                      Common Packet Header                     /
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                          Coded Symbol ID                      |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                                                               |
/                         Encoding Vector                       /
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|     Encoded Payload Size      |                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                                                               |
/                            Payload                            /
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
               </artwork>
            </figure>
            <t>Common Packet Header: a common packet header (as common header format) where Packet Type=1.</t>
            <t>Coded Symbol ID: the sequence number to identify a coded symbol.</t>
            <t>Encoding Vector: an encoding vector to define the linear combination used (coefficients and source symbols).</t>
            <t>Encoded Payload Size: the coded payload size used if the source symbols have a variable size (optional,<xref target="unified-encoding-vector-format" pageno="false" format="default" />).</t>
            <t>Payload: the coded symbol.</t>
            <section anchor="unified-encoding-vector-format" title="The Encoding Vector" numbered="true" toc="default">
            <t>An encoding vector contains all the information about the linear combination used to generate a coded symbol. The information includes the source identifiers and the coefficients used for each source symbol. It MAY be stored in different ways depending  on the situation.</t>
               <figure anchor="fig-unif-enc-vec" title="Encoding Vector Format" suppress-title="false" align="left" alt="" width="" height="">
                  <artwork xml:space="preserve" name="" type="" align="left" alt="" width="" height="">
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|     EV_LEN    |  CCGI | I |C|V|    NB_IDS     |   NB_COEFS    |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                        FIRST_SOURCE_ID                        |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|     b_id      |                                               |
+-+-+-+-+-+-+-+-+            id_bit_vector        +-+-+-+-+-+-+-+
|                                                 |   Padding   |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                                                               |
+                          coef_bit_vector        +-+-+-+-+-+-+-+
|                                                 |   Padding   |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
                  </artwork>
               </figure>
               <t>
                  <list style="symbols">
                     <t>Encoding Vector Length (EV_LEN) (8-bits): size in units of 32-bit words.</t>
                     <t>Coding Coefficient Generator Identifier (CCGI): 4-bit ID to identify the algorithm or the function used to generate the coefficients. As a CCGI is included in each encoded vector, it MAY dynamically change between the generation of 2 coded symbols.
                     The CCCGI defines a function or an algorithm to build the coding coefficients used to generate the coded symbols. They MUST be known by all the Tetrys encoders or decoders.
                        <list style="ccgi">
                           <t>0: Vandermonde based coefficients over a finite field with 2^^4 elements,defined by the primitive polynomial 1+x+x^^4. Each coefficient is built as alpha^( (source_symbol_id*coded-symbol_id) % 16), with alpha the root of the primitive polynomial.</t>
                           <t>1: Vandermonde based coefficients over a finite field with 2^^8 elements,defined by the primitive polynomial 1+x^^2+x^^3+x^^4+x^^8. Each coefficient is built as alpha^( (source_symbol_id*coded-symbol_id) % 256), with alpha the root of the primitive polynomial.</t>
                           <t>Suppose we want to generate the coded symbol 2 as a linear combination of the source symbols 1,2,4 using CCGI=1. The coefficients will be alpha ^( (1 * 1) % 256), alpha ^( (1 * 2) % 256), alpha ^( (1 * 4) % 256).</t>
                        </list>
                     </t>
                     <!-- <t>Store the Source symbol IDs (I) (1 bit): if equal to 1, the encoding vector contains the list of the source symbol IDs, if equal to 0, there is no source symbol ID information.</t> -->
                     <t>
                        Store the Source symbol IDs (I) (2 bits):
                        <list style="symbols">
                           <t>00 means there is no source symbol ID information.</t>
                           <t>01 means the encoding vector contains the edge blocks of the source symbol IDs without compression.</t>
                           <t>10 means the encoding vector contains the compressed list of the source symbol IDs.</t>
                           <t>11 means the encoding vector contains the compressed edge blocks of the source symbol IDs.</t>
                        </list>
                     </t>
                     <t>Store the coefficients (C): 1 bit to know if an encoding vector contains information about the coefficients used.</t>
                     <t>Having source symbols with variable size (V): set V to 1 if the combination which refers to the encoding vector is a combination of source symbols with variable sizes. In this case, the coded packets MUST have the 'Encoded Payload Size' field.</t>
                     <t>NB_IDS: the number of source IDs stored in the encoding vector (depending on I).</t>
                     <t>Number of coefficients (NB_COEFS): The number of the coefficients used to generate the associated coded symbol.</t>
                     <t>The first source Identifier (FIRST_SOURCE_ID): the first source symbol ID used in the combination.</t>
                     <t>
                        Number of bits for each edge block (b_id): the number of bits needed to store the edge.
                     </t>
                     <t>Information about the source symbol IDs (id_bit_vector): if I=01, store the edge blocks as b_id * (NB_IDS * 2 - 1). If I=10, store in a compressed way the edge blocks.</t>
                     <t>The coefficients (coef_bit_vector): The coefficients stored depending on the CCGI (4 or 8 bits for each coeffecient).</t>
                     <t>Padding: padding to have an Encoding Vector size multiple of 32-bit (for the id and coefficient part).</t>
                  </list>
               </t>
                  <!-- ==================================== -->
               <t>The source symbol identifers are organized as a sorted list of 32-bit unsigned integers. Depending on the feedback, the source symbol identifers MAY be successive or not in the list. If they are successive, the boundaries are stored in the encoding vector: it just needs 2*32-bit of information. If not, the edge blocks MAY be stored directly, or a differential transform to reduce the number of bits needed to represent an identifer MAY be used:</t>
               <section anchor="compressing-encoding-vector" title="Compressed list of Source symbol IDs" numbered="true" toc="default">
                  <!-- ==================================== -->
                  <t>Assume the symbol IDs used in the combination are: [1..3],[5..6],[8..10].</t>
                  <t>
                     <list style="numbers">
                        <t>Keep the first element in the packet as the first_source_id: 1.</t>
                        <t>Apply a differential transform to the others elements ([3,5,6,8,10]) which removes the element i-1 to the element i, starting with the first_source_id as i0, and get the list L =&gt; [2,2,1,2,2]</t>
                        <t>Compute b, the number of bits needed to store all the elements, which is ceil(log2(max(L))): here, 2 bits.</t>
                        <t>Write b in the corresponding field, and write all the b * [(2 * NB blocks) - 1] elements in a bit vector, here: 10 10 01 10 10.</t>
                     </list>
                  </t>
               </section>
               <section anchor="decompressing-encoding-vector" title="Decompressing the Source symbol IDs" numbered="true" toc="default">
                  <!-- ==================================== -->
                  <t>When a Tetrys Decoding Building Block wants to reverse the operations, this algorithm is used:</t>
                  <t>
                     <list style="numbers">
                        <t>Rebuild the list of the transmitted elements by reading the bit vector and b: [10 10 01 10 10] =&gt; [2,2,1,2,2]</t>
                        <t>Apply the reverse transform by adding successively the elements, starting with first_source_id: [1,1+2,(1+2)+2,(1+2+2)+1,...] =&gt; [1,3,5,6,8,10]</t>
                        <t>Rebuild the blocks using the list and first_source_id: [1..3],[5..6],[8..10].</t>
                     </list>
                  </t>
               </section>           
            </section>
         </section>
         <section anchor="ack-packet" title="Acknowledgement Packet Format" numbered="true" toc="default">
            <!-- ==================================== -->
            <t>A Tetrys Decoding Building Block MAY send back to another building block some Acknowledgement packets. They contain information about what it has received or decoded, and other information such as a packet loss rate or the size of the decoding buffers. The acknowledgment packets are OPTIONAL hence they could be omitted or lost in transmission without impacting the protocol behavior.</t>
            <figure anchor="fig-ack-pkt" title="Acknowledgement Packet Format" suppress-title="false" align="left" alt="" width="" height="">
               <artwork xml:space="preserve" name="" type="" align="left" alt="" width="" height="">
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                                                               |
/                      Common Packet Header                     /
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                  Nb of missing source symbols                 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|              Nb of not already used coded symbols             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                    First Source Symbol ID                     |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|      PLR      |   SACK size   |                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                                                               |
/                          SACK Vector                          /
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
</artwork>
            </figure>
            <t>Common Packet Header: a common packet header (as common header format) where Packet Type=2.</t>
            <t>Nb missing source symbols: the number of missing source symbols in the receiver since the beginning of the session.</t>
            <!-- <t>Nb of not already used coded symnbols: the number of not already used coded symbols in the receiver that have not already been used for decoding. Meaning the number of linear combinations containing at least 2 unknown source symbols.</t> -->
            <t>Nb of not already used coded symbols: the number of coded symbols at the receiver that have not already been used for decoding (e.g., the linear combinations contain at least 2 unknown source symbols).</t>
            <t>First Source Symbol ID: ID of the first source symbol to consider for acknowledgment.</t>
            <t>PLR: packet loss ratio expressed as a percentage normalized to a 8-bit unsigned integer. For example, 2.5 % will be stored as floor(2.5 * 256/100). This value is used in the case of dynamic code rate or for statistical purpose. The choice of calculation is left to the Tetrys Decoder, depending on a window observation, but should be the PLR seen before decoding.</t>
            <t>SACK size: the size of the SACK vector in 32-bit words. For instance, with value 2, the SACK vector is 64 bits long.</t>
            <t>SACK vector: bit vector indicating the acknowledged symbols from the first source symbol ID.
				The "First Source Symbol" is  included in this bit vector.
				A bit equal to 1 at the i-th position means that this acknowledgment packet acknowledges the source symbol of ID equal to "First Source Symbol ID" + i.</t>
         </section>
      </section>

     <!-- <section anchor="ccgi" title="The Coding Coefficient Generator Identifier" numbered="true" toc="default">
            <t>The Coding Coefficient Generator Identifier define a function or an algorithm to build the coding coefficients used to generate the coded symbols. They MUST be known by all the Tetrys encoders or decoders.</t>
            <t>0: Vandermonde based coefficients over a finite field with 2^^4 elements,defined by the primitive polynomial 1+x+x^^4. Each coefficient is built as alpha^( (source_symbol_id*coded-symbol_id) % 16), with alpha the root of the primitive polynomial.</t>
            <t>1: Vandermonde based coefficients over a finite field with 2^^8 elements,defined by the primitive polynomial 1+x^^2+x^^3+x^^4+x^^8. Each coefficient is built as alpha^( (source_symbol_id*coded-symbol_id) % 256), with alpha the root of the primitive polynomial.</t>
         <section anchor="ccgi_example" title="how to use the CCGI" numbered="true" toc="default">
         <t>At the generation of a coded symbol, the Tetrys Encoder generates an encoding vector containing the IDs of the source symbols stored in the Elastic Encoding Window. For each source symbol, a finite field coefficient is determined using a Coding Coefficient Generator. This generator MAY take as input the source symbol ID and the coded symbol ID and MAY determine a coefficient in a deterministic way. A typical example of such a deterministic function is a generator matrix where the rows are indexed by the source symbol IDs and the columns by the coded symbol IDs. For example, the entries of this matrix MAY be built from a Vandermonde structure, like Reed-Solomon codes, or a sparse binary matrix, like Low-Density Generator Matrix codes. Finally, the coded symbol is the sum of the source symbols multiplied by their corresponding coefficients.</t>
         <t>Suppose we want to generate the coded symbol 2 as a linear combination of the source symbols 1,2,4. The coefficients will be alpha ^( (1 * 1) % 256), alpha ^( (1 * 2) % 256), alpha ^( (1 * 4) % 256).</t>
         </section>
      </section>
      -->
   
      <!-- ======================================================================= -->
      <section anchor="research" title="Research Issues" numbered="true" toc="default">

<t>The present document describes the baseline protocol, allowing communications between a Tetrys encoder and a Tetrys decoder.  In practice, Tetrys can be used either as a standalone protocol or embedded inside an existing protocol, and either above, within or below the transport layer.  All these situations raise manifold research questions to come up with a complete protocol solution, that we briefly discuss hereafter.</t>

         <section anchor="transport-issue" title="Interaction with Congestion Control" numbered="true" toc="default">
<t>
The Tetrys and congestion control components generate two separate channels (see <xref target="I-D.irtf-nwcrg-coding-and-congestion" pageno="false" format="default" />, section 2.1):
<list style="symbols">
	<t>the Tetrys channel carries source and coded packets (from the sender to the receiver) and information from the receiver to the sender (e.g., signaling which symbols have been recovered, loss rate prior and/or after decoding, etc.);</t>
	<t>the congestion control channel carries packets from a sender to a receiver, and packets signaling information about the network (e.g., number of packets received versus lost, Explicit Congestion Notification (ECN) marks, etc.) from the receiver to the sender. </t>
</list>
In practice, depending on how Tetrys is deployed (i.e., above, within or below the transport layer), <xref target="I-D.irtf-nwcrg-coding-and-congestion" pageno="false" format="default" /> identifies and discusses several topics. They are briefly listed below and adapted to the particular case of Tetrys:
<list style="symbols">
	<t>congestion related losses MAY be hidden if Tetrys is deployed below the transport layer without any precaution (i.e., Tetrys recovering packets lost because of a congested router), which can severely impact the the congestion control efficiency. An approach is suggested to avoid hiding such signals in <xref target="I-D.irtf-nwcrg-coding-and-congestion" pageno="false" format="default" />, section 5;</t>
	<t>having Tetrys and non-Tetrys flows sharing the same network links can raise fairness issues between these flows. The situation depends in particular on whether some of these flows are congestion controlled and not others, and which type of congestion control is used. The details are out of scope of this document but may have major impacts in practice;</t>
	<t>coding rate adaptation within Tetrys can have major impacts on congestion control if done inappropriately. This topic is discussed more in detail in <xref target="adaptive"/>;</t>
	<t>Tetrys can leverage on multipath transmissions, the Tetrys packets being sent to the same receiver through multiple paths. Since paths can largely differ, a per-path flow control and congestion control adaptation could be needed;</t>
	<t>protecting several application flows within a single Tetrys flow raises additional questions. This topic is discussed more in detail in <xref target="tunnel"/>.</t>
</list>
</t>

<!-- <t>
Tetrys coding and congestion control MAY be seen as two separate channels (the notion of channel corresponds to that of <xref target="I-D.irtf-nwcrg-coding-and-congestion" pageno="false" format="default" />, section 2.1).  In practice, implementations MAY interact with both channels by sharing information from one channel to the other one.  This raises several concerns that must be tackled when Tetrys is jointly used with a congestion-controlled transport protocol. For example, the Encoding Window or the code rate COULD be adjusted by some feedback from the congestion-control channel.  All these numerous research issues are discussed in a separate document, <xref target="I-D.irtf-nwcrg-coding-and-congestion" pageno="false" format="default" />, which investigates end-to-end unicast data transfer with FEC coding in the application (above the transport layer), within the transport layer, or directly below the transport; the relationship between transport layer and application requirements; and the case of transport multipath and multi-streams applications.
            </t>
-->
         </section>

         <section anchor="adaptive" title="Adaptive Coding Rate" numbered="true" toc="default">

            <t>
	    When the network conditions (e.g., delay and loss rate) strongly vary over time, an adaptive coding rate can be used to increase or reduce the amount of coded packets among a transmission dynamically (i.e., the added redundancy), with the help of a dedicated algorithm, similarly to <xref target="A-FEC" pageno="false" format="default" />. Once again, the strategy differs, depending on which layer Tetrys is deployed (i.e., above, within or below the transport layer). Basically, we can slice these strategies in two distincts classes: when Tetrys is deployed inside the transport layer, versus outside (i.e., above or below). A deployment within the transport layer obviously means that interactions between transport protocol micro-mechanisms, such as the error recovery mechanism, the congestion control, the flow control or both, are envisionned. Otherwise, deploying Tetrys within a non congestion controlled transport protocol, like UDP, would not bring out any other advantage than deploying it below or above the transport layer.
	    </t>

	    <t>The impact deploying a FEC mechanism within the transport layer is further discussed in <xref target="I-D.irtf-nwcrg-coding-and-congestion" pageno="false" format="default" />, section 4, where considerations concerning the interactions between congestion control and coding rates, or the impact of fairness, are investigated. This adaptation MAY be done jointly with the congestion control mechanism of a transport layer protocol as proposed by <xref target="CTCP"/>. This allows the use of monitored congestion control metrics (e.g., RTT, congestion events, or current congestion window size) to adapt the coding rate conjointly with the computed transport sending rate. The rationale is to compute an amount of repair traffic that does not lead to congestion. This joint optimization is mandatory to prevent flows to consume the whole available capacity as also discussed in <xref target="I-D.singh-rmcat-adaptive-fec" /> where the authors point out that an increase of the repair ratio should be done conjointly with a decrease of the source sending rate.
	    </t>

	    <t>
	    Finally, adapting a coding rate can also be done outside the transport layer and without considering transport layer metrics. In particular, this adaptation MAY be done jointly with the network as proposed in <xref target="RED-FEC" pageno="false" format="default" />. In this paper, the authors propose a Random Early Detection FEC mechanism in the context of video transmission over wireless networks. In brief, the idea is to add more redundancy packets if the queue at the access point is less occupied and vice versa. A first theoretical attempt for video delivery has been proposed <xref target="THAI" pageno="false" format="default" /> with Tetrys. This approach is interesting as it illustrates a joint collaboration between the application requirements and the network conditions and combines both signals coming from the application needs and the network state (i.e., signals below or above the transport layer).
	    </t>

	    <t>
	    To conclude, there are multiple ways to enable an adaptive coding rate. However, all of them depend on:
	    <list style="symbols">
	    	<t>the signal metrics that can be monitored and used to adapt the coding rate;</t>
	    	<t>the transport layer used, whether congestion controlled or not;</t>
	    	<t>the objective seeked (e.g., to minimize congestion, or to fit application requirements).</t>
	    </list>
	    </t>
	    
         </section>

         <section anchor="tunnel" title="Using Tetrys Below The IP Layer For Tunneling" numbered="true" toc="default">
            <t>
The use of Tetrys to protect an aggregate of flows, typically when Tetrys is used for tunneling, to recover from IP datagram losses, raises research questions. 
When redundancy is applied without flow differentiation, this may come in contradiction with the service requirements of individual flows, some of them may be more penalized by high latency and jitter than by partial reliability, while other flows may have opposite requirements.
In practice head-of-line blocking will impact all flows in a similar manner despite their different needs, which asks for more elaborate strategies inside Tetrys.
Note this research issue joins the topics discussed in the IRTF LOOPS working group <xref target="I-D.li-tsvwg-loops-problem-opportunities" pageno="false" format="default" />.
            </t>

         </section>

      </section>
      <!-- ======================================================================= -->
      <section anchor="security" title="Security Considerations" numbered="true" toc="default">
         <!-- ==================================== -->
         <t>
            Tetrys inherits a subset of the security issues described in FECFRAME
            <xref target="RFC8680" pageno="false" format="default" />
            and in particular in sections "9.2.2. Content Corruption" and "9.3. Attacks against the FEC Parameters". As an application layer end-to-end protocol, security considerations of Tetrys should also be comparable to those of HTTP/2 with TLS.
        The considerations from Section 10 of HTTP2
            <xref target="RFC7540" pageno="false" format="default" />
            also apply in addition to those listed here.
         </t>
      </section>
      <section anchor="iana" title="IANA Considerations" numbered="true" toc="default">
         <!-- ==================================== -->
         <t>This document does not ask for any IANA registration.</t>
      </section>
      <section anchor="implementation" title="Implementation Status" numbered="true" toc="default">
         <t>Editor's notes: RFC Editor, please remove this section motivated by
   RFC 7942 before publishing the RFC.  Thanks!</t>
         <t>An implementation of Tetrys exists:
            <list> 
               <t>organization: ISAE-SUPAERO</t>
               <t>Description: This is a proprietary implementation made by ISAE-SUPAERO</t>
               <t>Maturity: "production"</t>
               <t>Coverage: this software implements TETRYS with some modifications</t>
               <t>Licensing: proprietary</t>
               <t>Implementation experience: maximum</t>
               <t>Information update date: January 2022</t>
               <t>Contact: jonathan.detchart@isae-supaero.fr</t>
            </list>
         </t>
      </section>
      <section anchor="ack" title="Acknowledgments" numbered="true" toc="default">
         <!-- ==================================== -->
         <t>First, the authors want to sincerely thank Marie-Jose Montpetit for continuous help and support on Tetrys. Marie-Jo, many thanks!</t>
         <t>The authors also wish to thank NWCRG group members for numerous discussions on on-the-fly coding that helped finalize this document.</t>
      </section>
   </middle>
   <back>
      <references title="Normative References">
         <reference anchor="RFC2119" target="https://www.rfc-editor.org/info/rfc2119" xml:base="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml">
            <front>
               <title>Key words for use in RFCs to Indicate Requirement Levels</title>
               <author initials="S." surname="Bradner" fullname="S. Bradner">
                  <organization />
               </author>
               <date year="1997" month="March" />
               <abstract>
                  <t>In many standards track documents several words are used to signify the requirements in the specification.  These words are often capitalized. This document defines these words as they should be interpreted in IETF documents.  This document specifies an Internet Best Current Practices for the Internet Community, and requests discussion and suggestions for improvements.</t>
               </abstract>
            </front>
            <seriesInfo name="BCP" value="14" />
            <seriesInfo name="RFC" value="2119" />
            <seriesInfo name="DOI" value="10.17487/RFC2119" />
         </reference>
         <?rfc include="reference.RFC.3452.xml"?>
         <?rfc include="reference.RFC.5651.xml"?>
         <?rfc include="reference.RFC.5740.xml"?>
         <?rfc include="reference.RFC.7540.xml"?>
         <?rfc include="reference.RFC.8406.xml"?>
         <?rfc include="reference.RFC.8680.xml"?>
	 <?rfc include="reference.I-D.irtf-nwcrg-coding-and-congestion.xml"?>
      </references>
      <references title="Informative References">
	 <?rfc include="reference.I-D.li-tsvwg-loops-problem-opportunities.xml"?>
	 <?rfc include="reference.I-D.singh-rmcat-adaptive-fec.xml"?>
        <reference anchor="AHL-00" quote-title="true">
            <front>
               <title>Network information flow</title>
               <author initials="R." surname="Ahlswede">
                  <organization />
               </author>
               <author initials="" surname="Ning Cai">
                  <organization />
               </author>
               <author initials="S.-Y.R." surname="Li">
                  <organization />
               </author>
               <author initials="R.W." surname="Yeung">
                  <organization />
               </author>
               <date month="July" year="2000" />
            </front>
            <seriesInfo name="IEEE Transactions on Information Theory" value="vol.46, no.4, pp.1204,1216" />
         </reference>
         <reference anchor="Tetrys" quote-title="true">
            <front>
               <title>Rethinking reliability for long-delay networks</title>
               <author initials="J." surname="Lacan">
                  <organization />
               </author>
               <author initials="E." surname="Lochin">
                  <organization />
               </author>
               <date month="October" year="2008" />
            </front>
            <seriesInfo name="International Workshop on Satellite and Space Communications 2008" value="(IWSSC08)" />
         </reference>
         <reference anchor="Tetrys-RT" quote-title="true">
            <front>
               <title>On-the-fly erasure coding for real-time video applications</title>
               <author initials="P.U." surname="Tournoux">
                  <organization />
               </author>
               <author initials="E." surname="Lochin">
                  <organization />
               </author>
               <author initials="J." surname="Lacan">
                  <organization />
               </author>
               <author initials="A." surname="Bouabdallah">
                  <organization />
               </author>
               <author initials="V." surname="Roca">
                  <organization />
               </author>               
               <date month="August" year="2011" />
            </front>
            <seriesInfo name="IEEE Transactions on Multimedia, Vol 13, Issue 4, August 2011" value="(TMM.2011)" />
         </reference>
	 <reference anchor="CTCP">
            <front>
                <title>Network Coded TCP (CTCP)</title>
                    <author initials="M" surname="Kim (et al.)">
                    </author>
                    <date year="2013"/>
                </front>
                <seriesInfo name="arXiv" value="1212.2291v3"/>
         </reference>
         <reference anchor="A-FEC" quote-title="true">
            <front>
               <title>Adaptive FEC-based error control for Internet telephony</title>
               <author initials="J." surname="Bolot">
                  <organization />
               </author>
               <author initials="S." surname="Fosse-Parisis">
                  <organization />
               </author>
               <author initials="D." surname="Towsley">
                  <organization />
               </author>
               <date year="1999" />
            </front>
            <seriesInfo name="IEEE INFOCOM 99, pp. 1453-1460 vol. 3" value="DOI 10.1109/INFCOM.1999.752166" />
         </reference>
         <reference anchor="RED-FEC" quote-title="true">
            <front>
               <title>A RED-FEC Mechanism for Video Transmission Over WLANs</title>
               <author initials="C." surname="Lin">
                  <organization />
               </author>
               <author initials="C." surname="Shieh">
                  <organization />
               </author>
               <author initials="N. K." surname="Chilamkurti">
                  <organization />
               </author>
               <author initials="C." surname="Ke">
                  <organization />
               </author>
               <author initials="H. S." surname="Hwang">
                  <organization />
               </author>
               <date month="September" year="2008" />
            </front>
            <seriesInfo name="IEEE Transactions on Broadcasting, vol. 54, no. 3, pp. 517-524" value="DOI 10.1109/TBC.2008.2001713" />
         </reference>
         <reference anchor="THAI" quote-title="true">
            <front>
               <title>Joint on-the-fly network coding/video quality adaptation for real-time delivery</title>
               <author initials="T." surname="Tran-Thai">
                  <organization />
               </author>
               <author initials="J." surname="Lacan">
                  <organization />
               </author>
               <author initials="E." surname="Lochin">
                  <organization />
               </author>
               <date year="2014" />
            </front>
            <seriesInfo name="Signal Processing: Image Communication, vol. 29 (no. 4), pp. 449-461" value="ISSN 0923-5965" />
         </reference>
      </references>
   </back>
</rfc>


