- Next Layer Protocol: Obtained from the IPv4 "Protocol" or the
IPv6 "Next Header" fields. This may be an individual protocol
number. These packet fields may not contain the Next Layer
Protocol due to the presence of IP extension headers, e.g., a
Routing Header, AH, ESP, Fragmentation Header, Destination
Options, Hop-by-hop options, etc. Note that the Next Layer
Protocol may not be available in the case of receipt of a packet
with an ESP header, thus a value of "OPAQUE" SHOULD be
supported..br [REQUIRED for all implementations]
NOTE: To locate the Next Layer Protocol, a system has to chain
through the packet headers checking the "Protocol" or "Next
Header" field until it encounters either one it recognizes as a
Next Layer Protocol, or until it reaches one that isn't on its
list of extension headers, or until it encounters an ESP header
that renders the Next Layer Protocol opaque. Note: The IPv6
mobility header is a possible next layer protocol.