aboutsummaryrefslogtreecommitdiff
path: root/internal
AgeCommit message (Collapse)Author
2015-01-29internal/nettest: add SupportsRawIPSocket that reports raw IP socket ↵Mikio Hara
availability This change copies a few code fragments from https://golang.org/cl/13422044. Change-Id: I7ceae3a59e15dc9f9ef4b2b64a41753aa9d6798b Reviewed-on: https://go-review.googlesource.com/3400 Reviewed-by: Ian Lance Taylor <iant@golang.org>
2015-01-16internal/iana: update protocol numbersMikio Hara
Also fixes parseProtocolNumbers to make it possible to grab the recently added keyword "deprecated" correctly. Change-Id: I431da33a722eab9aa13ce1834acab4e9e6346bfd Reviewed-on: https://go-review.googlesource.com/2852 Reviewed-by: Ian Lance Taylor <iant@golang.org>
2014-12-10internal/iana: fix a import comment in code generator.David Symonds
Change-Id: I09adabf07366426451303f72b0f2e6a0869b7508
2014-12-09net: add import comments.David Symonds
Change-Id: Ifab0fdaec1d810d268b7c19ad30f476802203b37
2014-12-03x/net/icmp: new packageMikio Hara
This CL makes icmp an external package. LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/182370043
2014-12-03x/net/internal/icmp: add support for non-privileged ICMP endpoint, known as ↵Mikio Hara
ping socket This CL adds PacketConn struct that implements net.PacketConn interface. Update golang/go#9166 LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/182110043
2014-12-03x/net/internal/icmp: add ParseIPv4HeaderMikio Hara
This CL adds ParseIPv4Header for parsing an IPv4 header in ICMP error message. We cannot use ipv4.ParseHeader for it because they are different things processed by either ip_input or icmp_input. LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/184850043
2014-12-03x/net/internal/icmp: add support for error messageMikio Hara
This CL introduces few ICMP error message body types such as DstUnreach, PacketTooBig, TimeExceeded or ParamProb. LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/183850043
2014-11-29x/net/{internal/icmp,ipv4,ipv6}: better method for icmp.Type interfaceMikio Hara
LGTM=iant R=iant, bradfitz CC=golang-codereviews https://golang.org/cl/173670044
2014-11-10x/net/internal/nettest: make routableIP not return the ipv6 loopback addressMikio Hara
On some platform the IPv6 loopback address is not suitable to assign a name. LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/165710043
2014-11-10go.net: use golang.org/x/... import pathsAndrew Gerrand
LGTM=rsc R=rsc CC=golang-codereviews https://golang.org/cl/167030043
2014-11-09go.net/internal/nettest: add ProtocolNotSupported functionMikio Hara
Moves from go.net/ipv4 pacakge to here, we use this function not only for ipv4 testing but ipv6 testing. LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/169150043
2014-10-10go.net/internal/icmp: fix typoMikio Hara
LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/149680043
2014-10-07go.net/internal/nettest: new packageMikio Hara
This CL factors out testing utilities used by both ipv4 and ipv6 packages. LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/152070043
2014-09-24go.net/internal/icmp: make sure IPv6PseudoHeader takes only IPv6 addressesMikio Hara
LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/142540044
2014-09-24go.net/internal/icmp: fix reordered arguments in test caseMikio Hara
LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/146210043
2014-09-23go.net/internal/icmp: new packageMikio Hara
This CL factors out ICMP utilities used by both ipv4 and ipv6 packages. LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/143460043
2014-09-20go.net/internal/iana: new packageMikio Hara
This CL factors out number resources used by both ipv4 and ipv6 packages. LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/124340043