wireguard-go-awg2-lx/conn
James Tucker 2f5d148bcf conn,device: enable cryptorouting via PeerAwareEndpoint
Introduce an optional extension point for Endpoint that enables a path
for WireGuard to inform an integration about the peer public key that is
associated with an Endpoint.

The API is expected to return either the same or a new Endpoint in
response to this function. A future version of this patch could
potentially remove the returned Endpoint, but would require larger
integrator changes downstream.

This adds a small per-packet cost that could later be removed with a
larger refactor of the wireguard-go interface and Tailscale magicsock
code, as well as introducing a generic bound for Endpoint in a device &
bind instance.

Updates tailscale/corp#20732
2024-07-05 08:25:31 -07:00
..
bindtest all: rename module (#7) 2023-09-27 15:03:39 -07:00
winrio global: bump copyright year 2023-02-07 20:39:29 -03:00
bind_std.go all: adjust build tags for plan9 2023-09-29 15:32:57 -07:00
bind_std_test.go conn, device: use UDP GSO and GRO on Linux 2023-09-29 15:32:54 -07:00
bind_windows.go all: rename module (#7) 2023-09-27 15:03:39 -07:00
boundif_android.go conn, device, tun: implement vectorized I/O on Linux 2023-03-10 14:52:17 +01:00
conn.go conn,device: enable cryptorouting via PeerAwareEndpoint 2024-07-05 08:25:31 -07:00
conn_test.go global: buff -> buf 2023-03-13 17:55:53 +01:00
control_default.go conn, device: use UDP GSO and GRO on Linux 2023-09-29 15:32:54 -07:00
control_linux.go conn, device: use UDP GSO and GRO on Linux 2023-09-29 15:32:54 -07:00
control_linux_test.go conn, device: use UDP GSO and GRO on Linux 2023-09-29 15:32:54 -07:00
controlfns.go conn: set SO_{SND,RCV}BUF to 7MB on the Bind UDP socket 2023-03-10 14:52:20 +01:00
controlfns_linux.go conn, device: use UDP GSO and GRO on Linux 2023-09-29 15:32:54 -07:00
controlfns_unix.go adjust build tags for tamago 2023-09-29 15:32:57 -07:00
controlfns_windows.go conn: set SO_{SND,RCV}BUF to 7MB on the Bind UDP socket 2023-03-10 14:52:20 +01:00
default.go conn, device, tun: implement vectorized I/O on Linux 2023-03-10 14:52:17 +01:00
erraddrinuse.go all: adjust build tags for plan9 2023-09-29 15:32:57 -07:00
errors_default.go conn, device: use UDP GSO and GRO on Linux 2023-09-29 15:32:54 -07:00
errors_linux.go conn, device: use UDP GSO and GRO on Linux 2023-09-29 15:32:54 -07:00
features_default.go conn, device: use UDP GSO and GRO on Linux 2023-09-29 15:32:54 -07:00
features_linux.go conn, device: use UDP GSO and GRO on Linux 2023-09-29 15:32:54 -07:00
mark_default.go conn, device, tun: implement vectorized I/O on Linux 2023-03-10 14:52:17 +01:00
mark_unix.go conn, device, tun: implement vectorized I/O on Linux 2023-03-10 14:52:17 +01:00