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
+28
View File
@@ -0,0 +1,28 @@
//go:build !linux
package restrictednet
import (
"context"
"net/netip"
)
func closeFD(fd int) {
panic("not implemented")
}
func newTCPSockStream(family int) (fd int, err error) {
panic("not implemented")
}
func bindFD(fd int, address netip.AddrPort) error {
panic("not implemented")
}
func connectFD(ctx context.Context, fd int, destination netip.AddrPort) error {
panic("not implemented")
}
func fdToSourceAddr(fd int) (sourceAddrPort netip.AddrPort, err error) {
panic("not implemented")
}