summaryrefslogtreecommitdiffhomepage
path: root/pkg/test/criutil/criutil.go
diff options
context:
space:
mode:
authorArthur Sfez <asfez@google.com>2020-10-16 11:55:31 -0700
committergVisor bot <gvisor-bot@google.com>2020-10-16 11:57:27 -0700
commitedc10682448af970d72b600f1e4a2aedb387ec69 (patch)
treee342045b04b1efa80f98c8c2d2b53f3976067580 /pkg/test/criutil/criutil.go
parentb491712e118fb007ebd3e7c6f51b9b511b6be5da (diff)
Enable IPv4 fragmentation for every code path.
Currently, fragmentation can only occur during WritePacket(). This enables it for WritePackets() and WriteIncludedHeaderPacket() as well. IPv4 unit tests were refactored to be consistent with the IPv6 unit tests. This removes the extraHeaderReserveLength field and the related "prependable bytes" unit tests (for both IPv4 and IPv6) because it was only testing a panic condition when the value was too low. Fixes #3796 PiperOrigin-RevId: 337550061
Diffstat (limited to 'pkg/test/criutil/criutil.go')
0 files changed, 0 insertions, 0 deletions