<?xml version='1.0' encoding='utf-8'?>
<!-- <!DOCTYPE rfc SYSTEM "rfc2629-xhtml.ent"> -->


<?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="no"?>
<?rfc subcompact="no"?>
<?rfc authorship="yes"?>
<?rfc tocappendix="yes"?>
<rfc  xmlns:xi="http://www.w3.org/2001/XInclude" category="std" ipr='trust200902'
tocInclude="true" indexInclude="true" obsoletes=""  consensus="true"
submissionType="IETF" xml:lang="en" version="3"
docName="draft-rashid-pecorella-6lo-lowpan-padding-length-00" >

<front>

   <title abbrev='6LoWPAN-PLH'>6LoWPAN Payload Length Handling with L2 Padding</title>

   <author initials='A' surname='Rashid' fullname='Adnan Rashid'>
      <address>
         <postal>
            <city>Bari</city>
            <code>70123</code>
          <country>Italy</country>
         </postal>
         <email>adnanrashidpk@gmail.com</email>
      </address>
   </author>  

<author initials='T' surname='Pecorella' fullname="Tommaso Pecorella">
      <organization>University of Florence</organization>
      <address>
        <postal>
          <country>Italy</country>
        </postal>
        <email>tommaso.pecorella@unifi.it</email>
      </address>
</author>



   <area>Internet</area>

   <workgroup>6lo</workgroup>

   <abstract>
   <t>
  6LoWPAN compression schemes, including HC1 <xref target="RFC4944"/>, IPHC <xref target="RFC6282"/>, and GHC <xref target="RFC7400"/>, elide the IPv6 Payload Length (PL)
   field from compressed packets, relying on the Layer 2 (L2)
  PL to reconstruct it at the receiver.  This assumption holds for
  IEEE 802.15.4 <xref target="IEEE802154"/>, which delivers exactly the
   bytes transmitted.  However, L2 technologies that enforce a
  minimum frame size — most notably Ethernet IEEE 802.3 <xref target="IEEE8023"/>, which
   has a minimum payload of 46 bytes — silently pad short frames
   with zero bytes.  In such cases, the receiver incorrectly
   reconstructs the IPv6 PL field, leading to packet
   corruption and protocol failure.

  This document describes the problem, analyzes existing
   workarounds, and defines a solution based on an Escape dispatch byte (ESC) or ESC Extension Type (EET)
   extended dispatch mechanism that explicitly encodes the IPv6
   PL when L2 padding may be present.
   </t>
   </abstract>
</front>

<middle>


<!-- **************************************************************** -->
<!-- **************************************************************** -->
<!-- **************************************************************** -->
<!-- **************************************************************** -->
<!-- **************************************************************** -->
<!-- **************************************************************** -->

<section anchor="introduction"> <name>Introduction</name>
<t>The 6LoWPAN adaptation layer defines several compression schemes, i.e.,
  HC1 <xref target="RFC4944"/>, IPHC <xref target="RFC6282"/>, and GHC <xref target="RFC7400"/>. In all these schemes, the IPv6 PL is
  elided, and the 6LoWPAN compressed PL is derived from the L2
  PL.
</t>
<t>This idea is valid when the underlying L2 technology faithfully preserves
  the exact number of bytes transmitted, as is the case with IEEE 802.15.4
  <xref target="IEEE802154"/>.</t>
<t>

   However, 6LoWPAN is increasingly deployed over other L2
   technologies, including Ethernet IEEE 802.3 <xref target="IEEE8023"/>, to which an
  EtherType (0xA0ED) has been assigned <xref target="RFC7973"/>.  Ethernet
   enforces a minimum frame payload size of 46 bytes (or 42 bytes
   with 802.1Q VLAN tagging).  When the actual payload is shorter
   than this minimum, Ethernet silently appends zero padding bytes
   to reach the minimum length.  The receiver has no mechanism to
  distinguish real payload bytes from padding bytes.</t>
<t>
  This creates a correctness failure: decompression may fail, or the receiver
  may reconstruct an IPv6 PL that is larger than the original
  payload. Both outcomes are undesirable.</t>
