Commit Graph

56 Commits

Author SHA1 Message Date
Dmitri Shuralyov
d23d9bc549 all: update go directive to 1.18
Done with:

go get go@1.18
go mod tidy
go fix ./...

Using go1.21.3.

With a manual change to keep golang.org/x/net/context testing itself,
not context in the standard library.

For golang/go#60268.

Change-Id: I00682bf7cf1e3ba4370e2a3e7f63dc245b294a36
Reviewed-on: https://go-review.googlesource.com/c/net/+/534241
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
2023-10-11 21:58:12 +00:00
Oleksandr Redko
7e3c19ca52 all: correct typos in comments
Change-Id: Idc75240e5546be2f2b091878910339b4967c93c7
GitHub-Last-Rev: c78560c06f
GitHub-Pull-Request: golang/net#166
Reviewed-on: https://go-review.googlesource.com/c/net/+/465715
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-02-07 17:08:46 +00:00
Russ Cox
290c469a71 all: gofmt
Gofmt to update doc comments to the new formatting.

For golang/go#51082.

Change-Id: Iae68a9cd600060577271575e893ecb23bed1e509
Reviewed-on: https://go-review.googlesource.com/c/net/+/399599
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-04-12 02:06:05 +00:00
Russ Cox
5f55cee0dc all: go fmt ./...
Make all our package sources use Go 1.17 gofmt format
(adding //go:build lines).

Not strictly necessary but will avoid spurious changes
as files are edited.

Part of //go:build change (#41184).
See https://golang.org/design/draft-gobuild

Change-Id: I5b2b7d93424e828a3c5f76ae3f30ab825aca388e
Reviewed-on: https://go-review.googlesource.com/c/net/+/294371
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jason A. Donenfeld <Jason@zx2c4.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2021-02-20 03:31:24 +00:00
Cherry Zhang
328152dc79 all: add GOOS=ios
Following CL 254740, this CL does it on x/net.

Updates golang/go#38485.

Change-Id: I80831dd0faa6f216d8d3b8f1af0af811aacce43f
Reviewed-on: https://go-review.googlesource.com/c/net/+/255537
Trust: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2020-09-23 18:22:12 +00:00
Brad Fitzpatrick
a91f0712d1 icmp, webdav/internal/xml: avoid string(int)
Updates golang/go#32479

Change-Id: Ife0c3a2f10afb676af5f2110a9681216122c8808
Reviewed-on: https://go-review.googlesource.com/c/net/+/233900
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2020-05-13 18:57:01 +00:00
songjiayang
4ba9e2ef06 icmp: fix ListenPacket panic
Fixes golang/go#32933

Change-Id: I837d6a54e51d91ff3260ec7e1c79412c52dff20d
Reviewed-on: https://go-review.googlesource.com/c/net/+/185317
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-11-08 22:14:43 +00:00
chigotc
1f3472d942 icmp: add port for aix/ppc64
Change-Id: I719dd53a949725b4d63ecba37fad530de731d568
Reviewed-on: https://go-review.googlesource.com/c/net/+/170560
Run-TryBot: Mikio Hara <mikioh.public.networking@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Mikio Hara <mikioh.public.networking@gmail.com>
2019-04-19 01:02:53 +00:00
Mikio Hara
63eda1eb06 all: use of nettest, remove internal/nettest
This change uses the nettest package where possible and removes the
internal/nettest package.

Change-Id: I5615a3ab7957183fecea6b5646df99dbb7c186e2
Reviewed-on: https://go-review.googlesource.com/c/net/+/123057
Run-TryBot: Mikio Hara <mikioh.public.networking@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Matt Layher <mdlayher@gmail.com>
2019-03-27 21:43:58 +00:00
Mikio Hara
77544e6953 all: make bit clear operator explicitly
Change-Id: If72588778b815bc5d8f3e9f41d888cffc0d2a18d
Reviewed-on: https://go-review.googlesource.com/c/net/+/168298
Run-TryBot: Mikio Hara <mikioh.public.networking@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2019-03-20 06:12:53 +00:00
Mikio Hara
5c2c250b6a icmp: make non-privileged tests more adaptive
Assuming every Linux kernel configures net.ipv4.ping_group_range well is
a bit naive.

Change-Id: Ibc2ecbad350238509e3988a1a12eef67c9b475a9
Reviewed-on: https://go-review.googlesource.com/c/net/+/167298
Run-TryBot: Mikio Hara <mikioh.public.networking@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2019-03-13 08:27:53 +00:00
Mikio Hara
c19f08b1b5 icmp: replace errOpNoSupport with errNotImplemented
Change-Id: Ibeb91d35c02e17ce1a9947389ce0e5c8c9d009ae
Reviewed-on: https://go-review.googlesource.com/c/net/+/167297
Run-TryBot: Mikio Hara <mikioh.public.networking@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2019-03-13 08:27:26 +00:00
Mikio Hara
56fb01167e icmp: add simple multipart message validation
This change adds simple validation for multipart messages to avoid
generating incorrect messages and introduces RawBody and RawExtension
to control message validation. RawBody and RawExtension are excluded
from normal message processing and can be used to construct crafted
messages for applications such as wire format testing.

Fixes golang/go#28686.

Change-Id: I56f51d6566142f5e1dcc75cfce5250801e583d6d
Reviewed-on: https://go-review.googlesource.com/c/net/+/155859
Run-TryBot: Mikio Hara <mikioh.public.networking@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2019-03-11 03:10:20 +00:00
Mikio Hara
d6388d9676 icmp: don't run diagnostic tests by default, even in long mode
Change-Id: I4eec45705348437ec2ee7eae8d0d98db0f28152d
Reviewed-on: https://go-review.googlesource.com/c/155858
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2019-02-27 02:08:52 +00:00
Mikio Hara
4602d50750 icmp: simplify Message.Marshal
Change-Id: I1c78c929dd824534ccc2123a63973af89b8a0081
Reviewed-on: https://go-review.googlesource.com/c/155857
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2019-02-27 02:03:08 +00:00
Mikio Hara
10aee18199 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: Brad Fitzpatrick <bradfitz@golang.org>
2018-11-06 06:57:22 +00:00
uhei
c10e9556a7 icmp: fix InterfaceIdent.Index handling
RFC 7223, Section 3 defines 32 bits for if-index.
RFC 8335, Section 2.1 defines
"If the Interface Identification Object identifies the probed
interface by index, the length is equal to 8 and the payload contains
the if-index [RFC7223]."
The object should be comprised of a 4-byte object header and a 4-byte interface index.

Fixes golang/go#28530

Change-Id: Ib3ac729b7ec738a90a8c76ef984da0d5b28fa9c9
GitHub-Last-Rev: eba6714ed4
GitHub-Pull-Request: golang/net#23
Reviewed-on: https://go-review.googlesource.com/c/146637
Run-TryBot: Mikio Hara <mikioh.public.networking@gmail.com>
Reviewed-by: Mikio Hara <mikioh.public.networking@gmail.com>
2018-11-02 09:11:32 +00:00
Mikio Hara
b7e296877c Revert "icmp: fix ExtendedEchoRequest extension object"
This reverts commit e11730110b.

Reason for revert: The reverted test case is one of typical wrong wire
format test cases. The exposed API intentionally doesn't provide any
extenion object validation because the API is also used to construct
wire format compliance test tools. The API is extesion object-agnostic
and should be able to transmit and receive payload containing extension
objects in wrong wire format. Please preserve such test cases for now.

If you want to drop such test case, please add 1) extension object
validation, 2) a control knob for skipping validation, then drop all of
them.

