github.com/sagernet/tfo-go@v0.0.0-20231209031829-7b5343ac1dc6/tfo_bsd.go (about) 1 //go:build darwin || freebsd 2 3 package tfo 4 5 func setTFODialerFromSocket(fd uintptr) error { 6 return setTFODialer(fd) 7 } 8 9 // doConnectCanFallback returns whether err from [doConnect] indicates lack of TFO support. 10 func doConnectCanFallback(err error) bool { 11 return false 12 }