GNUnet  0.11.x
Data Fields
Plugin Struct Reference

Handle for a plugin. More...

#include </home/handbook/gnunet/src/transport/plugin_transport_http.h>

Collaboration diagram for Plugin:
[legend]

Data Fields

char * library_name
 Name of the shared library. More...
 
struct GNUNET_BLOCK_PluginFunctionsapi
 Plugin API. More...
 
struct GNUNET_DATACACHE_PluginEnvironmentenv
 Our execution environment. More...
 
struct GNUNET_CONTAINER_MultiHashMapmap
 Our hash map. More...
 
struct GNUNET_CONTAINER_Heapheaps [24]
 Heaps sorted by distance. More...
 
struct GNUNET_PQ_Contextdbh
 Native Postgres database handle. More...
 
unsigned int num_items
 Number of key-value pairs in the database. More...
 
sqlite3 * dbh
 Handle to the sqlite database. More...
 
char * fn
 Filename used for the DB. More...
 
sqlite3_stmt * insert_stmt
 Prepared statement for sqlite_plugin_put. More...
 
sqlite3_stmt * get_count_stmt
 Prepared statement for sqlite_plugin_get. More...
 
sqlite3_stmt * get_stmt
 Prepared statement for sqlite_plugin_get. More...
 
sqlite3_stmt * del_select_stmt
 Prepared statement for sqlite_plugin_del. More...
 
sqlite3_stmt * del_expired_stmt
 Prepared statement for sqlite_plugin_del. More...
 
sqlite3_stmt * del_stmt
 Prepared statement for sqlite_plugin_del. More...
 
sqlite3_stmt * get_random_stmt
 Prepared statement for sqlite_plugin_get_random. More...
 
sqlite3_stmt * get_closest_stmt
 Prepared statement for sqlite_plugin_get_closest. More...
 
struct GNUNET_DATASTORE_PluginEnvironmentenv
 Our execution environment. More...
 
struct GNUNET_CONTAINER_MultiHashMapkeyvalue
 Mapping from keys to 'struct Value's. More...
 
struct GNUNET_CONTAINER_Heapby_expiration
 Heap organized by minimum expiration time. More...
 
struct GNUNET_CONTAINER_Heapby_replication
 Heap organized by maximum replication value. More...
 
struct ZeroAnonByTypezero_head
 Head of list of arrays containing zero-anonymity values by type. More...
 
struct ZeroAnonByTypezero_tail
 Tail of list of arrays containing zero-anonymity values by type. More...
 
unsigned long long size
 Size of all values we're storing. More...
 
struct GNUNET_MYSQL_Contextmc
 Handle to talk to MySQL. More...
 
struct GNUNET_MYSQL_StatementHandleinsert_entry
 
struct GNUNET_MYSQL_StatementHandledelete_entry_by_uid
 
struct GNUNET_MYSQL_StatementHandledelete_entry_by_hash_value
 
struct GNUNET_MYSQL_StatementHandleselect_entry
 
struct GNUNET_MYSQL_StatementHandleselect_entry_by_hash
 
struct GNUNET_MYSQL_StatementHandleselect_entry_by_hash_and_type
 
struct GNUNET_MYSQL_StatementHandleupdate_entry
 
struct GNUNET_MYSQL_StatementHandledec_repl
 
struct GNUNET_MYSQL_StatementHandleget_size
 
struct GNUNET_MYSQL_StatementHandlezero_iter
 
struct GNUNET_MYSQL_StatementHandleselect_expiration
 
struct GNUNET_MYSQL_StatementHandleselect_priority
 
struct GNUNET_MYSQL_StatementHandleselect_replication
 
struct GNUNET_MYSQL_StatementHandlemax_repl
 
struct GNUNET_MYSQL_StatementHandleget_all_keys
 
sqlite3_stmt * remove
 Precompiled SQL for remove_key. More...
 
sqlite3_stmt * delRow
 Precompiled SQL for deletion. More...
 
sqlite3_stmt * update
 Precompiled SQL for update. More...
 
sqlite3_stmt * maxRepl
 Get maximum repl value in database. More...
 
sqlite3_stmt * updRepl
 Precompiled SQL for replication decrement. More...
 
sqlite3_stmt * selRepl
 Precompiled SQL for replication selection. More...
 
sqlite3_stmt * selExpi
 Precompiled SQL for expiration selection. More...
 
sqlite3_stmt * selZeroAnon
 Precompiled SQL for expiration selection. More...
 
sqlite3_stmt * insertContent
 Precompiled SQL for insertion. More...
 
sqlite3_stmt * get [8]
 Precompiled SQL for selection. More...
 
int drop_on_shutdown
 Should the database be dropped on shutdown? More...
 
const struct GNUNET_CONFIGURATION_Handlecfg
 Our configuration. More...
 
struct GNUNET_GNSRECORD_PluginFunctionsapi
 Plugin API. More...
 
struct GNUNET_CONTAINER_MultiHashMaphm
 HashMap. More...
 
sqlite3_stmt * cache_block
 Precompiled SQL for caching a block. More...
 
sqlite3_stmt * delete_block
 Precompiled SQL for deleting an older block. More...
 
sqlite3_stmt * lookup_block
 Precompiled SQL for looking up a block. More...
 
sqlite3_stmt * expire_blocks
 Precompiled SQL for removing expired blocks. More...
 
sqlite3_stmt * store_records
 Precompiled SQL to store records. More...
 
sqlite3_stmt * delete_records
 Precompiled SQL to deltete existing records. More...
 
sqlite3_stmt * iterate_zone
 Precompiled SQL for iterate records within a zone. More...
 
sqlite3_stmt * iterate_all_zones
 Precompiled SQL for iterate all records within all zones. More...
 
sqlite3_stmt * zone_to_name
 Precompiled SQL to for reverse lookup based on PKEY. More...
 
sqlite3_stmt * lookup_label
 Precompiled SQL to lookup records based on label. More...
 
GNUNET_PEERSTORE_Processor iter
 Iterator. More...
 
void * iter_cls
 Iterator cls. More...
 
const char * iter_key
 iterator key More...
 
const struct GNUNET_PeerIdentityiter_peer
 Iterator peer. More...
 
const char * iter_sub_system
 Iterator subsystem. More...
 
struct GNUNET_TIME_Absolute iter_now
 Iterator time. More...
 
uint64_t deleted_entries
 Deleted entries. More...
 
uint64_t exp_changes
 Expired entries. More...
 
int iter_result_found
 Result found bool. More...
 
sqlite3_stmt * insert_peerstoredata
 Precompiled SQL for inserting into peerstoredata. More...
 
sqlite3_stmt * select_peerstoredata
 Precompiled SQL for selecting from peerstoredata. More...
 
sqlite3_stmt * select_peerstoredata_by_pid
 Precompiled SQL for selecting from peerstoredata. More...
 
sqlite3_stmt * select_peerstoredata_by_key
 Precompiled SQL for selecting from peerstoredata. More...
 
sqlite3_stmt * select_peerstoredata_by_all
 Precompiled SQL for selecting from peerstoredata. More...
 
sqlite3_stmt * expire_peerstoredata
 Precompiled SQL for deleting expired records from peerstoredata. More...
 
sqlite3_stmt * delete_peerstoredata
 Precompiled SQL for deleting records with given key. More...
 
struct GNUNET_RECLAIM_ATTRIBUTE_PluginFunctionsapi
 Plugin API. More...
 
struct GNUNET_TRANSPORT_PluginEnvironmentenv
 Our environment. More...
 
struct GNUNET_ATS_Sessionhead
 Head of linked list of open sessions. More...
 
struct GNUNET_ATS_Sessiontail
 Tail of linked list of open sessions. More...
 
struct GNUNET_NAT_Handlenat
 NAT handle & address management. More...
 
