GNUnet  0.19.5
Plugin Struct Reference

Handle for a plugin. More...

#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/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_count_any_stmt
 Prepared statement for sqlite_plugin_get. More...
 
sqlite3_stmt * get_stmt
 Prepared statement for sqlite_plugin_get. More...
 
sqlite3_stmt * get_any_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_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...
 
struct GNUNET_DHTU_Source src
 Our "source" address. More...
 
struct GNUNET_DHTU_PluginEnvironmentenv
 Callbacks into the DHT. More...
 
struct GNUNET_CORE_Handlecore
 Handle to the CORE service. More...
 
struct GNUNET_ATS_ConnectivityHandleats
 Handle to ATS service. More...
 
struct GNUNET_NSE_Handlense
 Handle to the NSE service. More...
 
struct GNUNET_PEERINFO_NotifyContextnc
 Watching for our address to change. More...
 
struct HelloHandlehh_head
 Hellos we are offering to transport. More...
 
struct HelloHandlehh_tail
 Hellos we are offering to transport. More...
 
struct GNUNET_PeerIdentity my_identity
 Identity of this peer. More...
 
struct GNUNET_DHTU_Sourcesrc_head
 Head of sources where we receive traffic. More...
 
struct GNUNET_DHTU_Sourcesrc_tail
 Tail of sources where we receive traffic. More...
 
struct GNUNET_DHTU_Targetdst_head
 Head of destinations that are active. More...
 
struct GNUNET_DHTU_Targetdst_tail
 Tail of destinations that are active. More...
 
struct GNUNET_CONTAINER_MultiHashMapdsts
 Map from hashes of sockaddrs to targets. More...
 
struct GNUNET_SCHEDULER_Taskscan_task
 Task that scans for IP address changes. More...
 
struct GNUNET_SCHEDULER_Taskread_task
 Task that reads incoming UDP packets. More...
 
char * port
 Port we bind to. More...
 
struct GNUNET_NETWORK_Handlesock
 My UDP socket. More...
 
struct GNUNET_PeerIdentity my_id
 My identity. More...
 
unsigned int scan_generation
 How often have we scanned for IPs? More...
 
uint16_t port16
 Port as a 16-bit value. 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...
 
bool ready
 Database is prepared and ready. 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_AttributePluginFunctionsapi
 Plugin API. More...
 
struct GNUNET_RECLAIM_CredentialPluginFunctionsapi
 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_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 privileged 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

Closure for all plugin functions.

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 add_plugin().

◆ api [1/4]

struct GNUNET_BLOCK_PluginFunctions* Plugin::api

Plugin API.

Definition at line 47 of file block.c.

Referenced by add_plugin(), 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_template_done(), libgnunet_plugin_datastore_template_init(), libgnunet_plugin_dhtu_gnunet_done(), libgnunet_plugin_dhtu_ip_done(), libgnunet_plugin_namecache_flat_done(), libgnunet_plugin_namecache_postgres_done(), libgnunet_plugin_namecache_sqlite_done(), libgnunet_plugin_namestore_flat_done(), libgnunet_plugin_namestore_postgres_done(), libgnunet_plugin_namestore_sqlite_done(), libgnunet_plugin_peerstore_flat_done(), libgnunet_plugin_peerstore_sqlite_done(), libgnunet_plugin_rest_config_done(), libgnunet_plugin_rest_copying_done(), libgnunet_plugin_rest_gns_done(), libgnunet_plugin_rest_identity_done(), libgnunet_plugin_rest_namestore_done(), libgnunet_plugin_rest_openid_connect_done(), libgnunet_plugin_rest_peerinfo_done(), libgnunet_plugin_rest_reclaim_done(), LIBGNUNET_PLUGIN_TRANSPORT_DONE(), libgnunet_plugin_transport_tcp_done(), libgnunet_plugin_transport_template_init(), libgnunet_plugin_transport_unix_done(), and libgnunet_plugin_transport_unix_init().

◆ env [1/4]

◆ map

struct GNUNET_CONTAINER_MultiHashMap* Plugin::map

Our hash map.

Definition at line 51 of file plugin_datacache_heap.c.

◆ heaps

struct GNUNET_CONTAINER_Heap* Plugin::heaps[24]

Heaps sorted by distance.

Definition at line 56 of file plugin_datacache_heap.c.

◆ 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 libgnunet_plugin_datacache_sqlite_init().

