Implement lean "system" TCP/IP stack backend for TUN inbound

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-09-21 02:37:52 +00:00
committed by GitHub
co-authored by RPRX
parent d562d8947d
commit 05921d1755
10 changed files with 1322 additions and 4 deletions
+2 -2
View File
@@ -42,8 +42,8 @@ type stackGVisor struct {
endpoint stack.LinkEndpoint
}
// NewStack builds new ip stack (using gVisor)
func NewStack(ctx context.Context, options StackOptions, handler *Handler) (Stack, error) {
// newGVisorStack builds new ip stack (using gVisor)
func newGVisorStack(ctx context.Context, options StackOptions, handler *Handler) (Stack, error) {
gStack := &stackGVisor{
ctx: ctx,
tun: options.Tun,