GNUnet  0.19.0
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 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...
 
struct GNUNET_PeerIdentity pid
 Identity of this peer. 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 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 84 of file plugin_dhtu_gnunet.c.

Field Documentation

◆ app_ctx

void * GNUNET_DHTU_Target::app_ctx

Application context for this target.

Definition at line 90 of file plugin_dhtu_gnunet.c.

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

◆ plugin

struct Plugin* GNUNET_DHTU_Target::plugin

Our plugin with its environment.

Definition at line 95 of file plugin_dhtu_gnunet.c.

Referenced by core_connect_cb(), and gnunet_drop().

◆ mq

struct GNUNET_MQ_Handle* GNUNET_DHTU_Target::mq

CORE MQ to send messages to this peer.

Definition at line 100 of file plugin_dhtu_gnunet.c.

Referenced by core_connect_cb(), and gnunet_send().

◆ ph_head

struct GNUNET_DHTU_PreferenceHandle * GNUNET_DHTU_Target::ph_head

Head of preferences expressed for this target.

Definition at line 105 of file plugin_dhtu_gnunet.c.

Referenced by gnunet_drop(), gnunet_hold(), 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 110 of file plugin_dhtu_gnunet.c.

Referenced by gnunet_drop(), gnunet_hold(), 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 115 of file plugin_dhtu_gnunet.c.

Referenced by core_disconnect_cb(), gnunet_drop(), and gnunet_hold().

◆ pid

struct GNUNET_PeerIdentity GNUNET_DHTU_Target::pid

Identity of this peer.

Peer's identity.

Definition at line 115 of file plugin_dhtu_gnunet.c.

Referenced by core_connect_cb(), create_target(), gnunet_drop(), and gnunet_hold().

◆ ph_count

unsigned int GNUNET_DHTU_Target::ph_count

Preference counter, length of the ph_head DLL.

Definition at line 125 of file plugin_dhtu_gnunet.c.

Referenced by gnunet_drop(), gnunet_hold(), ip_drop(), and ip_hold().

◆ next

struct GNUNET_DHTU_Target* GNUNET_DHTU_Target::next

Kept in a DLL.

Definition at line 96 of file plugin_dhtu_ip.c.

◆ prev

struct GNUNET_DHTU_Target* GNUNET_DHTU_Target::prev

Kept in a DLL.

Definition at line 101 of file plugin_dhtu_ip.c.

◆ addr

struct sockaddr_storage GNUNET_DHTU_Target::addr

Target IP address.

Definition at line 116 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 131 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: