aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-11-08 23:10:47 +0100
committerChristian Grothoff <christian@grothoff.org>2018-11-08 23:10:47 +0100
commit54f722729882247a318fbf686f2b2c31137ab72b (patch)
tree848ba80db9f97afc8b76c3463f694e3edf4d9cbe /src/transport/transport.h
parent6dc4bacb0197e96d5d9c6e5f881a104ab054a1f0 (diff)
downloadgnunet-54f722729882247a318fbf686f2b2c31137ab72b.tar.gz
gnunet-54f722729882247a318fbf686f2b2c31137ab72b.zip
starting with TNG implementation
Diffstat (limited to 'src/transport/transport.h')
-rw-r--r--src/transport/transport.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/src/transport/transport.h b/src/transport/transport.h
index f21863aef..1b46213cf 100644
--- a/src/transport/transport.h
+++ b/src/transport/transport.h
@@ -11,7 +11,7 @@
11 WITHOUT ANY WARRANTY; without even the implied warranty of 11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Affero General Public License for more details. 13 Affero General Public License for more details.
14 14
15 You should have received a copy of the GNU Affero General Public License 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/>. 16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17*/ 17*/
@@ -94,7 +94,7 @@ struct StartMessage
94 94
95 /** 95 /**
96 * 0: no options 96 * 0: no options
97 * 1: The 'self' field should be checked 97 * 1: The @e self field should be checked
98 * 2: this client is interested in payload traffic 98 * 2: this client is interested in payload traffic
99 */ 99 */
100 uint32_t options; 100 uint32_t options;
@@ -404,6 +404,7 @@ struct ValidationIterateResponseMessage
404 struct GNUNET_TIME_AbsoluteNBO next_validation; 404 struct GNUNET_TIME_AbsoluteNBO next_validation;
405}; 405};
406 406
407
407/** 408/**
408 * Message from the library to the transport service 409 * Message from the library to the transport service
409 * asking for binary addresses known for a peer. 410 * asking for binary addresses known for a peer.
@@ -667,7 +668,7 @@ struct GNUNET_TRANSPORT_CommunicatorAvailableMessage
667 668
668 /* Followed by the address prefix of the communicator */ 669 /* Followed by the address prefix of the communicator */
669}; 670};
670 671
671 672
672/** 673/**
673 * Add address to the list. 674 * Add address to the list.
@@ -694,7 +695,7 @@ struct GNUNET_TRANSPORT_AddAddressMessage
694 * An `enum GNUNET_ATS_Network_Type` in NBO. 695 * An `enum GNUNET_ATS_Network_Type` in NBO.
695 */ 696 */
696 uint32_t nt; 697 uint32_t nt;
697 698
698 /* followed by UTF-8 encoded, 0-terminated human-readable address */ 699 /* followed by UTF-8 encoded, 0-terminated human-readable address */
699}; 700};
700 701
@@ -733,12 +734,12 @@ struct GNUNET_TRANSPORT_IncomingMessage
733 * Do we use flow control or not? 734 * Do we use flow control or not?
734 */ 735 */
735 uint32_t fc_on GNUNET_PACKED; 736 uint32_t fc_on GNUNET_PACKED;
736 737
737 /** 738 /**
738 * 64-bit number to identify the matching ACK. 739 * 64-bit number to identify the matching ACK.
739 */ 740 */
740 uint64_t fc_id GNUNET_PACKED; 741 uint64_t fc_id GNUNET_PACKED;
741 742
742 /** 743 /**
743 * Sender identifier. 744 * Sender identifier.
744 */ 745 */
@@ -764,12 +765,12 @@ struct GNUNET_TRANSPORT_IncomingMessageAck
764 * Reserved (0) 765 * Reserved (0)
765 */ 766 */
766 uint32_t reserved GNUNET_PACKED; 767 uint32_t reserved GNUNET_PACKED;
767 768
768 /** 769 /**
769 * Which message is being ACKed? 770 * Which message is being ACKed?
770 */ 771 */
771 uint64_t fc_id GNUNET_PACKED; 772 uint64_t fc_id GNUNET_PACKED;
772 773
773 /** 774 /**
774 * Sender identifier of the original message. 775 * Sender identifier of the original message.
775 */ 776 */
@@ -803,7 +804,7 @@ struct GNUNET_TRANSPORT_AddQueueMessage
803 * An `enum GNUNET_ATS_Network_Type` in NBO. 804 * An `enum GNUNET_ATS_Network_Type` in NBO.
804 */ 805 */
805 uint32_t nt; 806 uint32_t nt;
806 807
807 /* followed by UTF-8 encoded, 0-terminated human-readable address */ 808 /* followed by UTF-8 encoded, 0-terminated human-readable address */
808}; 809};
809 810
@@ -895,7 +896,7 @@ struct GNUNET_TRANSPORT_SendMessageTo
895 * Message ID, used for flow control. 896 * Message ID, used for flow control.
896 */ 897 */
897 uint64_t mid GNUNET_PACKED; 898 uint64_t mid GNUNET_PACKED;
898 899
899 /** 900 /**
900 * Receiver identifier. 901 * Receiver identifier.
901 */ 902 */
@@ -925,7 +926,7 @@ struct GNUNET_TRANSPORT_SendMessageToAck
925 * Message ID of the original message. 926 * Message ID of the original message.
926 */ 927 */
927 uint64_t mid GNUNET_PACKED; 928 uint64_t mid GNUNET_PACKED;
928 929
929 /** 930 /**
930 * Receiver identifier. 931 * Receiver identifier.
931 */ 932 */