Change-Id: I5c488c95523488e511e7a91e29a2f24f08448415
Reviewed-on: https://go-review.googlesource.com/c/146877
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
2018-11-02 05:01:34 +00:00
uhei
e11730110b icmp: fix ExtendedEchoRequest extension object
RFC8335 [1] Sec 2: "When applied to the ICMP
Extended Echo Request message, the ICMP Extension Structure MUST
contain exactly one instance of the Interface Identification Object."

The InterfaceIdent by name object seems to be a copy/paste issue.

[1]: https://www.rfc-editor.org/rfc/rfc8335.txt

Change-Id: I1ef5f38382ebede0cb3ee792892673f6c2b39672
GitHub-Last-Rev: 73f963c5dc
GitHub-Pull-Request: golang/net#24
Reviewed-on: https://go-review.googlesource.com/c/146638
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-11-01 16:02:48 +00:00
Mikio Hara
f9ce57c11b icmp: clarify the format used by raw ICMP socket
On BSD variaints, for some historical reason, the data format used by raw
ICMP socket may differ from the IPv4 wire format and the format used by
raw IP socket. This change clarifies that input of ParseIPv4Header must
conform to the raw ICMP socket format.

Change-Id: I7288eccaaae0662d0437794098c8f7fc4a55d81e
Reviewed-on: https://go-review.googlesource.com/128216
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2018-08-08 00:41:15 +00:00
Mikio Hara
8d04b09ac7 icmp: update docs
Makes parameter names not start in capitals.

