net/internal
Damien Neil 57553cbff1 quic: connection ids
Each side of a QUIC connection chooses the connection IDs used by
its peer. In our case, we use 8-byte random IDs.

A connection has a list of connection IDs that it may receive
packets on, and a list that it may send packets to. Add a minimal
data structure for tracking these lists, and handling of the
connection IDs tracked across Initial and Handshake packets.

This does not yet handle post-handshake connection ID changes
made in NEW_CONNECTION_ID and RETIRE_CONNECTION_ID frames.

RFC 9000, Section 5.1.

For golang/go#58547

Change-Id: I3e059393cacafbcea04a1b4131c0c7dc28acad5e
Reviewed-on: https://go-review.googlesource.com/c/net/+/506675
Run-TryBot: Damien Neil <dneil@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-07-12 16:29:46 +00:00
..
iana all: go fmt ./... 2021-02-20 03:31:24 +00:00
quic quic: connection ids 2023-07-12 16:29:46 +00:00
socket internal/socket: add support for openbsd/ppc64 2022-10-19 02:42:06 +00:00
socks internal/socks: permit authenticating with an empty password 2023-04-07 18:10:19 +00:00
sockstest all: correct typos in comments 2023-02-07 17:08:46 +00:00
timeseries internal/timeseries: avoid storing numbers as durations 2019-11-09 02:19:31 +00:00