diff options
author | Zeling Feng <zeling@google.com> | 2020-06-26 16:42:38 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-06-26 16:43:53 -0700 |
commit | aed71839769be3106896a534b315c128ca15e46b (patch) | |
tree | 03783f47982b7e4ee274fec0086f347ba9c6964e /pkg/linewriter/linewriter_test.go | |
parent | 9cfc15497581824f1c6ba2b9f9ee653d0be0bc5a (diff) |
Packetimpact test for IPv6 unknown options action
The Option Type identifiers are internally encoded such that their
highest-order two bits specify the action that must be taken if the
processing IPv6 node does not recognize the Option Type:
00 - skip over this option and continue processing the header.
01 - discard the packet.
10 - discard the packet and, regardless of whether or not the
packet's Destination Address was a multicast address, send an
ICMP Parameter Problem, Code 2, message to the packet's
Source Address, pointing to the unrecognized Option Type.
11 - discard the packet and, only if the packet's Destination
Address was not a multicast address, send an ICMP Parameter
Problem, Code 2, message to the packet's Source Address,
pointing to the unrecognized Option Type.
PiperOrigin-RevId: 318566613
Diffstat (limited to 'pkg/linewriter/linewriter_test.go')
0 files changed, 0 insertions, 0 deletions