<t>
  This document describes the problem statement, evaluates
   existing mitigations, and defines a normative solution using
   the ESC/EET extended dispatch mechanism <xref target="RFC8025"/> to explicitly
   signal the IPv6 PL when L2 padding may be present.
</t>


</section>	<!-- end section = "Introduction"  -->


<section> <name>Terminology</name>

  <section anchor='bcp'><name>Requirements Language</name>
  <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>
  </section>	<!-- end section "Requirements Language" -->



  <section anchor='lo'><name>References</name>
    <t>
	This document uses terms and concepts that are discussed in:
    </t>
	<ul>
	<!-- <li> <xref target="RFC4861">"Neighbor Discovery for IP version 6"</xref>,</li>
	    <xref target="RFC4862">"IPv6 Stateless address Autoconfiguration"</xref>,</li> -->
	<li> <xref target="RFC4944"> Transmission of IPv6 Packets over IEEE 802.15.4 Networks</xref>,</li>
    <li>
	    <xref target="RFC6282"> Compression Format for IPv6 Datagrams over IEEE 802.15.4-Based Networks</xref>,
	</li>
        <li>
	    <xref target="RFC7400"> Generic Header Compression for IPv6 over Low-Power Wireless Personal Area Networks (6LoWPANs)</xref>
	</li>
	</ul>
  </section> <!--	 end section "References" -->


</section>	<!-- end section "Terminology" -->

<section > <name>Terms and Definitions</name>
<t>This document uses the following terms:</t>
<t><strong>6LoWPAN:</strong> IPv6 over Low-Power Wireless Personal Area Networks, as defined in <xref target="RFC4944"/> and extended by <xref target="RFC6282"/>, <xref target="RFC7400"/>, and related documents.</t>
<t><strong>HC1:</strong> Header Compression, as defined in <xref target="RFC4944"/>.</t>
<t><strong>IPHC:</strong> IPv6 Header Compression, as defined in <xref target="RFC6282"/>.</t>
<t><strong>GHC:</strong> Generic Header Compression, as defined in <xref target="RFC7400"/>.</t>
<t><strong>Layer 2 minimum frame size:</strong> The minimum number of bytes that a L2 technology requires in the payload field of a frame. Frames shorter than this minimum are padded by the L2 implementation.</t>
<t><strong>Layer 2 padding:</strong> Zero bytes appended by a L2 technology to a frame payload to reach the L2 minimum frame size. L2 padding is transparent to higher layers unless explicitly signalled.</t>
<t><strong>ESC:</strong> The 6LoWPAN Escape dispatch byte (0x7F), as defined in <xref target="RFC8025"/>, used to introduce extended dispatch types.</t>
<t><strong>EET:</strong> ESC Extension Type. The byte following an ESC dispatch byte that identifies the specific extended dispatch mechanism in use.</t>
<t><strong>LOWPAN_EPLH:</strong> Explicit Payload Length Header. The new ESC Extension Type defined in this document.</t>
</section> <!-- end section "Terms and Definitions" -->

<!-- **************************************************************** -->
<!-- **************************************************************** -->
<!-- **************************************************************** -->
<!-- **************************************************************** -->
<!-- **************************************************************** -->
<!-- **************************************************************** -->
<!-- **************************************************************** -->
<!-- **************************************************************** -->


<section anchor="problem-statement"> <name>Problem Statement</name>
<t>This section describes the problem that arises when 6LoWPAN elides the IPv6 PL field and the underlying L2 technology pads frames to a minimum payload size.</t>

  <section anchor="payload-elision"> <name>6LoWPAN Payload Length Elision</name>
  <t>Sections 10.1 of <xref target="RFC4944"/> and 3.1.1 of <xref target="RFC6282"/> specify that the IPv6 PL field is always elided.</t>
  <t>Datagrams that are fragmented by 6LoWPAN have their size in the FRAG1 or FRAGN dispatches, but unfragmented datagrams do not carry information about the IPv6 PL, relying on the L2 payload size.</t>
  <t>The receiver reconstructs the IPv6 PL field using the following formula:</t>
  <figure anchor="pl-reconstruction-formula">
    <name>IPv6 PL Reconstruction Formula</name>
    <artwork><![CDATA[
IPv6 PL = L2 PL - 6LoWPAN compressed header length
]]></artwork>
  </figure>
  <t>This is valid when L2 PL equals the number of bytes placed on the wire by the sender — i.e., when L2 does not modify the payload.</t>
  </section>

  <section anchor="l2-minimum-frame-size"> <name>L2 Minimum Frame Size Padding</name>
  <t>Ethernet <xref target="IEEE8023"/> requires a minimum frame payload of 46 bytes (without 802.1Q) or 42 bytes
  (with 802.1Q VLAN tagging). When the frame payload is shorter than this minimum, the Ethernet hardware or driver
  appends zero-value (0x00) padding bytes silently. These padding bytes are indistinguishable from payload bytes at the receiver.</t>
  <t>Other L2 technologies may impose similar minimum frame size requirements, including but not limited to:</t>
  <ul>
    <li>IEEE 802.11 (Wi-Fi) in certain configurations</li>
    <li>Token Ring (historical)</li>
    <li>Any other L2 technology with minimum payload constraints</li>
  </ul>
  <t><strong>Note:</strong> IEEE 802.15.4 does NOT impose a minimum frame payload size and is therefore NOT affected by this problem.</t>
  </section>

  <section anchor="failure-scenario"> <name>Failure Scenario</name>
  <t>The failure occurs when all three of the following conditions are simultaneously true:</t>
  <ol>
    <li>6LoWPAN compression is used and elides the IPv6 PL field.</li>
    <li>The L2 technology enforces a minimum frame payload size (e.g., Ethernet: 46 bytes).</li>
    <li>The compressed 6LoWPAN packet is shorter than the L2 minimum frame payload.</li>
  </ol>
  <t>When all three conditions hold, the following sequence occurs:</t>
  <ol>
    <li>The sender transmits a compressed 6LoWPAN packet of length N bytes, where N &lt; L2_minimum.</li>
    <li>The L2 pads the frame payload to L2_minimum bytes by appending (L2_minimum - N) zero bytes.</li>
    <li>The receiver reads L2_minimum bytes as the L2 payload.</li>
    <li>The receiver applies the reconstruction formula:</li>
  </ol>
  <figure anchor="failure-reconstruction">
    <name>Reconstructed IPv6 PL</name>
    <artwork><![CDATA[
IPv6 PL = L2_minimum - header_bytes
]]></artwork>
  </figure>
  <t>This reconstructed length is INCORRECT.</t>
  <t>Furthermore, when using GHC compression, the decompressor also considers the padding bytes part of the compressed datagram, and decompression might fail, depending on the decompression code and the value of the padding bytes.</t>
  <t>If the GHC decompression does not fail, or if the scheme is HC1 <xref target="RFC4944"/> or IPHC <xref target="RFC6282"/>, the receiver passes an IPv6 PL that is (L2_minimum - N) bytes larger than the true PL to upper-layer protocol parsers.</t>
  <t>Upper-layer parsers (UDP, TCP, ICMP, CoAP, etc.) attempt to process padding bytes as protocol data, leading to checksum failures, malformed packets, or silent data corruption.</t>
  <t>Example:</t>
  <figure anchor="failure-example">
    <name>Example Failure Scenario</name>
    <artwork><![CDATA[
Compressed 6LoWPAN packet:
  IPHC dispatch      = 2 bytes
  Compressed UDP     = 1 byte  (NHC)
  CoAP payload       = 8 bytes
  Total              = 11 bytes

Ethernet minimum payload = 46 bytes
Ethernet padding added   = 35 bytes (0x00)

Receiver reconstruction:
  L2 Payload Length        = 46 bytes  (observed)
  IPHC header              = 2 bytes
  Reconstructed IPv6 PL    = 44 bytes  (INCORRECT)
  Actual IPv6 PL           = 9 bytes   (CORRECT)
  Excess bytes fed upward  = 35 bytes  (padding)
]]></artwork>
  </figure>
  </section>
</section>



