mirror of
https://github.com/golang/sys.git
synced 2026-02-08 11:46:04 +03:00
unix: add ICMP6_FILTER on zos
Copied from golang.org/x/net/ipv6. This will allow to replace the socket option constants in that package with constants from x/sys/unix. Change-Id: I92a6ee9ffb4fbfcc66f1644b7677ac5bdf202367 Reviewed-on: https://go-review.googlesource.com/c/sys/+/305811 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
committed by
Tobias Klauser
parent
49726bf1d1
commit
9b9b09a01a
@@ -137,6 +137,7 @@ const (
|
||||
IP_TTL = 3
|
||||
IP_UNBLOCK_SOURCE = 11
|
||||
ICANON = 0x0010
|
||||
ICMP6_FILTER = 0x26
|
||||
ICRNL = 0x0002
|
||||
IEXTEN = 0x0020
|
||||
IGNBRK = 0x0004
|
||||
|
||||
Reference in New Issue
Block a user