1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
load("//tools:defs.bzl", "go_library")
load("//tools/go_generics:defs.bzl", "go_template_instance")
package(
default_visibility = ["//:sandbox"],
licenses = ["notice"],
)
go_template_instance(
name = "atomicptr_netns",
out = "atomicptr_netns_unsafe.go",
package = "inet",
prefix = "Namespace",
template = "//pkg/sync/atomicptr:generic_atomicptr",
types = {
"Value": "Namespace",
},
)
go_library(
name = "inet",
srcs = [
"atomicptr_netns_unsafe.go",
"context.go",
"inet.go",
"namespace.go",
"test_stack.go",
],
deps = [
"//pkg/context",
"//pkg/tcpip",
"//pkg/tcpip/stack",
],
)
|