Change-Id: I1861da0cbaff304b251f9540613cff8dc7beafd6
Reviewed-on: https://go-review.googlesource.com/126638
Reviewed-by: Matt Layher <mdlayher@gmail.com>
2018-07-30 21:41:16 +00:00
Mikio Hara
17b7cf40ff icmp: fix error values on message manipulation
Change-Id: If5e0d21f01496cf89d035b07a884073044a4e886
Reviewed-on: https://go-review.googlesource.com/126637
Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Matt Layher <mdlayher@gmail.com>
2018-07-30 21:41:07 +00:00
Mikio Hara
a46fb682f0 icmp: drop the use of syscall package in platform-independent code
Also re-adjusts build constraints on stubs.

Change-Id: I9c6d8487e17bb1f9e5204e363938a67a7f646c1c
Reviewed-on: https://go-review.googlesource.com/121881
Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2018-07-02 21:23:56 +00:00
Mikio Hara
a9d87b13fa icmp: don't fail test on JS
Change-Id: I653cd92dc1b114719d1b6f3e296f67ed30edff24
Reviewed-on: https://go-review.googlesource.com/121555
Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2018-06-29 03:53:09 +00:00
Mikio Hara
89e543239a icmp: fix typo
Change-Id: I59cefd183f7aea120dba98f71bffd7aaf24ff1c2
Reviewed-on: https://go-review.googlesource.com/115217
Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Matt Layher <mdlayher@gmail.com>
2018-05-30 03:41:48 +00:00
Mikio Hara
6078986fec icmp: add support for extended echo request and echo reply messages
This change implements support for extended echo request and reply
messages, and interface identification object that can be used to test
the status of a probed interface via a proxy interface from a probing
interface as defined in RFC 8335.

It's package user's responsibility to make a complete RFC-compliant
PROBE initiator implementation using ipv4, ipv6 and icmp packages of
x/net repository.

Fixes golang/go#24440.

Change-Id: I87ab8a7581c4d41a0c579805b0e3043e48ac85f0
Reviewed-on: https://go-review.googlesource.com/63999
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2018-03-20 00:21:17 +00:00
Mikio Hara
a4c73ec9e9 icmp: use subtests
This change reorganizes the existing test cases for supporting new
messages and extension in upcoming CLs. It also renames ping_test.go
to diag_test.go for clarification.

Updates golang/go#24440.

Change-Id: I5753a2ddbe76423d996a37f583fcf32b65d380e9
Reviewed-on: https://go-review.googlesource.com/63995
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-03-19 15:13:38 +00:00
Mikio Hara
f9d2e385ea icmp: use socket.NativeEndian
Change-Id: I991e893a0f0b0aea680ef18e09008b30e8a972c6
Reviewed-on: https://go-review.googlesource.com/46231
Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2017-06-21 08:22:27 +00:00
Mikio Hara
468bac874d icmp: add missing BUGS section
Change-Id: If9192dabf9b5cf0d7fefb36dd6d1c1cd8966348a
Reviewed-on: https://go-review.googlesource.com/34434
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-12-15 08:38:32 +00:00
Dmitri Shuralyov
5d997795f7 all: make copyright headers consistent with one space after period
Go policy has been single space after periods in comments for some time.

