A connected peer. More...
Data Fields | |
struct GSF_PeerPerformanceData | ppd |
Performance data for this peer. More... | |
struct GNUNET_TIME_Absolute | last_migration_block |
Time until when we blocked this peer from migrating data to us. More... | |
struct GNUNET_SCHEDULER_Task * | mig_revive_task |
Task scheduled to revive migration to this peer. More... | |
struct GSF_PeerTransmitHandle * | pth_head |
Messages (replies, queries, content migration) we would like to send to this peer in the near future. More... | |
struct GSF_PeerTransmitHandle * | pth_tail |
Messages (replies, queries, content migration) we would like to send to this peer in the near future. More... | |
struct GSF_DelayedHandle * | delayed_head |
Messages (replies, queries, content migration) we would like to send to this peer in the near future. More... | |
struct GSF_DelayedHandle * | delayed_tail |
Messages (replies, queries, content migration) we would like to send to this peer in the near future. More... | |
struct GNUNET_SCHEDULER_Task * | rc_delay_task |
Task scheduled if we need to retry bandwidth reservation later. More... | |
struct GNUNET_CONTAINER_MultiHashMap * | request_map |
Active requests from this neighbour, map of query to struct PeerRequest . More... | |
struct GNUNET_MQ_Handle * | mq |
Handle for an active request for transmission to this peer. More... | |
uint64_t | inc_preference |
Increase in traffic preference still to be submitted to the core service for this peer. More... | |
unsigned int | delay_queue_size |
Number of entries in delayed_head DLL. More... | |
uint32_t | disk_respect |
Respect rating for this peer on disk. More... | |
unsigned int | last_p2p_replies_woff |
Which offset in last_p2p_replies will be updated next? (we go round-robin). More... | |
unsigned int | last_client_replies_woff |
Which offset in last_client_replies will be updated next? (we go round-robin). More... | |
unsigned int | last_request_times_off |
Current offset into last_request_times ring buffer. More... | |
struct GNUNET_PEERSTORE_IterateContext * | respect_iterate_req |
Handle to the PEERSTORE iterate request for peer respect value. More... | |
A connected peer.
Definition at line 165 of file gnunet-service-fs_cp.c.
struct GSF_PeerPerformanceData GSF_ConnectedPeer::ppd |
Performance data for this peer.
Definition at line 170 of file gnunet-service-fs_cp.c.
Referenced by call_iterator(), change_peer_respect(), clean_local_client(), flush_respect(), GSF_connected_peer_get_identity2_(), GSF_connected_peer_get_identity_(), GSF_get_peer_performance_data_(), GSF_peer_connect_handler(), GSF_peer_disconnect_handler(), GSF_peer_transmit_(), GSF_peer_update_performance_(), GSF_peer_update_responder_client_(), GSF_peer_update_responder_peer_(), GSF_update_peer_latency_(), handle_p2p_get(), handle_p2p_migration_stop(), peer_respect_cb(), peer_transmit(), revive_migration(), and schedule_transmission().
struct GNUNET_TIME_Absolute GSF_ConnectedPeer::last_migration_block |
Time until when we blocked this peer from migrating data to us.
Definition at line 176 of file gnunet-service-fs_cp.c.
Referenced by GSF_block_peer_migration_().
struct GNUNET_SCHEDULER_Task* GSF_ConnectedPeer::mig_revive_task |
Task scheduled to revive migration to this peer.
Definition at line 181 of file gnunet-service-fs_cp.c.
Referenced by GSF_peer_disconnect_handler(), handle_p2p_migration_stop(), and revive_migration().
struct GSF_PeerTransmitHandle* GSF_ConnectedPeer::pth_head |
Messages (replies, queries, content migration) we would like to send to this peer in the near future.
Sorted by priority, head.
Definition at line 187 of file gnunet-service-fs_cp.c.
Referenced by GSF_peer_disconnect_handler(), GSF_peer_transmit_(), and peer_transmit().
struct GSF_PeerTransmitHandle* GSF_ConnectedPeer::pth_tail |
Messages (replies, queries, content migration) we would like to send to this peer in the near future.
Sorted by priority, tail.
Definition at line 193 of file gnunet-service-fs_cp.c.
Referenced by GSF_peer_disconnect_handler(), GSF_peer_transmit_(), and peer_transmit().
struct GSF_DelayedHandle* GSF_ConnectedPeer::delayed_head |
Messages (replies, queries, content migration) we would like to send to this peer in the near future.
Sorted by priority, head.
Definition at line 199 of file gnunet-service-fs_cp.c.
Referenced by GSF_peer_disconnect_handler(), handle_p2p_reply(), and transmit_delayed_now().
struct GSF_DelayedHandle* GSF_ConnectedPeer::delayed_tail |
Messages (replies, queries, content migration) we would like to send to this peer in the near future.
Sorted by priority, tail.
Definition at line 205 of file gnunet-service-fs_cp.c.
Referenced by GSF_peer_disconnect_handler(), handle_p2p_reply(), and transmit_delayed_now().
struct GNUNET_SCHEDULER_Task* GSF_ConnectedPeer::rc_delay_task |
Task scheduled if we need to retry bandwidth reservation later.
Definition at line 210 of file gnunet-service-fs_cp.c.
struct GNUNET_CONTAINER_MultiHashMap* GSF_ConnectedPeer::request_map |
Active requests from this neighbour, map of query to struct PeerRequest
.
Definition at line 215 of file gnunet-service-fs_cp.c.
Referenced by free_pending_request(), GSF_peer_connect_handler(), GSF_peer_disconnect_handler(), and handle_p2p_get().
struct GNUNET_MQ_Handle* GSF_ConnectedPeer::mq |
Handle for an active request for transmission to this peer.
Definition at line 221 of file gnunet-service-fs_cp.c.
Referenced by GSF_peer_connect_handler(), handle_p2p_get(), and peer_transmit().
uint64_t GSF_ConnectedPeer::inc_preference |
Increase in traffic preference still to be submitted to the core service for this peer.
Definition at line 227 of file gnunet-service-fs_cp.c.
Referenced by GSF_connected_peer_change_preference_().
unsigned int GSF_ConnectedPeer::delay_queue_size |
Number of entries in delayed_head DLL.
Definition at line 232 of file gnunet-service-fs_cp.c.
Referenced by GSF_peer_disconnect_handler(), handle_p2p_get(), handle_p2p_reply(), and transmit_delayed_now().
uint32_t GSF_ConnectedPeer::disk_respect |
Respect rating for this peer on disk.
Definition at line 237 of file gnunet-service-fs_cp.c.
Referenced by flush_respect(), and peer_respect_cb().
unsigned int GSF_ConnectedPeer::last_p2p_replies_woff |
Which offset in last_p2p_replies will be updated next? (we go round-robin).
Definition at line 243 of file gnunet-service-fs_cp.c.
Referenced by GSF_peer_update_responder_peer_().
unsigned int GSF_ConnectedPeer::last_client_replies_woff |
Which offset in last_client_replies will be updated next? (we go round-robin).
Definition at line 249 of file gnunet-service-fs_cp.c.
Referenced by GSF_peer_update_responder_client_().
unsigned int GSF_ConnectedPeer::last_request_times_off |
Current offset into last_request_times ring buffer.
Definition at line 254 of file gnunet-service-fs_cp.c.
Referenced by peer_transmit().
struct GNUNET_PEERSTORE_IterateContext* GSF_ConnectedPeer::respect_iterate_req |
Handle to the PEERSTORE iterate request for peer respect value.
Definition at line 259 of file gnunet-service-fs_cp.c.
Referenced by GSF_peer_connect_handler(), GSF_peer_disconnect_handler(), handle_p2p_migration_stop(), and peer_respect_cb().