Tracing IPv6 Fragment Reassembly
Tracing IPv6 Fragment Reassembly
When can the receiver deliver the packet?
6LoWPANSender
IPv6 packet: 1280 B before compression
MTU means maximum transmission unit.
Low-power radio link
127 B MAC frame bound for this IEEE 802.15.4 mode
The bound includes the MAC header and frame check sequence (FCS).
6LoWPAN reassembly endpoint
IPv6 input ← complete packet from this link only
Sender → low-power radio link → 6LoWPAN reassembly endpoint → IPv6 input
Sender
IPv6 packet: 1280 B before compression
MTU means maximum transmission unit.
Low-power radio link
127 B MAC frame bound for this IEEE 802.15.4 mode
The bound includes the MAC header and frame check sequence (FCS).
6LoWPAN reassembly endpoint
IPv6 input ← complete packet from this link only
First on the wire · schematic widths
Receiver ruler · uncompressed IPv6 coordinates
IPHC encodes the IPv6 header using suitable shared context. Its compressed wire block maps to the longer span at the start of the receiver ruler.
Sender
IPv6 packet: 1280 B before compression
MTU means maximum transmission unit.
Low-power radio link
127 B MAC frame bound for this IEEE 802.15.4 mode
The bound includes the MAC header and frame check sequence (FCS).
6LoWPAN reassembly endpoint
IPv6 input ← complete packet from this link only
First
Datagram size: 1280 B before compression · common tag
Entire IPHC header + initial data · ends at A
… Omitted fragments
Datagram size: 1280 B before compression · common tag
Offset (8-byte units): each fragment start ÷ 8
A to B · already received at prediction
Intermediate
Datagram size: 1280 B before compression · common tag
Offset (8-byte units): B ÷ 8
B to C
Final
Datagram size: 1280 B before compression · common tag
Offset (8-byte units): C ÷ 8
Starts at C
Reassembly buffer · uncompressed IPv6 coordinates
A is the end of First. B is the boundary before the missing range. C is the start of Final. A, B and C are multiples of 8 bytes.
Sender
IPv6 packet: 1280 B before compression
MTU means maximum transmission unit.
Low-power radio link
127 B MAC frame bound for this IEEE 802.15.4 mode
The bound includes the MAC header and frame check sequence (FCS).
6LoWPAN reassembly endpoint
IPv6 input ← complete packet from this link only
First on the wire · schematic widths
Reassembly buffer · uncompressed IPv6 coordinates
IPv6 input · Pending
Sender
IPv6 packet: 1280 B before compression
MTU means maximum transmission unit.
Low-power radio link
127 B MAC frame bound for this IEEE 802.15.4 mode
The bound includes the MAC header and frame check sequence (FCS).
6LoWPAN reassembly endpoint
IPv6 input ← complete packet from this link only
Main trace · Pending
First, omitted fragments and Final are still in the buffer. Intermediate remains missing.
Reassembly buffer · uncompressed IPv6 coordinates
If the missing piece never arrives before expiration
Partial buffer cleared.
IPv6 input · Empty
Sender
IPv6 packet: 1280 B before compression
MTU means maximum transmission unit.
Low-power radio link
127 B MAC frame bound for this IEEE 802.15.4 mode
The bound includes the MAC header and frame check sequence (FCS).
6LoWPAN reassembly endpoint
IPv6 input ← complete packet from this link only
Reassembly buffer · uncompressed IPv6 coordinates
Intermediate placed at B using B ÷ 8. The buffer is complete.
Compare the packet and frame limits
The example IPv6 packet uses the minimum link MTU. The illustrated radio mode has a smaller MAC frame bound.
Technical boundaries. Wire widths and the receiver ruler are schematic, and A, B and C stand for byte boundaries. The example follows one packet on the illustrated radio link, groups several fragments into the already received range and shows expiry as a separate outcome.