mikioh 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>
Latest commit f9ce57c Aug 7, 2018
Permalink
..
Failed to load latest commit information.
diag_test.go icmp: add support for extended echo request and echo reply messages Mar 20, 2018
dstunreach.go icmp: add support for extended echo request and echo reply messages Mar 20, 2018
echo.go icmp: add support for extended echo request and echo reply messages Mar 20, 2018
endpoint.go icmp: update docs Jul 30, 2018
example_test.go icmp: don't refer internal packages in examples Aug 17, 2015
extension.go icmp: update docs Jul 30, 2018
extension_test.go icmp: add support for extended echo request and echo reply messages Mar 20, 2018
helper_posix.go icmp: add support for windows Dec 26, 2014
interface.go icmp: add support for extended echo request and echo reply messages Mar 20, 2018
ipv4.go icmp: clarify the format used by raw ICMP socket Aug 8, 2018
ipv4_test.go icmp: use subtests Mar 19, 2018
ipv6.go all: make copyright headers consistent with one space after period Nov 7, 2016
listen_posix.go icmp: don't step on recycled socket descriptors Sep 10, 2016
listen_stub.go icmp: drop the use of syscall package in platform-independent code Jul 2, 2018
message.go icmp: update docs Jul 30, 2018
message_test.go icmp: add support for extended echo request and echo reply messages Mar 20, 2018
messagebody.go icmp: update docs Jul 30, 2018
mpls.go icmp: fix typo May 30, 2018
multipart.go icmp: add support for extended echo request and echo reply messages Mar 20, 2018
multipart_test.go icmp: add support for extended echo request and echo reply messages Mar 20, 2018
packettoobig.go icmp: add support for extended echo request and echo reply messages Mar 20, 2018
paramprob.go icmp: add support for extended echo request and echo reply messages Mar 20, 2018
sys_freebsd.go x/net/icmp: new package Dec 3, 2014
timeexceeded.go icmp: add support for extended echo request and echo reply messages Mar 20, 2018