<?xml version="1.0" encoding="UTF-8"?>
  <?xml-stylesheet type="text/xsl" href="rfc2629.xslt" ?>
  <!-- generated by https://github.com/cabo/kramdown-rfc version 1.7.17 (Ruby 2.6.10) -->


<!DOCTYPE rfc  [
  <!ENTITY nbsp    "&#160;">
  <!ENTITY zwsp   "&#8203;">
  <!ENTITY nbhy   "&#8209;">
  <!ENTITY wj     "&#8288;">

<!ENTITY RFC8724 SYSTEM "https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8724.xml">
]>

<?rfc strict="yes"?>
<?rfc compact="yes"?>

<rfc ipr="trust200902" docName="draft-pelov-schc-process-stacking-routing-00" category="info" submissionType="IETF" tocInclude="true" sortRefs="true" symRefs="true">
  <front>
    <title>SCHC Architecture for Process Stacking and Routing in Constrained Networks</title>

    <author initials="A." surname="Pelov" fullname="Alexander Pelov">
      <organization abbrev="IMT Atlantique">IMT Atlantique</organization>
      <address>
        <postal>
          <street>2bis rue de la Chataigneraie</street>
          <city>Cesson-Sévigné</city>
          <code>35536</code>
          <country>France</country>
        </postal>
        <email>alexander.pelov@imt-atlantique.fr</email>
      </address>
    </author>

    <date year="2025" month="February" day="04"/>

    
    
    

    <abstract>


<?line 39?>

<t>This document specifies architectural guidelines for dynamically stacking and routing SCHC processes in constrained networks. It details how independent SCHC modules can be composed into processing chains that adapt to PDU attributes. For instance, SCHC Compression may trigger SCHC Fragmentation when the compressed PDU exceeds the L2 MTU, or alternatively, trigger SCHC Aggregation. For traffic that is not delay tolerant, a direct routing from SCHC Compression to SCHC Reliability Fragmentation is provided. Subsequent processing by SCHC FEC Fragmentation modules ensures robust error correction. This modular approach promotes scalability and flexibility within the SCHC framework.</t>



    </abstract>



  </front>

  <middle>


<?line 43?>

<section anchor="introduction"><name>Introduction</name>

<t>RFC8724 defines the SCHC framework for compressing and fragmenting IPv6/UDP packets in low-power, constrained networks. While the specification addresses individual processes, many deployment scenarios require multiple SCHC processes to be chained based on the properties of the PDU. This document presents architectural guidelines to dynamically stack and route SCHC processes, enabling optimal handling of PDUs through configurable processing chains.</t>

</section>
<section anchor="architectural-overview"><name>Architectural Overview</name>

<t>The proposed architecture is built upon two core principles:</t>

<t><list style="symbols">
  <t>Modular Composition: Each SCHC process (e.g., Compression, Fragmentation, Aggregation) is an independent module with clearly defined interfaces for exchanging metadata such as PDU size, delay sensitivity, and error correction parameters.</t>
  <t>Dynamic Routing: A central Process Router evaluates incoming PDUs against operational criteria (e.g., PDU size relative to the L2 MTU, aggregation requirements, delay tolerance) and directs them through the appropriate processing chain.</t>
</list></t>

<t>This design ensures that the SCHC framework can be adapted in real time to diverse network conditions and application requirements.</t>

</section>
<section anchor="process-stacking-and-routing-recommendation"><name>Process Stacking and Routing Recommendation</name>

<t>Operators may configure SCHC processes in various sequences. Typical chains include:</t>

<t><list style="symbols">
  <t>Compression and Fragmentation Chain:
  <list style="numbers" type="1">
      <t>SCHC Compression reduces header overhead.</t>
      <t>If the compressed PDU exceeds the L2 MTU, the Process Router directs it to SCHC Fragmentation.</t>
      <t>Each fragment is then passed to SCHC FEC Fragmentation for error correction.</t>
    </list></t>
  <t>Compression and Aggregation Chain:
  <list style="numbers" type="1">
      <t>SCHC Compression is applied.</t>
      <t>If multiple small PDUs can be combined, the Process Router forwards the compressed output to SCHC Aggregation.</t>
      <t>SCHC Reliability Fragmentation is invoked to ensure reliable delivery.</t>
      <t>Finally, SCHC FEC Fragmentation is applied to the resulting fragments.</t>
    </list></t>
  <t>Direct Reliability Chain for Non-Delay-Tolerant Traffic:
  <list style="numbers" type="1">
      <t>SCHC Compression is executed on the PDU.</t>
      <t>For traffic that is not delay tolerant, the Process Router bypasses intermediate processing steps and directs the compressed PDU directly to SCHC Reliability Fragmentation.</t>
      <t>SCHC FEC Fragmentation is then applied to incorporate error correction.<br />
This streamlined path minimizes processing delay, catering to applications where latency is a critical parameter.</t>
    </list></t>
</list></t>

</section>
<section anchor="schemas"><name>Schemas</name>

<section anchor="process-stacking-overview"><name>Process Stacking Overview</name>

