summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/network/fragmentation/BUILD
diff options
context:
space:
mode:
authorArthur Sfez <asfez@google.com>2020-10-06 13:55:02 -0700
committergVisor bot <gvisor-bot@google.com>2020-10-06 14:03:39 -0700
commit99bf022c2aeff35e48d9201406f85f501405c083 (patch)
tree45c122790e181764524705a68ca2d0ab01ae7a63 /pkg/tcpip/network/fragmentation/BUILD
parentb761330ca7bd5e956e3b90b4202ff0c3ea892750 (diff)
Add support for IPv6 fragmentation
Most of the IPv4 fragmentation code was moved in the fragmentation package and it is reused by IPv6 fragmentation. Test: - pkg/tcpip/network/ipv4:ipv4_test - pkg/tcpip/network/ipv6:ipv6_test - pkg/tcpip/network/fragmentation:fragmentation_test Fixes #4389 PiperOrigin-RevId: 335714280
Diffstat (limited to 'pkg/tcpip/network/fragmentation/BUILD')
-rw-r--r--pkg/tcpip/network/fragmentation/BUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/tcpip/network/fragmentation/BUILD b/pkg/tcpip/network/fragmentation/BUILD
index e247f06a4..47fb63290 100644
--- a/pkg/tcpip/network/fragmentation/BUILD
+++ b/pkg/tcpip/network/fragmentation/BUILD
@@ -29,6 +29,8 @@ go_library(
"//pkg/sync",
"//pkg/tcpip",
"//pkg/tcpip/buffer",
+ "//pkg/tcpip/header",
+ "//pkg/tcpip/stack",
],
)
@@ -44,5 +46,7 @@ go_test(
deps = [
"//pkg/tcpip/buffer",
"//pkg/tcpip/faketime",
+ "//pkg/tcpip/network/testutil",
+ "@com_github_google_go_cmp//cmp:go_default_library",
],
)