summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/link/muxed/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/tcpip/link/muxed/BUILD')
-rw-r--r--pkg/tcpip/link/muxed/BUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkg/tcpip/link/muxed/BUILD b/pkg/tcpip/link/muxed/BUILD
new file mode 100644
index 000000000..92d2e3290
--- /dev/null
+++ b/pkg/tcpip/link/muxed/BUILD
@@ -0,0 +1,31 @@
+load("//tools/go_stateify:defs.bzl", "go_library", "go_test")
+
+package(licenses = ["notice"]) # Apache 2.0
+
+go_library(
+ name = "injectable",
+ srcs = ["injectable.go"],
+ importpath = "gvisor.googlesource.com/gvisor/pkg/tcpip/link/injectable",
+ visibility = [
+ "//visibility:public",
+ ],
+ deps = [
+ "//pkg/tcpip",
+ "//pkg/tcpip/buffer",
+ "//pkg/tcpip/stack",
+ ],
+)
+
+go_test(
+ name = "injectable_test",
+ size = "small",
+ srcs = ["injectable_test.go"],
+ embed = [":injectable"],
+ deps = [
+ "//pkg/tcpip",
+ "//pkg/tcpip/buffer",
+ "//pkg/tcpip/link/fdbased",
+ "//pkg/tcpip/network/ipv4",
+ "//pkg/tcpip/stack",
+ ],
+)