struct blob_attr *ipaddr;
struct blob_attr *subnet;
int port;
+ int pex_port;
+ bool dynamic;
struct {
int connect_attempt;
} state;
};
+struct network_dynamic_peer {
+ struct list_head list;
+
+ struct network_peer peer;
+};
+
struct network_host {
struct avl_node node;
{
struct network_host *host;
- if (!peer)
+ if (!peer || peer->dynamic)
return "(none)";
host = container_of(peer, struct network_host, peer);