struct HttpAddressWrapperaddr_head
 Our own IPv4 addresses DLL head. More...
 
struct HttpAddressWrapperaddr_tail
 Our own IPv4 addresses DLL tail. More...
 
char * external_hostname
 External hostname the plugin can be connected to, can be different to the host's FQDN, used e.g. More...
 
struct HttpAddressext_addr
 External hostname the plugin can be connected to, can be different to the host's FQDN, used e.g. More...
 
size_t ext_addr_len
 External address length. More...
 
struct GNUNET_SCHEDULER_Tasknotify_ext_task
 Task calling transport service about external address. More...
 
char * name
 Plugin name. More...
 
char * protocol
 Plugin protocol http, https. More...
 
int ipv4
 Use IPv4? GNUNET_YES or GNUNET_NO. More...
 
int ipv6
 Use IPv6? GNUNET_YES or GNUNET_NO. More...
 
int client_only
 Does plugin just use outbound connections and not accept inbound? More...
 
uint16_t port
 Port used. More...
 
int max_connections
 Maximum number of sockets the plugin can use Each http inbound /outbound connections are two connections. More...
 
unsigned int outbound_sessions
 Number of outbound sessions. More...
 
unsigned int inbound_sessions
 Number of inbound sessions. More...
 
char * crypto_init
 libCurl TLS crypto init string, can be set to enhance performance More...
 
char * key
 TLS key. More...
 
char * cert
 TLS certificate. More...
 
int cur_connections
 Current number of establishes connections. More...
 
uint32_t last_tag
 Last used unique HTTP connection tag. More...
 
struct MHD_Daemon * server_v4
 MHD IPv4 daemon. More...
 
struct GNUNET_SCHEDULER_Taskserver_v4_task
 MHD IPv4 task. More...
 
int server_v4_immediately
 The IPv4 server is scheduled to run asap. More...
 
struct MHD_Daemon * server_v6
 MHD IPv6 daemon. More...
 
struct GNUNET_SCHEDULER_Taskserver_v6_task
 MHD IPv4 task. More...
 
int server_v6_immediately
 The IPv6 server is scheduled to run asap. More...
 
struct sockaddr_in * server_addr_v4
 IPv4 server socket to bind to. More...
 
struct sockaddr_in6 * server_addr_v6
 IPv6 server socket to bind to. More...
 
struct GNUNET_ATS_Sessionserver_semi_head
 Head of server semi connections A full session consists of 2 semi-connections: send and receive If not both directions are established the server keeps this sessions here. More...
 
struct GNUNET_ATS_Sessionserver_semi_tail
 Tail of server semi connections A full session consists of 2 semi-connections: send and receive If not both directions are established the server keeps this sessions here. More...
 
CURLM * client_mh
 cURL Multihandle More...
 
struct GNUNET_SCHEDULER_Taskclient_perform_task
 curl perform task More...
 
struct GNUNET_CONNECTION_Handlelsock
 The listen socket. More...
 
struct GNUNET_CONTAINER_MultiPeerMapsessionmap
 Map from peer identities to sessions for the given peer. More...
 
struct LEGACY_SERVICE_Contextservice
 Handle to the network service. More...
 
struct GNUNET_SERVER_Handleserver
 Handle to the server for this service. More...
 
struct GNUNET_SERVER_MessageHandlerhandlers
 Copy of the handler array where the closures are set to this struct's instance. More...
 
struct GNUNET_CONTAINER_MultiPeerMapnat_wait_conns
 Map of peers we have tried to contact behind a NAT. More...
 
struct TCPProbeContextprobe_head
 List of active TCP probes. More...
 
struct TCPProbeContextprobe_tail
 List of active TCP probes. More...
 
GNUNET_TRANSPORT_SessionInfoCallback sic
 Function to call about session status changes. More...
 
void * sic_cls
 Closure for sic. More...
 
struct GNUNET_SCHEDULER_Taskaddress_update_task
 ID of task used to update our addresses when one expires. More...
 
struct PrettyPrinterContextppc_dll_head
 Running pretty printers: head. More...
 
struct PrettyPrinterContextppc_dll_tail
 Running pretty printers: tail. More...
 
struct WelcomeMessage my_welcome
 Welcome message used by this peer. More...
 
unsigned long long max_connections
 How many more TCP sessions are we allowed to open right now? More...
 
unsigned long long cur_connections
 How many more TCP sessions do we have right now? More...
 
uint32_t myoptions
 Address options. More...
 
uint16_t open_port
 Port that we are actually listening on. More...
 
uint16_t adv_port
 Port that the user said we would have visible to the rest of the world. More...
 
struct GNUNET_ATS_Sessionsessions
 List of open sessions (or peer map, or...) More...
 
struct GNUNET_CONTAINER_MultiPeerMapsessions
 Session of peers with whom we are currently connected, map of peer identity to struct GNUNET_ATS_Session *. More...
 
struct GNUNET_CONTAINER_Heapdefrag_ctxs
 Heap with all of our defragmentation activities. More...
 
struct GNUNET_SCHEDULER_Taskselect_task_v4
 ID of select task for IPv4. More...
 
struct GNUNET_SCHEDULER_Taskselect_task_v6
 ID of select task for IPv6. More...
 
struct GNUNET_BANDWIDTH_Tracker tracker
 Bandwidth tracker to limit global UDP traffic. More...
 
char * bind4_address
 Address we were told to bind to exclusively (IPv4). More...
 
char * bind6_address
 Address we were told to bind to exclusively (IPv6). More...
 
struct GNUNET_NAT_STUN_Handlestun
 Handle to NAT traversal support. More...
 
struct GNUNET_NETWORK_Handlesockv4
 The read socket for IPv4. More...
 
struct GNUNET_NETWORK_Handlesockv6
 The read socket for IPv6. More...
 
struct BroadcastAddressbroadcast_tail
 Head of DLL of broadcast addresses. More...
 
struct BroadcastAddressbroadcast_head
 Tail of DLL of broadcast addresses. More...
 
struct UDP_MessageWrapperipv4_queue_head
 Head of messages in IPv4 queue. More...
 
struct UDP_MessageWrapperipv4_queue_tail
 Tail of messages in IPv4 queue. More...
 
struct UDP_MessageWrapperipv6_queue_head
 Head of messages in IPv6 queue. More...
 
struct UDP_MessageWrapperipv6_queue_tail
 Tail of messages in IPv6 queue. More...
 
struct sockaddr_in6 ipv6_multicast_address
 IPv6 multicast address. More...
 
struct GNUNET_TIME_Relative broadcast_interval
 Broadcast interval. More...
 
int64_t bytes_in_buffer
 Bytes currently in buffer. More...
 
int enable_ipv6
 Is IPv6 enabled: GNUNET_YES or GNUNET_NO. More...
 
int enable_ipv4
 Is IPv4 enabled: GNUNET_YES or GNUNET_NO. More...
 
int enable_broadcasting
 Is broadcasting enabled: GNUNET_YES or GNUNET_NO. More...
 
int enable_broadcasting_receiving
 Is receiving broadcasts enabled: GNUNET_YES or GNUNET_NO. More...
 
uint16_t broadcast_port
 Port we broadcasting on. More...
 
uint16_t aport
 Port we advertise on. More...
 
struct GNUNET_SCHEDULER_Taskread_task
 ID of read task. More...
 
struct GNUNET_SCHEDULER_Taskwrite_task
 ID of write task. More...
 
unsigned long long bytes_in_queue
 Number of bytes we currently have in our write queues. More...
 
struct GNUNET_CONTAINER_MultiPeerMapsession_map
 Sessions (map from peer identity to struct GNUNET_ATS_Session) More...
 
struct UNIXMessageWrappermsg_head
 Head of queue of messages to transmit. More...
 
