chore(restrictednet): internal/restrictednet package (#3361)

This commit is contained in:
Quentin McGaw
2026-07-19 10:06:48 -04:00
committed by GitHub
parent 03d0838356
commit 78f6076c83
17 changed files with 1009 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
package restrictednet
import (
"context"
"net/netip"
)
type Firewall interface {
AcceptOutputFromIPPortToIPPort(ctx context.Context,
protocol, intf string, source, destination netip.AddrPort, remove bool,
) error
}