IPv6 Destination Options (ipv6_dstopts)
- Layer: L3 (network)
- Header: variable length
Reached from
| Lower layer | Selector | Value |
|---|---|---|
ipv6 | next_header | 60 (0x3c) |
ipv6_hopopts | next_header | 60 (0x3c) |
ipv6_route | next_header | 60 (0x3c) |
ipv6_srh | next_header | 60 (0x3c) |
ipv6_frag | next_header | 60 (0x3c) |
ipv6_dstopts | next_header | 60 (0x3c) |
Fields
| 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). | |
options | bytes — hdr_ext_len * 8 + 6 octets | 01 04 00 00 00 00 | Raw TLV options, padded to a multiple of 8 bytes. | |
padding | padding(8) | Zero padding (Pad1) of the extension header to a multiple of 8 octets (Auto). |
Next layer
The next layer is selected by next_header; when the field is Auto the builder writes the value of the protocol stacked above.
| Value | Protocol | Note |
|---|---|---|
| 0 (0x00) | ipv6_hopopts | |
| 4 (0x04) | ipv4 | |
| 6 (0x06) | tcp | |
| 17 (0x11) | udp | |
| 41 (0x29) | ipv6 | |
| 43 (0x2b) | ipv6_route | |
| 44 (0x2c) | ipv6_frag | |
| 46 (0x2e) | rsvp | |
| 47 (0x2f) | gre | |
| 58 (0x3a) | icmpv6 | |
| 60 (0x3c) | ipv6_dstopts | |
| 88 (0x58) | eigrp | |
| 89 (0x59) | ospfv3 | |
| 112 (0x70) | vrrpv3_ipv6 | |
| 115 (0x73) | l2tpv3 | |
| 132 (0x84) | sctp | |
| 143 (0x8f) | ethernet2 |
8 bits of the payload after its first 16 bits when next_header = 43 (0x2b)
| Value | Protocol |
|---|---|
| 4 (0x04) | ipv6_srh |
| (any other value) | ipv6_route |
Sample templates
- ipv6-dstopts —
templates/protocols/l3/ipv6-dstopts.wpg.yaml - ipv6-ext-chain —
templates/protocols/l3/ipv6-ext-chain.wpg.yaml