You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/cmd/natc
Fran Bull e2eb6eb870 cmd/natc: separate perPeerState from connector
Make the perPeerState objects able to function independently without a
shared reference to the connector.

We don't currently change the values from connector that perPeerState
uses at runtime. Explicitly copying them at perPeerState creation allows
us to, for example, put the perPeerState into a consensus algorithm in
the future.

Updates #14667

Signed-off-by: Fran Bull <fran@tailscale.com>
8 months ago
..
ipx.go cmd/natc: fix ip allocation runtime 8 months ago
ipx_test.go cmd/natc: fix ip allocation runtime 8 months ago
natc.go cmd/natc: separate perPeerState from connector 8 months ago
natc_test.go cmd/natc: separate perPeerState from connector 8 months ago