diff options
author | Arthur Sfez <asfez@google.com> | 2020-09-15 14:47:34 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-09-15 14:49:29 -0700 |
commit | 72a30b11486b48394fa0edca500b80e4ca83b10c (patch) | |
tree | aa98e6266cc85773ddf7c1653c16606b87a27149 /pkg/tcpip/network/ipv4/BUILD | |
parent | 7f89a26e18edfe4335eaab965fb7a03eaebb2682 (diff) |
Move reusable IPv4 test code into a testutil module and refactor it
The refactor aims to simplify the package, by replacing the Go channel with a
PacketBuffer slice.
This code will be reused by tests for IPv6 fragmentation.
PiperOrigin-RevId: 331860411
Diffstat (limited to 'pkg/tcpip/network/ipv4/BUILD')
-rw-r--r-- | pkg/tcpip/network/ipv4/BUILD | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/tcpip/network/ipv4/BUILD b/pkg/tcpip/network/ipv4/BUILD index d142b4ffa..c82593e71 100644 --- a/pkg/tcpip/network/ipv4/BUILD +++ b/pkg/tcpip/network/ipv4/BUILD @@ -30,6 +30,7 @@ go_test( "//pkg/tcpip/link/channel", "//pkg/tcpip/link/sniffer", "//pkg/tcpip/network/ipv4", + "//pkg/tcpip/network/testutil", "//pkg/tcpip/stack", "//pkg/tcpip/transport/tcp", "//pkg/tcpip/transport/udp", |