An address for communicating with a peer. More...
#include <gnunet_hello_lib.h>
Data Fields | |
struct GNUNET_PeerIdentity | peer |
For which peer is this an address? More... | |
const char * | transport_name |
Name of the transport plugin enabling the communication using this address. More... | |
const void * | address |
Binary representation of the address (plugin-specific). More... | |
size_t | address_length |
Number of bytes in address. More... | |
enum GNUNET_HELLO_AddressInfo | local_info |
Extended information about address. More... | |
An address for communicating with a peer.
We frequently need this tuple and the components cannot really be separated. This is NOT the format that would be used on the wire.
Definition at line 93 of file gnunet_hello_lib.h.
struct GNUNET_PeerIdentity GNUNET_HELLO_Address::peer |
For which peer is this an address?
Definition at line 528 of file gnunet_hello_lib.h.
Referenced by gnunet_testing.StatisticsCondition::check(), gnunet_testing.EqualStatisticsCondition::check(), cleanup_validation_entry(), client_connect(), client_delete_session(), client_receive(), client_receive_mst_cb(), client_run(), client_send_cb(), gnunet_testing.StatisticsCondition::evaluate(), gnunet_testing.EqualStatisticsCondition::evaluate(), find_session(), GNUNET_ATS_address_destroy(), GNUNET_ATS_address_update(), GNUNET_HELLO_address_allocate(), GST_validation_handle_address(), GST_validation_handle_pong(), handle_ats_address_suggestion(), handle_event(), http_client_plugin_get_session(), http_client_plugin_send(), operation_timeout(), process_peer_string(), revalidate_address(), send_add_address_message(), send_syn(), timeout_hello_validation(), and transport_addr_to_str_cb().
const char* GNUNET_HELLO_Address::transport_name |
Name of the transport plugin enabling the communication using this address.
Definition at line 104 of file gnunet_hello_lib.h.
Referenced by add_address_to_hello(), ats_perf_mon_cb(), GNUNET_ATS_address_destroy(), GNUNET_ATS_address_update(), GNUNET_HELLO_address_allocate(), GNUNET_HELLO_address_cmp(), GNUNET_HELLO_address_get_size(), GST_neighbours_calculate_receive_delay(), handle_ats_address_suggestion(), handle_event(), handle_response(), handle_send_transmit_continuation(), inbound_bw_tracker_update(), process_peer_string(), revalidate_address(), send_add_address_message(), send_syn(), transmit_ping_if_allowed(), and transport_addr_to_str_cb().
const void* GNUNET_HELLO_Address::address |
Binary representation of the address (plugin-specific).
Definition at line 109 of file gnunet_hello_lib.h.
Referenced by add_address_to_hello(), client_connect(), client_connect_get(), client_connect_put(), client_receive_mst_cb(), disconnect_notify(), do_transmit(), GNUNET_HELLO_address_allocate(), GNUNET_HELLO_address_cmp(), handle_event(), handle_tcp_welcome(), http_client_plugin_get_session(), nat_connect_timeout(), send_add_address_message(), server_access_cb(), server_receive_mst_cb(), tcp_plugin_disconnect_session(), transmit_ping_if_allowed(), udp_disconnect_session(), udp_plugin_send(), udp_select_send(), unix_plugin_do_write(), unix_plugin_send(), and unix_plugin_session_disconnect().
size_t GNUNET_HELLO_Address::address_length |
Number of bytes in address.
Definition at line 114 of file gnunet_hello_lib.h.
Referenced by ack_proc(), add_address_to_hello(), client_connect(), client_receive_mst_cb(), dequeue(), disconnect_notify(), do_transmit(), enqueue(), enqueue_fragment(), fragmented_message_done(), GNUNET_HELLO_address_allocate(), GNUNET_HELLO_address_cmp(), GNUNET_HELLO_address_get_size(), handle_event(), handle_tcp_welcome(), http_client_plugin_get_session(), nat_connect_timeout(), process_peer_string(), send_add_address_message(), server_access_cb(), server_receive_mst_cb(), tcp_plugin_disconnect_session(), transmit_ping_if_allowed(), transport_addr_to_str_cb(), try_transmission_to_peer(), udp_disconnect_session(), udp_plugin_send(), udp_select_send(), unix_plugin_do_write(), unix_plugin_send(), and unix_plugin_session_disconnect().
enum GNUNET_HELLO_AddressInfo GNUNET_HELLO_Address::local_info |
Extended information about address.
This field contains additional GNUNET_HELLO_AddressInfo flags e.g. to indicate an address is inbound and cannot be used to initiate an outbound connection.
These information are only valid for the local peer and are not serialized when a GNUNET_HELLO_Message is created
Definition at line 114 of file gnunet_hello_lib.h.
Referenced by GNUNET_HELLO_address_allocate(), GNUNET_HELLO_address_cmp(), handle_event(), and send_add_address_message().