GNUnet 0.22.2
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_TRANSPORT_ApplicationSuggestHandleash
 Transport suggest handle. 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 55 of file plugin_dhtu_gnunet.c.

Field Documentation

◆ app_ctx

void * GNUNET_DHTU_Target::app_ctx

Application context for this target.

Definition at line 61 of file plugin_dhtu_gnunet.c.

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

◆ plugin

struct Plugin* GNUNET_DHTU_Target::plugin

Our plugin with its environment.

Definition at line 66 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 71 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 76 of file plugin_dhtu_gnunet.c.

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

◆ ph_tail

struct GNUNET_DHTU_PreferenceHandle * GNUNET_DHTU_Target::ph_tail

Tail of preferences expressed for this target.

Definition at line 81 of file plugin_dhtu_gnunet.c.

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

◆ ash

struct GNUNET_TRANSPORT_ApplicationSuggestHandle* GNUNET_DHTU_Target::ash

Transport suggest handle.

Definition at line 86 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 91 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 96 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 97 of file plugin_dhtu_ip.c.

◆ prev

struct GNUNET_DHTU_Target* GNUNET_DHTU_Target::prev

Kept in a DLL.

Definition at line 102 of file plugin_dhtu_ip.c.

◆ addr

struct sockaddr_storage GNUNET_DHTU_Target::addr

Target IP address.

Definition at line 127 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 132 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: