summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/syscalls/syscalls_state_autogen.go
diff options
context:
space:
mode:
authorSam Balana <sbalana@google.com>2021-05-26 14:14:07 -0700
committergVisor bot <gvisor-bot@google.com>2021-05-26 14:16:40 -0700
commit522ae2dd1f3c0d5aea52a9883cc1319e3b1ebce4 (patch)
treed0f6681e6e6d2fd500e04360c225c6d2af198d04 /pkg/sentry/syscalls/syscalls_state_autogen.go
parentb6f9158424c9f5b8a141e468e22fd12bc4dfc447 (diff)
Specify subsequent layers as ICMP payloads and add ICMPv6.Pointer
Moves specification of subsequent layers to the Payload field of the ICMP and ICMPv6 layers. Removes the need to manually encode type-specific ICMP or ICMPv6 headers, such as the "pointer" header of parameter problem messages, in the payload. This is necessary prework to enable matching of more type-specific headers, such as "ident" of echo requests. Fixes a bug where the "reserved" header defined by ICMPv6 RFC 4443 was being incorrectly encoded by ToBytes. This change fixes the implementation by copying the payload into Payload, instead of the MessageBody. PiperOrigin-RevId: 376026420
Diffstat (limited to 'pkg/sentry/syscalls/syscalls_state_autogen.go')
0 files changed, 0 insertions, 0 deletions