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-20250702182429-85e76111eb28 (latest)
- Published
- Jul 2, 2025
- Platform
- linux/amd64
- Imports
- 1 packages
- Last checked
- 11 hours ago –
Tools for package owners.