struct UNIXMessageWrappermsg_tail
 Tail of queue of messages to transmit. More...
 
char * unix_socket_path
 Path of our unix domain socket (/tmp/unix-plugin) More...
 
struct UNIX_Sock_Info unix_sock
 socket that we transmit all data with More...
 
int is_abstract
 Are we using an abstract UNIX domain socket? More...
 
struct GNUNET_HELPER_Handlesuid_helper
 Handle to helper process for priviledged operations. More...
 
char * helper_argv [3]
 ARGV-vector for the helper (all helpers take only the binary name, one actual argument, plus the NULL terminator for 'argv'). More...
 
char * wlan_interface
 The interface of the wlan card given to us by the user. More...
 
struct GNUNET_SERVER_MessageStreamTokenizerfragment_data_tokenizer
 Tokenizer for demultiplexing of data packets resulting from defragmentation. More...
 
struct GNUNET_SERVER_MessageStreamTokenizerhelper_payload_tokenizer
 Tokenizer for demultiplexing of data packets received from the suid helper. More...
 
struct GNUNET_SERVER_MessageStreamTokenizerwlan_header_payload_tokenizer
 Tokenizer for demultiplexing of data packets that follow the WLAN Header. More...
 
struct MacEndpointmac_head
 Head of list of open connections. More...
 
struct MacEndpointmac_tail
 Tail of list of open connections. More...
 
struct GNUNET_SCHEDULER_Taskbeacon_task
 Task that periodically sends a HELLO beacon via the helper. More...
 
struct GNUNET_TRANSPORT_WLAN_MacAddress mac_address
 The mac_address of the wlan card given to us by the helper. More...
 
int have_mac
 Have we received a control message with our MAC address yet? More...
 
unsigned int mac_count
 Number of connections. More...
 
uint32_t options
 Options for addresses. More...
 

Detailed Description

Handle for a plugin.

Encapsulation of all of the state of the plugin.

struct returned by the initialization function of the plugin

Context for all functions in this plugin.

Definition at line 37 of file block.c.

Field Documentation

◆ library_name

char * Plugin::library_name

Name of the shared library.

Name of the plugin.

Definition at line 42 of file block.c.

Referenced by __attribute__(), add_plugin(), and GNUNET_BLOCK_context_destroy().

◆ api [1/3]

struct GNUNET_BLOCK_PluginFunctions* Plugin::api

Plugin API.

Definition at line 47 of file block.c.

Referenced by __attribute__(), add_plugin(), find_plugin(), GNUNET_BLOCK_context_destroy(), GNUNET_GNSRECORD_number_to_typename(), GNUNET_GNSRECORD_string_to_value(), GNUNET_GNSRECORD_typename_to_number(), GNUNET_GNSRECORD_value_to_string(), GNUNET_RECLAIM_ATTRIBUTE_number_to_typename(), GNUNET_RECLAIM_ATTRIBUTE_string_to_value(), GNUNET_RECLAIM_ATTRIBUTE_typename_to_number(), GNUNET_RECLAIM_ATTRIBUTE_value_to_string(), libgnunet_plugin_datacache_heap_done(), libgnunet_plugin_datacache_heap_init(), libgnunet_plugin_datacache_postgres_done(), libgnunet_plugin_datacache_postgres_init(), libgnunet_plugin_datacache_sqlite_done(), libgnunet_plugin_datacache_sqlite_init(), libgnunet_plugin_datacache_template_done(), libgnunet_plugin_datacache_template_init(), libgnunet_plugin_datastore_heap_init(), libgnunet_plugin_datastore_mysql_done(), libgnunet_plugin_datastore_mysql_init(), libgnunet_plugin_datastore_postgres_done(), libgnunet_plugin_datastore_postgres_init(), libgnunet_plugin_datastore_sqlite_done(), libgnunet_plugin_datastore_sqlite_init(), libgnunet_plugin_datastore_template_done(), libgnunet_plugin_datastore_template_init(), libgnunet_plugin_namecache_flat_done(), libgnunet_plugin_namecache_flat_init(), libgnunet_plugin_namecache_postgres_done(), libgnunet_plugin_namecache_postgres_init(), libgnunet_plugin_namecache_sqlite_done(), libgnunet_plugin_namecache_sqlite_init(), libgnunet_plugin_namestore_flat_done(), libgnunet_plugin_namestore_flat_init(), libgnunet_plugin_namestore_postgres_done(), libgnunet_plugin_namestore_postgres_init(), libgnunet_plugin_namestore_sqlite_done(), libgnunet_plugin_namestore_sqlite_init(), libgnunet_plugin_peerstore_flat_done(), libgnunet_plugin_peerstore_flat_init(), libgnunet_plugin_peerstore_sqlite_done(), libgnunet_plugin_peerstore_sqlite_init(), libgnunet_plugin_rest_config_done(), libgnunet_plugin_rest_config_init(), libgnunet_plugin_rest_copying_done(), libgnunet_plugin_rest_copying_init(), libgnunet_plugin_rest_gns_done(), libgnunet_plugin_rest_gns_init(), libgnunet_plugin_rest_identity_done(), libgnunet_plugin_rest_identity_init(), libgnunet_plugin_rest_namestore_done(), libgnunet_plugin_rest_namestore_init(), libgnunet_plugin_rest_openid_connect_done(), libgnunet_plugin_rest_openid_connect_init(), libgnunet_plugin_rest_peerinfo_done(), libgnunet_plugin_rest_peerinfo_init(), libgnunet_plugin_rest_reclaim_done(), libgnunet_plugin_rest_reclaim_init(), LIBGNUNET_PLUGIN_TRANSPORT_INIT(), libgnunet_plugin_transport_template_init(), and libgnunet_plugin_transport_unix_init().

◆ env [1/3]

struct GNUNET_TRANSPORT_PluginEnvironment * Plugin::env

Our execution environment.

Our environment.

Definition at line 46 of file plugin_datacache_heap.c.

Referenced by ack_message_sent(), ack_proc(), analyze_send_error(), broadcast_mst_cb(), client_receive_mst_cb(), connect_notify(), create_macendpoint(), create_session(), database_setup(), dequeue(), disconnect_notify(), do_transmit(), enqueue(), execute_get(), execute_select(), fragmented_message_done(), free_fragment_message(), free_macendpoint(), handle_helper_message(), handle_tcp_data(), handle_tcp_nat_probe(), handle_tcp_welcome(), heap_plugin_del(), iface_proc(), init_connection(), libgnunet_plugin_datacache_heap_init(), libgnunet_plugin_datacache_postgres_init(), libgnunet_plugin_datacache_sqlite_init(), libgnunet_plugin_datacache_template_init(), libgnunet_plugin_datastore_heap_init(), libgnunet_plugin_datastore_mysql_init(), libgnunet_plugin_datastore_postgres_init(), libgnunet_plugin_datastore_sqlite_done(), libgnunet_plugin_datastore_sqlite_init(), libgnunet_plugin_datastore_template_init(), LIBGNUNET_PLUGIN_TRANSPORT_DONE(), LIBGNUNET_PLUGIN_TRANSPORT_INIT(), libgnunet_plugin_transport_tcp_init(), libgnunet_plugin_transport_template_init(), libgnunet_plugin_transport_udp_init(), libgnunet_plugin_transport_unix_init(), mysql_plugin_drop(), mysql_plugin_put(), mysql_plugin_remove_key(), postgres_plugin_del(), postgres_plugin_put(), postgres_plugin_remove_key(), prepare_beacon(), process_data(), process_inbound_tokenized_messages(), process_result(), process_udp_message(), qc_fragment_sent(), qc_message_sent(), read_process_fragment(), remove_timeout_messages_and_select(), send_ack(), send_hello_beacon(), send_with_fragmentation(), server_send_callback(), session_disconnect_it(), setup_broadcast(), setup_sockets(), sqlite_plugin_del(), sqlite_plugin_put(), sqlite_plugin_remove_key(), tcp_nat_port_map_callback(), tcp_plugin_disconnect_session(), tcp_plugin_get_network_for_address(), tcp_plugin_get_session(), tcp_plugin_send(), transmit_fragment(), try_connection_reversal(), udp_disconnect_session(), udp_nat_port_map_callback(), udp_plugin_create_session(), udp_plugin_get_network_for_address(), udp_plugin_get_session(), udp_plugin_send(), udp_select_read(), udp_select_send(), unix_demultiplexer(), unix_plugin_do_write(), unix_plugin_get_session(), unix_plugin_send(), unix_plugin_session_disconnect(), wlan_data_message_handler(), wlan_plugin_disconnect_session(), and wlan_plugin_send().

