detect kernel GSO support

This commit is contained in:
Marten Seemann
2023-07-30 16:31:30 -04:00
parent 4122eb7a7d
commit 3a3169551b
7 changed files with 30 additions and 7 deletions

View File

@@ -5,5 +5,5 @@ package quic
func forceSetReceiveBuffer(c any, bytes int) error { return nil }
func forceSetSendBuffer(c any, bytes int) error { return nil }
func appendUDPSegmentSizeMsg(_ []byte, _ uint16) []byte { return nil }
func isGSOError(error) bool { return false }
func appendUDPSegmentSizeMsg([]byte, uint16) []byte { return nil }
func isGSOError(error) bool { return false }