소스 검색

ipv6: add missing BUGS section

Change-Id: I42e83ca311b499459c4d6fa75984be3e86da6a22
Reviewed-on: https://go-review.googlesource.com/34433
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Mikio Hara 9 년 전
부모
커밋
f483ac3632
4개의 변경된 파일11개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      ipv6/dgramopt_posix.go
  2. 2 0
      ipv6/doc.go
  3. 5 0
      ipv6/endpoint.go
  4. 3 0
      ipv6/payload.go

+ 1 - 1
ipv6/dgramopt_posix.go

@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build darwin dragonfly freebsd linux netbsd openbsd windows solaris
+// +build darwin dragonfly freebsd linux netbsd openbsd solaris windows
 
 package ipv6
 

+ 2 - 0
ipv6/doc.go

@@ -239,3 +239,5 @@
 // In the fallback case, ExcludeSourceSpecificGroup and
 // IncludeSourceSpecificGroup may return an error.
 package ipv6 // import "golang.org/x/net/ipv6"
+
+// BUG(mikio): This package is not implemented on NaCl and Plan 9.

+ 5 - 0
ipv6/endpoint.go

@@ -12,6 +12,11 @@ import (
 	"golang.org/x/net/internal/netreflect"
 )
 
+// BUG(mikio): On Windows, the JoinSourceSpecificGroup,
+// LeaveSourceSpecificGroup, ExcludeSourceSpecificGroup and
+// IncludeSourceSpecificGroup methods of PacketConn are not
+// implemented.
+
 // A Conn represents a network endpoint that uses IPv6 transport.
 // It allows to set basic IP-level socket options such as traffic
 // class and hop limit.

+ 3 - 0
ipv6/payload.go

@@ -6,6 +6,9 @@ package ipv6
 
 import "net"
 
+// BUG(mikio): On Windows, the ControlMessage for ReadFrom and WriteTo
+// methods of PacketConn is not implemented.
+
 // A payloadHandler represents the IPv6 datagram payload handler.
 type payloadHandler struct {
 	net.PacketConn