<?xml version="1.0" encoding="US-ASCII"?>
<!-- This template is for creating an Internet Draft using xml2rfc,
     which is available here: http://xml.resource.org. -->
<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
<!-- One method to get references from the online citation libraries.
     There has to be one entity for each item to be referenced. 
     An alternate method (rfc include) is described in the references. -->



<!ENTITY I-D.narten-iana-considerations-rfc2434bis SYSTEM "http://xml.resource.org/public/rfc/bibxml3/reference.I-D.narten-iana-considerations-rfc2434bis.xml">
<!ENTITY I-D.ietf-6lowpan-nd SYSTEM "http://xml.resource.org/public/rfc/bibxml3/reference.I-D.ietf-6lowpan-nd.xml">


<!ENTITY RFC5246 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.5246.xml">


<!ENTITY RFC5673 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.5673.xml">


]>
<?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>
<!-- used by XSLT processors -->
<!-- For a complete list and description of processing instructions (PIs), 
     please see http://xml.resource.org/authoring/README.html. -->
<!-- Below are generally applicable Processing Instructions (PIs) that most I-Ds might want to use.
     (Here they are set differently than their defaults in xml2rfc v1.32) -->
<?rfc strict="yes" ?>
<!-- give errors regarding ID-nits and DTD validation -->
<!-- control the table of contents (ToC) -->
<?rfc toc="yes"?>
<!-- generate a ToC -->
<?rfc tocdepth="4"?>
<!-- the number of levels of subsections in ToC. default: 3 -->
<!-- control references -->
<?rfc symrefs="yes"?>
<!-- use symbolic references tags, i.e, [RFC2119] instead of [1] -->
<?rfc sortrefs="yes" ?>
<!-- sort the reference entries alphabetically -->
<!-- control vertical white space 
     (using these PIs as follows is recommended by the RFC Editor) -->
