![]() |
GNUnet
0.11.x
|
Handle for a plugin. More...
#include </home/handbook/gnunet/src/transport/plugin_transport_http.h>
Data Fields | |
char * | library_name |
Name of the shared library. More... | |
struct GNUNET_BLOCK_PluginFunctions * | api |
Plugin API. More... | |
struct GNUNET_DATACACHE_PluginEnvironment * | env |
Our execution environment. More... | |
struct GNUNET_CONTAINER_MultiHashMap * | map |
Our hash map. More... | |
struct GNUNET_CONTAINER_Heap * | heaps [24] |
Heaps sorted by distance. More... | |
struct GNUNET_PQ_Context * | dbh |
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_PluginEnvironment * | env |
Our execution environment. More... | |
struct GNUNET_CONTAINER_MultiHashMap * | keyvalue |
Mapping from keys to 'struct Value's. More... | |
struct GNUNET_CONTAINER_Heap * | by_expiration |
Heap organized by minimum expiration time. More... | |
struct GNUNET_CONTAINER_Heap * | by_replication |
Heap organized by maximum replication value. More... | |
struct ZeroAnonByType * | zero_head |
Head of list of arrays containing zero-anonymity values by type. More... | |
struct ZeroAnonByType * | zero_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_Context * | mc |
Handle to talk to MySQL. More... | |
struct GNUNET_MYSQL_StatementHandle * | insert_entry |
struct GNUNET_MYSQL_StatementHandle * | delete_entry_by_uid |
struct GNUNET_MYSQL_StatementHandle * | delete_entry_by_hash_value |
struct GNUNET_MYSQL_StatementHandle * | select_entry |
struct GNUNET_MYSQL_StatementHandle * | select_entry_by_hash |
struct GNUNET_MYSQL_StatementHandle * | select_entry_by_hash_and_type |
struct GNUNET_MYSQL_StatementHandle * | update_entry |
struct GNUNET_MYSQL_StatementHandle * | dec_repl |
struct GNUNET_MYSQL_StatementHandle * | get_size |
struct GNUNET_MYSQL_StatementHandle * | zero_iter |
struct GNUNET_MYSQL_StatementHandle * | select_expiration |
struct GNUNET_MYSQL_StatementHandle * | select_priority |
struct GNUNET_MYSQL_StatementHandle * | select_replication |
struct GNUNET_MYSQL_StatementHandle * | max_repl |
struct GNUNET_MYSQL_StatementHandle * | get_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_Handle * | cfg |
Our configuration. More... | |
struct GNUNET_GNSRECORD_PluginFunctions * | api |
Plugin API. More... | |
struct GNUNET_CONTAINER_MultiHashMap * | hm |
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_PeerIdentity * | iter_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_AttributePluginFunctions * | api |
Plugin API. More... | |
struct GNUNET_RECLAIM_CredentialPluginFunctions * | api |
Plugin API. More... | |
struct GNUNET_TRANSPORT_PluginEnvironment * | env |
Our environment. More... | |
struct GNUNET_ATS_Session * | head |
Head of linked list of open sessions. More... | |
struct GNUNET_ATS_Session * | tail |
Tail of linked list of open sessions. More... | |
struct GNUNET_NAT_Handle * | nat |
NAT handle & address management. More... | |
struct HttpAddressWrapper * | addr_head |
Our own IPv4 addresses DLL head. More... | |
struct HttpAddressWrapper * | addr_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 HttpAddress * | ext_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_Task * | notify_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_Task * | server_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_Task * | server_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_Session * | 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. More... | |
struct GNUNET_ATS_Session * | 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. More... | |
CURLM * | client_mh |
cURL Multihandle More... | |
struct GNUNET_SCHEDULER_Task * | client_perform_task |
curl perform task More... | |
struct GNUNET_CONNECTION_Handle * | lsock |
The listen socket. More... | |
struct GNUNET_CONTAINER_MultiPeerMap * | sessionmap |
Map from peer identities to sessions for the given peer. More... | |
struct LEGACY_SERVICE_Context * | service |
Handle to the network service. More... | |
struct GNUNET_SERVER_Handle * | server |
Handle to the server for this service. More... | |
struct GNUNET_SERVER_MessageHandler * | handlers |
Copy of the handler array where the closures are set to this struct's instance. More... | |
struct GNUNET_CONTAINER_MultiPeerMap * | nat_wait_conns |
Map of peers we have tried to contact behind a NAT. More... | |
struct TCPProbeContext * | probe_head |
List of active TCP probes. More... | |
struct TCPProbeContext * | probe_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_Task * | address_update_task |
ID of task used to update our addresses when one expires. More... | |
struct PrettyPrinterContext * | ppc_dll_head |
Running pretty printers: head. More... | |
struct PrettyPrinterContext * | ppc_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_Session * | sessions |
List of open sessions (or peer map, or...) More... | |
struct GNUNET_CONTAINER_MultiPeerMap * | sessions |
Session of peers with whom we are currently connected, map of peer identity to struct GNUNET_ATS_Session * . More... | |
struct GNUNET_CONTAINER_Heap * | defrag_ctxs |
Heap with all of our defragmentation activities. More... | |
struct GNUNET_SCHEDULER_Task * | select_task_v4 |
ID of select task for IPv4. More... | |
struct GNUNET_SCHEDULER_Task * | select_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_Handle * | stun |
Handle to NAT traversal support. More... | |
struct GNUNET_NETWORK_Handle * | sockv4 |
The read socket for IPv4. More... | |
struct GNUNET_NETWORK_Handle * | sockv6 |
The read socket for IPv6. More... | |
struct BroadcastAddress * | broadcast_tail |
Head of DLL of broadcast addresses. More... | |
struct BroadcastAddress * | broadcast_head |
Tail of DLL of broadcast addresses. More... | |
struct UDP_MessageWrapper * | ipv4_queue_head |
Head of messages in IPv4 queue. More... | |
struct UDP_MessageWrapper * | ipv4_queue_tail |
Tail of messages in IPv4 queue. More... | |
struct UDP_MessageWrapper * | ipv6_queue_head |
Head of messages in IPv6 queue. More... | |
struct UDP_MessageWrapper * | ipv6_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_Task * | read_task |
ID of read task. More... | |
struct GNUNET_SCHEDULER_Task * | write_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_MultiPeerMap * | session_map |
Sessions (map from peer identity to struct GNUNET_ATS_Session ) More... | |
struct UNIXMessageWrapper * | msg_head |
Head of queue of messages to transmit. More... | |
struct UNIXMessageWrapper * | msg_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_Handle * | suid_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_MessageStreamTokenizer * | fragment_data_tokenizer |
Tokenizer for demultiplexing of data packets resulting from defragmentation. More... | |
struct GNUNET_SERVER_MessageStreamTokenizer * | helper_payload_tokenizer |
Tokenizer for demultiplexing of data packets received from the suid helper. More... | |
struct GNUNET_SERVER_MessageStreamTokenizer * | wlan_header_payload_tokenizer |
Tokenizer for demultiplexing of data packets that follow the WLAN Header. More... | |
struct MacEndpoint * | mac_head |
Head of list of open connections. More... | |
struct MacEndpoint * | mac_tail |
Tail of list of open connections. More... | |
struct GNUNET_SCHEDULER_Task * | beacon_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... | |
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.
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().
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(), GNUNET_RECLAIM_credential_get_attributes(), GNUNET_RECLAIM_credential_get_expiration(), GNUNET_RECLAIM_credential_get_issuer(), GNUNET_RECLAIM_credential_get_presentation(), GNUNET_RECLAIM_credential_number_to_typename(), GNUNET_RECLAIM_credential_string_to_value(), GNUNET_RECLAIM_credential_typename_to_number(), GNUNET_RECLAIM_credential_value_to_string(), GNUNET_RECLAIM_presentation_get_attributes(), GNUNET_RECLAIM_presentation_get_expiration(), GNUNET_RECLAIM_presentation_get_issuer(), GNUNET_RECLAIM_presentation_number_to_typename(), GNUNET_RECLAIM_presentation_string_to_value(), GNUNET_RECLAIM_presentation_typename_to_number(), GNUNET_RECLAIM_presentation_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().
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().
struct GNUNET_CONTAINER_MultiHashMap* Plugin::map |
Our hash map.
Definition at line 51 of file plugin_datacache_heap.c.
Referenced by heap_plugin_del(), heap_plugin_get(), heap_plugin_get_closest(), heap_plugin_get_random(), heap_plugin_put(), libgnunet_plugin_datacache_heap_done(), and libgnunet_plugin_datacache_heap_init().
struct GNUNET_CONTAINER_Heap* Plugin::heaps[24] |
Heaps sorted by distance.
Definition at line 56 of file plugin_datacache_heap.c.
Referenced by heap_plugin_del(), heap_plugin_put(), libgnunet_plugin_datacache_heap_done(), and libgnunet_plugin_datacache_heap_init().
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().
unsigned int Plugin::num_items |
Number of key-value pairs in the database.
Definition at line 56 of file plugin_datacache_postgres.c.
Referenced by postgres_plugin_del(), postgres_plugin_get_random(), postgres_plugin_put(), sqlite_plugin_del(), sqlite_plugin_get_random(), and sqlite_plugin_put().
sqlite3* Plugin::dbh |
Handle to the sqlite database.
Native SQLite database handle.
Definition at line 57 of file plugin_datacache_sqlite.c.
char * Plugin::fn |
Filename used for the DB.
Database filename.
Definition at line 62 of file plugin_datacache_sqlite.c.
Referenced by database_setup(), database_shutdown(), libgnunet_plugin_datacache_sqlite_done(), libgnunet_plugin_datacache_sqlite_init(), and libgnunet_plugin_datastore_sqlite_done().
sqlite3_stmt* Plugin::insert_stmt |
Prepared statement for sqlite_plugin_put.
Definition at line 67 of file plugin_datacache_sqlite.c.
Referenced by libgnunet_plugin_datacache_sqlite_done(), libgnunet_plugin_datacache_sqlite_init(), and sqlite_plugin_put().
sqlite3_stmt* Plugin::get_count_stmt |
Prepared statement for sqlite_plugin_get.
Definition at line 72 of file plugin_datacache_sqlite.c.
Referenced by libgnunet_plugin_datacache_sqlite_done(), libgnunet_plugin_datacache_sqlite_init(), and sqlite_plugin_get().
sqlite3_stmt* Plugin::get_stmt |
Prepared statement for sqlite_plugin_get.
Definition at line 77 of file plugin_datacache_sqlite.c.
Referenced by libgnunet_plugin_datacache_sqlite_done(), libgnunet_plugin_datacache_sqlite_init(), and sqlite_plugin_get().
sqlite3_stmt* Plugin::del_select_stmt |
Prepared statement for sqlite_plugin_del.
Definition at line 82 of file plugin_datacache_sqlite.c.
Referenced by libgnunet_plugin_datacache_sqlite_done(), libgnunet_plugin_datacache_sqlite_init(), and sqlite_plugin_del().
sqlite3_stmt* Plugin::del_expired_stmt |
Prepared statement for sqlite_plugin_del.
Definition at line 87 of file plugin_datacache_sqlite.c.
Referenced by libgnunet_plugin_datacache_sqlite_done(), libgnunet_plugin_datacache_sqlite_init(), and sqlite_plugin_del().
sqlite3_stmt* Plugin::del_stmt |
Prepared statement for sqlite_plugin_del.
Definition at line 92 of file plugin_datacache_sqlite.c.
Referenced by libgnunet_plugin_datacache_sqlite_done(), libgnunet_plugin_datacache_sqlite_init(), and sqlite_plugin_del().
sqlite3_stmt* Plugin::get_random_stmt |
Prepared statement for sqlite_plugin_get_random.
Definition at line 97 of file plugin_datacache_sqlite.c.
Referenced by libgnunet_plugin_datacache_sqlite_done(), libgnunet_plugin_datacache_sqlite_init(), and sqlite_plugin_get_random().
sqlite3_stmt* Plugin::get_closest_stmt |
Prepared statement for sqlite_plugin_get_closest.
Definition at line 102 of file plugin_datacache_sqlite.c.
Referenced by libgnunet_plugin_datacache_sqlite_done(), libgnunet_plugin_datacache_sqlite_init(), and sqlite_plugin_get_closest().
struct GNUNET_DATASTORE_PluginEnvironment* Plugin::env |
Our execution environment.
Definition at line 142 of file plugin_datastore_heap.c.
struct GNUNET_CONTAINER_MultiHashMap* Plugin::keyvalue |
Mapping from keys to 'struct Value's.
Definition at line 147 of file plugin_datastore_heap.c.
Referenced by delete_value(), heap_get_keys(), heap_plugin_get_key(), heap_plugin_put(), heap_plugin_remove_key(), libgnunet_plugin_datastore_heap_done(), and libgnunet_plugin_datastore_heap_init().
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().
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().
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().
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().
unsigned long long Plugin::size |
Size of all values we're storing.
Definition at line 172 of file plugin_datastore_heap.c.
Referenced by database_setup(), delete_value(), heap_plugin_estimate_size(), heap_plugin_get_closest(), heap_plugin_put(), peerstore_flat_store_record(), postgres_plugin_del(), process_result(), sqlite_plugin_get(), sqlite_plugin_get_closest(), and sqlite_plugin_get_random().
struct GNUNET_MYSQL_Context* Plugin::mc |
Handle to talk to MySQL.
Definition at line 142 of file plugin_datastore_mysql.c.
Referenced by do_delete_entry(), execute_select(), libgnunet_plugin_datastore_mysql_done(), libgnunet_plugin_datastore_mysql_init(), mysql_plugin_drop(), mysql_plugin_estimate_size(), mysql_plugin_get_keys(), mysql_plugin_get_replication(), mysql_plugin_put(), mysql_plugin_remove_key(), and repl_proc().
struct GNUNET_MYSQL_StatementHandle* Plugin::insert_entry |
Definition at line 149 of file plugin_datastore_mysql.c.
Referenced by libgnunet_plugin_datastore_mysql_init(), and mysql_plugin_put().
struct GNUNET_MYSQL_StatementHandle* Plugin::delete_entry_by_uid |
Definition at line 152 of file plugin_datastore_mysql.c.
Referenced by do_delete_entry(), and libgnunet_plugin_datastore_mysql_init().
struct GNUNET_MYSQL_StatementHandle* Plugin::delete_entry_by_hash_value |
Definition at line 158 of file plugin_datastore_mysql.c.
Referenced by libgnunet_plugin_datastore_mysql_init(), and mysql_plugin_remove_key().
struct GNUNET_MYSQL_StatementHandle* Plugin::select_entry |
Definition at line 166 of file plugin_datastore_mysql.c.
Referenced by libgnunet_plugin_datastore_mysql_init(), and mysql_plugin_get_key().
struct GNUNET_MYSQL_StatementHandle* Plugin::select_entry_by_hash |
Definition at line 174 of file plugin_datastore_mysql.c.
Referenced by libgnunet_plugin_datastore_mysql_init(), and mysql_plugin_get_key().
struct GNUNET_MYSQL_StatementHandle* Plugin::select_entry_by_hash_and_type |
Definition at line 183 of file plugin_datastore_mysql.c.
Referenced by libgnunet_plugin_datastore_mysql_init(), and mysql_plugin_get_key().
struct GNUNET_MYSQL_StatementHandle* Plugin::update_entry |
Definition at line 190 of file plugin_datastore_mysql.c.
Referenced by libgnunet_plugin_datastore_mysql_init(), and mysql_plugin_put().
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().
struct GNUNET_MYSQL_StatementHandle* Plugin::get_size |
Definition at line 196 of file plugin_datastore_mysql.c.
Referenced by libgnunet_plugin_datastore_mysql_init(), and mysql_plugin_estimate_size().
struct GNUNET_MYSQL_StatementHandle* Plugin::zero_iter |
Definition at line 204 of file plugin_datastore_mysql.c.
Referenced by libgnunet_plugin_datastore_mysql_init(), and mysql_plugin_get_zero_anonymity().
struct GNUNET_MYSQL_StatementHandle* Plugin::select_expiration |
Definition at line 210 of file plugin_datastore_mysql.c.
Referenced by libgnunet_plugin_datastore_mysql_init(), and mysql_plugin_get_expiration().
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().
struct GNUNET_MYSQL_StatementHandle* Plugin::select_replication |
Definition at line 224 of file plugin_datastore_mysql.c.
Referenced by libgnunet_plugin_datastore_mysql_init(), and mysql_plugin_get_replication().
struct GNUNET_MYSQL_StatementHandle* Plugin::max_repl |
Definition at line 227 of file plugin_datastore_mysql.c.
Referenced by libgnunet_plugin_datastore_mysql_init(), and mysql_plugin_get_replication().
struct GNUNET_MYSQL_StatementHandle* Plugin::get_all_keys |
Definition at line 230 of file plugin_datastore_mysql.c.
Referenced by libgnunet_plugin_datastore_mysql_init(), and mysql_plugin_get_keys().
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().
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().
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().
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().
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().
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().
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().
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().
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().
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().
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().
const struct GNUNET_CONFIGURATION_Handle * Plugin::cfg |
Our configuration.
Configuration handle.
Definition at line 76 of file plugin_rest_gns.c.
Referenced by database_setup(), GNUNET_BLOCK_context_create(), 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(), and libgnunet_plugin_rest_reclaim_init().
struct GNUNET_GNSRECORD_PluginFunctions* Plugin::api |
Plugin API.
Definition at line 51 of file gnsrecord.c.
struct GNUNET_CONTAINER_MultiHashMap * Plugin::hm |
HashMap.
Definition at line 48 of file plugin_namecache_flat.c.
Referenced by database_setup(), database_shutdown(), delete_entries(), expire_blocks(), expire_entries(), namecache_cache_block(), namecache_expire_blocks(), namecache_lookup_block(), namestore_flat_iterate_records(), namestore_flat_lookup_records(), namestore_flat_store_records(), namestore_flat_zone_to_name(), peerstore_flat_delete_records(), peerstore_flat_expire_records(), peerstore_flat_iterate_records(), and peerstore_flat_store_record().
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().
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().
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().
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().
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().
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().
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().
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().
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().
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().
GNUNET_PEERSTORE_Processor Plugin::iter |
Definition at line 50 of file plugin_peerstore_flat.c.
Referenced by get_records_and_call_iterator(), heap_plugin_get(), heap_plugin_get_closest(), heap_plugin_get_random(), iterate_entries(), namecache_lookup_block(), namecache_postgres_lookup_block(), namecache_sqlite_lookup_block(), namestore_flat_iterate_records(), namestore_flat_lookup_records(), namestore_flat_zone_to_name(), namestore_postgres_iterate_records(), namestore_postgres_lookup_records(), namestore_postgres_zone_to_name(), peerstore_flat_iterate_records(), peerstore_sqlite_iterate_records(), postgres_plugin_get(), and postgres_plugin_get_closest().
void* Plugin::iter_cls |
Iterator cls.
Definition at line 55 of file plugin_peerstore_flat.c.
Referenced by heap_plugin_get(), heap_plugin_get_random(), iterate_entries(), namestore_flat_iterate_records(), namestore_flat_zone_to_name(), namestore_postgres_iterate_records(), namestore_postgres_lookup_records(), namestore_postgres_zone_to_name(), peerstore_flat_iterate_records(), postgres_plugin_get(), and postgres_plugin_get_closest().
const char* Plugin::iter_key |
iterator key
Definition at line 60 of file plugin_peerstore_flat.c.
Referenced by delete_entries(), iterate_entries(), peerstore_flat_delete_records(), and peerstore_flat_iterate_records().
const struct GNUNET_PeerIdentity* Plugin::iter_peer |
Iterator peer.
Definition at line 65 of file plugin_peerstore_flat.c.
Referenced by delete_entries(), iterate_entries(), peerstore_flat_delete_records(), and peerstore_flat_iterate_records().
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().
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().
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().
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().
int Plugin::iter_result_found |
Result found bool.
Definition at line 95 of file plugin_peerstore_flat.c.
Referenced by iterate_entries().
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().
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().
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().
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().
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().
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().
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().
struct GNUNET_RECLAIM_AttributePluginFunctions* Plugin::api |
Plugin API.
Definition at line 45 of file reclaim_attribute.c.
struct GNUNET_RECLAIM_CredentialPluginFunctions* Plugin::api |
Plugin API.
Definition at line 45 of file reclaim_credential.c.
struct GNUNET_TRANSPORT_PluginEnvironment* Plugin::env |
Our environment.
Definition at line 76 of file plugin_transport_http.h.
struct GNUNET_ATS_Session* Plugin::head |
Head of linked list of open sessions.
Definition at line 81 of file plugin_transport_http.h.
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().
struct GNUNET_NAT_Handle * Plugin::nat |
NAT handle & address management.
Handle to NAT traversal support.
Our handle to the NAT module.
Definition at line 91 of file plugin_transport_http.h.
Referenced by libgnunet_plugin_transport_tcp_done(), libgnunet_plugin_transport_tcp_init(), libgnunet_plugin_transport_udp_done(), libgnunet_plugin_transport_udp_init(), setup_sockets(), tcp_plugin_check_address(), tcp_plugin_get_session(), udp_plugin_check_address(), and udp_select_read().
struct HttpAddressWrapper* Plugin::addr_head |
Our own IPv4 addresses DLL head.
Definition at line 96 of file plugin_transport_http.h.
struct HttpAddressWrapper* Plugin::addr_tail |
Our own IPv4 addresses DLL tail.
Definition at line 101 of file plugin_transport_http.h.
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.
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.
size_t Plugin::ext_addr_len |
External address length.
Definition at line 118 of file plugin_transport_http.h.
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.
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().
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().
int Plugin::ipv4 |
Use IPv4? GNUNET_YES or GNUNET_NO.
Definition at line 140 of file plugin_transport_http.h.
int Plugin::ipv6 |
Use IPv6? GNUNET_YES or GNUNET_NO.
Definition at line 145 of file plugin_transport_http.h.
int Plugin::client_only |
Does plugin just use outbound connections and not accept inbound?
Definition at line 150 of file plugin_transport_http.h.
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().
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().
unsigned int Plugin::outbound_sessions |
Number of outbound sessions.
Definition at line 166 of file plugin_transport_http.h.
unsigned int Plugin::inbound_sessions |
Number of inbound sessions.
Definition at line 171 of file plugin_transport_http.h.
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.
char* Plugin::key |
TLS key.
Definition at line 186 of file plugin_transport_http.h.
Referenced by gnunet-chk.AESKey::__init__(), gnunet-chk.Chk::__init__(), attr_in_claims_request(), database_setup(), hash_pkey_and_label(), heap_plugin_put(), mysql_plugin_get_keys(), parse_jwt(), peerstore_flat_delete_records(), peerstore_flat_iterate_records(), postgres_plugin_get(), postgres_plugin_get_key(), sqlite_plugin_get_key(), and gnunet-chk.Chk::uri().
char* Plugin::cert |
TLS certificate.
Definition at line 191 of file plugin_transport_http.h.
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().
uint32_t Plugin::last_tag |
Last used unique HTTP connection tag.
Definition at line 201 of file plugin_transport_http.h.
struct MHD_Daemon* Plugin::server_v4 |
MHD IPv4 daemon.
Definition at line 206 of file plugin_transport_http.h.
struct GNUNET_SCHEDULER_Task* Plugin::server_v4_task |
MHD IPv4 task.
Definition at line 211 of file plugin_transport_http.h.
int Plugin::server_v4_immediately |
The IPv4 server is scheduled to run asap.
Definition at line 216 of file plugin_transport_http.h.
struct MHD_Daemon* Plugin::server_v6 |
MHD IPv6 daemon.
Definition at line 221 of file plugin_transport_http.h.
struct GNUNET_SCHEDULER_Task* Plugin::server_v6_task |
MHD IPv4 task.
Definition at line 226 of file plugin_transport_http.h.
int Plugin::server_v6_immediately |
The IPv6 server is scheduled to run asap.
Definition at line 231 of file plugin_transport_http.h.
struct sockaddr_in* Plugin::server_addr_v4 |
IPv4 server socket to bind to.
Definition at line 236 of file plugin_transport_http.h.
struct sockaddr_in6* Plugin::server_addr_v6 |
IPv6 server socket to bind to.
Definition at line 241 of file plugin_transport_http.h.
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.
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.
CURLM* Plugin::client_mh |
cURL Multihandle
Definition at line 260 of file plugin_transport_http.h.
struct GNUNET_SCHEDULER_Task* Plugin::client_perform_task |
curl perform task
Definition at line 265 of file plugin_transport_http.h.
struct GNUNET_CONNECTION_Handle* Plugin::lsock |
The listen socket.
Definition at line 931 of file plugin_transport_tcp.c.
struct GNUNET_CONTAINER_MultiPeerMap* Plugin::sessionmap |
Map from peer identities to sessions for the given peer.
Definition at line 941 of file plugin_transport_tcp.c.
Referenced by handle_tcp_data(), handle_tcp_nat_probe(), handle_tcp_welcome(), libgnunet_plugin_transport_tcp_done(), libgnunet_plugin_transport_tcp_init(), tcp_plugin_disconnect(), tcp_plugin_disconnect_session(), tcp_plugin_get_session(), tcp_plugin_send(), and tcp_plugin_setup_monitor().
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().
struct GNUNET_SERVER_Handle* Plugin::server |
Handle to the server for this service.
Definition at line 951 of file plugin_transport_tcp.c.
Referenced by connect_notify(), disconnect_notify(), libgnunet_plugin_transport_tcp_done(), libgnunet_plugin_transport_tcp_init(), notify_send_probe(), and tcp_plugin_get_session().
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().
struct GNUNET_CONTAINER_MultiPeerMap* Plugin::nat_wait_conns |
Map of peers we have tried to contact behind a NAT.
Definition at line 962 of file plugin_transport_tcp.c.
Referenced by handle_tcp_nat_probe(), libgnunet_plugin_transport_tcp_done(), libgnunet_plugin_transport_tcp_init(), tcp_plugin_disconnect(), tcp_plugin_disconnect_session(), tcp_plugin_get_session(), and tcp_plugin_send().
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().
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().
GNUNET_TRANSPORT_SessionInfoCallback Plugin::sic |
Function to call about session status changes.
Definition at line 977 of file plugin_transport_tcp.c.
Referenced by notify_session_monitor(), tcp_plugin_setup_monitor(), template_plugin_setup_monitor(), udp_plugin_setup_monitor(), unix_plugin_setup_monitor(), and wlan_plugin_setup_monitor().
void * Plugin::sic_cls |
Closure for sic.
Definition at line 982 of file plugin_transport_tcp.c.
Referenced by notify_session_monitor(), tcp_plugin_setup_monitor(), template_plugin_setup_monitor(), udp_plugin_setup_monitor(), unix_plugin_setup_monitor(), and wlan_plugin_setup_monitor().
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().
struct PrettyPrinterContext * Plugin::ppc_dll_head |
Running pretty printers: head.
Definition at line 992 of file plugin_transport_tcp.c.
Referenced by append_port(), libgnunet_plugin_transport_tcp_done(), libgnunet_plugin_transport_udp_done(), tcp_plugin_address_pretty_printer(), and udp_plugin_address_pretty_printer().
struct PrettyPrinterContext * Plugin::ppc_dll_tail |
Running pretty printers: tail.
Definition at line 997 of file plugin_transport_tcp.c.
Referenced by append_port(), libgnunet_plugin_transport_tcp_done(), libgnunet_plugin_transport_udp_done(), tcp_plugin_address_pretty_printer(), and udp_plugin_address_pretty_printer().
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().
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.
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.
uint32_t Plugin::myoptions |
Address options.
Address options in HBO.
Definition at line 1017 of file plugin_transport_tcp.c.
Referenced by libgnunet_plugin_transport_tcp_init(), libgnunet_plugin_transport_unix_init(), tcp_nat_port_map_callback(), tcp_plugin_check_address(), and udp_nat_port_map_callback().
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().
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().
struct GNUNET_ATS_Session* Plugin::sessions |
List of open sessions (or peer map, or...)
Definition at line 135 of file plugin_transport_template.c.
Referenced by libgnunet_plugin_transport_udp_done(), libgnunet_plugin_transport_udp_init(), udp_disconnect(), udp_disconnect_session(), udp_plugin_create_session(), udp_plugin_lookup_session(), udp_plugin_send(), udp_plugin_setup_monitor(), and udp_plugin_update_session_timeout().
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.
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().
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().
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().
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().
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().
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().
struct GNUNET_NAT_STUN_Handle* Plugin::stun |
Handle to NAT traversal support.
Definition at line 188 of file plugin_transport_udp.h.
struct GNUNET_NETWORK_Handle* Plugin::sockv4 |
The read socket for IPv4.
Definition at line 193 of file plugin_transport_udp.h.
Referenced by iface_proc(), libgnunet_plugin_transport_udp_done(), libgnunet_plugin_transport_udp_init(), remove_timeout_messages_and_select(), schedule_select_v4(), setup_broadcast(), setup_sockets(), udp_ipv4_broadcast_send(), udp_plugin_lookup_session(), udp_plugin_select_v4(), and udp_plugin_send().
struct GNUNET_NETWORK_Handle* Plugin::sockv6 |
The read socket for IPv6.
Definition at line 198 of file plugin_transport_udp.h.
Referenced by iface_proc(), libgnunet_plugin_transport_udp_done(), libgnunet_plugin_transport_udp_init(), remove_timeout_messages_and_select(), schedule_select_v6(), setup_broadcast(), setup_sockets(), stop_broadcast(), udp_ipv6_broadcast_send(), udp_plugin_lookup_session(), udp_plugin_select_v6(), and udp_plugin_send().
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().
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().
struct UDP_MessageWrapper* Plugin::ipv4_queue_head |
Head of messages in IPv4 queue.
Definition at line 213 of file plugin_transport_udp.h.
Referenced by dequeue(), enqueue(), fragmented_message_done(), libgnunet_plugin_transport_udp_done(), remove_timeout_messages_and_select(), schedule_select_v4(), and udp_disconnect_session().
struct UDP_MessageWrapper* Plugin::ipv4_queue_tail |
Tail of messages in IPv4 queue.
Definition at line 218 of file plugin_transport_udp.h.
struct UDP_MessageWrapper* Plugin::ipv6_queue_head |
Head of messages in IPv6 queue.
Definition at line 223 of file plugin_transport_udp.h.
Referenced by dequeue(), enqueue(), fragmented_message_done(), libgnunet_plugin_transport_udp_done(), remove_timeout_messages_and_select(), schedule_select_v6(), and udp_disconnect_session().
struct UDP_MessageWrapper* Plugin::ipv6_queue_tail |
Tail of messages in IPv6 queue.
Definition at line 228 of file plugin_transport_udp.h.
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().
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().
int64_t Plugin::bytes_in_buffer |
Bytes currently in buffer.
Definition at line 263 of file plugin_transport_udp.h.
int Plugin::enable_ipv6 |
Is IPv6 enabled: GNUNET_YES or GNUNET_NO.
Definition at line 273 of file plugin_transport_udp.h.
Referenced by iface_proc(), libgnunet_plugin_transport_udp_init(), schedule_select_v6(), setup_broadcast(), setup_sockets(), and stop_broadcast().
int Plugin::enable_ipv4 |
Is IPv4 enabled: GNUNET_YES or GNUNET_NO.
Definition at line 278 of file plugin_transport_udp.h.
Referenced by iface_proc(), libgnunet_plugin_transport_udp_init(), schedule_select_v4(), setup_broadcast(), and setup_sockets().
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().
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().
uint16_t Plugin::broadcast_port |
Port we broadcasting on.
Definition at line 293 of file plugin_transport_udp.h.
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().
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().
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().
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().
struct GNUNET_CONTAINER_MultiPeerMap* Plugin::session_map |
Sessions (map from peer identity to struct GNUNET_ATS_Session
)
Definition at line 280 of file plugin_transport_unix.c.
Referenced by libgnunet_plugin_transport_unix_init(), lookup_session(), unix_plugin_get_session(), unix_plugin_peer_disconnect(), unix_plugin_send(), unix_plugin_session_disconnect(), unix_plugin_setup_monitor(), and unix_plugin_update_session_timeout().
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().
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().
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().
struct UNIX_Sock_Info Plugin::unix_sock |
socket that we transmit all data with
Definition at line 310 of file plugin_transport_unix.c.
Referenced by unix_plugin_do_read(), unix_plugin_do_write(), unix_plugin_select_read(), unix_plugin_select_write(), unix_plugin_send(), and unix_transport_server_start().
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().
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().
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().
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().
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().
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().
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().
struct MacEndpoint* Plugin::mac_head |
Head of list of open connections.
Definition at line 517 of file plugin_transport_wlan.c.
Referenced by create_macendpoint(), free_macendpoint(), handle_helper_message(), LIBGNUNET_PLUGIN_TRANSPORT_DONE(), wlan_plugin_disconnect_peer(), and wlan_plugin_setup_monitor().
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().
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().
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().
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().
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().
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().