gvisor/test/packetimpact/testbench
Eyal Soha 1bcc2bf17f Refactor connections.go to make it easier to add new connection types.
Rather than have a struct for the state of each type of connection, such as
TCP/IPv4, UDP/IPv4, TCP/IPv6, etc, have a state for each layer, such as UDP,
TCP, IPv4, IPv6.  Those states can be composed into connections.

Tested:
  Existing unit tests still pass/fail as expected.
PiperOrigin-RevId: 306703180
2020-04-15 13:01:11 -07:00
..
BUILD Dereference pointers in Layer's Stringer impl 2020-04-08 23:30:09 -07:00
connections.go Refactor connections.go to make it easier to add new connection types. 2020-04-15 13:01:11 -07:00
dut.go Test TCP sender behavior against window shrinking 2020-04-07 17:49:21 -07:00
dut_client.go Packetimpact in Go with c++ stub 2020-03-17 08:53:27 -07:00
layers.go Refactor connections.go to make it easier to add new connection types. 2020-04-15 13:01:11 -07:00
layers_test.go Dereference pointers in Layer's Stringer impl 2020-04-08 23:30:09 -07:00
rawsockets.go Refactor connections.go to make it easier to add new connection types. 2020-04-15 13:01:11 -07:00