GNUnet  0.10.x
Data Fields
GNUNET_MessageHeader Struct Reference

Header for all communications. More...

#include <gnunet_common.h>

Data Fields

uint16_t size
 The length of the struct (in bytes, including the length field itself), in big-endian format. More...
 
uint16_t type
 The type of the message (GNUNET_MESSAGE_TYPE_XXXX), in big-endian format. More...
 

Detailed Description

Header for all communications.

Definition at line 290 of file gnunet_common.h.

Field Documentation

◆ size

uint16_t GNUNET_MessageHeader::size

The length of the struct (in bytes, including the length field itself), in big-endian format.

Definition at line 297 of file gnunet_common.h.

Referenced by ack_proc(), api_send(), attempt_read_stdin(), attempt_read_tap(), block_plugin_dht_evaluate(), block_plugin_dht_get_key(), broadcast_mst_cb(), cadet_mq_send_impl(), callback_download(), check_add_host(), check_add_host_confirm(), check_address_add(), check_address_change_notification(), check_address_list(), check_advertisement(), check_alice_client_message(), check_alice_client_message_multipart(), check_alices_cryptodata_message(), check_arm_list_result(), check_attribute_delete_message(), check_attribute_result(), check_attribute_store_message(), check_backchannel_encapsulation(), check_barrier_status(), check_bob_client_message(), check_bob_client_message_multipart(), check_bobs_cryptodata_message(), check_bobs_cryptodata_multipart(), check_client_address_to_string(), check_client_join(), check_client_keygen(), check_client_redirect_to_ip(), check_client_result(), check_client_seed(), check_client_send(), check_client_start_search(), check_collect(), check_communicator_backchannel(), check_connection_create(), check_connection_reversal_request(), check_consume_ticket_message(), check_consume_ticket_result(), check_create_message(), check_data(), check_delete_message(), check_dht_local_get_result_seen(), check_dht_p2p_put(), check_dht_p2p_result(), check_dv_box(), check_dv_learn(), check_encrypted(), check_event(), check_feedback(), check_fragment_box(), check_get(), check_get_default_message(), check_get_path(), check_identity_result_code(), check_identity_set_default(), check_identity_update(), check_incoming_msg(), check_index_info(), check_index_start_failed(), check_info(), check_init(), check_issue_ticket_message(), check_local_data(), check_lookup(), check_lookup_result(), check_manage_peer_service(), check_monitor_get(), check_monitor_get_resp(), check_monitor_notify(), check_monitor_put(), check_notification(), check_notify_inbound(), check_p2p_get(), check_peer_information(), check_peer_pull_reply(), check_preference_change(), check_record_lookup(), check_record_result(), check_record_store(), check_recv(), check_register(), check_reliability_ack(), check_remote_overlay_connect(), check_rename_message(), check_reply(), check_request(), check_request_connection_reversal(), check_response(), check_result(), check_revoke_ticket_message(), check_search(), check_search_response(), check_set(), check_set_default_message(), check_statistics_value(), check_status(), check_stream_input(), check_stun(), check_union_p2p_demand(), check_union_p2p_ibf(), check_union_p2p_inquiry(), check_union_p2p_offer(), check_union_p2p_strata_estimator(), check_use_ip(), check_verify(), check_view_update(), check_watch(), check_zone_to_name_response(), client_message_tokenizer_callback(), client_receive_mst_cb(), compose_address_iterate_response_message(), consider_sending_fc(), consider_ss_ack(), core_mq_send_impl(), deliver_message(), demultiplex_with_cmc(), dht_get_id_handler(), do_pad(), do_restart_typemap_message(), do_send(), enc_notify_cb(), encapsulate_for_dv(), enqueue_fragment(), execute_add(), execute_remove(), extract_box_cb(), file_in_send(), forward_dv_learn(), fragment_message(), fragment_msg_proc(), GCCH_handle_channel_plaintext_data(), GCCH_handle_local_data(), GCT_handle_encrypted(), GCT_send(), GCT_send_channel_destroy(), get_radiotap_header(), getRadiotapHeader(), GNUNET_copy_message(), GNUNET_DEFRAGMENT_process_fragment(), GNUNET_FRAGMENT_context_create(), GNUNET_FRAGMENT_print_ack(), GNUNET_FRAGMENT_process_ack(), GNUNET_HELLO_create(), GNUNET_HELLO_get_header(), GNUNET_HELLO_get_id(), GNUNET_HELLO_iterate_addresses(), GNUNET_HELLO_size(), GNUNET_HELPER_send(), GNUNET_MQ_extract_nested_mh_(), GNUNET_MQ_handle_message(), GNUNET_MQ_msg_(), GNUNET_MQ_msg_copy(), GNUNET_MQ_msg_nested_mh_(), GNUNET_MQ_send_copy(), GNUNET_MST_from_buffer(), GNUNET_NAT_register(), GNUNET_SERVER_inject(), GNUNET_SERVER_mst_receive(), GNUNET_TESTBED_controller_link(), GNUNET_TESTBED_extract_config_(), GNUNET_TESTBED_forward_operation_msg_(), GNUNET_TESTBED_generate_peergetconfig_msg_(), GNUNET_TESTBED_generate_slavegetconfig_msg_(), GNUNET_TESTBED_parse_error_string_(), GNUNET_TESTBED_queue_message_(), GNUNET_TESTBED_register_host(), GNUNET_TRANSPORT_communicator_notify(), GNUNET_TRANSPORT_communicator_receive(), GNUNET_W32NSP_LookupServiceNext(), GSC_CLIENTS_deliver_message(), GSC_SESSIONS_confirm_typemap(), GSC_SESSIONS_set_typemap(), GSC_SESSIONS_transmit(), GSC_TYPEMAP_compute_type_map_message(), GSC_TYPEMAP_get_from_message(), GST_clients_broadcast(), GST_clients_broadcast_disconnect(), GST_forwarded_operation_reply_relay(), GST_neighbours_handle_disconnect_message(), GST_neighbours_handle_quota_message(), GST_neighbours_handle_session_ack(), GST_neighbours_handle_session_syn(), GST_neighbours_handle_session_syn_ack(), GST_neighbours_keepalive(), GST_neighbours_keepalive_response(), GST_neighbours_notify_data_recv(), GST_validation_handle_hello(), GST_validation_handle_ping(), GST_validation_handle_pong(), handle_add_host_confirm(), handle_address_change_notification(), handle_arm_list_result(), handle_auto_result(), handle_autoconfig_request(), handle_backchannel_encapsulation(), handle_barrier_cancel(), handle_barrier_init(), handle_barrier_status(), handle_barrier_wait(), handle_block_cache(), handle_cadet_audio_message(), handle_call_audio(), handle_client_audio_message(), handle_client_decrypt(), handle_client_init(), handle_client_insert(), handle_client_redirect_to_ip(), handle_client_response(), handle_client_send(), handle_client_start_search(), handle_command_string(), handle_communicator_backchannel(), handle_connection_create(), handle_create(), handle_data(), handle_dht_local_get_result_seen(), handle_dht_local_put(), handle_dht_p2p_put(), handle_dht_p2p_result(), handle_dns_request(), handle_dns_response(), handle_dummy(), handle_dv_box(), handle_encrypted(), handle_fragment_box(), handle_get(), handle_get_path(), handle_helper_message(), handle_icmp_back(), handle_icmp_remote(), handle_icmp_service(), handle_identity_result_code(), handle_info(), handle_intersection_p2p_bf(), handle_iter_element(), handle_link_controllers_result(), handle_local_data(), handle_log_msg(), handle_lookup_block_response(), handle_monitor_get_resp(), handle_monitor_put(), handle_new_element(), handle_notification(), handle_p2p_get(), handle_p2p_put(), handle_peer_create_success(), handle_peer_event(), handle_phone_audio(), handle_plaintext_data(), handle_put(), handle_raw_message(), handle_record_store(), handle_recv(), handle_register(), handle_reliability_ack(), handle_remote_overlay_connect(), handle_reply(), handle_request(), handle_response(), handle_result(), handle_secret_ready(), handle_send_transmit_continuation(), handle_set(), handle_statistics_value(), handle_status(), handle_tcp_back(), handle_tcp_data(), handle_tcp_nat_probe(), handle_tcp_remote(), handle_tcp_service(), handle_udp_back(), handle_udp_remote(), handle_udp_service(), handle_union_p2p_demand(), handle_union_p2p_elements(), handle_union_p2p_full_element(), handle_union_p2p_ibf(), handle_union_p2p_inquiry(), handle_union_p2p_offer(), handle_union_p2p_strata_estimator(), handle_validation_challenge(), handle_verify(), handle_watch(), handle_zone_to_name_it(), hello_update_cb(), helper_mst(), helper_write(), inject_message(), inject_rekey(), libgnunet_plugin_transport_tcp_init(), listenAndDistribute(), main(), make_info_message(), message_token(), monitor_notify_all(), mq_send(), mq_send_impl(), mst_receive(), neighbours_connect_notification(), notify_client(), notify_client_about_neighbour(), notify_listeners(), on_appsink_new_sample(), p2_controller_connect_cb(), pass_plaintext_to_core(), PEERSTORE_parse_record_message(), play(), plugin_session_info_cb(), prepare_beacon(), process_client_result(), process_data(), process_hello(), process_helper_messages(), process_helper_msgs(), process_payload(), process_record_messages(), process_udp_message(), publicize_rm(), queue_finish(), read_process_ack(), read_process_fragment(), recv_message(), reliability_box_message(), route_message(), route_via_neighbour(), run(), save(), select_read_cb(), select_write_cb(), send_ack(), send_channel_data_ack(), send_channel_open(), send_disconnect(), send_hello_thru_rocc(), send_icmp_packet_via_tun(), send_keepalive(), send_mac_to_plugin(), send_name_to_ip_request(), send_open_ack(), send_outbound_quota_to_clients(), send_session_ack_message(), send_syn(), send_syn_ack_message(), send_tcp_packet_via_tun(), send_udp_packet_via_tun(), server_receive_mst_cb(), service_client_mst_cb(), service_mq_send(), set_incoming_quota(), set_listen_cb(), setup_estimate_message(), setup_flood_message(), sign_ephemeral_key(), start_dv_learn(), stdin_receiver(), stdin_send(), stdin_send_hw(), task_start_reconcile(), tmt_rdy_ping(), tokenized_cb(), tokenizer_cb(), transmit_cummulative_ack_cb(), transmit_fragment(), transmit_next(), transmit_our_hello(), transmit_ping_if_allowed(), transmit_ready(), transmit_typemap_task(), try_connection_reversal(), try_handle_plaintext(), try_transmission(), udp_plugin_send(), udp_select_read(), unicast(), unix_demultiplexer(), unix_plugin_do_read(), validation_transmit_on_queue(), wlan_data_message_handler(), wlan_plugin_send(), write_message(), write_page(), and write_test().