◆ num_items

unsigned int Plugin::num_items

Number of key-value pairs in the database.

Definition at line 56 of file plugin_datacache_postgres.c.

◆ 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

Filename used for the DB.

Database filename.

Definition at line 62 of file plugin_datacache_sqlite.c.

Referenced by libgnunet_plugin_datacache_sqlite_init(), and libgnunet_plugin_datastore_sqlite_done().

◆ insert_stmt

sqlite3_stmt* Plugin::insert_stmt

Prepared statement for sqlite_plugin_put.

Definition at line 67 of file plugin_datacache_sqlite.c.

◆ get_count_stmt

sqlite3_stmt* Plugin::get_count_stmt

Prepared statement for sqlite_plugin_get.

Definition at line 72 of file plugin_datacache_sqlite.c.

◆ get_count_any_stmt

sqlite3_stmt* Plugin::get_count_any_stmt

Prepared statement for sqlite_plugin_get.

Definition at line 77 of file plugin_datacache_sqlite.c.

◆ get_stmt

sqlite3_stmt* Plugin::get_stmt

Prepared statement for sqlite_plugin_get.

Definition at line 82 of file plugin_datacache_sqlite.c.

◆ get_any_stmt

sqlite3_stmt* Plugin::get_any_stmt

Prepared statement for sqlite_plugin_get.

Definition at line 87 of file plugin_datacache_sqlite.c.

◆ del_select_stmt

sqlite3_stmt* Plugin::del_select_stmt

Prepared statement for sqlite_plugin_del.

Definition at line 92 of file plugin_datacache_sqlite.c.

◆ del_expired_stmt

sqlite3_stmt* Plugin::del_expired_stmt

Prepared statement for sqlite_plugin_del.

Definition at line 97 of file plugin_datacache_sqlite.c.

◆ del_stmt

sqlite3_stmt* Plugin::del_stmt

Prepared statement for sqlite_plugin_del.

Definition at line 102 of file plugin_datacache_sqlite.c.

◆ get_closest_stmt

sqlite3_stmt* Plugin::get_closest_stmt

Prepared statement for sqlite_plugin_get_closest.

Definition at line 107 of file plugin_datacache_sqlite.c.

◆ env [2/4]

◆ keyvalue

struct GNUNET_CONTAINER_MultiHashMap* Plugin::keyvalue

Mapping from keys to 'struct Value's.

Definition at line 147 of file plugin_datastore_heap.c.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ size

unsigned long long Plugin::size

Size of all values we're storing.

Definition at line 172 of file plugin_datastore_heap.c.

◆ mc

struct GNUNET_MYSQL_Context* Plugin::mc

Handle to talk to MySQL.

Definition at line 143 of file plugin_datastore_mysql.c.

◆ insert_entry

struct GNUNET_MYSQL_StatementHandle* Plugin::insert_entry

Definition at line 150 of file plugin_datastore_mysql.c.

◆ delete_entry_by_uid

struct GNUNET_MYSQL_StatementHandle* Plugin::delete_entry_by_uid

Definition at line 153 of file plugin_datastore_mysql.c.

◆ delete_entry_by_hash_value

struct GNUNET_MYSQL_StatementHandle* Plugin::delete_entry_by_hash_value

Definition at line 159 of file plugin_datastore_mysql.c.

◆ select_entry

struct GNUNET_MYSQL_StatementHandle* Plugin::select_entry

Definition at line 167 of file plugin_datastore_mysql.c.

◆ select_entry_by_hash

struct GNUNET_MYSQL_StatementHandle* Plugin::select_entry_by_hash

Definition at line 175 of file plugin_datastore_mysql.c.

◆ select_entry_by_hash_and_type

struct GNUNET_MYSQL_StatementHandle* Plugin::select_entry_by_hash_and_type

Definition at line 184 of file plugin_datastore_mysql.c.

◆ update_entry

struct GNUNET_MYSQL_StatementHandle* Plugin::update_entry

Definition at line 191 of file plugin_datastore_mysql.c.

◆ dec_repl

struct GNUNET_MYSQL_StatementHandle* Plugin::dec_repl

Definition at line 194 of file plugin_datastore_mysql.c.

◆ get_size

struct GNUNET_MYSQL_StatementHandle* Plugin::get_size

Definition at line 197 of file plugin_datastore_mysql.c.

◆ zero_iter

