github.com/sagernet/quic-go@v0.43.1-beta.1/ech/sys_conn_df.go (about) 1 //go:build !linux && !windows && !darwin 2 3 package quic 4 5 import ( 6 "syscall" 7 ) 8 9 func setDF(syscall.RawConn) (bool, error) { 10 // no-op on unsupported platforms 11 return false, nil 12 } 13 14 func isSendMsgSizeErr(err error) bool { 15 // to be implemented for more specific platforms 16 return false 17 } 18 19 func isRecvMsgSizeErr(err error) bool { 20 // to be implemented for more specific platforms 21 return false 22 }