2018-07-09 21:03:03 +00:00
|
|
|
package(licenses = ["notice"]) # Apache 2.0
|
2018-04-27 17:37:02 +00:00
|
|
|
|
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_binary")
|
|
|
|
|
|
|
|
go_binary(
|
|
|
|
name = "tun_tcp_echo",
|
|
|
|
srcs = ["main.go"],
|
|
|
|
deps = [
|
|
|
|
"//pkg/tcpip",
|
|
|
|
"//pkg/tcpip/link/fdbased",
|
|
|
|
"//pkg/tcpip/link/rawfile",
|
|
|
|
"//pkg/tcpip/link/tun",
|
|
|
|
"//pkg/tcpip/network/arp",
|
|
|
|
"//pkg/tcpip/network/ipv4",
|
|
|
|
"//pkg/tcpip/network/ipv6",
|
|
|
|
"//pkg/tcpip/stack",
|
|
|
|
"//pkg/tcpip/transport/tcp",
|
|
|
|
"//pkg/waiter",
|
|
|
|
],
|
|
|
|
)
|