struct GNUNET_MYSQL_StatementHandle* Plugin::zero_iter

Definition at line 205 of file plugin_datastore_mysql.c.

◆ select_expiration

struct GNUNET_MYSQL_StatementHandle* Plugin::select_expiration

Definition at line 211 of file plugin_datastore_mysql.c.

◆ select_priority

struct GNUNET_MYSQL_StatementHandle* Plugin::select_priority

Definition at line 216 of file plugin_datastore_mysql.c.

◆ select_replication

struct GNUNET_MYSQL_StatementHandle* Plugin::select_replication

Definition at line 225 of file plugin_datastore_mysql.c.

◆ max_repl

struct GNUNET_MYSQL_StatementHandle* Plugin::max_repl

Definition at line 228 of file plugin_datastore_mysql.c.

◆ get_all_keys

struct GNUNET_MYSQL_StatementHandle* Plugin::get_all_keys

Definition at line 231 of file plugin_datastore_mysql.c.

◆ remove

sqlite3_stmt* Plugin::remove

Precompiled SQL for remove_key.

Definition at line 118 of file plugin_datastore_sqlite.c.

◆ delRow

sqlite3_stmt* Plugin::delRow

Precompiled SQL for deletion.

Definition at line 123 of file plugin_datastore_sqlite.c.

◆ update

sqlite3_stmt* Plugin::update

Precompiled SQL for update.

Definition at line 128 of file plugin_datastore_sqlite.c.

◆ maxRepl

sqlite3_stmt* Plugin::maxRepl

Get maximum repl value in database.

Definition at line 133 of file plugin_datastore_sqlite.c.

◆ updRepl

sqlite3_stmt* Plugin::updRepl

Precompiled SQL for replication decrement.

Definition at line 138 of file plugin_datastore_sqlite.c.

◆ selRepl

sqlite3_stmt* Plugin::selRepl

Precompiled SQL for replication selection.

Definition at line 143 of file plugin_datastore_sqlite.c.

◆ selExpi

sqlite3_stmt* Plugin::selExpi

Precompiled SQL for expiration selection.

Definition at line 148 of file plugin_datastore_sqlite.c.

◆ selZeroAnon

sqlite3_stmt* Plugin::selZeroAnon

Precompiled SQL for expiration selection.

Definition at line 153 of file plugin_datastore_sqlite.c.

◆ insertContent

sqlite3_stmt* Plugin::insertContent

Precompiled SQL for insertion.

Definition at line 158 of file plugin_datastore_sqlite.c.

◆ get

sqlite3_stmt* Plugin::get[8]

Precompiled SQL for selection.

Definition at line 163 of file plugin_datastore_sqlite.c.

◆ 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.

◆ src

struct GNUNET_DHTU_Source Plugin::src

Our "source" address.

Traditional CORE API does not tell us which source it is, so they are all identical.

Definition at line 149 of file plugin_dhtu_gnunet.c.

◆ env [3/4]

◆ core

struct GNUNET_CORE_Handle* Plugin::core

Handle to the CORE service.

Definition at line 173 of file plugin_dhtu_gnunet.c.

◆ ats

struct GNUNET_ATS_ConnectivityHandle* Plugin::ats

Handle to ATS service.

Definition at line 178 of file plugin_dhtu_gnunet.c.

◆ nse

struct GNUNET_NSE_Handle* Plugin::nse

Handle to the NSE service.

Definition at line 183 of file plugin_dhtu_gnunet.c.

◆ nc

struct GNUNET_PEERINFO_NotifyContext* Plugin::nc

Watching for our address to change.

Definition at line 188 of file plugin_dhtu_gnunet.c.

◆ hh_head

struct HelloHandle* Plugin::hh_head

Hellos we are offering to transport.

Definition at line 193 of file plugin_dhtu_gnunet.c.

◆ hh_tail

struct HelloHandle* Plugin::hh_tail

Hellos we are offering to transport.

Definition at line 198 of file plugin_dhtu_gnunet.c.

◆ my_identity

struct GNUNET_PeerIdentity Plugin::my_identity

Identity of this peer.

Definition at line 198 of file plugin_dhtu_gnunet.c.

◆ src_head

struct GNUNET_DHTU_Source* Plugin::src_head

Head of sources where we receive traffic.

Definition at line 176 of file plugin_dhtu_ip.c.

◆ src_tail

