Documentation ¶
Index ¶
Constants ¶
View Source
const BPFFSPath = "/sys/fs/bpf"
Variables ¶
View Source
var ErrMapNotFound = errors.New("bpf map could not be found")
Functions ¶
func MountBPFFS ¶ added in v0.2.0
MountBPFFS executes a mount -t bpf on the supplied path
Types ¶
type BPF ¶ added in v0.2.0
type BPF struct {
// contains filtered or unexported fields
}
func (*BPF) AttachRedirector ¶ added in v0.2.0
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) DisableRedirects ¶ added in v0.1.0
func (*Server) RedirectPort ¶ added in v0.1.0
RedirectPort redirects the port from to on ingress and to from on egress.
Click to show internal directories.
Click to hide internal directories.