commit | b774fd8d5c0f43f4a07fc5c3dd6cba5c4dc21e77 | [log] [tgz] |
---|---|---|
author | Mikio Hara <mikioh.public.networking@gmail.com> | Fri Nov 16 17:37:45 2018 +0900 |
committer | Mikio Hara <mikioh.public.networking@gmail.com> | Sun Mar 10 01:40:29 2019 +0000 |
tree | 72253181555e3c9a74b87e074da9b54c645c4c5b | |
parent | 16b79f2e4e95ea23b2bf9903c9809ff7b013ce85 [diff] |
ipv4: fix error values on header manipulation This change makes header manipulation methods and functions return a nil header error if the receiver or wire header is nil, a header too short error if the header length field value of receiver or wire header is short, and a extension header error if the wire extnsion header is short. Also replaces syscall.EWINDOWS or syscall.EPLAN9 with more descriptive, platform independent error values. Change-Id: I923fb60b1d68857cffc9df20f3f6cb2babbcdb1f Reviewed-on: https://go-review.googlesource.com/c/net/+/129136 Reviewed-by: Matt Layher <mdlayher@gmail.com>
This repository holds supplementary Go networking libraries.
The easiest way to install is to run go get -u golang.org/x/net
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/net
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html. The main issue tracker for the net repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/net:” in the subject line, so it is easy to find.