Commit 10aee181 authored by Mikio Hara's avatar Mikio Hara

icmp, ipv4, ipv6: re-adjust build constraints

Also updates package documentation for AIX.

Change-Id: I4809a334f0a4b8f3fb5345749477394b8f3e7546
Reviewed-on: https://go-review.googlesource.com/c/147678
Run-TryBot: Mikio Hara <mikioh.public.networking@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent ab400d30
...@@ -24,7 +24,8 @@ import ( ...@@ -24,7 +24,8 @@ import (
"golang.org/x/net/ipv6" "golang.org/x/net/ipv6"
) )
// BUG(mikio): This package is not implemented on JS, NaCl and Plan 9. // BUG(mikio): This package is not implemented on AIX, JS, NaCl and
// Plan 9.
var ( var (
errInvalidConn = errors.New("invalid connection") errInvalidConn = errors.New("invalid connection")
......
...@@ -241,4 +241,5 @@ ...@@ -241,4 +241,5 @@
// IncludeSourceSpecificGroup may return an error. // IncludeSourceSpecificGroup may return an error.
package ipv4 // import "golang.org/x/net/ipv4" package ipv4 // import "golang.org/x/net/ipv4"
// BUG(mikio): This package is not implemented on JS, NaCl and Plan 9. // BUG(mikio): This package is not implemented on AIX, JS, NaCl and
// Plan 9.
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build !js,!nacl,!plan9,!windows // +build darwin dragonfly freebsd linux netbsd openbsd solaris
package ipv4 package ipv4
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build !go1.9 // +build !go1.9
// +build !js,!nacl,!plan9,!windows // +build darwin dragonfly freebsd linux netbsd openbsd solaris
package ipv4 package ipv4
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build go1.9 // +build go1.9
// +build !js,!nacl,!plan9,!windows // +build darwin dragonfly freebsd linux netbsd openbsd solaris
package ipv4 package ipv4
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build js nacl plan9 windows // +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris
package ipv4 package ipv4
......
...@@ -240,4 +240,5 @@ ...@@ -240,4 +240,5 @@
// IncludeSourceSpecificGroup may return an error. // IncludeSourceSpecificGroup may return an error.
package ipv6 // import "golang.org/x/net/ipv6" package ipv6 // import "golang.org/x/net/ipv6"
// BUG(mikio): This package is not implemented on JS, NaCl and Plan 9. // BUG(mikio): This package is not implemented on AIX, JS, NaCl and
// Plan 9.
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build !js,!nacl,!plan9,!windows // +build darwin dragonfly freebsd linux netbsd openbsd solaris
package ipv6 package ipv6
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build !go1.9 // +build !go1.9
// +build !js,!nacl,!plan9,!windows // +build darwin dragonfly freebsd linux netbsd openbsd solaris
package ipv6 package ipv6
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build go1.9 // +build go1.9
// +build !js,!nacl,!plan9,!windows // +build darwin dragonfly freebsd linux netbsd openbsd solaris
package ipv6 package ipv6
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build js nacl plan9 windows // +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris
package ipv6 package ipv6
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment