package bpf
import "gvisor.dev/gvisor/runsc/sandbox/bpf"
Package bpf provides compiled bpf programs as byte slices.
Index ¶
Variables ¶
var AFXDPProgram []byte
AFXDPProgram is a BPF program that, when attached to a device, redirects all packets to a single AF_XDP socket unconditionally.
var TunnelVethProgram []byte
TunnelVethProgram is a BPF program that redirects all packets to exit via another device.
Source Files ¶
bpf.go
- Version
- v0.0.0-20250729203525-997ce5dbecff (latest)
- Published
- Jul 29, 2025
- Platform
- linux/amd64
- Imports
- 1 packages
- Last checked
- 49 minutes ago –
Tools for package owners.