◆ map

struct GNUNET_CONTAINER_MultiHashMap* Plugin::map

◆ heaps

struct GNUNET_CONTAINER_Heap* Plugin::heaps[24]

◆ dbh [1/2]

sqlite3 * Plugin::dbh

Native Postgres database handle.

Native SQLite database handle.

Postgres database handle.

Definition at line 51 of file plugin_datacache_postgres.c.

Referenced by database_setup(), database_shutdown(), delete_by_rowid(), delete_old_block(), execute_get(), get_records_and_call_iterator(), init_connection(), libgnunet_plugin_datacache_postgres_done(), libgnunet_plugin_datacache_sqlite_done(), libgnunet_plugin_datacache_sqlite_init(), libgnunet_plugin_datastore_postgres_done(), namecache_postgres_cache_block(), namecache_postgres_expire_blocks(), namecache_postgres_lookup_block(), namecache_sqlite_cache_block(), namecache_sqlite_expire_blocks(), namecache_sqlite_lookup_block(), namestore_postgres_iterate_records(), namestore_postgres_lookup_records(), namestore_postgres_store_records(), namestore_postgres_zone_to_name(), namestore_sqlite_iterate_records(), namestore_sqlite_lookup_records(), namestore_sqlite_store_records(), namestore_sqlite_zone_to_name(), peerstore_sqlite_delete_records(), peerstore_sqlite_expire_records(), peerstore_sqlite_iterate_records(), peerstore_sqlite_store_record(), postgres_plugin_del(), postgres_plugin_drop(), postgres_plugin_estimate_size(), postgres_plugin_get(), postgres_plugin_get_closest(), postgres_plugin_get_expiration(), postgres_plugin_get_key(), postgres_plugin_get_keys(), postgres_plugin_get_random(), postgres_plugin_get_replication(), postgres_plugin_get_zero_anonymity(), postgres_plugin_put(), postgres_plugin_remove_key(), process_result(), repl_proc(), sqlite_plugin_del(), sqlite_plugin_estimate_size(), sqlite_plugin_get(), sqlite_plugin_get_closest(), sqlite_plugin_get_keys(), sqlite_plugin_get_random(), sqlite_plugin_get_replication(), sqlite_plugin_put(), and sqlite_plugin_remove_key().

◆ num_items

unsigned int Plugin::num_items

◆ dbh [2/2]

sqlite3* Plugin::dbh

Handle to the sqlite database.

Native SQLite database handle.

Definition at line 57 of file plugin_datacache_sqlite.c.

◆ fn

char * Plugin::fn

◆ insert_stmt

sqlite3_stmt* Plugin::insert_stmt

◆ get_count_stmt

sqlite3_stmt* Plugin::get_count_stmt

◆ get_stmt

sqlite3_stmt* Plugin::get_stmt

◆ del_select_stmt

sqlite3_stmt* Plugin::del_select_stmt

◆ del_expired_stmt

sqlite3_stmt* Plugin::del_expired_stmt

◆ del_stmt

sqlite3_stmt* Plugin::del_stmt

◆ get_random_stmt

sqlite3_stmt* Plugin::get_random_stmt

◆ get_closest_stmt

sqlite3_stmt* Plugin::get_closest_stmt

◆ env [2/3]

Our execution environment.

Definition at line 142 of file plugin_datastore_heap.c.

◆ keyvalue

struct GNUNET_CONTAINER_MultiHashMap* Plugin::keyvalue

◆ by_expiration

struct GNUNET_CONTAINER_Heap* Plugin::by_expiration

Heap organized by minimum expiration time.

Definition at line 152 of file plugin_datastore_heap.c.

Referenced by heap_plugin_get_expiration(), heap_plugin_put(), libgnunet_plugin_datastore_heap_done(), and libgnunet_plugin_datastore_heap_init().

◆ by_replication

struct GNUNET_CONTAINER_Heap* Plugin::by_replication

Heap organized by maximum replication value.

Definition at line 157 of file plugin_datastore_heap.c.

Referenced by heap_plugin_get_replication(), heap_plugin_put(), libgnunet_plugin_datastore_heap_done(), and libgnunet_plugin_datastore_heap_init().

◆ zero_head

struct ZeroAnonByType* Plugin::zero_head

Head of list of arrays containing zero-anonymity values by type.

Definition at line 162 of file plugin_datastore_heap.c.

Referenced by delete_value(), heap_plugin_get_zero_anonymity(), and heap_plugin_put().

◆ zero_tail

struct ZeroAnonByType* Plugin::zero_tail

Tail of list of arrays containing zero-anonymity values by type.

Definition at line 167 of file plugin_datastore_heap.c.

Referenced by delete_value(), and heap_plugin_put().

◆ size

unsigned long long Plugin::size

◆ mc

struct GNUNET_MYSQL_Context* Plugin::mc

◆ insert_entry

struct GNUNET_MYSQL_StatementHandle* Plugin::insert_entry

◆ delete_entry_by_uid

struct GNUNET_MYSQL_StatementHandle* Plugin::delete_entry_by_uid

◆ delete_entry_by_hash_value

struct GNUNET_MYSQL_StatementHandle* Plugin::delete_entry_by_hash_value

◆ select_entry

struct GNUNET_MYSQL_StatementHandle* Plugin::select_entry

◆ select_entry_by_hash

struct GNUNET_MYSQL_StatementHandle* Plugin::select_entry_by_hash

◆ select_entry_by_hash_and_type

struct GNUNET_MYSQL_StatementHandle* Plugin::select_entry_by_hash_and_type

◆ update_entry

struct GNUNET_MYSQL_StatementHandle* Plugin::update_entry

◆ dec_repl

struct GNUNET_MYSQL_StatementHandle* Plugin::dec_repl

Definition at line 193 of file plugin_datastore_mysql.c.

Referenced by libgnunet_plugin_datastore_mysql_init(), and repl_proc().

◆ get_size

struct GNUNET_MYSQL_StatementHandle* Plugin::get_size

◆ zero_iter

struct GNUNET_MYSQL_StatementHandle* Plugin::zero_iter

◆ select_expiration

struct GNUNET_MYSQL_StatementHandle* Plugin::select_expiration

◆ select_priority

struct GNUNET_MYSQL_StatementHandle* Plugin::select_priority

Definition at line 215 of file plugin_datastore_mysql.c.

Referenced by expi_proc(), and libgnunet_plugin_datastore_mysql_init().

◆ select_replication

struct GNUNET_MYSQL_StatementHandle* Plugin::select_replication

◆ max_repl

struct GNUNET_MYSQL_StatementHandle* Plugin::max_repl

◆ get_all_keys

struct GNUNET_MYSQL_StatementHandle* Plugin::get_all_keys

◆ remove

sqlite3_stmt* Plugin::remove

Precompiled SQL for remove_key.

Definition at line 118 of file plugin_datastore_sqlite.c.

Referenced by database_setup(), database_shutdown(), and sqlite_plugin_remove_key().

◆ delRow

