GNUnet debian-0.24.3-28-g4f2a77692
 
Loading...
Searching...
No Matches
GNUNET_MESSENGER_MessageHeader Struct Reference

The header of a GNUNET_MESSENGER_Message. More...

#include <gnunet_messenger_service.h>

Collaboration diagram for GNUNET_MESSENGER_MessageHeader:
[legend]

Data Fields

struct GNUNET_CRYPTO_Signature signature
 The signature of the senders private key.
 
struct GNUNET_TIME_AbsoluteNBO timestamp
 The timestamp of the message.
 
struct GNUNET_ShortHashCode sender_id
 The senders id inside of the room the message was sent in.
 
struct GNUNET_HashCode previous
 The hash of the previous message from the senders perspective.
 
enum GNUNET_MESSENGER_MessageKind kind
 The kind of the message.
 

Detailed Description

The header of a GNUNET_MESSENGER_Message.

This allows authentication of the sender, temporal ordering and finding potentially missed messages.

Message-header-size: 140+ bytes

Definition at line 410 of file gnunet_messenger_service.h.

Field Documentation

◆ signature

struct GNUNET_CRYPTO_Signature GNUNET_MESSENGER_MessageHeader::signature

◆ timestamp

◆ sender_id

◆ previous

◆ kind

enum GNUNET_MESSENGER_MessageKind GNUNET_MESSENGER_MessageHeader::kind

The kind of the message.

Definition at line 435 of file gnunet_messenger_service.h.

Referenced by add_link(), calc_message_hmac(), callback_room_handle_message(), check_send_message(), cleanup_message(), confirm_epoch_membership_announcment(), copy_message(), copy_message_header(), create_message(), decode_message(), decrypt_message(), decrypt_secret_message(), destroy_message(), encode_message(), encrypt_message(), encrypt_secret_message(), enqueue_to_messages(), extract_access_message_key(), extract_authorization_message_key(), filter_message_sending(), fold_short_message(), get_epoch_previous_announcement(), get_epoch_previous_group(), get_epoch_proposal_group(), get_member_session_of(), get_members_of_epoch(), get_message_discourse(), get_message_size(), get_room_message_epoch_identifier(), get_store_member_of(), get_store_message_link(), get_store_peer_of(), handle_access_message(), handle_appeal_message(), handle_authorization_message(), handle_epoch_announcement_access(), handle_epoch_announcement_message(), handle_message(), handle_recv_message(), handle_room_delayed_action(), handle_room_delayed_appeal(), handle_room_delayed_deletion(), handle_room_message(), handle_send_message(), handle_service_message(), handle_transcript_message(), handle_tunnel_message(), invalidate_epoch_announcement(), invalidate_epoch_group(), is_epoch_member_in_room_graph(), is_epoch_message(), is_epoch_previous_of_other(), is_message_session_bound(), is_peer_message(), is_service_message(), iterate_cancel_action_by(), iterate_epoch_session_members(), notify_srv_handle_message(), on_message(), on_message_cb(), pack_message(), pack_srv_room_message(), process_message_control(), put_store_message(), read_stdio(), read_transcript_message(), revoke_epoch_announcement_member(), send_epoch_announcement_access(), send_epoch_announcement_authorization(), send_epoch_group(), send_epoch_group_access(), send_epoch_group_authorization(), send_message_to_room(), send_message_to_room_with_key(), send_srv_room_message(), set_epoch_proposal_group(), setup_following_epochs_of_previous(), sign_message_by_key(), switch_member_session(), traverse_epoch_session_message(), unfold_short_message(), update_message_state(), update_room_message(), update_room_secret_message(), verify_message_by_key(), and verify_tunnel_message().


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