The copyright header template at:

	https://golang.org/doc/contribute.html#copyright

also uses a single space.

Make them all consistent.

This CL was generated with:

	perl -i -npe 's,^(// Copyright [0-9]+ The Go Authors\.)  (All rights reserved\.)$,$1 $2,' $(git grep -l -E '^// Copyright [0-9]+ The Go Authors\.  All rights reserved\.$')

Follows https://golang.org/cl/20111.

Change-Id: I66671dddf821f5dc027bc254e0196b3e3a2bdf3b
Reviewed-on: https://go-review.googlesource.com/32878
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-11-07 23:52:11 +00:00
Mikio Hara
cfe3c2a752 icmp: don't step on recycled socket descriptors
This change fixes lazy socket descriptor handling in ListenPacket to
avoid treading on someone's socket descriptors which are recycled by
descriptor duplication. The issue happens when calling ListenPacket for
non-privileged ICMP endpoint concurrently.

Fixes golang/go#16969.

Change-Id: I4d7672535f5aeb2a0b71f8af2c7ba271a085f418
Reviewed-on: https://go-review.googlesource.com/28473
Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2016-09-10 09:57:27 +00:00
Mikio Hara
9723ea673d icmp: don't fail test on big endian machine
Change-Id: I5ceede6cf0aa4fcdbf59c39e1aff9826874f2710
Reviewed-on: https://go-review.googlesource.com/22677
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2016-05-05 21:57:10 +00:00
Mikio Hara
f608d985aa icmp: fix a typo
Change-Id: Icd29cd883dab0c916e2285d6053074e97771b840
Reviewed-on: https://go-review.googlesource.com/21833
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-04-11 18:41:27 +00:00
Mikio Hara
a896e565e9 icmp: fix potential misaligned memory access
Also makes use of encoding/binary package.

Change-Id: Ia771290aaccb936fbb7052abaaf96290a9ed4644
Reviewed-on: https://go-review.googlesource.com/19535
Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2016-02-17 01:11:45 +00:00
Nigel Tao
99ca920b60 icmp: fix typo.
Change-Id: I327897f8fa06e4f65dbd32b81be80fdc438bc6e0
Reviewed-on: https://go-review.googlesource.com/18656
Reviewed-by: David Symonds <dsymonds@golang.org>
2016-01-15 04:49:47 +00:00
Tal Shprecher
4fd4a9fed5 x/net/icmp: fix typos in comments
Change-Id: I43ad7497db6b4d57efd2ab94f7af26e3eb0dcdf5
Reviewed-on: https://go-review.googlesource.com/18485
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2016-01-11 06:12:36 +00:00
Mikio Hara
62ac18b461 icmp: fix miscalculation on multipart message bodies
Also adds test cases for the Len method of MessageBody interface.

Fixes golang/go#13141.

Change-Id: I8ab9e38727104ca094dfdb3020e8d42e611911e0
Reviewed-on: https://go-review.googlesource.com/16616
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2015-11-28 09:06:56 +00:00
Mikio Hara
ac0ecaccab icmp: drop unnecessary type assertions in PacketConn
Change-Id: I8bd9d181c4c2e8c4ea01342a306acdca69eabf18
Reviewed-on: https://go-review.googlesource.com/15085
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2015-10-02 01:10:14 +00:00
Mikio Hara
ea66ef9485 icmp: don't refer internal packages in examples
Also fixes ping tests. Latest Linux kernels prohibit to access ICMPv6
properties with non-privileged sockets.

Fixes golang/go#12163.