<?rfc compact="yes" ?>
<!-- do not start each main section on a new page -->
<?rfc subcompact="no" ?>
<!-- keep one blank line between list items -->
<!-- end of list of popular I-D processing instructions -->
<rfc category="info" docName="draft-ietf-6lowpan-icmphc-00" ipr="trust200902">
  <!-- category values: std, bcp, info, exp, and historic
     ipr values: full3667, noModification3667, noDerivatives3667
     you can add the attributes updates="NNNN" and obsoletes="NNNN" 
     they will automatically be output with "(if approved)" -->

  <!-- ***** FRONT MATTER ***** -->

  <front>
    <!-- The abbreviated title is used in the page header - it is only necessary if the 
         full title is longer than 39 characters -->

    <title abbrev="draft-ietf-6lowpan-icmp-hc">ICMPv6 Compression for 6LoWPAN Networks</title>

    <!-- add 'role="editor"' below for the editors if appropriate -->

    <!-- Another author who claims to be an editor -->

    <author initials="C.O." surname="O&apos;Flynn" fullname="Colin Patrick O&apos;Flynn">
      <organization>Atmel Corporation</organization>
      <address>
        <postal>
          <street></street>
          <city>Colorado Springs</city>
          <region>Colorado</region>
          <code></code>
          <country>USA</country>
        </postal>       
        <email>colin.oflynn@atmel.com</email>
	   </address>
	</author>
    
    <date  year="2010" /> 

    <!-- If the month and year are both specified and are the current ones, xml2rfc will fill 
         in the current day for you. If only the current year is specified, xml2rfc will fill 
	 in the current day and month for you. If the year is not the current one, it is 
	 necessary to specify at least a month (xml2rfc assumes day="1" if not specified for the 
	 purpose of calculating the expiry date).  With drafts it is normally sufficient to 
	 specify just the year. -->

    <!-- Meta-data Declarations -->

    <area>General</area>

    <workgroup>6lowpan</workgroup>

    <!-- WG name at the upperleft corner of the doc,
         IETF is fine for individual submissions.  
	 If this element is not present, the default is "Network Working Group",
         which is used by the RFC Editor as a nod to the history of the IETF. -->

    <keyword>6lowpan</keyword>
	<keyword>resource constrained</keyword>
	<keyword>802.15.4</keyword>
	<keyword>icmp</keyword>

    <!-- Keywords will be incorporated into HTML output
         files in a meta tag but they have no effect on text or nroff
         output. If you submit your draft to the RFC Editor, the
         keywords will be used for the search engine. -->

    <abstract>
    <t>
	Compression for stuff that could be compressed.
	</t>   
    </abstract>
  </front>

  <middle> 

  <section title='Background'>
  <t>
  This document was written VERY quickly. It does not yet go over exhaustively how each option
  works, see the <xref target="examples">examples</xref> section for more details.
  </t>
  </section>

  <section title='ICMPv6 Compression Format'>
  <t>
  The ICMPv6 compression has two parts. The first is the ICMPv6 header
  compression, the second is the ICMPv6 options compression. In 6lowpan-hc-07,
  the Next Header Compression (NHC) field is shown as fitting in as follows:  
  </t> 
  <figure><artwork>
   +-------------+-------------+-------------+-----------------+--------
   | LOWPAN_IPHC | In-line     | LOWPAN_NHC  | In-line Next    | Payload
   |   Encoding  |   IP Fields |   Encoding  |   Header Fields |
   +-------------+-------------+-------------+-----------------+--------
  </artwork></figure>
  <t>
  This is thus extended, where the LOWPAN_NHC is just the LOWPAN_ICMPHC field. However
  it may additionally have LOWPAN_ICMPOC (OC = Option Compression) fields after it. As
  an ICMPv6 message may have multiple options, each option that is compressed will have
  a LOWPAN_ICMPOC header. Thus a buffer with two ICMPv6 options would look like:
  </t>
    <figure><artwork>
   +-------------+-------------+-------------+-----------------+--
   | LOWPAN_IPHC | In-line     |LOWPAN_ICMPHC| In-line ICMPv6  | 
   |   Encoding  |   IP Fields |   Encoding  |   Header Fields |  
   +-------------+-------------+-------------+-----------------+--
   
  --------------+---------------+---------------+---------------+-----
  LOWPAN_ICMPOC | Inline Option | LOWPAN_ICMPOC | Inline Option |Payload
   Encoding #1  | Fields for #1 |  Encoding #2  | Fields for #2 |
  --------------+---------------+---------------+---------------+-----
   
  </artwork></figure>
  
  <t>
  The payload could be additional ICMP data, or could be uncompressed ICMP options.
  </t>
  
  </section>
  
  <section title='LOWPAN_ICMPHC Encoding'>
  
  <t>
  The LOWPAN_ICMPHC header has two forms. The first is a 'generic' compression format,
  which is a single octet. The second is a specific form which compresses certain
  frequently occuring ICMPv6 messages better than the generic format.
  </t>
  
  <t>The format is as follows:</t>
  <figure><artwork>
    0   1   2   3   4   5   6   7   
  +---+---+---+---+---+---+---+---+
  | 1 | 1 | 1 | 1 | 1 | G | X | X |
  +---+---+---+---+---+---+---+---+
  </artwork></figure>
  
  <t>
  G: Generic Compress Format Flag:
  <list style="empty">
    <t>1: LOWPAN_ICMPHC is a GENERIC format</t>
	<t>0: LOWPAN_ICMPHC is a NON-GENERIC format</t>
  </list>
  </t>
  
  <t>
  XX: Depends on the GENERIC flag. See two sections below.
  </t>
  
  <section title='GENERIC LOWPAN_ICMPHC Encoding'>
   <t>The format is as follows:</t>
  <figure><artwork>
    0   1   2   3   4   5   6   7   
  +---+---+---+---+---+---+---+---+
  | 1 | 1 | 1 | 1 | 1 | 1 | R | C |
  +---+---+---+---+---+---+---+---+
  </artwork></figure>
  
  <t>
  R: Reserved Octets Elided:
  <list style="empty">
    <t>1: 4 Octets have been elided, at an offset of 4 octets from the start of the ICMPv6 Header.</t>
	<t>0: No Change</t>
  </list>
  </t> 
  
  <t>
  C: Code Elided:
  <list style="empty">
    <t>1: Code field in the ICMPv6 header has been elided, and is zero.</t>
	<t>0: No Change</t>
  </list>
  </t> 
  
  <t>
  The GENERIC form takes advantage of two factors: many ICMPv6 messages have 4 reserved octets at a
  specific location, and many ICMPv6 messages do not use the CODE field. When using the GENERIC ICMPHC
  there is NO option compression used. Option compression is only possible when using the NON-GENERIC
  ICMP compression.
  </t>
  </section>
  
   <section title='NON-GENERIC LOWPAN_ICMPHC Encoding'>
   <t>The format is as follows:</t>
  <figure><artwork>
    0   1   2   3   4   5   6   7   8   9  10  11  12  13  14  15
  +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
  | 1 | 1 | 1 | 1 | 1 | 0 |  RSV  |    TYPE   | A | B |  NUMOPTS  |
  +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
  </artwork></figure>
  
  <t>
  RSV: Reserved Field, Do not use
  </t> 
  
  <t>
  TYPE: Type of ICMPv6 Message to Follow
  <list style="empty">
    <t>000: RESERVED.</t>
	<t>001: RFC4861 Router Solicitation </t>
	<t>010: RFC4861 Router Advertisement </t>
	<t>011: RFC4861 Neighbor Solicitation </t>
	<t>100: RFC4861 Neighbor Advertisement</t>
	<t>101: RFC4861 Redirect </t>
  </list>
  </t> 
  
  <t>
  A: Usage depends on TYPE field
  </t>   
  
  <t>
  B: Usage depends on TYPE field
  </t>
  
  <t>
  NUMOPTS: Number of ICMPv6 Compressed Options that will follow. Used so 6lowpan-icmphc knows when to stop processing!
  </t>
  
  <section title='A and B bit usage'>
	<t>TYPE = Router Solicitation
		<list style = "empty">
			<t>A: Not Used</t>
			<t>B: Not Used</t>
		</list>
	</t>
	
	<t>TYPE = Router Advertisement
		<list style = "empty">
			<t>A: Reachable Time Compression: <list style="empty">
					<t>1: Reachable time field elided. Assume reachable time is zero.</t>
					<t>0: Reachable time field inlined.</t>
			</list></t>
		
			<t>B: Retrans Time Compression: <list style="empty">
					<t>1: Retrans time field elided. Assume retrans time is zero.</t>
					<t>0: Retrans time field inlined.</t>
				</list></t>
		</list>
	</t>
  
  	<t>TYPE = Neighbor Solicitation or Neighbor Advertisement. In this case A and B are combined to form a 2-bit field AB:
		<list style = "empty">
			<t>00: No changes to TARGET ADDRESS field, included in-line. </t>
			<t>01: TARGET ADDRESS field is elided. Target address is same as destination IPv6 address from IPv6 Header. </t>
			<t>10: TARGET ADDRESS field is elided. Target address is same as source IPv6 address from IPv6 Header. </t>
			<t>11: Reserved. </t>
		</list>
	</t>
	
	<t>TYPE = Redirect
		<list style = "empty">
			<t>A: TARGET ADDRESS field compression: <list style="empty">
					<t>1: Target address field elided, assume target address is same as destination address field.</t>
					<t>0: Target address field inlined.</t>
				</list></t>
			<t>B: Not used </t>
		</list>
	</t>
  </section>
  
  </section> 
  
  </section>
  
  <section title='LOWPAN_ICMPOC Encoding'>
  <t>As mentioned option compression is only possible with NON-GENERIC ICMPHC format.</t>
  
  <t>The option compression format is as follows:  </t>
  
  <figure><artwork>
    0   1   2   3   4   5   6   7   
  +---+---+---+---+---+---+---+---+
  |   OPTTYPE     | H | I | J | K |
  +---+---+---+---+---+---+---+---+
  </artwork></figure>
  
  <t>OPTTYPE is the OPTION TYPE. Defined values are:
	<list style = "empty">
			<t>0000: Reserved</t>
			<t>0001: Source Link-layer Address (RFC4861)</t>
			<t>0010: Target Link-layer Address (RFC4861)</t>
			<t>0011: Prefix Information (RFC4861)</t>
			<t>0100: Redirected Header (RFC4861)</t>
			<t>0101: MTU (RFC4861)</t>
			<t>0110: Address Registration (6lowpan-nd)</t>
			<t>0111: 6LoWPAN Context (6lowpan-nd)</t>
			<t>1000: Authoritative Border Router (6lowpan-nd)</t>
		</list>
  </t>
  
  <t>H: Depends on the OPTTYPE Field</t>
  <t>I: Depends on the OPTTYPE Field</t>
  <t>J: Depends on the OPTTYPE Field</t>
  <t>K: Depends on the OPTTYPE Field</t>
  
  <section title='HIJK Usage'>
  
  <t>OPTTYPE = Source Link-Layer Address or Target Link-Layer Address.
  
  	<list style = "empty">
			<t>HI: L2 Address Source: <list style="empty">
			   <t>00: L2 Address and Address Length Inline</t>
			   <t>01: L2 Address taken from L2 Source </t>
			   <t>10: L2 Address taken from L2 Dest</t>			
			</list></t>
			<t>J: Length Compression: <list style="empty">
				<t>0: Disabled</t>
				<t>1: Enabled (only valid if HI = 00). Length compression removes any
				      trailing zeros from the option, to a maximum of 15. It then splits
					  the 'length' field up into two nibbles, and writes the number of trailing
					  zeros removed in the upper nibble of the length field.</t>
			</list></t>
			
			<t>K: Not used</t>
	</list>
  </t>
  
  <t>OPTTYPE = Prefix Information
  
  	<list style = "empty">
			<t>H: On-Link/Autoconfiguration Flag Compression: <list style="empty">
				<t>1: 'L', 'A', and 6 bits of reserved space elided. When reconstructing option set L=0, A=1</t>
				<t>0: 'L', 'A', and 6 bits of reserved space inlined</t>			
			</list></t>
			
			<t>I: Valid Lifetime Compression: <list style="empty">
				<t>1: Valid lifetime elided, assumed to be infinite (0xFFFFFFFF)</t>
				<t>0: Valid Lifetime inlined</t>
			</list></t>
			
			<t>J: Preferred Lifetime Compression: <list style="empty">
				<t>1: Preferred lifetime elided, assumed to be infinite (0xFFFFFFFF)</t>
				<t>0: Preferred Lifetime inlined</t>
			</list></t>
			
			<t>K: Prefix length compression <list style="empty">
				<t>1: Prefix length is elided, assumed to be 64 bits</t>
				<t>0: Prefix length inlined</t>
			</list></t>

	</list>
  </t>
  
  
  <t>OPTTYPE = Redirected Header

	<list style="empty">
				<t>H: Not Used</t>
				<t>I: Not Used</t>
				<t>J: Not Used</t>
				<t>K: Not Used</t>
	</list>
  </t>
  
  <t>OPTTYPE = MTU
		<list style="empty">
				<t>H: MTU Compression: <list style="empty">
					<t>1: MTU is 1260</t>
					<t>0: MTU is contained in next two bytes</t>
				</list></t>
				<t>I: Not Used</t>
				<t>J: Not Used</t>
				<t>K: Not Used</t>
		</list>
  </t>
  
  <t>OPTTYPE = Address Registration
	<list style="empty">
				 <t>H: EUI64 Compression: <list style="empty">
					<t>1: EUI64 Elided, copy from destination L2 Address</t>
					<t>0: EUI64 Inlined</t>
				</list></t>
				<t>I: Registered Address Compression: <list style="empty">
					<t>1: Registered address elided, take from NA or NS TARGET address</t>
					<t>0: Registered address inlined</t>
				</list></t>
				<t>J: Registered Address Present Flag: <list style="empty">
					<t>1: Registered address present, so length field is 4</t>
					<t>0: Registered address not present, so length field is 2</t>
				</list></t>
				<t>K: Not Used</t>
	</list>
	</t>
	
	<t>OPTTYPE = 6LoWPAN Context
		<list style="empty">
				<t>H: Context Length Compression: <list style="empty">
					<t>1: Context length is elided, assumed to be 64</t>
					<t>0: Context length is inlined</t>
				</list></t>
				
				<t>I: Not Used</t>
				<t>J: Not Used</t>
				<t>K: Not Used</t>
		</list>
	</t>
	
	<t>OPTTYPE = Authorative Boarder Router
	<list style="empty">
					<t>H: Not Used</t>
					<t>I: Not Used</t>
					<t>J: Not Used</t>
					<t>K: Not Used</t>
				</list>
	</t>
  </section>
 
  
  </section>
  
  <section anchor="examples" title='Examples of Compressed/Uncompressed ICMPv6 Messages'>
  
	<section title='RFC2463 Messages'>
  
		<section title='Destination Unreachable Message'>
  <figure><preamble>Uncompressed</preamble><artwork>
   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
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |     Type      |     Code      |          Checksum             |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |                             Unused                            |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |                    As much of invoking packet                 |
  +                as will fit without the ICMPv6 packet          +
  |                exceeding the minimum IPv6 MTU [IPv6]          |
  </artwork></figure>
  
  <figure><preamble>Compressed: 4 Octet Savings </preamble><artwork>
   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
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |1 1 1 1 1 1 1 1|     Type      |          Checksum             |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |                    As much of invoking packet                 |
  +                as will fit without the ICMPv6 packet          +
  |                exceeding the minimum IPv6 MTU [IPv6]          |
  </artwork></figure> 
		</section>


		<section title='Time Exceeded Message'>
  <figure><preamble>Uncompressed</preamble><artwork>
   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
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |     Type      |     Code      |          Checksum             |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |                             Unused                            |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |                    As much of invoking packet                 |
  +                as will fit without the ICMPv6 packet          +
  |                exceeding the minimum IPv6 MTU [IPv6]          |
  </artwork></figure>
  
  <figure><preamble>Compressed: 4 Octet Savings</preamble><artwork>
   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
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |1 1 1 1 1 1 1 1|     Type      |          Checksum             |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |                    As much of invoking packet                 |
  +                as will fit without the ICMPv6 packet          +
  |                exceeding the minimum IPv6 MTU [IPv6]          |
  </artwork></figure> 
		</section>

	</section>


	<section title='RFC4861 Messages'>
		<section title='Router Solcitation Message'>
  <figure><preamble>Uncompressed</preamble><artwork>
   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
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |     Type      |     Code      |          Checksum             |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |                            Reserved                           |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |   Options ...
  +-+-+-+-+-+-+-+-+-+-+-+-

  </artwork></figure>
  
  <figure><preamble>Compressed with GENERIC: 4 Octect Savings </preamble><artwork>
   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
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |1 1 1 1 1 1 1 1|      Type     |          Checksum             |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |   Options ...
  +-+-+-+-+-+-+-+-+-+-+-+-
  </artwork></figure> 
  
  <figure><preamble>Compressed with NON-GENERIC: 4 Octect Savings </preamble><artwork>
   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
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |1 1 1 1 1 0 0 0 0 0 1 0 0 X X X|          Checksum             |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |   Options ...
  +-+-+-+-+-+-+-+-+-+-+-+-
  </artwork></figure> 
		</section>	
		
		
		<section title='Router Advertisement Message'>
		<t>Maximum Saving: 8 Octets. Minimum Saving: 0 Octets.</t>
  <figure><preamble>Uncompressed</preamble><artwork>
   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
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |     Type      |     Code      |          Checksum             |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  | Cur Hop Limit |M|O|  Reserved |       Router Lifetime         |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |                         Reachable Time                        |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |                          Retrans Timer                        |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |   Options ...
  +-+-+-+-+-+-+-+-+-+-+-+-
  </artwork></figure>
  
  <figure><preamble>Compressed: 8 Octet Savings</preamble><artwork>
   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
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |1 1 1 1 1 0 0 0 0 1 0 1 1 X X X|          Checksum             |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  | Cur Hop Limit |M|O|  Reserved |       Router Lifetime         |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |   Options ...
  +-+-+-+-+-+-+-+-+-+-+-+-

  </artwork></figure> 
		</section>	
		
		<section title='Neighbor Solicitation Message'>
		<t>Uses NON-GENERIC header compression. Maximum Saving: 20 Octets. Minimum Saving: 4 Octets</t>
  <figure><preamble>Uncompressed</preamble><artwork>
   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
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |     Type      |     Code      |          Checksum             |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |                           Reserved                            |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |                                                               |
  +                                                               +
  |                                                               |
  +                       Target Address                          +
  |                                                               |
  +                                                               +
  |                                                               |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |   Options ...
  +-+-+-+-+-+-+-+-+-+-+-+-
	 
  </artwork></figure>
  
  
  <figure><preamble>Compressed: 4 Octet Saving</preamble><artwork>
   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
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |1 1 1 1 1 0 0 0 0 1 1 0 0 X X X|          Checksum             |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |                                                               |
  +                                                               +
  |                                                               |
  +                       Target Address                          +
  |                                                               |
  +                                                               +
  |                                                               |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |   Options ...
  +-+-+-+-+-+-+-+-+-+-+-+-
  </artwork></figure> 
  
  <figure><preamble>Compressed: 20 Octet Saving</preamble><artwork>
   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
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |1 1 1 1 1 0 0 0 0 1 1 0 1 X X X|          Checksum             |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |   Options ...
  +-+-+-+-+-+-+-+-+-+-+-+-
  </artwork></figure> 
		</section>	


		<section title='Neighbor Advertisement Message'>
		<t>Uses NON-GENERIC header compression. Maximum Saving: 19 Octets. Minimum Saving: 3 Octets</t>
  <figure><preamble>Uncompressed</preamble><artwork>
   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
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |     Type      |     Code      |          Checksum             |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |R|S|O|                     Reserved                            |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |                                                               |
  +                                                               +
  |                                                               |
  +                       Target Address                          +
  |                                                               |
  +                                                               +
  |                                                               |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |   Options ...
  +-+-+-+-+-+-+-+-+-+-+-+-

  </artwork></figure>
  
  <figure><preamble>Compressed: 3 Octet Saving </preamble><artwork>
   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
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |1 1 1 1 1 0 0 0 1 0 0 0 0 X X X|          Checksum             |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |R|S|O| Reserved|                                               |
  +-+-+-+-+-+-+-+-+                                               |
  |                                                               |
  +                                                               +
  |                  Target Address                               |
  +                                                               +
  |                                                               |
  +               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |               | Options ...
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  </artwork></figure> 
  
  <figure><preamble>Compressed: 19 Octet Saving </preamble><artwork>
   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
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |1 1 1 1 1 0 0 0 1 0 0 1 0 X X X|          Checksum             |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |R|S|O| Reserved| Options ...                                               
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+                                               
  </artwork></figure> 
  
		</section>			

	
	</section>
	
	<section title='RFC4861 Options'>
	
		<section title='Source/Target Link-Layer Address'>
		
  <figure><preamble>Uncompressed, 8-byte L2 Address</preamble><artwork>
   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
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |     Type      |    Length = 2   |                             |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                             +
  |                    Link-Layer Address                         |
  +                                 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |                                 |                             |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                             +
  |                    Padding                                    |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  </artwork></figure> 
  
  <figure><preamble>Compressed: 15 Octet Saving </preamble><artwork>
   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
  +-+-+-+-+-+-+-+-+
  |0 0 0 1 0 1 0 0|  
  +-+-+-+-+-+-+-+-+
  </artwork></figure> 
		
  <figure><preamble>Compressed: 6 Octet Saving </preamble><artwork>
   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
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |0 0 0 1 0 0 1 0|   6   |    2    |                             |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                             +
  |                    Link-Layer Address                         |
  +                                 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |                                 |                          
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+   
  </artwork></figure> 		
		</section>
		
	<section title='Prefix Information'>
		
  <figure><preamble>Uncompressed</preamble><artwork>
   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
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |     Type      |    Length     | Prefix Length |L|A| Reserved1 |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |                         Valid Lifetime                        |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |                       Preferred Lifetime                      |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |                           Reserved2                           |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |                                                               |
  +                                                               +
  |                                                               |
  +                            Prefix                             +
  |                                                               |
  +                                                               +
  |                                                               |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  </artwork></figure> 
		

  <figure><preamble>Compressed: 7 Octet Saving (112 bit prefix)</preamble><artwork>
   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
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |0 0 1 1 0 0 0 0| Prefix Length |L|A| Reserved1 | Valid Lifetime
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
              Valid Lifetime Continued            | Pref Lifetime 
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
              Preferred Lifetime  Continued       |               |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+               +
  |                                                               |
  +                                                               +
  |                      Prefix                                   |
  +                                                               +
  |                                                               |
  +               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |               |                    
  +-+-+-+-+-+-+-+-+
  </artwork></figure> 
  
  <figure><preamble>Compressed: 22 Octet Saving (64 bit prefix)</preamble><artwork>
   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
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |0 0 1 1 1 1 1 1|                                               |
  +-+-+-+-+-+-+-+-+                                               +
  |                     Prefix                                    |
  +                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |                               |                               
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

  </artwork></figure> 
		
		</section>

		
		<section title='MTU Header'>
		
  <figure><preamble>Uncompressed</preamble><artwork>
   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
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |     Type      |    Length     |            Reserved           |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |                           MTU                                 |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

  </artwork></figure> 		
  
  <figure><preamble>Compressed: 5 Octet Saving</preamble><artwork>
   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
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |0 1 0 1 0 0 0 0|            MTU                |          
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+            
  </artwork></figure> 	
  
  <figure><preamble>Compressed: 7 Octet Saving</preamble><artwork>
   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
  +-+-+-+-+-+-+-+-+
  |0 1 0 1 1 0 0 0|         
  +-+-+-+-+-+-+-+-+       
  </artwork></figure> 
		</section>
		
		<section title='Redirect Header'>
		
  <figure><preamble>Uncompressed</preamble><artwork>
   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
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |     Type      |    Length     |            Reserved           |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |                           Reserved                            |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |                                                               |
  ~                       IP header + data                        ~
  |                                                               |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  </artwork></figure> 		
  
  <figure><preamble>Compressed: 6 Octet Saving</preamble><artwork>
   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
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |0 1 0 0 0 0 0 0|    Length     |                               |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
  |                                                               |
  ~                       IP header + data                        ~
  |                                                               |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  </artwork></figure> 	
		</section>	
	</section>
	
	<section title='6lowpan-nd Options'>
	
		<section title='Address Registration Option'>
		
  <figure><preamble>Uncompressed</preamble><artwork>
   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
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |     Type      |    Length     |    Status     |   Reserved    |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |           Reserved            |     Registration Lifetime     |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                                                               |
   +                            EUI-64                             +
   |                                                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                                                               |
   +                                                               +
   |                                                               |
   +                 Registered Address (Optional)                 +
   |                                                               |
   +                                                               +
   |                                                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  </artwork></figure> 		
  
  <figure><preamble>Compressed: 4 Octet Saving</preamble><artwork>
   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
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |0 1 1 0 0 0 X 0|    Status     |     Registration Lifetime     |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |                                                               |
  +                            EUI-64                             +
  |                                                               |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |                                                               |
  +                                                               +
  |                                                               |
  +                 Registered Address (Optional)                 +
  |                                                               |
  +                                                               +
  |                                                               |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  </artwork></figure> 	
  
  <figure><preamble>Compressed: 28 Octet Saving</preamble><artwork>
   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
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |0 1 1 0 1 1 1 0|    Status     |     Registration Lifetime     |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  </artwork></figure> 

		</section>
	
		<section title='6LoWPAN Context Prefix Option'>
		
  <figure><preamble>Uncompressed 112-bit Context</preamble><artwork>
   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
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |     Type      |     Length    |Context Length | Res |C|  CID  |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |            Reserved           |         Valid Lifetime        |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |                                                               |
  +                                                               +
  |                                                               |
  +                     Context Prefix                            +
  |                                                               |
  +                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+        
  |                               |            Padding            |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  </artwork></figure> 		
  
  <figure><preamble>Compressed 112-bit Context: 5 Octet Saving</preamble><artwork>
   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
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |0 1 1 1 0 0 0 0|Context Length | Res |C|  CID  | Valid Lifetime
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   Valid Lifetime |                                               |
  +-+-+-+-+-+-+-+-+                                               +
  |                                                               |
  +                     Context Prefix                            +
  |                                                               |
  +                                               +-+-+-+-+-+-+-+-+
  |                                               |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  </artwork></figure> 	

  <figure><preamble>Uncompressed 64-bit Context</preamble><artwork>
   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
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |     Type      |     Length    |Context Length | Res |C|  CID  |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |            Reserved           |         Valid Lifetime        |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |                                                               |
  +                    Context Prefix                             +
  |                                                               |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  </artwork></figure> 
  
  <figure><preamble>Compressed 64-bit Context: 4 Octet Saving</preamble><artwork>
   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
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |0 1 1 1 1 0 0 0| Res |C|  CID  |       Valid Lifetime          |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |                                                               |
  +                     Context Prefix                            +
  |                                                               |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  
  </artwork></figure> 	

		</section>
	
	
		<section title='Authoritive Border Router'>
		
  <figure><preamble>Uncompressed</preamble><artwork>
   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
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |     Type      |  Length = 3   |           Reserved            |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |            Reserved           |        Version Number         |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |                                                               |
  +                                                               +
  |                                                               |
  +                          6LBR Address                         +
  |                                                               |
  +                                                               +
  |                                                               |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  </artwork></figure> 
  
    <figure><preamble>Compressed: 5 Octet Saving</preamble><artwork>
   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
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |1 0 0 0 0 0 0 0|      Version Number           |               |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+               +
  |                                                               |
  +                                                               +
  |                                                               |
  +                          6LBR Address                         +
  |                                                               |
  +                                               +-+-+-+-+-+-+-+-+
  |                                               |                
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  </artwork></figure> 

		</section>
	
	
	</section>

  
  </section>

  <section title='Acknowledgements'>
  <t>
  Thanks to Zach Shelby and Daniel Gavelle for various comments.
  </t>
  </section>

   
   <section title='Security Considerations'>
	  <t> 
	  None
	  </t>
	  </section> 
	

	<section anchor="IANA" title="IANA Considerations">
	  <t>This memo includes no request to IANA.</t>

	  <t>All drafts are required to have an IANA considerations section (see
	  <xref target="I-D.narten-iana-considerations-rfc2434bis">the update of
	  RFC 2434</xref> for a guide). If the draft does not require IANA to do
	  anything, the section contains an explicit statement that this is the
	  case (as above). If there are no requirements for IANA, the section will
	  be removed during conversion into an RFC by the RFC Editor.</t>
	</section>

  </middle>

  <!--  *****BACK MATTER ***** -->

  <back>
    <!-- References split into informative and normative -->

    <!-- There are 2 ways to insert reference entries from the citation libraries:
     1. define an ENTITY at the top, and use "ampersand character"RFC2629; here (as shown)
     2. simply use a PI "less than character"?rfc include="reference.RFC.2119.xml"?> here
        (for I-Ds: include="reference.I-D.narten-iana-considerations-rfc2434bis.xml")

     Both are cited textually in the same manner: by using xref elements.
     If you use the PI option, xml2rfc will, by default, try to find included files in the same
     directory as the including file. You can also define the XML_LIBRARY environment variable
     with a value containing a set of directories to search.  These can be either in the local
     filing system or remote ones accessed by http (http://domain/dir/... ).-->

    <references title="Informative References">
      <!-- Here we use entities that we defined at the beginning. -->

	&I-D.narten-iana-considerations-rfc2434bis;
	&I-D.ietf-6lowpan-nd;

    </references>

  </back>
</rfc>
