github.com/SagerNet/gvisor@v0.0.0-20210707092255-7731c139d75c/pkg/sentry/socket/netstack/BUILD (about) 1 load("//tools:defs.bzl", "go_library") 2 3 package(licenses = ["notice"]) 4 5 go_library( 6 name = "netstack", 7 srcs = [ 8 "device.go", 9 "netstack.go", 10 "netstack_vfs2.go", 11 "provider.go", 12 "provider_vfs2.go", 13 "save_restore.go", 14 "stack.go", 15 "tun.go", 16 ], 17 visibility = [ 18 "//pkg/sentry:internal", 19 ], 20 deps = [ 21 "//pkg/abi/linux", 22 "//pkg/abi/linux/errno", 23 "//pkg/context", 24 "//pkg/errors/linuxerr", 25 "//pkg/hostarch", 26 "//pkg/log", 27 "//pkg/marshal", 28 "//pkg/marshal/primitive", 29 "//pkg/metric", 30 "//pkg/sentry/arch", 31 "//pkg/sentry/device", 32 "//pkg/sentry/fs", 33 "//pkg/sentry/fs/fsutil", 34 "//pkg/sentry/fsimpl/sockfs", 35 "//pkg/sentry/inet", 36 "//pkg/sentry/kernel", 37 "//pkg/sentry/kernel/auth", 38 "//pkg/sentry/kernel/time", 39 "//pkg/sentry/socket", 40 "//pkg/sentry/socket/netfilter", 41 "//pkg/sentry/unimpl", 42 "//pkg/sentry/vfs", 43 "//pkg/sync", 44 "//pkg/syserr", 45 "//pkg/syserror", 46 "//pkg/tcpip", 47 "//pkg/tcpip/header", 48 "//pkg/tcpip/link/tun", 49 "//pkg/tcpip/network/ipv4", 50 "//pkg/tcpip/network/ipv6", 51 "//pkg/tcpip/stack", 52 "//pkg/tcpip/transport/tcp", 53 "//pkg/tcpip/transport/udp", 54 "//pkg/usermem", 55 "//pkg/waiter", 56 "@org_golang_x_sys//unix:go_default_library", 57 ], 58 )