struct GNUNET_DHTU_Source* Plugin::src_tail

Tail of sources where we receive traffic.

Definition at line 181 of file plugin_dhtu_ip.c.

◆ dst_head

struct GNUNET_DHTU_Target* Plugin::dst_head

Head of destinations that are active.

Sorted by last use, with latest used at the head.

Definition at line 187 of file plugin_dhtu_ip.c.

◆ dst_tail

struct GNUNET_DHTU_Target* Plugin::dst_tail

Tail of destinations that are active.

Definition at line 192 of file plugin_dhtu_ip.c.

◆ dsts

struct GNUNET_CONTAINER_MultiHashMap* Plugin::dsts

Map from hashes of sockaddrs to targets.

Definition at line 197 of file plugin_dhtu_ip.c.

◆ scan_task

struct GNUNET_SCHEDULER_Task* Plugin::scan_task

Task that scans for IP address changes.

Definition at line 202 of file plugin_dhtu_ip.c.

◆ read_task

struct GNUNET_SCHEDULER_Task * Plugin::read_task

Task that reads incoming UDP packets.

ID of read task.

Definition at line 207 of file plugin_dhtu_ip.c.

◆ port [1/2]

uint16_t Plugin::port

Port we bind to.

Port we listen on.

Definition at line 212 of file plugin_dhtu_ip.c.

◆ sock

struct GNUNET_NETWORK_Handle* Plugin::sock

My UDP socket.

Definition at line 217 of file plugin_dhtu_ip.c.

Referenced by libgnunet_plugin_dhtu_ip_init().

◆ my_id

struct GNUNET_PeerIdentity Plugin::my_id

My identity.

Definition at line 217 of file plugin_dhtu_ip.c.

◆ scan_generation

unsigned int Plugin::scan_generation

How often have we scanned for IPs?

Definition at line 227 of file plugin_dhtu_ip.c.

◆ port16

uint16_t Plugin::port16

Port as a 16-bit value.

Definition at line 232 of file plugin_dhtu_ip.c.

◆ cfg

const struct GNUNET_CONFIGURATION_Handle * Plugin::cfg

Our configuration.

Configuration handle.

Definition at line 76 of file plugin_rest_gns.c.

Referenced by gnunet_testing.Peer::__del__(), gnunet_testing.Peer::get_statistics_value(), gnunet_testing.Peer::start(), and gnunet_testing.Peer::stop().

◆ api [2/4]

struct GNUNET_GNSRECORD_PluginFunctions* Plugin::api

Plugin API.

Definition at line 50 of file gnsrecord.c.

◆ hm

struct GNUNET_CONTAINER_MultiHashMap * Plugin::hm

HashMap.

Definition at line 48 of file plugin_namecache_flat.c.

◆ cache_block

sqlite3_stmt* Plugin::cache_block

Precompiled SQL for caching a block.

Definition at line 84 of file plugin_namecache_sqlite.c.

◆ delete_block

sqlite3_stmt* Plugin::delete_block

Precompiled SQL for deleting an older block.

Definition at line 89 of file plugin_namecache_sqlite.c.

◆ lookup_block

sqlite3_stmt* Plugin::lookup_block

Precompiled SQL for looking up a block.

Definition at line 94 of file plugin_namecache_sqlite.c.

◆ expire_blocks

sqlite3_stmt* Plugin::expire_blocks

Precompiled SQL for removing expired blocks.

Definition at line 99 of file plugin_namecache_sqlite.c.

◆ ready

bool Plugin::ready

Database is prepared and ready.

Statements prepared, we are ready to go if true.

Definition at line 55 of file plugin_namestore_postgres.c.

◆ store_records

sqlite3_stmt* Plugin::store_records

Precompiled SQL to store records.

Definition at line 91 of file plugin_namestore_sqlite.c.

◆ delete_records

sqlite3_stmt* Plugin::delete_records

Precompiled SQL to deltete existing records.

Definition at line 96 of file plugin_namestore_sqlite.c.

◆ iterate_zone

sqlite3_stmt* Plugin::iterate_zone

Precompiled SQL for iterate records within a zone.

Definition at line 101 of file plugin_namestore_sqlite.c.

◆ iterate_all_zones

sqlite3_stmt* Plugin::iterate_all_zones

Precompiled SQL for iterate all records within all zones.

Definition at line 106 of file plugin_namestore_sqlite.c.

