mirror of
https://github.com/rwinkhart/sys.git
synced 2026-09-06 00:57:18 -04:00
unix: add ICMP6_FILTER on solaris
Also add IP_RECVTOS and O_DIRECT which were generated when running mkall.sh on SunOS openindiana 5.11. The change in mkerrors.h is necessary to avoid lots of unnecessary ICMP6_* consts being added on solaris. Change-Id: Ica9a4b67f2d2d7916e65bcb600a5b2fa98edb80a Reviewed-on: https://go-review.googlesource.com/c/sys/+/306249 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Matt Layher <mdlayher@gmail.com>
This commit is contained in:
committed by
Tobias Klauser
parent
4fbd30eecc
commit
43e1dd70ce
@@ -366,6 +366,7 @@ const (
|
||||
HUPCL = 0x400
|
||||
IBSHIFT = 0x10
|
||||
ICANON = 0x2
|
||||
ICMP6_FILTER = 0x1
|
||||
ICRNL = 0x100
|
||||
IEXTEN = 0x8000
|
||||
IFF_ADDRCONF = 0x80000
|
||||
@@ -612,6 +613,7 @@ const (
|
||||
IP_RECVPKTINFO = 0x1a
|
||||
IP_RECVRETOPTS = 0x6
|
||||
IP_RECVSLLA = 0xa
|
||||
IP_RECVTOS = 0xc
|
||||
IP_RECVTTL = 0xb
|
||||
IP_RETOPTS = 0x8
|
||||
IP_REUSEADDR = 0x104
|
||||
@@ -704,6 +706,7 @@ const (
|
||||
O_APPEND = 0x8
|
||||
O_CLOEXEC = 0x800000
|
||||
O_CREAT = 0x100
|
||||
O_DIRECT = 0x2000000
|
||||
O_DIRECTORY = 0x1000000
|
||||
O_DSYNC = 0x40
|
||||
O_EXCL = 0x400
|
||||
|
||||
Reference in New Issue
Block a user