<figure title="Overview of SCHC Process Stacking and Routing" anchor="Fig-process-stacking"><artwork><![CDATA[
       +---------------------+
       | SCHC Compression    |
       +---------------------+
                 |
                 v
         +---------------+
         | Decision Node | <-- Evaluates PDU size, delay tolerance, and aggregation requirement
         +---------------+
             /      |       \
            /       |          \
   (PDU > MTU)  (Aggregation)  (Non-Delay Tolerant)
          /                |                    \
         v                 v                     v
+---------------------+  +------------------+   +--------------------------------+
| SCHC Fragmentation  |  | SCHC Aggregation |   | SCHC Reliability Fragmentation|
+---------------------+  +------------------+   +--------------------------------+
         |                        |                                    |
         v                        v                                    v
+---------------------+   +------------------------------+   +-----------------------------+
| SCHC FEC            |   | SCHC Reliability Fragmentation|   | SCHC FEC Fragmentation      |
| Fragmentation       |   +------------------------------+   +-----------------------------+
+---------------------+              |                          
                                     v
                          +-----------------------+
                          | SCHC FEC Fragmentation|
                          +-----------------------+
]]></artwork></figure>

</section>
<section anchor="detailed-routing-logic-schema"><name>Detailed Routing Logic Schema</name>

</section>
</section>
<section anchor="operational-considerations"><name>Operational Considerations</name>

<t>The architecture ensures:</t>

<t><list style="symbols">
  <t>Interface Consistency: Standardized metadata exchange between modules (e.g., PDU size, delay tolerance, error correction parameters) ensures seamless handovers.</t>
  <t>Dynamic Adaptation: The Process Router can adjust routing decisions based on real-time network conditions, including MTU constraints and delay sensitivity.</t>
  <t>Scalability: The modular design allows additional SCHC processes to be integrated with minimal impact on existing chains.</t>
</list></t>

</section>
<section anchor="security-considerations"><name>Security Considerations</name>

<t>The modifications introduced by dynamic process stacking do not alter the fundamental security mechanisms of SCHC as defined in RFC8724. Implementations must protect the metadata exchanged between modules and ensure that the decision logic within the Process Router is resilient against unauthorized manipulation.</t>

</section>
<section anchor="iana-considerations"><name>IANA Considerations</name>

<t>No IANA Considerations.</t>

</section>
<section anchor="examples-and-use-cases"><name>Examples and Use Cases</name>

<section anchor="example-1-compression-and-fragmentation"><name>Example 1: Compression and Fragmentation</name>

<t>A compressed PDU that exceeds the L2 MTU is routed to SCHC Fragmentation. Each fragment is then processed by SCHC FEC Fragmentation to add error correction, ensuring reliable delivery despite potential losses.</t>

</section>
<section anchor="example-2-compression-and-aggregation"><name>Example 2: Compression and Aggregation</name>

<t>For scenarios requiring the combination of multiple small PDUs, SCHC Compression is followed by SCHC Aggregation. The aggregated output is then forwarded to SCHC Reliability Fragmentation to provide recovery capabilities, with SCHC FEC Fragmentation applied subsequently.</t>

</section>
<section anchor="example-3-direct-path-for-non-delay-tolerant-traffic"><name>Example 3: Direct Path for Non-Delay-Tolerant Traffic</name>

<t>In applications with strict delay constraints, the processing chain is streamlined. After SCHC Compression, the Process Router directs non-delay-tolerant PDUs directly to SCHC Reliability Fragmentation, bypassing the aggregation and conventional fragmentation steps. SCHC FEC Fragmentation is then applied to incorporate error correction with minimal latency overhead.</t>

<figure title="Direct Routing for Non-Delay-Tolerant Traffic" anchor="Fig-direct-routing"><artwork><![CDATA[
+---------------------+
| SCHC Compression    |
+---------------------+
           |
           v
+--------------------------------+
| SCHC Reliability Fragmentation |
+--------------------------------+
           |
           v
+-----------------------------+
| SCHC FEC Fragmentation      |
+-----------------------------+
]]></artwork></figure>

</section>
</section>


  </middle>

  <back>


    <references title='Normative References' anchor="sec-normative-references">

&RFC8724;


    </references>




  </back>

<!-- ##markdown-source:
H4sIAIAzomcAA7VZW24byRX971UUxh9jwSTtkWcmCZEEESQbETC2BUtGPpJ8
FLuLZMX9mqpqUkyUIIuYTcw6Ziezkpx7q6rZzW5S+nAIGBb7UXXr3HPPfXA6
nSZOu1zNxe3lny/FhUnX2qnUNUaJZWXEjalSZa24dTL9rMuVkGUmPlaNo791
KS6r0jojdaky8V65bWU+2ySr0lIWWDMzcummtcqrzdSm63Ra++WmNiw3NX6p
6atXia7NXDjTWHf+6tXvXp0nqXRz7LGsEtssCm2trsq7XY11r9/cvU2SWs8T
IeyuMGpp5+LrnbJf04XKuIMrzujU7b+nVVHL7gVXpfFLIhu3rgytTJ9p+F/A
EKx4MRM3dJr2qj/nRa7uAYwyB3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