Versions in this module Expand all Collapse all v0 v0.44.0 Dec 3, 2026 Changes in this version + const DefaultInterval — linux/amd64 + var ErrLegacyMalformed = errors.New("malformed table") — linux/amd64 + type Config struct — linux/amd64 + InNetns func(func() error) error + Interval time.Duration + Open bool + PolicyEnabled bool + type Guard struct — linux/amd64 + func New(cfg Config, logger *slog.Logger) *Guard + func (g *Guard) Add(paths ...Path) + func (g *Guard) Blocked() []api.ForwardingBlocked + func (g *Guard) Close() error + func (g *Guard) Remove(paths ...Path) + func (g *Guard) Run(ctx context.Context) error + type Path struct + ID string + In string + Kind string + Out string + type Paths interface + Add func(paths ...Path) + Remove func(paths ...Path)