GNUnet  0.11.x
Data Fields
GNUNET_DHTU_Source Struct Reference

Opaque handle that the underlay offers for our address to be used when sending messages to another peer. More...

Collaboration diagram for GNUNET_DHTU_Source:
[legend]

Data Fields

void * app_ctx
 Application context for this source. More...
 
struct GNUNET_DHTU_Hash my_id
 Hash position of this peer in the DHT. More...
 
struct GNUNET_DHTU_PrivateKey pk
 Private key of this peer. More...
 
struct GNUNET_DHTU_Sourcenext
 Kept in a DLL. More...
 
struct GNUNET_DHTU_Sourceprev
 Kept in a DLL. More...
 
char * address
 Address in URL form ("ip+udp://$IP:$PORT") More...
 
struct GNUNET_DHTU_Hash id
 Hash of the IP address. More...
 
struct sockaddr_storage addr
 My actual address. More...
 
socklen_t addrlen
 Number of bytes in addr. More...
 
unsigned int scan_generation
 Last generation this address was observed. More...
 

Detailed Description

Opaque handle that the underlay offers for our address to be used when sending messages to another peer.

Definition at line 105 of file plugin_dhtu_gnunet.c.

Field Documentation

◆ app_ctx

void * GNUNET_DHTU_Source::app_ctx

Application context for this source.

Definition at line 111 of file plugin_dhtu_gnunet.c.

Referenced by create_source(), handle_core_message(), libgnunet_plugin_dhtu_ip_done(), peerinfo_cb(), and read_cb().

◆ my_id

struct GNUNET_DHTU_Hash GNUNET_DHTU_Source::my_id

Hash position of this peer in the DHT.

Definition at line 111 of file plugin_dhtu_gnunet.c.

Referenced by peerinfo_cb().

◆ pk

struct GNUNET_DHTU_PrivateKey GNUNET_DHTU_Source::pk

Private key of this peer.

Definition at line 111 of file plugin_dhtu_gnunet.c.

Referenced by peerinfo_cb().

◆ next

struct GNUNET_DHTU_Source* GNUNET_DHTU_Source::next

Kept in a DLL.

Definition at line 51 of file plugin_dhtu_ip.c.

Referenced by find_source(), process_ifcs(), and scan().

◆ prev

struct GNUNET_DHTU_Source* GNUNET_DHTU_Source::prev

Kept in a DLL.

Definition at line 56 of file plugin_dhtu_ip.c.

◆ address

char* GNUNET_DHTU_Source::address

Address in URL form ("ip+udp://$IP:$PORT")

Definition at line 66 of file plugin_dhtu_ip.c.

Referenced by create_source(), and libgnunet_plugin_dhtu_ip_done().

◆ id

struct GNUNET_DHTU_Hash GNUNET_DHTU_Source::id

Hash of the IP address.

Definition at line 66 of file plugin_dhtu_ip.c.

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

◆ addr

struct sockaddr_storage GNUNET_DHTU_Source::addr

My actual address.

Definition at line 66 of file plugin_dhtu_ip.c.

Referenced by create_source(), find_source(), and process_ifcs().

◆ addrlen

socklen_t GNUNET_DHTU_Source::addrlen

Number of bytes in addr.

Definition at line 81 of file plugin_dhtu_ip.c.

Referenced by create_source(), find_source(), and process_ifcs().

◆ scan_generation

unsigned int GNUNET_DHTU_Source::scan_generation

Last generation this address was observed.

Definition at line 86 of file plugin_dhtu_ip.c.

Referenced by create_source(), and process_ifcs().


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