GNUnet  0.11.x
Data Fields
GNUNET_DHTU_Target Struct Reference

Opaque handle that the underlay offers for the target peer when sending messages to another peer. More...

Collaboration diagram for GNUNET_DHTU_Target:
[legend]

Data Fields

void * app_ctx
 Application context for this target. More...
 
struct Pluginplugin
 Our plugin with its environment. More...
 
struct GNUNET_MQ_Handlemq
 CORE MQ to send messages to this peer. More...
 
struct PublicKey pk
 Public key of the peer. More...
 
struct GNUNET_DHTU_Hash peer_id
 Hash of the pk to identify position of the peer in the DHT. More...
 
struct GNUNET_DHTU_PreferenceHandleph_head
 Head of preferences expressed for this target. More...
 
struct GNUNET_DHTU_PreferenceHandleph_tail
 Tail of preferences expressed for this target. More...
 
struct GNUNET_ATS_ConnectivitySuggestHandlecsh
 ATS preference handle for this peer, or NULL. More...
 
unsigned int ph_count
 Preference counter, length of the ph_head DLL. More...
 
struct GNUNET_DHTU_Targetnext
 Kept in a DLL. More...
 
struct GNUNET_DHTU_Targetprev
 Kept in a DLL. More...
 
struct GNUNET_DHTU_Hash id
 Hash of the IP address. More...
 
struct sockaddr_storage addr
 Target IP address. More...
 
socklen_t addrlen
 Number of bytes in addr. More...
 

Detailed Description

Opaque handle that the underlay offers for the target peer when sending messages to another peer.

Definition at line 130 of file plugin_dhtu_gnunet.c.

Field Documentation

◆ app_ctx

void * GNUNET_DHTU_Target::app_ctx

Application context for this target.

Definition at line 136 of file plugin_dhtu_gnunet.c.

Referenced by core_connect_cb(), core_disconnect_cb(), create_target(), handle_core_message(), libgnunet_plugin_dhtu_ip_done(), and read_cb().

◆ plugin

struct Plugin* GNUNET_DHTU_Target::plugin

Our plugin with its environment.

Definition at line 141 of file plugin_dhtu_gnunet.c.

Referenced by core_connect_cb(), handle_core_message(), and ip_drop().

◆ mq

struct GNUNET_MQ_Handle* GNUNET_DHTU_Target::mq

CORE MQ to send messages to this peer.

Definition at line 146 of file plugin_dhtu_gnunet.c.

Referenced by core_connect_cb(), and ip_send().

◆ pk

struct PublicKey GNUNET_DHTU_Target::pk

Public key of the peer.

Definition at line 146 of file plugin_dhtu_gnunet.c.

Referenced by core_connect_cb(), ip_drop(), and ip_hold().

◆ peer_id

struct GNUNET_DHTU_Hash GNUNET_DHTU_Target::peer_id

Hash of the pk to identify position of the peer in the DHT.

Definition at line 146 of file plugin_dhtu_gnunet.c.

Referenced by core_connect_cb().

◆ ph_head

struct GNUNET_DHTU_PreferenceHandle * GNUNET_DHTU_Target::ph_head

Head of preferences expressed for this target.

Definition at line 162 of file plugin_dhtu_gnunet.c.

Referenced by ip_drop(), ip_hold(), and libgnunet_plugin_dhtu_ip_done().

◆ ph_tail

struct GNUNET_DHTU_PreferenceHandle * GNUNET_DHTU_Target::ph_tail

Tail of preferences expressed for this target.

Definition at line 167 of file plugin_dhtu_gnunet.c.

Referenced by ip_drop(), and ip_hold().

◆ csh

struct GNUNET_ATS_ConnectivitySuggestHandle* GNUNET_DHTU_Target::csh

ATS preference handle for this peer, or NULL.

Definition at line 172 of file plugin_dhtu_gnunet.c.

Referenced by core_disconnect_cb(), ip_drop(), and ip_hold().

◆ ph_count

unsigned int GNUNET_DHTU_Target::ph_count

Preference counter, length of the ph_head DLL.

Definition at line 177 of file plugin_dhtu_gnunet.c.

Referenced by ip_drop(), and ip_hold().

◆ next

struct GNUNET_DHTU_Target* GNUNET_DHTU_Target::next

Kept in a DLL.

Definition at line 101 of file plugin_dhtu_ip.c.

Referenced by create_target().

◆ prev

struct GNUNET_DHTU_Target* GNUNET_DHTU_Target::prev

Kept in a DLL.

Definition at line 106 of file plugin_dhtu_ip.c.

◆ id

struct GNUNET_DHTU_Hash GNUNET_DHTU_Target::id

Hash of the IP address.

Definition at line 111 of file plugin_dhtu_ip.c.

Referenced by create_target(), and gnunet_testing.Peer::start().

◆ addr

struct sockaddr_storage GNUNET_DHTU_Target::addr

Target IP address.

Definition at line 126 of file plugin_dhtu_ip.c.

Referenced by create_target(), find_target(), and ip_send().

◆ addrlen

socklen_t GNUNET_DHTU_Target::addrlen

Number of bytes in addr.

Definition at line 136 of file plugin_dhtu_ip.c.

Referenced by create_target(), find_target(), and ip_send().


The documentation for this struct was generated from the following files: