mirror of
https://github.com/golang/go
synced 2024-11-24 08:30:15 -07:00
syscall: add IPPROTO_IPV6 and IPV6_V6ONLY const to fix nacl and windows build
R=golang-dev CC=golang-dev https://golang.org/cl/2204050
This commit is contained in:
parent
6866026c45
commit
e4245f2502
@ -252,6 +252,8 @@ const (
|
||||
SO_RCVBUF
|
||||
SO_REUSEADDR
|
||||
SO_SNDBUF
|
||||
IPPROTO_IPV6
|
||||
IPV6_V6ONLY
|
||||
TCP_NODELAY
|
||||
WNOHANG
|
||||
WSTOPPED
|
||||
|
@ -307,6 +307,9 @@ const (
|
||||
SO_SNDBUF = 0x1001
|
||||
SO_UPDATE_ACCEPT_CONTEXT = 0x700b
|
||||
|
||||
IPPROTO_IPV6 = 0x29
|
||||
IPV6_V6ONLY = 0x1a
|
||||
|
||||
SOMAXCONN = 5
|
||||
|
||||
TCP_NODELAY = 1
|
||||
|
Loading…
Reference in New Issue
Block a user