mirror of
https://github.com/qdm12/gluetun.git
synced 2026-05-07 12:30:11 +02:00
5f903d1fbf
- syscall is deprecated and is not kept up-to-date - each OS is inherently different hence the syscall being deprecated
14 lines
305 B
Go
14 lines
305 B
Go
package constants
|
|
|
|
import "golang.org/x/sys/windows"
|
|
|
|
const (
|
|
SOCK_RAW = windows.SOCK_RAW
|
|
SOCK_STREAM = windows.SOCK_STREAM
|
|
AF_INET = windows.AF_INET
|
|
AF_INET6 = windows.AF_INET6
|
|
IPPROTO_TCP = windows.IPPROTO_TCP
|
|
EAGAIN = windows.WSAEWOULDBLOCK
|
|
EWOULDBLOCK = windows.WSAEWOULDBLOCK
|
|
)
|