gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/tcpip/network/ipv6/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 = "ipv6", 10 srcs = [ 11 "dhcpv6configurationfromndpra_string.go", 12 "icmp.go", 13 "ipv6.go", 14 "mld.go", 15 "ndp.go", 16 "stats.go", 17 ], 18 visibility = ["//visibility:public"], 19 deps = [ 20 "//pkg/atomicbitops", 21 "//pkg/buffer", 22 "//pkg/sync", 23 "//pkg/tcpip", 24 "//pkg/tcpip/header", 25 "//pkg/tcpip/header/parse", 26 "//pkg/tcpip/network/internal/fragmentation", 27 "//pkg/tcpip/network/internal/ip", 28 "//pkg/tcpip/network/internal/multicast", 29 "//pkg/tcpip/stack", 30 ], 31 ) 32 33 go_test( 34 name = "ipv6_test", 35 size = "small", 36 srcs = [ 37 "icmp_test.go", 38 "ipv6_test.go", 39 "main_test.go", 40 "ndp_test.go", 41 ], 42 library = ":ipv6", 43 deps = [ 44 "//pkg/buffer", 45 "//pkg/refs", 46 "//pkg/sync", 47 "//pkg/tcpip", 48 "//pkg/tcpip/checker", 49 "//pkg/tcpip/checksum", 50 "//pkg/tcpip/faketime", 51 "//pkg/tcpip/header", 52 "//pkg/tcpip/link/channel", 53 "//pkg/tcpip/link/sniffer", 54 "//pkg/tcpip/network/internal/testutil", 55 "//pkg/tcpip/prependable", 56 "//pkg/tcpip/stack", 57 "//pkg/tcpip/testutil", 58 "//pkg/tcpip/transport/icmp", 59 "//pkg/tcpip/transport/tcp", 60 "//pkg/tcpip/transport/udp", 61 "//pkg/waiter", 62 "@com_github_google_go_cmp//cmp:go_default_library", 63 "@org_golang_x_time//rate:go_default_library", 64 ], 65 ) 66 67 go_test( 68 name = "ipv6_x_test", 69 size = "small", 70 srcs = ["mld_test.go"], 71 deps = [ 72 ":ipv6", 73 "//pkg/buffer", 74 "//pkg/refs", 75 "//pkg/tcpip", 76 "//pkg/tcpip/checker", 77 "//pkg/tcpip/faketime", 78 "//pkg/tcpip/header", 79 "//pkg/tcpip/link/channel", 80 "//pkg/tcpip/network/internal/testutil", 81 "//pkg/tcpip/stack", 82 "//pkg/tcpip/testutil", 83 ], 84 )