Change-Id: I439b41556e8d4c2f3a9f725131267469e08c9599
Reviewed-on: https://go-review.googlesource.com/13653
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2015-08-17 04:08:19 +00:00
Nigel Tao
a74a067234 icmp: fix ListenPacket shadowing bug.
Change-Id: I78c9a2e06da5269140212996842ac2e885d2746c
Reviewed-on: https://go-review.googlesource.com/10561
Reviewed-by: David Symonds <dsymonds@golang.org>
2015-06-01 04:05:10 +00:00
Mikio Hara
bdcab5d142 icmp: add missing attribute length check
Fixes golang/go#10951.

Change-Id: I94bf948ce74f8289008930701b2825ffcf57fce1
Reviewed-on: https://go-review.googlesource.com/10378
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2015-05-27 00:24:09 +00:00
Mikio Hara
621fff363a icmp: more coverage to ping test
This change splits the existing ping test into non-privileged and
privileged tests to cover IPConn full stack test on behalf of the
standard library.

Updates golang/go#10730.

Change-Id: I5d2e00c0b42b857045414eb8e0efca393967742e
Reviewed-on: https://go-review.googlesource.com/10090
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2015-05-22 23:47:27 +00:00
Mikio Hara
c84eff7014 icmp: add extensions for interface and next-hop identification
This change implements ICMP extensions for interface and next-hop
identification which are used for route trace applications as described
in RFC 5837.

Change-Id: I2435109b5e766e743b894b0280a537324975489d
Reviewed-on: https://go-review.googlesource.com/3112
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2015-02-06 15:44:19 +00:00
Mikio Hara
71586c3cf9 icmp: add extensions for MPLS
This change implements ICMP multi-part message marshaler, parser and
extensions for MPLS which are used for route trace applications as
described in RFC 4950.

API breaking changes:

type MessageBody interface, Len() int
type Extension interface, Len() int
type Extension interface, Marshal() ([]byte, error)

are replaced with

type MessageBody interface, Len(int) int
type Extension interface, Len(int) int
type Extension interface, Marshal(int) ([]byte, error)

Change-Id: Iee1f2e03916d49b8dfe3a89fe682c702d40ecc85
Reviewed-on: https://go-review.googlesource.com/2794
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2015-02-06 05:26:11 +00:00
Mikio Hara
01e7a753f7 icmp: remove unnecessary double quatations from test messages
Change-Id: I0e4245c26f2a19b366cd22fabefa8d0e65c6b2cc
Reviewed-on: https://go-review.googlesource.com/3560
Reviewed-by: Dave Cheney <dave@cheney.net>
2015-01-30 01:10:48 +00:00
Mikio Hara
6fbfb1b1c0 icmp: make use of nettest.SupportsRawIPSocket
Change-Id: I06585ba7e40c1653139520f3d67d96e5d86302ac
Reviewed-on: https://go-review.googlesource.com/3401
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2015-01-29 21:54:18 +00:00
Mikio Hara
e3b9e70d93 icmp: add support for multi-part messages
ICMP extension structures allow a few existing ICMP error messages to
convey extra information for troubleshooting; especially the root cause
of why the original datagram could not be delivered.

This CL adds generic support for ICMP extension stuructures to
DstUnreach, TimeExceeded and ParamProb structs. Specific extensions such
as MPLS label-stack, interface and next-hop identification will be
inplemneted in separate followup CLs.

Change-Id: I90798c135bdf76b806e2dde2bdd57c2c11d7e7e9
2015-01-07 15:24:15 +09:00
Mikio Hara
972f0c5fbe Merge "icmp: make Marshal of MessageBody, ParseMessage work correctly on parameter problem message" 2015-01-01 02:52:35 +00:00
Mikio Hara
3329bfea7d Merge "icmp: prevent stripping off ipv4 header twice on darwin" 2015-01-01 02:51:47 +00:00
mattn
3053e46bf4 icmp: add support for windows
Fixes #9253

Change-Id: I29ad04698e20c6e4d04a2b5b161693ac7cd482a2
2014-12-26 16:33:24 +09:00