GNUnet  0.18.1
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_Sourcenext
 Kept in a DLL. More...
 
struct GNUNET_DHTU_Sourceprev
 Kept in a DLL. More...
 
char * address
 Address in URL form ("ip+udp://$PID/$IP:$PORT") 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 69 of file plugin_dhtu_gnunet.c.

Field Documentation

◆ app_ctx

void * GNUNET_DHTU_Source::app_ctx

Application context for this source.

Definition at line 75 of file plugin_dhtu_gnunet.c.

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

◆ 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(), 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://$PID/$IP:$PORT")

Definition at line 66 of file plugin_dhtu_ip.c.

Referenced by create_source(), libgnunet_plugin_dhtu_ip_done(), and scan().

◆ 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(), and find_source().

◆ addrlen

socklen_t GNUNET_DHTU_Source::addrlen

Number of bytes in addr.

Definition at line 76 of file plugin_dhtu_ip.c.

Referenced by create_source(), and find_source().

◆ scan_generation

unsigned int GNUNET_DHTU_Source::scan_generation

Last generation this address was observed.

Definition at line 81 of file plugin_dhtu_ip.c.

Referenced by create_source(), read_cb(), and scan().


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