2021-01-20 19:04:31 +00:00
|
|
|
/* SPDX-License-Identifier: MIT
|
|
|
|
*
|
2021-01-28 16:52:15 +00:00
|
|
|
* Copyright (C) 2017-2021 WireGuard LLC. All Rights Reserved.
|
2021-01-20 19:04:31 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
package conn
|
|
|
|
|
|
|
|
import _ "unsafe"
|
|
|
|
|
|
|
|
//TODO: replace this with net.ErrClosed for Go 1.16
|
|
|
|
|
|
|
|
//go:linkname NetErrClosed internal/poll.ErrNetClosing
|
|
|
|
var NetErrClosed error
|