◆ type

uint16_t GNUNET_MessageHeader::type

The type of the message (GNUNET_MESSAGE_TYPE_XXXX), in big-endian format.

Definition at line 302 of file gnunet_common.h.

Referenced by ack_proc(), api_send(), attempt_read_stdin(), attempt_read_tap(), broadcast_mst_cb(), check_local_data(), check_remote_overlay_connect(), check_union_p2p_strata_estimator(), client_message_tokenizer_callback(), compose_address_iterate_response_message(), configuration_receiver(), connection_client_send_impl(), consider_sending_fc(), consider_ss_ack(), deliver_message(), demultiplex_with_cmc(), do_send(), enc_notify_cb(), encapsulate_for_dv(), execute_add(), execute_mutation(), execute_remove(), forward_dv_learn(), fragment_message(), fragment_msg_proc(), GCCH_handle_local_data(), GCT_send_channel_destroy(), get_app(), get_radiotap_header(), getRadiotapHeader(), GNUNET_HELLO_create(), GNUNET_HELLO_equals(), GNUNET_HELLO_get_header(), GNUNET_HELLO_get_id(), GNUNET_HELLO_iterate_addresses(), GNUNET_HELLO_size(), GNUNET_MQ_destroy(), GNUNET_MQ_handle_message(), GNUNET_MQ_msg_(), GNUNET_MQ_send(), GNUNET_MQ_send_cancel(), GNUNET_MST_from_buffer(), GNUNET_NAT_register(), GNUNET_SERVER_inject(), GNUNET_TESTBED_controller_link(), GNUNET_TESTBED_extract_config_(), GNUNET_TESTBED_forward_operation_msg_(), GNUNET_TESTBED_generate_peergetconfig_msg_(), GNUNET_TESTBED_generate_slavegetconfig_msg_(), GNUNET_TESTBED_queue_message_(), GNUNET_TESTBED_register_host(), GNUNET_W32NSP_LookupServiceNext(), GSC_CLIENTS_deliver_message(), GSC_SESSIONS_set_typemap(), GSC_TYPEMAP_compute_type_map_message(), GSC_TYPEMAP_get_from_message(), GST_clients_broadcast(), GST_clients_broadcast_disconnect(), GST_forwarded_operation_reply_relay(), GST_neighbours_keepalive(), GST_validation_handle_ping(), handle_backchannel_encapsulation(), handle_client_send(), handle_command_string(), handle_communicator_backchannel(), handle_dv_box(), handle_helper_message(), handle_icmp_back(), handle_local_data(), handle_raw_message(), handle_recv(), handle_reliability_box(), handle_send_transmit_continuation(), handle_session_add(), handle_tcp_back(), handle_tcp_data(), handle_udp_back(), handle_union_p2p_strata_estimator(), handle_validation_challenge(), helper_mst(), impl_send_continue(), inject_rekey(), libgnunet_plugin_transport_tcp_init(), main(), make_info_message(), message_token(), monitor_notify_all(), mq_send(), mq_send_impl(), mqm_execute(), neighbours_connect_notification(), notify_client(), notify_client_about_neighbour(), notify_listeners(), overlay_connect_get_config(), p2_controller_connect_cb(), peer_create_success_cb(), peer_destroy_success_cb(), play(), plugin_session_info_cb(), prepare_beacon(), process_data(), process_helper_msgs(), process_payload(), process_record_messages(), queue_finish(), recv_message(), reliability_box_message(), route_control_message_without_fc(), route_message(), route_via_neighbour(), run(), save(), send_ack(), send_channel_data_ack(), send_channel_open(), send_disconnect(), send_icmp_packet_via_tun(), send_keepalive(), send_mac_to_plugin(), send_name_to_ip_request(), send_open_ack(), send_outbound_quota_to_clients(), send_session_ack_message(), send_syn(), send_syn_ack_message(), send_tcp_packet_via_tun(), send_udp_packet_via_tun(), service_client_mst_cb(), service_mq_send(), set_incoming_quota(), set_listen_cb(), setup_estimate_message(), setup_flood_message(), shutdown_peers_reply_cb(), sign_ephemeral_key(), start_dv_learn(), stdin_receiver(), stdin_send(), stdin_send_hw(), task_start_reconcile(), tmt_rdy_ping(), tmt_rdy_pong(), tokenized_cb(), tokenizer_cb(), transmit_cummulative_ack_cb(), transmit_next(), transmit_ping_if_allowed(), transmit_ready(), try_connection_reversal(), try_handle_plaintext(), udp_plugin_send(), udp_select_read(), unicast(), validation_transmit_on_queue(), wlan_plugin_send(), write_message(), and write_test().


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