5 Commits

Author SHA1 Message Date
Mikio Hara
c10a0554ea ipv6: drop support for go1.8 or below
Change-Id: I9f4108283333eb56aad429bb6338231459bc2bbf
Reviewed-on: https://go-review.googlesource.com/c/net/+/162599
Run-TryBot: Mikio Hara <mikioh.public.networking@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dave Cheney <dave@cheney.net>
2019-03-10 07:45:41 +00:00
Mikio Hara
ed29d75add ipv6: drop the use of syscall package in platform-independent code
Change-Id: I001c4b5ffceb97a599da10b21b8df1b1d6740ccc
Reviewed-on: https://go-review.googlesource.com/121883
Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2018-07-02 21:24:46 +00:00
Mikio Hara
9709904288 Revert "ipv6: enable {Read,Write}Batch methods of PacketConn on NetBSD"
This reverts commit a0df083635.

Change-Id: Iec23fd267fd74470dbc827aa6422c6e598b6e86c
Reviewed-on: https://go-review.googlesource.com/82695
Reviewed-by: Mikio Hara <mikioh.mikioh@gmail.com>
2017-12-07 22:19:42 +00:00
Mikio Hara
a0df083635 ipv6: enable {Read,Write}Batch methods of PacketConn on NetBSD
Change-Id: I7c88abdd74effca1cd8dd72970f0bee914e82fc2
Reviewed-on: https://go-review.googlesource.com/82457
Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-12-07 21:42:58 +00:00
Mikio Hara
48359f4f60 ipv6: add {Read,Write}Batch methods to PacketConn
This change provides message IO functionality that may support the
construction of modern datagram transport protocols.

The modern datagram transport protocols on a multihomed node basically
need to control each packet path for traffic engineering by using
information belongs to network- or link-layer implementation. In
addtion, it's desirable to be able to do simultaneous transmission
across multiple network- or link-layer adjacencies wihtout any
additional cost.

The ReadBatch and WriteBatch methods of PacketConn can be used to read
and write an IO message that contains the information of network- or
link-layer implementation, and read and write a batch of IO messages
on Linux. The Marshal and Parse methods of ControlMessage can help to
marshal and parse information contained in IO messages.

Updates golang/go#3661.

Change-Id: I94484e2e135f4969ddf5c2548bf6be0cc16888bf
Reviewed-on: https://go-review.googlesource.com/38276
Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2017-05-27 06:02:38 +00:00