GNUnet 0.21.1
NotifyTrafficMessage Struct Reference

Message sent by the service to clients to notify them about messages being received or transmitted. More...

#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/service/core/core.h>

Collaboration diagram for NotifyTrafficMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Header with type GNUNET_MESSAGE_TYPE_CORE_NOTIFY_INBOUND or GNUNET_MESSAGE_TYPE_CORE_NOTIFY_OUTBOUND. More...
 
struct GNUNET_PeerIdentity peer
 Identity of the receiver or sender. More...
 

Detailed Description

Message sent by the service to clients to notify them about messages being received or transmitted.

This overall message is followed by the real message, or just the header of the real message (depending on the client's preferences). The receiver can tell if it got the full message or only a partial message by looking at the size field in the header of NotifyTrafficMessage and checking it with the size field in the message that follows.

Definition at line 173 of file core.h.

Field Documentation

◆ header

struct GNUNET_MessageHeader NotifyTrafficMessage::header

◆ peer

struct GNUNET_PeerIdentity NotifyTrafficMessage::peer

Identity of the receiver or sender.

Definition at line 184 of file core.h.

Referenced by GSC_CLIENTS_deliver_message(), and handle_notify_inbound().


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