GNUNET_MessageHeader Struct Reference

#include <gnunet_util_network.h>


Data Fields

unsigned short size
unsigned short type


Detailed Description

Header for all Client-Server communications.

Definition at line 105 of file gnunet_util_network.h.


Field Documentation

unsigned short GNUNET_MessageHeader::size

The length of the struct (in bytes, including the length field itself)

Definition at line 111 of file gnunet_util_network.h.

Referenced by acceptSessionKey(), accessHandlerCallback(), api_create_hello(), api_send(), broadcast_dht_discovery(), buildReply(), chatClientExitHandler(), check(), considerPeer(), createPing(), createSignedhello(), cs_handle_vpn_add(), cs_handle_vpn_reset(), csGet(), csGetEnd(), csHandle(), csHandleChatJoinRequest(), csHandleTBenchRequest(), csHandleTransmitRequest(), csPut(), datastore_value_processor(), fragmentBMC(), get_result(), GNUNET_CHAT_rejoin_room(), GNUNET_CHAT_send_message(), GNUNET_client_connection_read(), GNUNET_client_connection_read_result(), GNUNET_client_connection_request_daemon_shutdown(), GNUNET_client_connection_write(), GNUNET_client_connection_write_result(), GNUNET_CORE_connection_unicast(), GNUNET_CORE_cs_send_error_to_client(), GNUNET_CORE_cs_send_result_to_client(), GNUNET_CORE_p2p_inject_message(), GNUNET_DHT_get_start(), GNUNET_DHT_get_stop(), GNUNET_DHT_put(), GNUNET_FS_GAP_handle_response(), GNUNET_FS_HELPER_send_to_client(), GNUNET_FS_index(), GNUNET_FS_insert(), GNUNET_FS_prepare_to_index(), GNUNET_FS_start_search(), GNUNET_FS_test_indexed(), GNUNET_FS_unindex(), GNUNET_get_daemon_configuration_value(), GNUNET_IDENTITY_get_self(), GNUNET_IDENTITY_request_connect(), GNUNET_IDENTITY_request_peer_infos(), GNUNET_IDENTITY_sign_function(), GNUNET_select_write(), GNUNET_session_cache_get(), GNUNET_session_cache_put(), GNUNET_STATS_get_available_protocols(), GNUNET_STATS_get_statistics(), GNUNET_test_daemon_running(), GNUNET_TRACEKIT_run(), GNUNET_traffic_poll(), handle_cs_delete_request(), handle_cs_index_request(), handle_cs_init_index_request(), handle_cs_insert_request(), handle_cs_query_start_request(), handle_cs_query_stop_request(), handle_cs_test_indexed_request(), handle_cs_unindex_request(), handle_get(), handle_p2p_content(), handle_p2p_query(), handle_put(), handle_result(), handleAskHello(), handleDiscovery(), handleGetOption(), handleHANGUP(), handleMessageSupported(), handlep2pProbe(), handlep2pReply(), handleRPCMessageAck(), handleRPCMessageReq(), handleRPCMessageRes(), handleTBenchReply(), handleTBenchReq(), hostInfoIterator(), httpSend(), identityHelloHandler(), identityRequestConnectHandler(), identityRequestSignatureHandler(), listenAndDistribute(), main(), maintain_dht_job(), makeFragment(), makeSessionKeySigned(), neighbor_send_thread(), noiseHandler(), p2p_handle_vpn_aip_getroute(), p2p_handle_vpn_aip_ip(), p2p_handle_vpn_aip_route(), p2p_handle_vpn_aip_routes(), p2pHandleDVNeighborMessage(), pingReceived(), plaintextPingReceived(), plaintextPongReceived(), plaintextReceive(), poll_thread(), pongReceived(), prepareSelectedMessages(), processFragment(), processGetConnectionCountRequest(), processNoise(), readAndProcess(), receivedhello(), reply_process_thread(), route_result(), RPC_build_message(), RPC_deserialize_arguments(), RPC_get_function_name(), RPC_send_ack(), select_message_handler(), selectThread(), sendBuffer(), shutdownConnection(), shutdownHandler(), tcp_send(), test(), test_smh(), testPING(), testTAPI(), trafficQueryHandler(), trafficReceive(), trafficSend(), try_add_request(), tryJoin(), tunThread(), and udp_send().

unsigned short GNUNET_MessageHeader::type

The type of the message (XX_CS_PROTO_XXXX)

Definition at line 116 of file gnunet_util_network.h.

Referenced by acceptSessionKey(), api_send(), broadcast_dht_discovery(), buildReply(), chatClientExitHandler(), check(), considerPeer(), createPing(), createSignedhello(), cs_handle_vpn_add(), cs_handle_vpn_reset(), csHandle(), csHandleChatJoinRequest(), csHandleTBenchRequest(), csHandleTransmitRequest(), datastore_value_processor(), fragmentBMC(), get_result(), GNUNET_CHAT_rejoin_room(), GNUNET_CHAT_send_message(), GNUNET_client_connection_read_result(), GNUNET_client_connection_request_daemon_shutdown(), GNUNET_client_connection_write_result(), GNUNET_CORE_cs_send_error_to_client(), GNUNET_CORE_cs_send_result_to_client(), GNUNET_CORE_p2p_inject_message(), GNUNET_DHT_get_start(), GNUNET_DHT_get_stop(), GNUNET_DHT_put(), GNUNET_FS_GAP_handle_response(), GNUNET_FS_HELPER_send_to_client(), GNUNET_FS_index(), GNUNET_FS_insert(), GNUNET_FS_prepare_to_index(), GNUNET_FS_start_search(), GNUNET_FS_stop_search(), GNUNET_FS_test_indexed(), GNUNET_FS_unindex(), GNUNET_get_daemon_configuration_value(), GNUNET_IDENTITY_get_self(), GNUNET_IDENTITY_peer_add(), GNUNET_IDENTITY_request_connect(), GNUNET_IDENTITY_request_peer_infos(), GNUNET_IDENTITY_sign_function(), GNUNET_STATS_get_available_protocols(), GNUNET_STATS_get_statistics(), GNUNET_test_daemon_running(), GNUNET_TRACEKIT_run(), GNUNET_traffic_poll(), handleGetOption(), handlep2pReply(), handleTBenchReq(), hostInfoIterator(), httpSend(), identityRequestSignatureHandler(), main(), maintain_dht_job(), makeSessionKeySigned(), neighbor_send_thread(), p2p_handle_vpn_aip_getroute(), p2p_handle_vpn_aip_route(), pingReceived(), plaintextPingReceived(), plaintextReceive(), poll_thread(), prepareSelectedMessages(), reply_process_thread(), route_result(), RPC_build_message(), RPC_deserialize_arguments(), RPC_send_ack(), select_message_handler(), sendBuffer(), sendStatistics(), shutdownConnection(), tcp_send(), test(), testTAPI(), trafficReceive(), trafficSend(), try_add_request(), tunThread(), and udp_send().


The documentation for this struct was generated from the following file:
Generated on Wed Jan 7 02:18:13 2009 for GNUnet by  doxygen 1.5.1