diff options
Diffstat (limited to 'vendor/golang.org/x/net/ipv4/packet.go')
-rw-r--r-- | vendor/golang.org/x/net/ipv4/packet.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vendor/golang.org/x/net/ipv4/packet.go b/vendor/golang.org/x/net/ipv4/packet.go index a4ff8159b..7f3bf4898 100644 --- a/vendor/golang.org/x/net/ipv4/packet.go +++ b/vendor/golang.org/x/net/ipv4/packet.go @@ -9,6 +9,9 @@ import ( "syscall" ) +// BUG(mikio): On Windows, the ReadFrom and WriteTo methods of RawConn +// are not implemented. + // A packetHandler represents the IPv4 datagram handler. type packetHandler struct { c *net.IPConn @@ -61,7 +64,7 @@ func slicePacket(b []byte) (h, p []byte, err error) { // // The IPv4 header h must contain appropriate fields that include: // -// Version = ipv4.Version +// Version = <must be specified> // Len = <must be specified> // TOS = <must be specified> // TotalLen = <must be specified> |