◆ zone_to_name

sqlite3_stmt* Plugin::zone_to_name

Precompiled SQL to for reverse lookup based on PKEY.

Definition at line 111 of file plugin_namestore_sqlite.c.

◆ lookup_label

sqlite3_stmt* Plugin::lookup_label

Precompiled SQL to lookup records based on label.

Definition at line 116 of file plugin_namestore_sqlite.c.

◆ iter

Iterator.

Definition at line 50 of file plugin_peerstore_flat.c.

Referenced by peerstore_flat_iterate_records().

◆ iter_cls

void* Plugin::iter_cls

Iterator cls.

Definition at line 55 of file plugin_peerstore_flat.c.

Referenced by peerstore_flat_iterate_records().

◆ iter_key

const char* Plugin::iter_key

iterator key

Definition at line 60 of file plugin_peerstore_flat.c.

◆ iter_peer

const struct GNUNET_PeerIdentity* Plugin::iter_peer

Iterator peer.

Definition at line 65 of file plugin_peerstore_flat.c.

◆ iter_sub_system

const char* Plugin::iter_sub_system

Iterator subsystem.

Definition at line 70 of file plugin_peerstore_flat.c.

◆ iter_now

struct GNUNET_TIME_Absolute Plugin::iter_now

Iterator time.

Definition at line 70 of file plugin_peerstore_flat.c.

◆ deleted_entries

uint64_t Plugin::deleted_entries

Deleted entries.

Definition at line 80 of file plugin_peerstore_flat.c.

◆ exp_changes

uint64_t Plugin::exp_changes

Expired entries.

Definition at line 85 of file plugin_peerstore_flat.c.

◆ iter_result_found

int Plugin::iter_result_found

Result found bool.

Definition at line 95 of file plugin_peerstore_flat.c.

◆ insert_peerstoredata

sqlite3_stmt* Plugin::insert_peerstoredata

Precompiled SQL for inserting into peerstoredata.

Definition at line 86 of file plugin_peerstore_sqlite.c.

◆ select_peerstoredata

sqlite3_stmt* Plugin::select_peerstoredata

Precompiled SQL for selecting from peerstoredata.

Definition at line 91 of file plugin_peerstore_sqlite.c.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ api [3/4]

Plugin API.

Definition at line 45 of file reclaim_attribute.c.

◆ api [4/4]

Plugin API.

Definition at line 45 of file reclaim_credential.c.

◆ env [4/4]

◆ 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.

◆ nat

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.

◆ 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

◆ 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 [2/2]

uint16_t Plugin::port

Port used.

Port we listen on.

Definition at line 155 of file plugin_transport_http.h.

◆ 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.

◆ 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.

◆ 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

Map from peer identities to sessions for the given peer.

Definition at line 941 of file plugin_transport_tcp.c.

◆ service

struct LEGACY_SERVICE_Context* Plugin::service

Handle to the network service.

Definition at line 946 of file plugin_transport_tcp.c.

◆ server

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 notify_send_probe().

◆ 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.

◆ nat_wait_conns

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.

◆ probe_head

struct TCPProbeContext* Plugin::probe_head

List of active TCP probes.

Definition at line 967 of file plugin_transport_tcp.c.

◆ probe_tail

struct TCPProbeContext* Plugin::probe_tail

List of active TCP probes.

Definition at line 972 of file plugin_transport_tcp.c.

◆ sic

Function to call about session status changes.

Definition at line 977 of file plugin_transport_tcp.c.

Referenced by tcp_plugin_setup_monitor(), template_plugin_setup_monitor(), udp_plugin_setup_monitor(), and unix_plugin_setup_monitor().

◆ 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.

◆ ppc_dll_head

struct PrettyPrinterContext * Plugin::ppc_dll_head

Running pretty printers: head.

Definition at line 992 of file plugin_transport_tcp.c.

◆ ppc_dll_tail

struct PrettyPrinterContext * Plugin::ppc_dll_tail

Running pretty printers: tail.

Definition at line 997 of file plugin_transport_tcp.c.

◆ my_welcome

struct WelcomeMessage Plugin::my_welcome

Welcome message used by this peer.

Definition at line 997 of file plugin_transport_tcp.c.

◆ 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

Address options.

Address options in HBO.

Definition at line 1017 of file plugin_transport_tcp.c.

◆ open_port

uint16_t Plugin::open_port

