github.com/ooni/psiphon/tunnel-core@v0.0.0-20230105123940-fe12a24c96ee/oovendor/quic-go/conn_df.go (about)

     1  //go:build !linux && !windows
     2  // +build !linux,!windows
     3  
     4  package quic
     5  
     6  import "syscall"
     7  
     8  func setDF(rawConn syscall.RawConn) error {
     9  	// no-op on unsupported platforms
    10  	return nil
    11  }
    12  
    13  func isMsgSizeErr(err error) bool {
    14  	// to be implemented for more specific platforms
    15  	return false
    16  }