| Lower layer | Selector | Value |
ipv6 | next_header | 43 (0x2b) |
ipv6 | 8 bits of the payload after its first 16 bits when next_header = 43 (0x2b) | (any other value) |
ipv6_hopopts | next_header | 43 (0x2b) |
ipv6_hopopts | 8 bits of the payload after its first 16 bits when next_header = 43 (0x2b) | (any other value) |
ipv6_route | next_header | 43 (0x2b) |
ipv6_route | 8 bits of the payload after its first 16 bits when next_header = 43 (0x2b) | (any other value) |
ipv6_srh | next_header | 43 (0x2b) |
ipv6_srh | 8 bits of the payload after its first 16 bits when next_header = 43 (0x2b) | (any other value) |
ipv6_frag | next_header | 43 (0x2b) |
ipv6_frag | 8 bits of the payload after its first 16 bits when next_header = 43 (0x2b) | (any other value) |
ipv6_dstopts | next_header | 43 (0x2b) |
ipv6_dstopts | 8 bits of the payload after its first 16 bits when next_header = 43 (0x2b) | (any other value) |
| Field | Type | Default | Auto | Description |
next_header | uint(8) | 253 | Protocol number of the next layer (see Next layer) | Protocol number of the header following this extension header (Auto). |
hdr_ext_len | uint(8) | | Length of the header in 64-bit words (-1) | Length of this extension header in 8-octet units, not counting the first 8 octets (Auto). |
routing_type | enum(8) | 2 (mobile_ipv6) | | Routing header type (e.g. 2 = Mobile IPv6, 4 = SRH). |
segments_left | uint(8) | 1 | | Number of route segments remaining. |
data | bytes — hdr_ext_len * 8 + 4 octets | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | | Type-specific routing data. |
padding | padding(8) | | | Zero padding (Pad1) of the extension header to a multiple of 8 octets (Auto). |
| Value | Name |
| 0 (0x00) | source_route_deprecated |
| 2 (0x02) | mobile_ipv6 |
| 3 (0x03) | rpl |
| 4 (0x04) | segment_routing |
The next layer is selected by next_header; when the field is Auto the builder writes the value of the protocol stacked above.
8 bits of the payload after its first 16 bits when next_header = 43 (0x2b)
| Level | Rule |
| warning | routing_type ≠ 0 |