sqlite3_stmt* Plugin::delRow

Precompiled SQL for deletion.

Definition at line 123 of file plugin_datastore_sqlite.c.

Referenced by database_setup(), database_shutdown(), and delete_by_rowid().

◆ update

sqlite3_stmt* Plugin::update

Precompiled SQL for update.

Definition at line 128 of file plugin_datastore_sqlite.c.

Referenced by database_setup(), database_shutdown(), and sqlite_plugin_put().

◆ maxRepl

sqlite3_stmt* Plugin::maxRepl

Get maximum repl value in database.

Definition at line 133 of file plugin_datastore_sqlite.c.

Referenced by database_setup(), database_shutdown(), and sqlite_plugin_get_replication().

◆ updRepl

sqlite3_stmt* Plugin::updRepl

Precompiled SQL for replication decrement.

Definition at line 138 of file plugin_datastore_sqlite.c.

Referenced by database_setup(), database_shutdown(), and sqlite_plugin_get_replication().

◆ selRepl

sqlite3_stmt* Plugin::selRepl

Precompiled SQL for replication selection.

Definition at line 143 of file plugin_datastore_sqlite.c.

Referenced by database_setup(), database_shutdown(), and sqlite_plugin_get_replication().

◆ selExpi

sqlite3_stmt* Plugin::selExpi

Precompiled SQL for expiration selection.

Definition at line 148 of file plugin_datastore_sqlite.c.

Referenced by database_setup(), database_shutdown(), and sqlite_plugin_get_expiration().

◆ selZeroAnon

sqlite3_stmt* Plugin::selZeroAnon

Precompiled SQL for expiration selection.

Definition at line 153 of file plugin_datastore_sqlite.c.

Referenced by database_setup(), database_shutdown(), and sqlite_plugin_get_zero_anonymity().

◆ insertContent

sqlite3_stmt* Plugin::insertContent

Precompiled SQL for insertion.

Definition at line 158 of file plugin_datastore_sqlite.c.

Referenced by database_setup(), database_shutdown(), and sqlite_plugin_put().

◆ get

sqlite3_stmt* Plugin::get[8]

Precompiled SQL for selection.

Definition at line 163 of file plugin_datastore_sqlite.c.

Referenced by database_setup(), database_shutdown(), and sqlite_plugin_get_key().

◆ drop_on_shutdown

int Plugin::drop_on_shutdown

Should the database be dropped on shutdown?

Definition at line 168 of file plugin_datastore_sqlite.c.

Referenced by libgnunet_plugin_datastore_sqlite_done(), and sqlite_plugin_drop().

◆ cfg

const struct GNUNET_CONFIGURATION_Handle * Plugin::cfg

◆ api [2/3]

struct GNUNET_GNSRECORD_PluginFunctions* Plugin::api

Plugin API.

Definition at line 51 of file gnsrecord.c.

◆ hm

struct GNUNET_CONTAINER_MultiHashMap * Plugin::hm

◆ cache_block

sqlite3_stmt* Plugin::cache_block

Precompiled SQL for caching a block.

Definition at line 84 of file plugin_namecache_sqlite.c.

Referenced by database_setup(), database_shutdown(), and namecache_sqlite_cache_block().

◆ delete_block

sqlite3_stmt* Plugin::delete_block

Precompiled SQL for deleting an older block.

Definition at line 89 of file plugin_namecache_sqlite.c.

Referenced by database_setup(), database_shutdown(), and namecache_sqlite_cache_block().

◆ lookup_block

sqlite3_stmt* Plugin::lookup_block

Precompiled SQL for looking up a block.

Definition at line 94 of file plugin_namecache_sqlite.c.

Referenced by database_setup(), database_shutdown(), and namecache_sqlite_lookup_block().

◆ expire_blocks

sqlite3_stmt* Plugin::expire_blocks

Precompiled SQL for removing expired blocks.

Definition at line 99 of file plugin_namecache_sqlite.c.

Referenced by database_setup(), database_shutdown(), namecache_expire_blocks(), and namecache_sqlite_expire_blocks().

◆ store_records

sqlite3_stmt* Plugin::store_records

Precompiled SQL to store records.

Definition at line 85 of file plugin_namestore_sqlite.c.

Referenced by database_setup(), database_shutdown(), and namestore_sqlite_store_records().

◆ delete_records

sqlite3_stmt* Plugin::delete_records

Precompiled SQL to deltete existing records.

Definition at line 90 of file plugin_namestore_sqlite.c.

Referenced by database_setup(), database_shutdown(), and namestore_sqlite_store_records().

◆ iterate_zone

sqlite3_stmt* Plugin::iterate_zone

Precompiled SQL for iterate records within a zone.

Definition at line 95 of file plugin_namestore_sqlite.c.

Referenced by database_setup(), database_shutdown(), and namestore_sqlite_iterate_records().

◆ iterate_all_zones

sqlite3_stmt* Plugin::iterate_all_zones

Precompiled SQL for iterate all records within all zones.

Definition at line 100 of file plugin_namestore_sqlite.c.

Referenced by database_setup(), database_shutdown(), and namestore_sqlite_iterate_records().

◆ zone_to_name

sqlite3_stmt* Plugin::zone_to_name

Precompiled SQL to for reverse lookup based on PKEY.

Definition at line 105 of file plugin_namestore_sqlite.c.

Referenced by database_setup(), database_shutdown(), namestore_flat_zone_to_name(), and namestore_sqlite_zone_to_name().

◆ lookup_label

sqlite3_stmt* Plugin::lookup_label

Precompiled SQL to lookup records based on label.

Definition at line 110 of file plugin_namestore_sqlite.c.

Referenced by database_setup(), database_shutdown(), and namestore_sqlite_lookup_records().

◆ iter

◆ iter_cls

void* Plugin::iter_cls

◆ iter_key

const char* Plugin::iter_key

◆ iter_peer

const struct GNUNET_PeerIdentity* Plugin::iter_peer

◆ iter_sub_system

const char* Plugin::iter_sub_system

Iterator subsystem.

Definition at line 70 of file plugin_peerstore_flat.c.

Referenced by delete_entries(), peerstore_flat_delete_records(), and peerstore_flat_iterate_records().

◆ iter_now

struct GNUNET_TIME_Absolute Plugin::iter_now

Iterator time.

Definition at line 75 of file plugin_peerstore_flat.c.

Referenced by expire_entries(), and peerstore_flat_expire_records().

◆ deleted_entries

uint64_t Plugin::deleted_entries

Deleted entries.

Definition at line 80 of file plugin_peerstore_flat.c.

Referenced by delete_entries(), and peerstore_flat_delete_records().

◆ exp_changes

uint64_t Plugin::exp_changes

Expired entries.

Definition at line 85 of file plugin_peerstore_flat.c.

Referenced by expire_entries(), and peerstore_flat_expire_records().

◆ iter_result_found

int Plugin::iter_result_found

Result found bool.

Definition at line 95 of file plugin_peerstore_flat.c.

Referenced by iterate_entries().

◆ insert_peerstoredata

sqlite3_stmt* Plugin::insert_peerstoredata

Precompiled SQL for inserting into peerstoredata.

Definition at line 86 of file plugin_peerstore_sqlite.c.

Referenced by database_setup(), and peerstore_sqlite_store_record().

◆ select_peerstoredata

sqlite3_stmt* Plugin::select_peerstoredata

Precompiled SQL for selecting from peerstoredata.

Definition at line 91 of file plugin_peerstore_sqlite.c.

Referenced by database_setup(), and peerstore_sqlite_iterate_records().

◆ select_peerstoredata_by_pid

sqlite3_stmt* Plugin::select_peerstoredata_by_pid

Precompiled SQL for selecting from peerstoredata.

Definition at line 96 of file plugin_peerstore_sqlite.c.