<section anchor="affected-specifications"> <name>Affected Specifications</name>
<t>The following specifications are affected by this problem, as they all rely on 
L2 PL to reconstruct the IPv6 PL field:</t>
<ul>
  <li><xref target="RFC4944"/>: HC1 compression</li>
  <li><xref target="RFC6282"/>: IPHC compression (Section 3.1.1)</li>
  <li><xref target="RFC7400"/>: GHC compression</li>
  <li>Any future 6LoWPAN compression scheme that elides the IPv6 PL field</li>
</ul>
<t><xref target="RFC7973"/> assigns an EtherType for 6LoWPAN over Ethernet but does not address this padding 
problem. Consequently, the specification serves as a prerequisite for the problem but not a solution to it.</t>
</section>

<section anchor="existing-mitigations"><name>Existing Mitigations and Their Limitations</name>

  <section anchor="uncompressed-ipv6">
    <name>Uncompressed IPv6 Dispatch</name>
    <t>Using the 6LoWPAN uncompressed IPv6 dispatch (0x41) sends the full 40 bytes 
    IPv6 header without compression, preserving the PLfield. 
    This eliminates the ambiguity but defeats the purpose of 6LoWPAN compression.
    For very short payloads — exactly the packets most likely to trigger the padding 
    problem — the overhead of the full IPv6 header is disproportionate.</t>
    <t>This approach requires knowledge of the L2 minimum frame size at the 6LoWPAN layer.</t>
    <t>This approach is acknowledged as a valid short-term workaround for networks that do not have an EtherType (or equivalent), but it does not constitute a complete solution.</t>
  </section>

  <section anchor="restricting-6lowpan"><name>Restricting 6LoWPAN to Packets Longer than L2 Minimum</name>
    <t>An implementation may choose not to use 6LoWPAN compression for packets shorter than 
    the L2 minimum frame size, instead sending them as uncompressed IPv6. 
    Since Ethernet has an EtherType field, IPv6 (EtherType 0x86DD) and
    6LoWPAN (EtherType 0xA0ED) can coexist on the same link.</t>
    
    <t>While technically viable, this approach:</t>
    <ul>
      <li>Requires implementations to have knowledge of the L2 minimum frame size at 
      the 6LoWPAN layer.</li>
      <li>Does not apply to L2 technologies where IPv6 and 6LoWPAN cannot coexist via
      separate EtherTypes.</li>
    </ul>
    <t>This approach is acknowledged as a valid short-term workaround for networks
    that have an EtherType (or equivalent), but it does not constitute a complete
    solution.</t>
  </section>

  <section anchor="stop-code-ghc"><name>Stop Code (GHC)</name>
    <t><xref target="RFC7400"/> permits (but does not mandate) the use of a stop code to terminate GHC-compressed data.
    Mandating the stop code when L2 padding is present would allow receivers to identify the end of real data.</t>
    <t>Amending the RFC to mandate the use of a stop code in the case of padded data would work for GHC compression,
    but it is not a valid solution for HC1 <xref target="RFC4944"/> and IPHC <xref target="RFC6282"/>,
    as the stop code value may legitimately appear within upper-layer payload data (e.g., within ICMP or UDP payloads).
    A receiver would be unable to distinguish a stop code embedded in payload data from a genuine terminator, leading
    to incorrect early termination of payload parsing.</t>
    <t>This approach is NOT RECOMMENDED because it is not applicable to HC1 or IPHC and would require an amendment to the GHC specification <xref target="RFC7400"/>.</t>
  </section>

</section>
   

