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

     1  load("//tools:defs.bzl", "go_library", "go_test")
     2  
     3  package(
     4      default_applicable_licenses = ["//:license"],
     5      licenses = ["notice"],
     6  )
     7  
     8  go_library(
     9      name = "packetsocket",
    10      srcs = ["packetsocket.go"],
    11      visibility = ["//visibility:public"],
    12      deps = [
    13          "//pkg/tcpip",
    14          "//pkg/tcpip/link/nested",
    15          "//pkg/tcpip/stack",
    16      ],
    17  )
    18  
    19  go_test(
    20      name = "packetsocket_x_test",
    21      size = "small",
    22      srcs = ["packetsocket_test.go"],
    23      deps = [
    24          ":packetsocket",
    25          "//pkg/refs",
    26          "//pkg/tcpip",
    27          "//pkg/tcpip/header",
    28          "//pkg/tcpip/stack",
    29      ],
    30  )