Referenced by database_setup(), and peerstore_sqlite_iterate_records().

◆ select_peerstoredata_by_key

sqlite3_stmt* Plugin::select_peerstoredata_by_key

Precompiled SQL for selecting from peerstoredata.

Definition at line 101 of file plugin_peerstore_sqlite.c.

Referenced by database_setup(), and peerstore_sqlite_iterate_records().

◆ select_peerstoredata_by_all

sqlite3_stmt* Plugin::select_peerstoredata_by_all

Precompiled SQL for selecting from peerstoredata.

Definition at line 106 of file plugin_peerstore_sqlite.c.

Referenced by database_setup(), and peerstore_sqlite_iterate_records().

◆ expire_peerstoredata

sqlite3_stmt* Plugin::expire_peerstoredata

Precompiled SQL for deleting expired records from peerstoredata.

Definition at line 112 of file plugin_peerstore_sqlite.c.

Referenced by database_setup(), and peerstore_sqlite_expire_records().

◆ delete_peerstoredata

sqlite3_stmt* Plugin::delete_peerstoredata

Precompiled SQL for deleting records with given key.

Definition at line 118 of file plugin_peerstore_sqlite.c.

Referenced by database_setup(), and peerstore_sqlite_delete_records().

◆ api [3/3]

Plugin API.

Definition at line 45 of file reclaim_attribute.c.

◆ env [3/3]

Our environment.

Definition at line 76 of file plugin_transport_http.h.

◆ head

struct GNUNET_ATS_Session* Plugin::head

Head of linked list of open sessions.

Definition at line 81 of file plugin_transport_http.h.

◆ tail

struct GNUNET_ATS_Session* Plugin::tail

Tail of linked list of open sessions.

Definition at line 86 of file plugin_transport_http.h.

Referenced by sql_prepare().

◆ nat

struct GNUNET_NAT_Handle * Plugin::nat

◆ addr_head

struct HttpAddressWrapper* Plugin::addr_head

Our own IPv4 addresses DLL head.

Definition at line 96 of file plugin_transport_http.h.

◆ addr_tail

struct HttpAddressWrapper* Plugin::addr_tail

Our own IPv4 addresses DLL tail.

Definition at line 101 of file plugin_transport_http.h.

◆ external_hostname

char* Plugin::external_hostname

External hostname the plugin can be connected to, can be different to the host's FQDN, used e.g.

for reverse proxying

Definition at line 107 of file plugin_transport_http.h.

◆ ext_addr

struct HttpAddress* Plugin::ext_addr

External hostname the plugin can be connected to, can be different to the host's FQDN, used e.g.

for reverse proxying

Definition at line 113 of file plugin_transport_http.h.

◆ ext_addr_len

size_t Plugin::ext_addr_len

External address length.

Definition at line 118 of file plugin_transport_http.h.

◆ notify_ext_task

struct GNUNET_SCHEDULER_Task* Plugin::notify_ext_task

Task calling transport service about external address.

Definition at line 123 of file plugin_transport_http.h.

◆ name

char* Plugin::name

Plugin name.

Equals configuration section: transport-http, transport-https

Definition at line 129 of file plugin_transport_http.h.

Referenced by ego_delete_name(), ego_edit_name(), ego_edit_subsystem(), and get_gns_cont().

◆ protocol

char* Plugin::protocol

Plugin protocol http, https.

Definition at line 135 of file plugin_transport_http.h.

Referenced by client_receive_mst_cb(), and server_send_callback().

◆ ipv4

int Plugin::ipv4

Use IPv4? GNUNET_YES or GNUNET_NO.

Definition at line 140 of file plugin_transport_http.h.

◆ ipv6

int Plugin::ipv6

Use IPv6? GNUNET_YES or GNUNET_NO.

Definition at line 145 of file plugin_transport_http.h.

◆ client_only

int Plugin::client_only

Does plugin just use outbound connections and not accept inbound?

Definition at line 150 of file plugin_transport_http.h.

◆ port

uint16_t Plugin::port

Port used.

Port we listen on.

Definition at line 155 of file plugin_transport_http.h.

Referenced by check_port(), libgnunet_plugin_transport_udp_init(), setup_broadcast(), setup_sockets(), and udp_ipv4_broadcast_send().

◆ max_connections [1/2]

int Plugin::max_connections

Maximum number of sockets the plugin can use Each http inbound /outbound connections are two connections.

Definition at line 161 of file plugin_transport_http.h.

Referenced by connect_notify(), disconnect_notify(), libgnunet_plugin_transport_tcp_init(), and tcp_plugin_get_session().

◆ outbound_sessions

unsigned int Plugin::outbound_sessions

Number of outbound sessions.

Definition at line 166 of file plugin_transport_http.h.

◆ inbound_sessions

unsigned int Plugin::inbound_sessions

Number of inbound sessions.

Definition at line 171 of file plugin_transport_http.h.

◆ crypto_init

char* Plugin::crypto_init

libCurl TLS crypto init string, can be set to enhance performance

Example:

Use RC4-128 instead of AES: NONE:+VERS-TLS1.0:+ARCFOUR-128:+SHA1:+RSA:+COMP-NULL

Definition at line 181 of file plugin_transport_http.h.

◆ key

char* Plugin::key

◆ cert

char* Plugin::cert

TLS certificate.

Definition at line 191 of file plugin_transport_http.h.

◆ cur_connections [1/2]

int Plugin::cur_connections

Current number of establishes connections.

Definition at line 196 of file plugin_transport_http.h.

Referenced by connect_notify(), disconnect_notify(), libgnunet_plugin_transport_tcp_done(), and tcp_plugin_get_session().

◆ last_tag

uint32_t Plugin::last_tag

Last used unique HTTP connection tag.

Definition at line 201 of file plugin_transport_http.h.

◆ server_v4

struct MHD_Daemon* Plugin::server_v4

MHD IPv4 daemon.

Definition at line 206 of file plugin_transport_http.h.

◆ server_v4_task

struct GNUNET_SCHEDULER_Task* Plugin::server_v4_task

MHD IPv4 task.

Definition at line 211 of file plugin_transport_http.h.

◆ server_v4_immediately

int Plugin::server_v4_immediately

The IPv4 server is scheduled to run asap.

Definition at line 216 of file plugin_transport_http.h.

◆ server_v6

struct MHD_Daemon* Plugin::server_v6

MHD IPv6 daemon.

Definition at line 221 of file plugin_transport_http.h.

◆ server_v6_task

struct GNUNET_SCHEDULER_Task* Plugin::server_v6_task

MHD IPv4 task.

Definition at line 226 of file plugin_transport_http.h.

◆ server_v6_immediately

int Plugin::server_v6_immediately

The IPv6 server is scheduled to run asap.

Definition at line 231 of file plugin_transport_http.h.

◆ server_addr_v4

struct sockaddr_in* Plugin::server_addr_v4

IPv4 server socket to bind to.

Definition at line 236 of file plugin_transport_http.h.

◆ server_addr_v6

struct sockaddr_in6* Plugin::server_addr_v6

IPv6 server socket to bind to.

Definition at line 241 of file plugin_transport_http.h.

◆ server_semi_head

struct GNUNET_ATS_Session* Plugin::server_semi_head

Head of server semi connections A full session consists of 2 semi-connections: send and receive If not both directions are established the server keeps this sessions here.

Definition at line 248 of file plugin_transport_http.h.

◆ server_semi_tail

struct GNUNET_ATS_Session* Plugin::server_semi_tail

Tail of server semi connections A full session consists of 2 semi-connections: send and receive If not both directions are established the server keeps this sessions here.

Definition at line 255 of file plugin_transport_http.h.

◆ client_mh

CURLM* Plugin::client_mh

cURL Multihandle

Definition at line 260 of file plugin_transport_http.h.

