ipn/ipnlocal,wgengine: implement wg-go SetPriorityMessageOnEstablishmentFunc (#20606)
Implements a way to send TSMPDiscoAdverts based on a trigger from wireguard-go when a rekey happens. This lets us distribute disco keys consistently, but also sets us up for a minimal message that can be distributed to other clients. A benchmark is implemented to make it easier to keep the call cheap and to avoid locking up anything in wireguard-go. Updates #20081 Signed-off-by: Claus Lensbøl <claus@tailscale.com>
C
Claus Lensbøl committed
3799eaf2648b584b37be0e472a266ae5aa504cea
Parent: eaf1b56
Committed by GitHub <noreply@github.com>
on 7/30/2026, 1:20:43 PM