wireguard-go-awg2-lx/conn
世界 57baac9504
Add batched UDP I/O on Darwin via sendmsg_x/recvmsg_x
On a connected socket sendmsg_x sends a whole batch in one syscall;
msg_name is unsupported there, so batched sends require connecting to
the peer, which loses roaming and is therefore opt-in via
SetSinglePeerMode for single fixed-peer binds. recvmsg_x fills in
per-message source addresses, so batched receive works on unconnected
sockets too. Any unexpected errno permanently falls back to the generic
paths. iOS is excluded: in the Network Extension recvmsg_x on
unconnected UDP sockets delivers no data, and connected sockets stop
passing traffic after a rebind.
2026-07-06 21:06:55 +08:00
..
winrio global: bump copyright notice 2025-05-05 15:05:35 +02:00
bind_std.go Add batched UDP I/O on Darwin via sendmsg_x/recvmsg_x 2026-07-06 21:06:55 +08:00
bind_windows.go Export std net bind 2026-05-17 20:36:46 +08:00
boundif_android.go global: bump copyright notice 2025-05-05 15:05:35 +02:00
conn.go Export std net bind 2026-05-17 20:36:46 +08:00
controlfns.go Export std net bind 2026-05-17 20:36:46 +08:00
controlfns_linux.go conn: don't enable GRO on Linux < 5.12 2025-05-22 01:43:39 +02:00
controlfns_unix.go global: bump copyright notice 2025-05-05 15:05:35 +02:00
controlfns_windows.go global: bump copyright notice 2025-05-05 15:05:35 +02:00
default.go Export std net bind 2026-05-17 20:36:46 +08:00
errors_default.go global: replaced unused function params with _ 2025-05-05 15:10:08 +02:00
errors_linux.go global: bump copyright notice 2025-05-05 15:05:35 +02:00
features_default.go global: replaced unused function params with _ 2025-05-05 15:10:08 +02:00
features_linux.go global: bump copyright notice 2025-05-05 15:05:35 +02:00
gso_default.go global: bump copyright notice 2025-05-05 15:05:35 +02:00
gso_linux.go global: bump copyright notice 2025-05-05 15:05:35 +02:00
mark_default.go global: bump copyright notice 2025-05-05 15:05:35 +02:00
mark_unix.go global: bump copyright notice 2025-05-05 15:05:35 +02:00
msgx_darwin.go Add batched UDP I/O on Darwin via sendmsg_x/recvmsg_x 2026-07-06 21:06:55 +08:00
msgx_default.go Add batched UDP I/O on Darwin via sendmsg_x/recvmsg_x 2026-07-06 21:06:55 +08:00
sticky_default.go global: bump copyright notice 2025-05-05 15:05:35 +02:00
sticky_linux.go global: bump copyright notice 2025-05-05 15:05:35 +02:00