1
0
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:
Alex Brainman 2010-09-25 21:24:12 +10:00
parent 6866026c45
commit e4245f2502
2 changed files with 5 additions and 0 deletions

View File

@ -252,6 +252,8 @@ const (
SO_RCVBUF
SO_REUSEADDR
SO_SNDBUF
IPPROTO_IPV6
IPV6_V6ONLY
TCP_NODELAY
WNOHANG
WSTOPPED

View File

@ -307,6 +307,9 @@ const (
SO_SNDBUF = 0x1001
SO_UPDATE_ACCEPT_CONTEXT = 0x700b
IPPROTO_IPV6 = 0x29
IPV6_V6ONLY = 0x1a
SOMAXCONN = 5
TCP_NODELAY = 1