Buffl

Network Transport Layer

CF
von Carmen F.

How does the 6LoWPAN fragmentation work?

The Datagram Size is 11-bit field that encodes the size of the entire IP packet before link-layer fragmentation. The

value of Datagram Size shall be the same for all link-layer fragments of an IP packet. For IPv6, this shall be 40 bytes

(the size of the uncompressed IPv6 header) more than the value of Payload Length in the IPv6 header of the

packet.

This field does not need to be in every packet, as one could send it with the first fragment and elide it

subsequently. However, including it in every link fragment eases the task of reassembly in the event that a second

(or subsequent) link fragment arrives before the first. In this case, the guarantee of learning the Datagram Size as

soon as any of the fragments arrives tells the receiver how much buffer space to set aside as it waits for the rest of

the fragments. The format above trades o simplicity for efficiency.

The value of the Datagram Tag shall be the same for all link fragments of a payload datagram. The sender shall

increment the Datagram Tag for successive, fragmented datagrams. This field is 16 bits long, and its initial value is

not defined.

The Datagram Offset field is present only in the second and subsequent link fragments and shall specify the offset,

in increments of 8 bytes, of the fragment from the beginning of the payload datagram. This field is 8 bits long. The

first octet of the datagram (e.g., the start of the IPv6 header) has an offset of zero; the implicit value of Datagram

Offset in the first link fragment is zero.

Explain and outline the 6LoWPAN fragmentation.

The Datagram Size is 11-bit field that encodes the size of the entire IP packet before link-layer fragmentation. The

value of Datagram Size shall be the same for all link-layer fragments of an IP packet. For IPv6, this shall be 40 bytes

(the size of the uncompressed IPv6 header) more than the value of Payload Length in the IPv6 header of the

packet.

This field does not need to be in every packet, as one could send it with the first fragment and elide it

subsequently. However, including it in every link fragment eases the task of reassembly in the event that a second

(or subsequent) link fragment arrives before the first. In this case, the guarantee of learning the Datagram Size as

soon as any of the fragments arrives tells the receiver how much buffer space to set aside as it waits for the rest of

the fragments. The format above trades o simplicity for efficiency.

The value of the Datagram Tag shall be the same for all link fragments of a payload datagram. The sender shall

increment the Datagram Tag for successive, fragmented datagrams. This field is 16 bits long, and its initial value is

not defined.

The Datagram Offset field is present only in the second and subsequent link fragments and shall specify the offset,

in increments of 8 bytes, of the fragment from the beginning of the payload datagram. This field is 8 bits long. The

first octet of the datagram (e.g., the start of the IPv6 header) has an offset of zero; the implicit value of Datagram

Offset in the first link fragment is zero.

Author

Carmen F.

Informationen

Zuletzt geändert