uquic/sys_conn_df.go
Marten Seemann 2bcfe5bc4b
check for WSAEMSGSIZE errors when receiving UDP packets on Windows (#3982)
* check for WSAEMSGSIZE errors when receiving UDP packets on Windows

* check EMSGSIZE error on macOS
2023-07-20 20:31:57 -07:00

22 lines
393 B
Go

//go:build !linux && !windows && !darwin
package quic
import (
"syscall"
)
func setDF(syscall.RawConn) (bool, error) {
// no-op on unsupported platforms
return false, nil
}
func isSendMsgSizeErr(err error) bool {
// to be implemented for more specific platforms
return false
}
func isRecvMsgSizeErr(err error) bool {
// to be implemented for more specific platforms
return false
}