aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-11-22 18:37:35 +0100
committerChristian Grothoff <christian@grothoff.org>2018-11-22 18:37:35 +0100
commit67935982582a31e4a75dc431feceee9664bca839 (patch)
tree902431f5318c6a704ff5036b85391dcbb8792054 /src/transport/transport.h
parentca90313490f4233ce9d209abbdcc2d78d16b8326 (diff)
downloadgnunet-67935982582a31e4a75dc431feceee9664bca839.tar.gz
gnunet-67935982582a31e4a75dc431feceee9664bca839.zip
more work on TNG
Diffstat (limited to 'src/transport/transport.h')
-rw-r--r--src/transport/transport.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/src/transport/transport.h b/src/transport/transport.h
index 423d3cefa..e8c276342 100644
--- a/src/transport/transport.h
+++ b/src/transport/transport.h
@@ -800,7 +800,15 @@ struct GNUNET_TRANSPORT_AddQueueMessage
800 */ 800 */
801 uint32_t nt; 801 uint32_t nt;
802 802
803 // FIXME: add MTU? 803 /**
804 * Maximum transmission unit, in NBO. UINT32_MAX for unlimited.
805 */
806 uint32_t mtu;
807
808 /**
809 * An `enum GNUNET_TRANSPORT_ConnectionStatus` in NBO.
810 */
811 uint32_t cs;
804 812
805 /* followed by UTF-8 encoded, 0-terminated human-readable address */ 813 /* followed by UTF-8 encoded, 0-terminated human-readable address */
806}; 814};
@@ -992,9 +1000,9 @@ struct GNUNET_TRANSPORT_MonitorData
992 struct GNUNET_TIME_RelativeNBO rtt; 1000 struct GNUNET_TIME_RelativeNBO rtt;
993 1001
994 /** 1002 /**
995 * Is inbound (in NBO). 1003 * Connection status (in NBO).
996 */ 1004 */
997 uint32_t is_inbound GNUNET_PACKED; 1005 uint32_t cs GNUNET_PACKED;
998 1006
999 /** 1007 /**
1000 * Messages pending (in NBO). 1008 * Messages pending (in NBO).
@@ -1006,9 +1014,7 @@ struct GNUNET_TRANSPORT_MonitorData
1006 */ 1014 */
1007 uint32_t num_bytes_pending GNUNET_PACKED; 1015 uint32_t num_bytes_pending GNUNET_PACKED;
1008 1016
1009 /* Followed by 0-terminated address of the peer 1017 /* Followed by 0-terminated address of the peer */
1010 (TODO: do we allow no address? If so,
1011 adjust transport_api2_monitor!) */
1012 1018
1013}; 1019};
1014 1020