github.com/TugasAkhir-QUIC/quic-go@v0.0.2-0.20240215011318-d20e25a9054c/sys_conn_helper_nonlinux.go (about)

     1  //go:build !linux
     2  
     3  package quic
     4  
     5  func forceSetReceiveBuffer(c any, bytes int) error { return nil }
     6  func forceSetSendBuffer(c any, bytes int) error    { return nil }
     7  
     8  func appendUDPSegmentSizeMsg([]byte, uint16) []byte { return nil }
     9  func isGSOError(error) bool                         { return false }
    10  func isPermissionError(err error) bool              { return false }