#include <peer_info.h>
Public Attributes | |
| PeerId | id |
| std::vector< Address > | addresses |
| known dialable addresses | |
| std::optional< Address > | endpoint |
| Where this connection's packets come from: over UDP, the endpoint the peer's NAT maps its shared socket to (what a third node has to aim at); over TCP an ephemeral port. | |
| ConnRole | direction = ConnRole::Outbound |
| TransportKind | transport = TransportKind::Tcp |
| wire this connection runs on | |
| uint8_t | supported_transports = PeerTransportNone |
| what the peer advertised | |
| std::string | agent_version |
| optional remote agent string | |
Definition at line 29 of file peer_info.h.
| std::vector<Address> librats::PeerInfo::addresses |
known dialable addresses
Definition at line 31 of file peer_info.h.
| std::string librats::PeerInfo::agent_version |
optional remote agent string
Definition at line 39 of file peer_info.h.
| ConnRole librats::PeerInfo::direction = ConnRole::Outbound |
Definition at line 36 of file peer_info.h.
| std::optional<Address> librats::PeerInfo::endpoint |
Where this connection's packets come from: over UDP, the endpoint the peer's NAT maps its shared socket to (what a third node has to aim at); over TCP an ephemeral port.
Nullopt for a relayed connection.
Definition at line 35 of file peer_info.h.
| PeerId librats::PeerInfo::id |
Definition at line 30 of file peer_info.h.
| uint8_t librats::PeerInfo::supported_transports = PeerTransportNone |
what the peer advertised
Definition at line 38 of file peer_info.h.
| TransportKind librats::PeerInfo::transport = TransportKind::Tcp |
wire this connection runs on
Definition at line 37 of file peer_info.h.