|
|
@ -123,8 +123,7 @@ type userspaceEngine struct {
|
|
|
|
trimmedNodes map[key.NodePublic]bool // set of node keys of peers currently excluded from wireguard config
|
|
|
|
trimmedNodes map[key.NodePublic]bool // set of node keys of peers currently excluded from wireguard config
|
|
|
|
sentActivityAt map[netip.Addr]*mono.Time // value is accessed atomically
|
|
|
|
sentActivityAt map[netip.Addr]*mono.Time // value is accessed atomically
|
|
|
|
destIPActivityFuncs map[netip.Addr]func()
|
|
|
|
destIPActivityFuncs map[netip.Addr]func()
|
|
|
|
statusBufioReader *bufio.Reader // reusable for UAPI
|
|
|
|
lastStatusPollTime mono.Time // last time we polled the engine status
|
|
|
|
lastStatusPollTime mono.Time // last time we polled the engine status
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mu sync.Mutex // guards following; see lock order comment below
|
|
|
|
mu sync.Mutex // guards following; see lock order comment below
|
|
|
|
netMap *netmap.NetworkMap // or nil
|
|
|
|
netMap *netmap.NetworkMap // or nil
|
|
|
|