the definitive tun offloads branch (#1704)

This commit is contained in:
Jack Doan
2026-08-21 11:57:38 -05:00
committed by GitHub
parent b8b159a486
commit edc3c5e018
111 changed files with 12830 additions and 853 deletions
+2 -3
View File
@@ -7,14 +7,13 @@ import (
"fmt"
"log/slog"
"net"
"net/netip"
"syscall"
"golang.org/x/sys/unix"
)
func NewListener(l *slog.Logger, ip netip.Addr, port int, multi bool, batch int) (Conn, error) {
return NewGenericListener(l, ip, port, multi, batch)
func NewListener(l *slog.Logger, s Settings) (Conn, error) {
return NewGenericListener(l, s)
}
func NewListenConfig(multi bool) net.ListenConfig {