Damien Neil
c1f5833288
all: replace deprecated io/ioutil calls
...
The io/ioutil package's features were moved to
the io and os packages in Go 1.16.
x/net depends on Go 1.18. Drop ioutil calls,
so gopls doesn't warn about them.
Change-Id: Ibdb576d94f250808ae285aa142e2fd41e7e9afc9
Reviewed-on: https://go-review.googlesource.com/c/net/+/586244
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com >
Reviewed-by: Ian Lance Taylor <iant@google.com >
2024-05-21 19:59:00 +00:00
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
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
Mikio Hara
92b859f39a
ipv6: update icmp parameters
...
Updates golang/go#24440 .
Change-Id: Idbe22ca853ea4771bb979782ef3bac8b03c59b87
Reviewed-on: https://go-review.googlesource.com/63998
Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com >
TryBot-Result: Gobot Gobot <gobot@golang.org >
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org >
2018-03-19 15:14:25 +00:00
Kevin Burke
0ed95abb35
all: use HTTPS for iana.org links
...
iana.org, www.iana.org and data.iana.org all present a valid TLS
certificate, so let's use it when fetching data to avoid errors in
transit.
Change-Id: I1f295442d24a221fe2b722c4782dceee38b960ec
Reviewed-on: https://go-review.googlesource.com/89415
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org >
2018-01-24 06:09:56 +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
c4e6936235
ipv6: drop support for go1.4 or below
...
Change-Id: I95dfb05e5c958c2949059c4230c023968a442b50
Reviewed-on: https://go-review.googlesource.com/30895
Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com >
TryBot-Result: Gobot Gobot <gobot@golang.org >
Reviewed-by: Ian Lance Taylor <iant@golang.org >
2016-10-13 03:56:40 +00:00
Michael Hudson-Doyle
641602e72f
ipv6: add support for ppc (using gccgo)
...
Change-Id: I1e81ca4bd1396b4ddd0c8eb7368ebceb99409318
Reviewed-on: https://go-review.googlesource.com/24486
Reviewed-by: Mikio Hara <mikioh.mikioh@gmail.com >
Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com >
2016-06-27 00:46:01 +00:00
Mikio Hara
76e74a3365
ipv6: add support for linux/s390x
...
Change-Id: Ia431a6cfc53a66b20307f1e54b17f5bbceee02e3
Reviewed-on: https://go-review.googlesource.com/23193
Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com >
TryBot-Result: Gobot Gobot <gobot@golang.org >
Reviewed-by: Ian Lance Taylor <iant@golang.org >
2016-05-18 03:10:44 +00:00
Mikio Hara
589fda73dd
ipv6: fix a typo
...
Change-Id: I4ce6dfec994252fec3874fb748e0d6b8db97394d
Reviewed-on: https://go-review.googlesource.com/21835
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org >
2016-04-11 18:41:48 +00:00
Mikio Hara
943b8c241a
ipv6: add support for linux/{mips64,mips64le}
...
Change-Id: Ic3ebed81a909485bd8b4ff5336ad005ef49654fa
Reviewed-on: https://go-review.googlesource.com/17797
Reviewed-by: Ian Lance Taylor <iant@golang.org >
2015-12-14 23:47:30 +00:00
Mikio Hara
97d8e4e174
ipv6: fix build on go1.4 and below
...
Fixes golang/go#10164 .
Change-Id: Ifcef660e4840cfcfa2f72a2be08541cad2b90440
Reviewed-on: https://go-review.googlesource.com/7611
Reviewed-by: Minux Ma <minux@golang.org >
2015-03-15 00:37:36 +00:00
Mikio Hara
d6d144d9db
x/net/ipv6: add source-specific multicast types, constants
...
LGTM=iant
R=iant
CC=golang-codereviews
https://golang.org/cl/169500043
2014-11-13 17:19:48 +09:00
Mikio Hara
5f6a50123e
x/net/ipv6: make use of go generate to create system adaptation files
...
LGTM=iant
R=iant
CC=golang-codereviews
https://golang.org/cl/171970043
2014-11-10 09:48:36 +09:00
Robert Griesemer
a6927df230
go.net: fix various typos
...
LGTM=adonovan
R=adonovan
CC=golang-codereviews, golang-dev
https://golang.org/cl/97950043
2014-05-02 14:50:26 -07:00
Mikio Hara
842db47a36
go.net/ipv6: simplify protocol constants generator
...
Also updates IANA protocol constants.
R=golang-dev, dave
CC=golang-dev
https://golang.org/cl/14587043
2013-10-14 09:30:06 +09:00
Mikio Hara
007cb6a26c
go.net/ipv6: make IANA registry parser robust
...
- specify complete resource path to avoid receiving xhtml
- make use of keyword instead of table index
R=golang-dev, dave
CC=golang-dev
https://golang.org/cl/10738043
2013-06-29 10:23:22 +09:00
Mikio Hara
cdfc4ce106
go.net/ipv6: new package
...
Package ipv6 implements IP-level socket options for the Internet
Protocol version 6. It also provides datagram based network I/O
methods specific to the IPv6 and higher layer protocols.
Fixes golang/go#5538 .
R=dave
CC=golang-dev
https://golang.org/cl/9843044
2013-06-04 17:42:58 +09:00