claude implements UDP GSO

This commit is contained in:
Jay Wren
2026-02-04 10:29:37 -05:00
parent 30db76ed79
commit 6b6a4bc1cc
9 changed files with 227 additions and 6 deletions

View File

@@ -27,6 +27,7 @@ type Conn interface {
WriteBatch(pkts []BatchPacket) (int, error)
ReloadConfig(c *config.C)
SupportsMultipleReaders() bool
SupportsGSO() bool
Close() error
}
@@ -44,6 +45,9 @@ func (NoopConn) ListenOut(_ EncReader) {
func (NoopConn) SupportsMultipleReaders() bool {
return false
}
func (NoopConn) SupportsGSO() bool {
return false
}
func (NoopConn) WriteTo(_ []byte, _ netip.AddrPort) error {
return nil
}