<section anchor="proposed-solution"> <name>Proposed Solution: ESC/EET Explicit Payload Length</name>
<t>This section defines an ESC/EET-based explicit PLmechanism to 
avoid ambiguity introduced by L2 padding.</t>

  <section anchor="eet-overview"> <name>ESC/EET Mechanism Overview</name>
  <t>RFC 8025 <xref target="RFC8025"/> defines the ESC dispatch byte (0x7F) for 6LoWPAN, 
  which introduces a two-byte extended dispatch mechanism. The byte following ESC is the
  ESC Extension Type (EET), which identifies the specific extended dispatch in use. This 
  mechanism was designed to extend the 6LoWPAN dispatch namespace without breaking existing 
  implementations: a receiver that does not understand an EET value will recognize the ESC 
  byte and handle the packet appropriately (for example, discard it), rather than silently 
  misinterpreting it.</t>
  </section>

  <section anchor="lowpan-eplh"> <name>New EET Definition: Explicit IPv6 PL (LOWPAN_EPLH)</name>

 <t>This document defines a new ESC Extension Type (EET) value, to be designated Explicit Payload Length Header (LOWPAN_EPLH) and assigned by IANA from the ESC Extension Type registry.</t>
    <t>The LOWPAN_EPLH EET signals that the next byte in the 6LoWPAN frame explicitly encodes 
    the IPv6 PL, allowing the receiver to correctly reconstruct it independently 
    of the L2 Payload Length.</t>
  </section>


  <section anchor="packet-format">
    <name>Packet Format</name>
    <t>A 6LoWPAN frame using LOWPAN_EPLH has the following format:</t>
    <figure anchor="lowpan-eplh-format">
      <name>LOWPAN_EPLH Format</name>
      <artwork type="ascii-art">
