Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

IPv6 Destination Options (ipv6_dstopts)

  • Layer: L3 (network)
  • Header: variable length

Reached from

Lower layerSelectorValue
ipv6next_header60 (0x3c)
ipv6_hopoptsnext_header60 (0x3c)
ipv6_routenext_header60 (0x3c)
ipv6_srhnext_header60 (0x3c)
ipv6_fragnext_header60 (0x3c)
ipv6_dstoptsnext_header60 (0x3c)

Fields

FieldTypeDefaultAutoDescription
next_headeruint(8)253Protocol number of the next layer (see Next layer)Protocol number of the header following this extension header (Auto).
hdr_ext_lenuint(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).
optionsbytes — hdr_ext_len * 8 + 6 octets01 04 00 00 00 00Raw TLV options, padded to a multiple of 8 bytes.
paddingpadding(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.

ValueProtocolNote
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)

ValueProtocol
4 (0x04)ipv6_srh
(any other value)ipv6_route

Sample templates