Port that we are actually listening on.

Definition at line 1022 of file plugin_transport_tcp.c.

◆ 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.

◆ sessions [1/2]

struct GNUNET_ATS_Session* Plugin::sessions

List of open sessions (or peer map, or...)

Definition at line 135 of file plugin_transport_template.c.

◆ 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.

◆ 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.

◆ 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.

◆ tracker

struct GNUNET_BANDWIDTH_Tracker Plugin::tracker

Bandwidth tracker to limit global UDP traffic.

Tracker for bandwidth limit.

Definition at line 163 of file plugin_transport_udp.h.

◆ 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

The read socket for IPv4.

Definition at line 193 of file plugin_transport_udp.h.

◆ sockv6

struct GNUNET_NETWORK_Handle* Plugin::sockv6

The read socket for IPv6.

Definition at line 198 of file plugin_transport_udp.h.

◆ broadcast_tail

struct BroadcastAddress* Plugin::broadcast_tail

Head of DLL of broadcast addresses.

Definition at line 203 of file plugin_transport_udp.h.

◆ broadcast_head

struct BroadcastAddress* Plugin::broadcast_head

Tail of DLL of broadcast addresses.

Definition at line 208 of file plugin_transport_udp.h.

◆ ipv4_queue_head

struct UDP_MessageWrapper* Plugin::ipv4_queue_head

Head of messages in IPv4 queue.

Definition at line 213 of file plugin_transport_udp.h.

◆ 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.

◆ ipv6_queue_head

struct UDP_MessageWrapper* Plugin::ipv6_queue_head

Head of messages in IPv6 queue.

Definition at line 223 of file plugin_transport_udp.h.

◆ 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.

◆ ipv6_multicast_address

struct sockaddr_in6 Plugin::ipv6_multicast_address

IPv6 multicast address.

Definition at line 248 of file plugin_transport_udp.h.

◆ broadcast_interval

struct GNUNET_TIME_Relative Plugin::broadcast_interval

Broadcast interval.

Definition at line 248 of file plugin_transport_udp.h.

◆ bytes_in_buffer

int64_t Plugin::bytes_in_buffer

Bytes currently in buffer.

Definition at line 263 of file plugin_transport_udp.h.

◆ enable_ipv6

int Plugin::enable_ipv6

Is IPv6 enabled: GNUNET_YES or GNUNET_NO.

Definition at line 273 of file plugin_transport_udp.h.

◆ enable_ipv4

int Plugin::enable_ipv4

Is IPv4 enabled: GNUNET_YES or GNUNET_NO.

Definition at line 278 of file plugin_transport_udp.h.

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

◆ 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.

◆ 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 libgnunet_plugin_transport_udp_init().

◆ write_task

struct GNUNET_SCHEDULER_Task* Plugin::write_task

ID of write task.

Definition at line 265 of file plugin_transport_unix.c.

◆ 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.

◆ session_map

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.

◆ msg_head

struct UNIXMessageWrapper* Plugin::msg_head

Head of queue of messages to transmit.

Definition at line 285 of file plugin_transport_unix.c.

◆ msg_tail

struct UNIXMessageWrapper* Plugin::msg_tail

Tail of queue of messages to transmit.

Definition at line 290 of file plugin_transport_unix.c.

◆ 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.

◆ unix_sock

struct UNIX_Sock_Info Plugin::unix_sock

socket that we transmit all data with

Definition at line 305 of file plugin_transport_unix.c.

◆ is_abstract

int Plugin::is_abstract

Are we using an abstract UNIX domain socket?

Definition at line 320 of file plugin_transport_unix.c.

◆ suid_helper

struct GNUNET_HELPER_Handle* Plugin::suid_helper

Handle to helper process for privileged operations.

Definition at line 475 of file plugin_transport_wlan.c.

Referenced by send_ack(), 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ mac_head

struct MacEndpoint* Plugin::mac_head

Head of list of open connections.

Definition at line 517 of file plugin_transport_wlan.c.

◆ mac_tail

struct MacEndpoint* Plugin::mac_tail

Tail of list of open connections.

Definition at line 522 of file plugin_transport_wlan.c.

◆ 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.

◆ 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 527 of file plugin_transport_wlan.c.

◆ 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.

◆ mac_count

unsigned int Plugin::mac_count

Number of connections.

Definition at line 547 of file plugin_transport_wlan.c.

◆ options


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