0                   1                   2
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|  ESC (0x7F)  |  LOWPAN_EPLH  |  IPv6 PL (1B)  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                                               |
+     6LoWPAN compressed packet (IPHC/GHC)      +
|                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                                               |
+          L2 padding (ignored) (variable)      +
|                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      </artwork>
    </figure>
    <t>Fields in the LOWPAN_EPLH format:</t>
    <t><strong>ESC (1 byte):</strong> The 6LoWPAN Escape dispatch byte, value 0x7F, as defined in <xref target="RFC8025"/>.</t>
    <t><strong>LOWPAN_EPLH (1 byte):</strong> The ESC Extension Type value assigned by IANA for Explicit Payload Length Header (EPLH) (this document).</t>
    <t><strong>IPv6 PL (1 byte):</strong> The explicit IPv6 PL, encoded as an 8-bit unsigned integer. This value represents the total number of bytes following the IPv6 header (i.e., the IPv6 PL as defined in <xref target="RFC8200"/>).</t>
    <t>An 8-bit field is sufficient because the problem only arises for packets shorter than the L2 minimum frame size (46 bytes for Ethernet). The maximum possible IPv6 PL for an affected packet is bounded by the L2 minimum frame size minus the minimum 6LoWPAN header size, which is well within the range of an 8-bit unsigned integer (0-255).</t>
    <t><strong>6LoWPAN compressed packet:</strong>  The IPHC, HC1, or GHC compressed packet, formatted as defined in <xref target="RFC6282"/> or <xref target="RFC7400"/>, respectively. The compressed packet immediately follows the LOWPAN_EPLH header.</t>
    <t><strong>L2 padding:</strong>  Zero or more padding bytes appended by the L2 layer. These bytes MUST be ignored by the receiver.</t>
  </section>

  <section anchor="sender-behaviour">
    <name>Sender Behaviour</name>
    <t>A sender MUST use the LOWPAN_EPLH header when all of the following conditions are true:</t>
    <t>a) 6LoWPAN header compression (HC1, IPHC, or GHC) is used for the packet, causing the IPv6 PL field to be elided.</t>
    <t>b) The L2 technology in use enforces a minimum frame payload size (e.g., Ethernet, with a minimum payload of 46 bytes).</t>
    <t>c) The total length of the 6LoWPAN compressed packet (including all compressed headers) is less than the L2 minimum frame payload size.</t>
    <t>A sender MAY use the LOWPAN_EPLH header in other cases (e.g., as a precautionary measure) when conditions (a) and (b) are met, regardless of packet length.</t>
    <t>A sender MUST NOT use the LOWPAN_EPLH header on L2 technologies that do not add padding (e.g., IEEE 802.15.4), as this would add unnecessary overhead.</t>
    <t>The IPv6 PL field MUST be set to the true IPv6 PL of the packet, as defined in <xref target="RFC8200"/>, before compression is applied.</t>
    <t>The total overhead introduced by the LOWPAN_EPLH mechanism is 3 bytes (1 byte ESC + 1 byte EET + 1 byte length).</t>
  </section>

  <section anchor="receiver-behaviour">
    <name>Receiver Behaviour</name>
    <t>A receiver that encounters an ESC dispatch byte (0x7F) MUST read the following byte as the EET value.</t>
    <t>If the EET value matches LOWPAN_EPLH (as assigned by IANA):</t>
    <t>a) The receiver MUST read the following byte as the explicit IPv6 PL.</t>
    <t>b) The receiver MUST use this explicit value as the IPv6 PL when decompressing and reassembling the IPv6 packet. The receiver MUST NOT use the L2 PL for this purpose.</t>
    <t>c) The receiver MUST process exactly IPv6_PL bytes of payload from the 6LoWPAN compressed packet following the LOWPAN_EPLH header.</t>
    <t>d) Any bytes beyond the explicit PL and before the end of the L2 frame MUST be treated as L2 padding and MUST be discarded.</t>
    <t>A receiver that does not recognize the LOWPAN_EPLH EET value SHOULD discard the packet and MAY log an error.</t>
  </section>

  <section anchor="overhead-analysis">
    <name>Overhead Analysis</name>
    <t>The LOWPAN_EPLH mechanism introduces 3 bytes of overhead:</t>
    <t>ESC byte = 1 byte</t>
    <t>LOWPAN_EPLH EET = 1 byte</t>
    <t>IPv6 PL field = 1 byte</t>
    <t>Total overhead = 3 bytes</t>
    <t>This overhead is only incurred for packets shorter than the L2 minimum frame size. For Ethernet, this means packets where the compressed 6LoWPAN data is under 46 bytes. Such packets are by definition very short — typically ICMP echo requests, CoAP confirmable messages, or keepalive traffic. The 3 bytes overhead will likely not increase the payload size above the minimum L2 payload size, with the notable exception of datagrams whose length is exactly one or 2 bytes less than said minimum payload size. In this case, the overhead is exactly two or 1bytes, respectively. Thus, we can assume that the overhead is negligible.</t>
    <!-- <t>Comparison of approaches: Uncompressed IPv6 (+38 bytes, No, Not req.); No compress if short (0 bytes, No, Partial); Stop code (GHC only) (+1 byte, YES, Complex); LOWPAN_EPLH (this doc) (+3 bytes, No, Clean).</t> -->
  </section>
    </section>

  <section anchor="applicability-other-l2">
    <name>Applicability to Other L2 Technologies</name>
    <t>Although this document uses Ethernet as the primary example, the LOWPAN_EPLH mechanism is applicable to any L2 technology that enforces a minimum frame payload size that may cause padding of short 6LoWPAN frames.</t>
    <t>Implementations SHOULD apply the LOWPAN_EPLH mechanism whenever this condition applies, regardless of the specific L2 technology in use.</t>
    <t>IEEE 802.15.4 networks are automatically excluded from the MUST use requirement in Section 7.4, as IEEE 802.15.4 does not impose a minimum frame payload size.</t>
  </section>

  <section anchor="security-considerations">
    <name>Security Considerations</name>
    <t>The LOWPAN_EPLH mechanism introduces an explicit length field into the 6LoWPAN frame. The following security considerations apply.</t>
    <t>An attacker who can modify L2 frames in transit could manipulate the IPv6 PL field to cause the receiver to read fewer bytes than the actual payload (truncation attack) or to read into padding bytes (confusion attack). These threats are mitigated by link-layer security mechanisms (e.g., IEEE 802.15.4 security, MACsec for Ethernet) and by upper-layer integrity checks (e.g., UDP/TCP checksums, DTLS, etc.).</t>
    <t>The LOWPAN_EPLH mechanism does not introduce new cryptographic vulnerabilities. Its security properties are consistent with those of the underlying 6LoWPAN compression framework <xref target="RFC6282"/>.</t>
    <t>Receivers MUST validate that the explicit IPv6 PL is consistent with the L2 frame length (i.e., the explicit length MUST NOT exceed the actual number of bytes remaining in the L2 payload after the LOWPAN_EPLH header). Inconsistent values SHOULD result in the packet being discarded.</t>
  </section>

  <section anchor="iana-considerations">
    <name>IANA Considerations</name>
    <t>This document requests that IANA assign a new ESC Extension Type (EET) value from the "ESC Extension Types" registry established by <xref target="RFC8025"/>:</t>
    <t>Value: [to be assigned by IANA]</t>
    <t>Name: LOWPAN_EPLH</t>
    <t>Description: Explicit IPv6 PL Header for 6LoWPAN compression over L2 technologies with minimum frame size requirements</t>
    <t>Reference: [this document]</t>
    <t>The assigned value MUST be used in the EET field as defined in <xref target="proposed-solution"/> of this document.</t>
  </section>

