Ipv6FragmentHeader
classFragment Header RFC 2460 Section 4.5 Next Header Value: 44
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Extends
| Name | Type | Description |
|---|---|---|
| Ipv6ExtensionHeader | class |
This serves as the base class for all the Ipv6 extension headers. |
Fields
| Name | Type | Description |
|---|---|---|
| extensionType | uint8_t | |
| byteLength | B |
byteLength = n * 8; |
| fragmentOffset | uint16_t |
@bit(13), divided by 8 |
| reserved | uint8_t |
@bit(2) |
| moreFragments | bool |
Is this the last fragment? |
| identification | uint32_t |
datagram ID: identifies which datagram this fragment belongs to. |
Source code
// // Fragment Header // RFC 2460 Section 4.5 // Next Header Value: 44 // class Ipv6FragmentHeader extends Ipv6ExtensionHeader { extensionType = IP_PROT_IPv6EXT_FRAGMENT; byteLength = IPv6_FRAGMENT_HEADER_LENGTH; uint16_t fragmentOffset; // @bit(13), divided by 8 uint8_t reserved = 0; // @bit(2) bool moreFragments; //Is this the last fragment? uint32_t identification; // datagram ID: identifies which datagram this fragment belongs to. }File: src/inet/networklayer/ipv6/Ipv6ExtensionHeaders.msg