diff options
author | Eyal Soha <eyalsoha@google.com> | 2020-04-15 12:59:58 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-04-15 13:01:11 -0700 |
commit | 1bcc2bf17f0e2ccf8e98e934cb9f9ce66711d27a (patch) | |
tree | 22c51313bec6c5d3c3695aed90bcbee137563d06 /test/runner/runner.go | |
parent | 7c13546d3b6fff7ce507fae6d0435e0082dc20ba (diff) |
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
Diffstat (limited to 'test/runner/runner.go')
0 files changed, 0 insertions, 0 deletions