</middle>

<back>
  <displayreference target="IEEE802154" to="IEEE Std 802.15.4"/>
  <!-- <displayreference target="IEEE802151" to="IEEE Std 802.15.1"/> -->
  <!-- <displayreference target="IEEE80211" to="IEEE Std 802.11"/> -->
  <displayreference target="IEEE8023" to="IEEE Std 802.3"/>

  <references title='Normative References'>
    <xi:include href='https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml'/>
    <xi:include href='https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.4944.xml'/>
    <xi:include href='https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.6282.xml'/>
    <xi:include href='https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.7400.xml'/>
    <xi:include href='https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.7973.xml'/>
    <xi:include href='https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.8025.xml'/>
    <xi:include href='https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.8174.xml'/>
    <xi:include href='https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.8200.xml'/>
  </references>

  <references title='Informative References'>
    <!-- <xi:include href='https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.4919.xml'/> -->
    <!-- <xi:include href='https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.6550.xml'/> -->
    <!-- <xi:include href='https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.8928.xml'/> -->
    <!-- <xi:include href='https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.8929.xml'/> -->
    <!-- <xi:include href='https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.9119.xml'/> -->
    <!-- <xi:include href='https://xml2rfc.tools.ietf.org/public/rfc/bibxml3/reference.I-D.bi-intarea-savi-wlan.xml'/> -->
    <!-- <xi:include href='https://xml2rfc.tools.ietf.org/public/rfc/bibxml3/reference.I-D.ietf-6man-ipv6-over-wireless.xml'/> -->

    <!-- <reference anchor="Wi-SUN" target="https://wi-sun.org/">
      <front>
        <title>Wi-SUN Alliance</title>
        <author/>
        <date/>
      </front>
    </reference> -->

    <reference anchor='IEEE802154'>
      <front>
        <title>IEEE Std 802.15.4, Part. 15.4: Wireless Medium Access Control (MAC) and Physical Layer (PHY) Specifications for Low-Rate Wireless Personal Area Networks</title>
        <author>
          <organization>IEEE standard for Information Technology</organization>
        </author>
        <date/>
      </front>
    </reference>

    <reference anchor='IEEE8023'>
      <front>
        <title>IEEE Standard for Ethernet</title>
        <author>
          <organization>IEEE</organization>
        </author>
        <date year='2022'/>
      </front>
      <seriesInfo name='IEEE Std' value='802.3'/>
    </reference>

    <!-- <reference anchor='IEEE80211' target="https://ieeexplore.ieee.org/document/9363693">
      <front>
        <title>IEEE Standard 802.11 - IEEE Standard for Information Technology - Telecommunications and information exchange between systems Local and metropolitan area networks - Specific requirements - Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications.</title>
        <author>
          <organization>IEEE standard for Information Technology</organization>
        </author>
        <date/>
      </front>
    </reference> -->

    <!-- <reference anchor="IEEE802151">
      <front>
        <title>IEEE Standard for Information Technology - Telecommunications and Information Exchange Between Systems - Local and Metropolitan Area Networks - Specific Requirements. - Part 15.1: Wireless Medium Access Control (MAC) and Physical Layer (PHY) Specifications for Wireless Personal Area Networks (WPANs)</title>
        <author>
          <organization>IEEE standard for Information Technology</organization>
        </author>
        <date/>
      </front>
    </reference> -->
  </references>
</back>

</rfc>
