gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/tools/xdp/cmd/bpf/BUILD (about) 1 load("//tools:defs.bzl", "bpf_program") 2 3 package( 4 default_applicable_licenses = ["//:license"], 5 licenses = ["notice"], 6 ) 7 8 bpf_program( 9 name = "pass_ebpf", 10 src = "pass.ebpf.c", 11 hdrs = [], 12 bpf_object = "pass_ebpf.o", 13 visibility = ["//:sandbox"], 14 ) 15 16 bpf_program( 17 name = "drop_ebpf", 18 src = "drop.ebpf.c", 19 hdrs = [], 20 bpf_object = "drop_ebpf.o", 21 visibility = ["//:sandbox"], 22 ) 23 24 bpf_program( 25 name = "tcpdump_ebpf", 26 src = "tcpdump.ebpf.c", 27 hdrs = [], 28 bpf_object = "tcpdump_ebpf.o", 29 visibility = ["//:sandbox"], 30 ) 31 32 bpf_program( 33 name = "redirect_host_ebpf", 34 src = "redirect_host.ebpf.c", 35 hdrs = [], 36 bpf_object = "redirect_host_ebpf.o", 37 visibility = ["//:sandbox"], 38 ) 39 40 bpf_program( 41 name = "tunnel_host_ebpf", 42 src = "tunnel_host.ebpf.c", 43 hdrs = [], 44 bpf_object = "tunnel_host_ebpf.o", 45 visibility = ["//:sandbox"], 46 )