|
|
@ -391,13 +391,14 @@ type RegisterResponse struct {
|
|
|
|
// using the local machine key, and sent to:
|
|
|
|
// using the local machine key, and sent to:
|
|
|
|
// https://login.tailscale.com/machine/<mkey hex>/map
|
|
|
|
// https://login.tailscale.com/machine/<mkey hex>/map
|
|
|
|
type MapRequest struct {
|
|
|
|
type MapRequest struct {
|
|
|
|
Version int // current version is 4
|
|
|
|
Version int // current version is 4
|
|
|
|
Compress string // "zstd" or "" (no compression)
|
|
|
|
Compress string // "zstd" or "" (no compression)
|
|
|
|
KeepAlive bool // server sends keep-alives
|
|
|
|
KeepAlive bool // server sends keep-alives
|
|
|
|
NodeKey NodeKey
|
|
|
|
NodeKey NodeKey
|
|
|
|
Endpoints []string
|
|
|
|
Endpoints []string // caller's endpoints (IPv4 or IPv6)
|
|
|
|
Stream bool // if true, multiple MapResponse objects are returned
|
|
|
|
IncludeIPv6 bool // include IPv6 endpoints in returned Node Endpoints
|
|
|
|
Hostinfo *Hostinfo
|
|
|
|
Stream bool // if true, multiple MapResponse objects are returned
|
|
|
|
|
|
|
|
Hostinfo *Hostinfo
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type MapResponse struct {
|
|
|
|
type MapResponse struct {
|
|
|
|