GNUnet  0.10.x
communicator.h
Go to the documentation of this file.
1 /*
2  This file is part of GNUnet.
3  Copyright (C) 2009-2014 GNUnet e.V.
4 
5  GNUnet is free software: you can redistribute it and/or modify it
6  under the terms of the GNU Affero General Public License as published
7  by the Free Software Foundation, either version 3 of the License,
8  or (at your option) any later version.
9 
10  GNUnet is distributed in the hope that it will be useful, but
11  WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Affero General Public License for more details.
14 
15  You should have received a copy of the GNU Affero General Public License
16  along with this program. If not, see <http://www.gnu.org/licenses/>.
17 
18  SPDX-License-Identifier: AGPL3.0-or-later
19  */
20 
26 #ifndef COMMUNICATOR_H
27 #define COMMUNICAOTR_H
28 
29 #include "gnunet_util_lib.h"
30 #include "gnunet_protocols.h"
31 
33 
49 
54 
60 
66 };
67 
68 
96 
102  uint32_t msg_window_size;
103 
108 
115 
120 
129  /* uint64_t msg_selective_ack_field[]; */
130 };
131 
132 
134 
135 /* end of communicator.h */
136 #endif
Message used to tell a communicator about a successful key exchange.
Definition: communicator.h:44
uint64_t msg_cummulative_ack
Up to which message number were all messages received.
Definition: communicator.h:107
uint64_t bytes_cummulative_ack
Cummulative acknowledgement for number of bytes received.
Definition: communicator.h:119
Time for relative time used by GNUnet, in microseconds and in network byte order. ...
struct GNUNET_HashCode token
Hash of the shared secret.
Definition: communicator.h:65
Time for absolute time used by GNUnet, in microseconds and in network byte order. ...
Message used to tell a communicator about the receiver&#39;s flow control limits and to acknowledge recei...
Definition: communicator.h:91
#define GNUNET_NETWORK_STRUCT_BEGIN
Define as empty, GNUNET_PACKED should suffice, but this won&#39;t work on W32.
uint32_t msg_window_size
Maximum number of messages beyond the acknowledged message number that can still be transmitted concu...
Definition: communicator.h:102
uint64_t bytes_window_size
Maximum number of payload bytes beyond the acknowledged number of bytes can still be transmitted with...
Definition: communicator.h:114
A 512-bit hashcode.
struct GNUNET_MessageHeader header
Type is GNUNET_MESSAGE_TYPE_TRANSPORT_COMMUNICATOR_KX_CONFIRMATION.
Definition: communicator.h:48
#define GNUNET_NETWORK_STRUCT_END
Define as empty, GNUNET_PACKED should suffice, but this won&#39;t work on W32;.
struct GNUNET_TIME_RelativeNBO validity
How long does the receiver of the KX believe that the address on which the KX was received will conti...
Definition: communicator.h:59
Header for all communications.
struct GNUNET_TIME_AbsoluteNBO monotonic_time
Timestamp from the original sender which identifies the original KX.
Definition: communicator.h:53