diff options
author | Arthur Sfez <asfez@google.com> | 2020-10-28 18:16:16 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-10-28 18:18:18 -0700 |
commit | 906f912b7c9484fd0028224a24055b887d4f84d2 (patch) | |
tree | a0dfa3cc965c7da0599f3a3185903c83f9be83b6 /test/syscalls/linux/proc_pid_smaps.cc | |
parent | b4b42a5fce4cdd134d7d28d96ae7d4862791d911 (diff) |
Add the payload directly to the ICMPv4 type
This makes handling inbound fragmented packets easier, because a fragmented
packet might not have an actual ICMP header but only a payload. After this
change, the ICMPv4 is the last layer you can get because the payload is
embedded in it.
Note that this makes it consistent with the ICMPv6 implementation.
While I'm here, I've also added the Ident and Sequence fields on the ICMPv4
type. Defaults are still zero.
PiperOrigin-RevId: 339577094
Diffstat (limited to 'test/syscalls/linux/proc_pid_smaps.cc')
0 files changed, 0 insertions, 0 deletions