gvisor/test/packetimpact/testbench
Tony Gong 82313667ea Make GenerateRandomPayload available to all tests
Moved the function for generating a payload of random byets of a specified
length into the testbench package so that it's availbale for all tests to use.

Added a test case to the IPv4 ID uniqueness test which uses a payload length
of 512 bytes. This test case passes for gVisor currently, whereas the test case
with a small payload of 11 bytes fails because gVisor only assigns the ID field
if the IP payload is sufficiently large.

PiperOrigin-RevId: 316185097
2020-06-12 15:07:17 -07:00
..
BUILD Automated rollback of changelist 311424257 2020-05-26 17:40:57 -07:00
connections.go Refactor packetimpact Connection types 2020-06-11 13:48:30 -07:00
dut.go Test TCP should queue RECEIVE request in SYN-SENT 2020-05-29 17:24:20 -07:00
dut_client.go Internal change. 2020-05-11 15:54:08 -07:00
layers.go Handle TCP segment split cases as per MSS. 2020-06-05 11:28:24 -07:00
layers_test.go Support TCP options for packetimpact 2020-05-18 11:31:38 -07:00
rawsockets.go Automated rollback of changelist 311424257 2020-05-26 17:40:57 -07:00
testbench.go Make GenerateRandomPayload available to all tests 2020-06-12 15:07:17 -07:00