2020-06-22 17:30:21 +00:00
|
|
|
load("//tools:defs.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
package(licenses = ["notice"])
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "nested",
|
|
|
|
srcs = [
|
|
|
|
"nested.go",
|
|
|
|
],
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
|
|
|
"//pkg/sync",
|
|
|
|
"//pkg/tcpip",
|
2020-07-15 21:13:42 +00:00
|
|
|
"//pkg/tcpip/header",
|
2020-06-22 17:30:21 +00:00
|
|
|
"//pkg/tcpip/stack",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "nested_test",
|
|
|
|
size = "small",
|
|
|
|
srcs = [
|
|
|
|
"nested_test.go",
|
|
|
|
],
|
|
|
|
deps = [
|
|
|
|
"//pkg/tcpip",
|
|
|
|
"//pkg/tcpip/header",
|
|
|
|
"//pkg/tcpip/link/nested",
|
|
|
|
"//pkg/tcpip/stack",
|
|
|
|
],
|
|
|
|
)
|