◆ client_perform_task

struct GNUNET_SCHEDULER_Task* Plugin::client_perform_task

curl perform task

Definition at line 265 of file plugin_transport_http.h.

◆ lsock

struct GNUNET_CONNECTION_Handle* Plugin::lsock

The listen socket.

Definition at line 931 of file plugin_transport_tcp.c.

◆ sessionmap

struct GNUNET_CONTAINER_MultiPeerMap* Plugin::sessionmap

◆ service

struct LEGACY_SERVICE_Context* Plugin::service

Handle to the network service.

Definition at line 946 of file plugin_transport_tcp.c.

Referenced by libgnunet_plugin_transport_tcp_done(), and libgnunet_plugin_transport_tcp_init().

◆ server

struct GNUNET_SERVER_Handle* Plugin::server

◆ handlers

struct GNUNET_SERVER_MessageHandler* Plugin::handlers

Copy of the handler array where the closures are set to this struct's instance.

Definition at line 957 of file plugin_transport_tcp.c.

Referenced by libgnunet_plugin_transport_tcp_done(), and libgnunet_plugin_transport_tcp_init().

◆ nat_wait_conns

struct GNUNET_CONTAINER_MultiPeerMap* Plugin::nat_wait_conns

◆ probe_head

struct TCPProbeContext* Plugin::probe_head

List of active TCP probes.

Definition at line 967 of file plugin_transport_tcp.c.

Referenced by libgnunet_plugin_transport_tcp_done(), notify_send_probe(), and try_connection_reversal().

◆ probe_tail

struct TCPProbeContext* Plugin::probe_tail

List of active TCP probes.

Definition at line 972 of file plugin_transport_tcp.c.

Referenced by libgnunet_plugin_transport_tcp_done(), notify_send_probe(), and try_connection_reversal().

◆ sic

◆ sic_cls

void * Plugin::sic_cls

◆ address_update_task

struct GNUNET_SCHEDULER_Task * Plugin::address_update_task

ID of task used to update our addresses when one expires.

Definition at line 987 of file plugin_transport_tcp.c.

Referenced by libgnunet_plugin_transport_unix_init().

◆ ppc_dll_head

struct PrettyPrinterContext * Plugin::ppc_dll_head

◆ ppc_dll_tail

struct PrettyPrinterContext * Plugin::ppc_dll_tail

◆ my_welcome

struct WelcomeMessage Plugin::my_welcome

Welcome message used by this peer.

Definition at line 1002 of file plugin_transport_tcp.c.

Referenced by create_session(), libgnunet_plugin_transport_tcp_init(), and tcp_plugin_get_session().

◆ max_connections [2/2]

unsigned long long Plugin::max_connections

How many more TCP sessions are we allowed to open right now?

Definition at line 1007 of file plugin_transport_tcp.c.

◆ cur_connections [2/2]

unsigned long long Plugin::cur_connections

How many more TCP sessions do we have right now?

Definition at line 1012 of file plugin_transport_tcp.c.

◆ myoptions

uint32_t Plugin::myoptions

◆ open_port

uint16_t Plugin::open_port

Port that we are actually listening on.

Definition at line 1022 of file plugin_transport_tcp.c.

Referenced by libgnunet_plugin_transport_tcp_init(), and tcp_plugin_get_session().

◆ adv_port

uint16_t Plugin::adv_port

Port that the user said we would have visible to the rest of the world.

Definition at line 1028 of file plugin_transport_tcp.c.

Referenced by libgnunet_plugin_transport_tcp_init().

◆ sessions [1/2]

struct GNUNET_ATS_Session* Plugin::sessions

◆ sessions [2/2]

struct GNUNET_CONTAINER_MultiPeerMap* Plugin::sessions

Session of peers with whom we are currently connected, map of peer identity to struct GNUNET_ATS_Session *.

Definition at line 148 of file plugin_transport_udp.h.

◆ defrag_ctxs

struct GNUNET_CONTAINER_Heap* Plugin::defrag_ctxs

Heap with all of our defragmentation activities.

Definition at line 153 of file plugin_transport_udp.h.

Referenced by libgnunet_plugin_transport_udp_done(), libgnunet_plugin_transport_udp_init(), read_process_fragment(), and udp_disconnect_session().

◆ select_task_v4

struct GNUNET_SCHEDULER_Task* Plugin::select_task_v4

ID of select task for IPv4.

Definition at line 158 of file plugin_transport_udp.h.

Referenced by libgnunet_plugin_transport_udp_done(), schedule_select_v4(), and udp_plugin_select_v4().

◆ select_task_v6

struct GNUNET_SCHEDULER_Task* Plugin::select_task_v6

ID of select task for IPv6.

Definition at line 163 of file plugin_transport_udp.h.

Referenced by libgnunet_plugin_transport_udp_done(), schedule_select_v6(), and udp_plugin_select_v6().

◆ tracker

struct GNUNET_BANDWIDTH_Tracker Plugin::tracker

Bandwidth tracker to limit global UDP traffic.

Tracker for bandwidth limit.

Definition at line 168 of file plugin_transport_udp.h.

Referenced by handle_helper_message(), LIBGNUNET_PLUGIN_TRANSPORT_INIT(), libgnunet_plugin_transport_udp_init(), send_with_fragmentation(), and udp_plugin_send().

◆ bind4_address

char* Plugin::bind4_address

Address we were told to bind to exclusively (IPv4).

Definition at line 173 of file plugin_transport_udp.h.

Referenced by libgnunet_plugin_transport_udp_init().

◆ bind6_address

char* Plugin::bind6_address

Address we were told to bind to exclusively (IPv6).

Definition at line 178 of file plugin_transport_udp.h.

Referenced by libgnunet_plugin_transport_udp_init().

◆ stun

struct GNUNET_NAT_STUN_Handle* Plugin::stun

Handle to NAT traversal support.

Definition at line 188 of file plugin_transport_udp.h.

◆ sockv4

struct GNUNET_NETWORK_Handle* Plugin::sockv4

◆ sockv6

struct GNUNET_NETWORK_Handle* Plugin::sockv6

◆ broadcast_tail

struct BroadcastAddress* Plugin::broadcast_tail

Head of DLL of broadcast addresses.

Definition at line 203 of file plugin_transport_udp.h.

Referenced by iface_proc(), and stop_broadcast().

◆ broadcast_head

struct BroadcastAddress* Plugin::broadcast_head

Tail of DLL of broadcast addresses.

Definition at line 208 of file plugin_transport_udp.h.

Referenced by iface_proc(), and stop_broadcast().

◆ ipv4_queue_head

struct UDP_MessageWrapper* Plugin::ipv4_queue_head

◆ ipv4_queue_tail

struct UDP_MessageWrapper* Plugin::ipv4_queue_tail

Tail of messages in IPv4 queue.

Definition at line 218 of file plugin_transport_udp.h.

Referenced by dequeue(), and enqueue().

◆ ipv6_queue_head

struct UDP_MessageWrapper* Plugin::ipv6_queue_head

◆ ipv6_queue_tail

struct UDP_MessageWrapper* Plugin::ipv6_queue_tail

Tail of messages in IPv6 queue.

Definition at line 228 of file plugin_transport_udp.h.

Referenced by dequeue(), and enqueue().

◆ ipv6_multicast_address

struct sockaddr_in6 Plugin::ipv6_multicast_address

IPv6 multicast address.

Definition at line 253 of file plugin_transport_udp.h.

Referenced by iface_proc(), setup_broadcast(), stop_broadcast(), and udp_ipv6_broadcast_send().

◆ broadcast_interval

struct GNUNET_TIME_Relative Plugin::broadcast_interval

Broadcast interval.

Definition at line 258 of file plugin_transport_udp.h.

Referenced by libgnunet_plugin_transport_udp_init(), udp_ipv4_broadcast_send(), and udp_ipv6_broadcast_send().

