Documentation
¶
Overview ¶
Package events contains type used as eventbus topics in tailscaled.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiscoKeyAdvertisement ¶
type DiscoKeyAdvertisement struct {
Src netip.Addr // Src field is populated by the IP header of the packet, not from the payload itself.
Key key.DiscoPublic
}
DiscoKeyAdvertisement is an event sent on the [eventbus.Bus] when a disco key has been received over TSMP.
Its publisher is [tstun.Wrapper]; its main subscriber is [controlclient.Direct], that injects the received key into the netmap as if it was a netmap update from control.
Click to show internal directories.
Click to hide internal directories.