derp/xdp,cmd/xdpderper: initial skeleton (#12390)
This commit introduces a userspace program for managing an experimental eBPF XDP STUN server program. derp/xdp contains the eBPF pseudo-C along with a Go pkg for loading it and exporting its metrics. cmd/xdpderper is a package main user of derp/xdp. Updates tailscale/corp#20689 Signed-off-by: Jordan Whited <jordan@tailscale.com>
This commit is contained in:
@ -56,6 +56,9 @@ for file in $(find $1 \( -name '*.go' -or -name '*.tsx' -or -name '*.ts' -not -n
|
||||
# Generated kube deepcopy funcs file starts with a Go build tag + an empty line
|
||||
header="$(head -5 $file | tail -n+3 )"
|
||||
;;
|
||||
$1/derp/xdp/bpf_bpfe*.go)
|
||||
# Generated eBPF management code
|
||||
;;
|
||||
*)
|
||||
header="$(head -2 $file)"
|
||||
;;
|
||||
|
Reference in New Issue
Block a user