◆ bytes_in_buffer

int64_t Plugin::bytes_in_buffer

Bytes currently in buffer.

Definition at line 263 of file plugin_transport_udp.h.

Referenced by dequeue(), and enqueue().

◆ enable_ipv6

int Plugin::enable_ipv6

◆ enable_ipv4

int Plugin::enable_ipv4

◆ enable_broadcasting

int Plugin::enable_broadcasting

Is broadcasting enabled: GNUNET_YES or GNUNET_NO.

Definition at line 283 of file plugin_transport_udp.h.

Referenced by libgnunet_plugin_transport_udp_init(), setup_broadcast(), and stop_broadcast().

◆ enable_broadcasting_receiving

int Plugin::enable_broadcasting_receiving

Is receiving broadcasts enabled: GNUNET_YES or GNUNET_NO.

Definition at line 288 of file plugin_transport_udp.h.

Referenced by libgnunet_plugin_transport_udp_init(), and udp_select_read().

◆ broadcast_port

uint16_t Plugin::broadcast_port

Port we broadcasting on.

Definition at line 293 of file plugin_transport_udp.h.

◆ aport

uint16_t Plugin::aport

Port we advertise on.

Definition at line 303 of file plugin_transport_udp.h.

Referenced by check_port(), and libgnunet_plugin_transport_udp_init().

◆ read_task

struct GNUNET_SCHEDULER_Task* Plugin::read_task

ID of read task.

Definition at line 260 of file plugin_transport_unix.c.

Referenced by unix_plugin_select_read(), and unix_transport_server_start().

◆ write_task

struct GNUNET_SCHEDULER_Task* Plugin::write_task

ID of write task.

Definition at line 265 of file plugin_transport_unix.c.

Referenced by unix_plugin_select_write(), and unix_plugin_send().

◆ bytes_in_queue

unsigned long long Plugin::bytes_in_queue

Number of bytes we currently have in our write queues.

Definition at line 270 of file plugin_transport_unix.c.

Referenced by unix_plugin_do_write(), unix_plugin_send(), and unix_plugin_session_disconnect().

◆ session_map

struct GNUNET_CONTAINER_MultiPeerMap* Plugin::session_map

◆ msg_head

struct UNIXMessageWrapper* Plugin::msg_head

Head of queue of messages to transmit.

Definition at line 285 of file plugin_transport_unix.c.

Referenced by unix_plugin_do_write(), unix_plugin_select_write(), unix_plugin_send(), and unix_plugin_session_disconnect().

◆ msg_tail

struct UNIXMessageWrapper* Plugin::msg_tail

Tail of queue of messages to transmit.

Definition at line 290 of file plugin_transport_unix.c.

Referenced by unix_plugin_do_write(), unix_plugin_send(), and unix_plugin_session_disconnect().

◆ unix_socket_path

char* Plugin::unix_socket_path

Path of our unix domain socket (/tmp/unix-plugin)

Definition at line 295 of file plugin_transport_unix.c.

Referenced by libgnunet_plugin_transport_unix_init(), unix_plugin_check_address(), and unix_transport_server_start().

◆ unix_sock

struct UNIX_Sock_Info Plugin::unix_sock

◆ is_abstract

int Plugin::is_abstract

Are we using an abstract UNIX domain socket?

Definition at line 320 of file plugin_transport_unix.c.

Referenced by libgnunet_plugin_transport_unix_init(), unix_plugin_get_session(), unix_real_send(), and unix_transport_server_start().

◆ suid_helper

struct GNUNET_HELPER_Handle* Plugin::suid_helper

Handle to helper process for priviledged operations.

Definition at line 475 of file plugin_transport_wlan.c.

Referenced by LIBGNUNET_PLUGIN_TRANSPORT_DONE(), LIBGNUNET_PLUGIN_TRANSPORT_INIT(), send_ack(), send_hello_beacon(), and transmit_fragment().

◆ helper_argv

char* Plugin::helper_argv[3]

ARGV-vector for the helper (all helpers take only the binary name, one actual argument, plus the NULL terminator for 'argv').

Definition at line 491 of file plugin_transport_wlan.c.

Referenced by LIBGNUNET_PLUGIN_TRANSPORT_INIT().

◆ wlan_interface

char* Plugin::wlan_interface

The interface of the wlan card given to us by the user.

Definition at line 496 of file plugin_transport_wlan.c.

Referenced by LIBGNUNET_PLUGIN_TRANSPORT_DONE(), and LIBGNUNET_PLUGIN_TRANSPORT_INIT().

◆ fragment_data_tokenizer

struct GNUNET_SERVER_MessageStreamTokenizer* Plugin::fragment_data_tokenizer

Tokenizer for demultiplexing of data packets resulting from defragmentation.

Definition at line 502 of file plugin_transport_wlan.c.

Referenced by LIBGNUNET_PLUGIN_TRANSPORT_DONE(), LIBGNUNET_PLUGIN_TRANSPORT_INIT(), and wlan_data_message_handler().

◆ helper_payload_tokenizer

struct GNUNET_SERVER_MessageStreamTokenizer* Plugin::helper_payload_tokenizer

Tokenizer for demultiplexing of data packets received from the suid helper.

Definition at line 507 of file plugin_transport_wlan.c.

Referenced by handle_helper_message(), LIBGNUNET_PLUGIN_TRANSPORT_DONE(), and LIBGNUNET_PLUGIN_TRANSPORT_INIT().

◆ wlan_header_payload_tokenizer

struct GNUNET_SERVER_MessageStreamTokenizer* Plugin::wlan_header_payload_tokenizer

Tokenizer for demultiplexing of data packets that follow the WLAN Header.

Definition at line 512 of file plugin_transport_wlan.c.

Referenced by LIBGNUNET_PLUGIN_TRANSPORT_DONE(), LIBGNUNET_PLUGIN_TRANSPORT_INIT(), and process_data().

◆ mac_head

struct MacEndpoint* Plugin::mac_head

◆ mac_tail

struct MacEndpoint* Plugin::mac_tail

Tail of list of open connections.

Definition at line 522 of file plugin_transport_wlan.c.

Referenced by create_macendpoint(), and free_macendpoint().

◆ beacon_task

struct GNUNET_SCHEDULER_Task* Plugin::beacon_task

Task that periodically sends a HELLO beacon via the helper.

Definition at line 527 of file plugin_transport_wlan.c.

Referenced by handle_helper_message(), LIBGNUNET_PLUGIN_TRANSPORT_DONE(), and send_hello_beacon().

◆ mac_address

struct GNUNET_TRANSPORT_WLAN_MacAddress Plugin::mac_address

The mac_address of the wlan card given to us by the helper.

Definition at line 537 of file plugin_transport_wlan.c.

Referenced by get_wlan_header(), handle_helper_message(), LIBGNUNET_PLUGIN_TRANSPORT_DONE(), and wlan_plugin_address_suggested().

◆ have_mac

int Plugin::have_mac

Have we received a control message with our MAC address yet?

Definition at line 542 of file plugin_transport_wlan.c.

Referenced by handle_helper_message(), LIBGNUNET_PLUGIN_TRANSPORT_DONE(), send_with_fragmentation(), and wlan_plugin_address_suggested().

◆ mac_count

unsigned int Plugin::mac_count

Number of connections.

Definition at line 547 of file plugin_transport_wlan.c.

Referenced by create_macendpoint(), free_macendpoint(), and send_hello_beacon().

◆ options

uint32_t Plugin::options

Options for addresses.

Definition at line 552 of file plugin_transport_wlan.c.

Referenced by handle_helper_message(), LIBGNUNET_PLUGIN_TRANSPORT_DONE(), and LIBGNUNET_PLUGIN_TRANSPORT_INIT().


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