gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/tcpip/sample/tun_tcp_echo/BUILD (about)

     1  load("//tools:defs.bzl", "go_binary")
     2  
     3  package(
     4      default_applicable_licenses = ["//:license"],
     5      licenses = ["notice"],
     6  )
     7  
     8  go_binary(
     9      name = "tun_tcp_echo",
    10      srcs = ["main.go"],
    11      visibility = ["//:sandbox"],
    12      deps = [
    13          "//pkg/tcpip",
    14          "//pkg/tcpip/link/fdbased",
    15          "//pkg/tcpip/link/rawfile",
    16          "//pkg/tcpip/link/tun",
    17          "//pkg/tcpip/network/arp",
    18          "//pkg/tcpip/network/ipv4",
    19          "//pkg/tcpip/network/ipv6",
    20          "//pkg/tcpip/stack",
    21          "//pkg/tcpip/transport/tcp",
    22          "//pkg/waiter",
    23      ],
    24  )