aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport.h
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-02-05 12:45:13 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-02-05 12:45:13 +0000
commit8243cbe3c8649d478ac5262c5e13a69fdddba45c (patch)
treefa2e023cda3dd546c2f34da9a9f2214786d1a111 /src/transport/transport.h
parent5741b675d753f5701375df35c26939dc019fc710 (diff)
downloadgnunet-8243cbe3c8649d478ac5262c5e13a69fdddba45c.tar.gz
gnunet-8243cbe3c8649d478ac5262c5e13a69fdddba45c.zip
more metric
Diffstat (limited to 'src/transport/transport.h')
-rw-r--r--src/transport/transport.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/transport/transport.h b/src/transport/transport.h
index 2e7bd8372..be31f0ad6 100644
--- a/src/transport/transport.h
+++ b/src/transport/transport.h
@@ -415,6 +415,34 @@ struct AddressIterateMessage
415 415
416 416
417/** 417/**
418 * Message from the library to the transport service
419 * asking for binary addresses known for a peer.
420 */
421struct TrafficMetricMessage
422{
423 /**
424 * Type will be GNUNET_MESSAGE_TYPE_TRANSPORT_TRAFFIC_METRIC
425 */
426 struct GNUNET_MessageHeader header;
427
428 /**
429 * SEND, RECEIVE or BOTH?
430 */
431 uint16_t direction;
432
433 /**
434 * Traffic metrics count
435 */
436 uint16_t ats_count;
437
438 /**
439 * The identity of the peer to look up.
440 */
441 struct GNUNET_PeerIdentity peer;
442};
443
444
445/**
418 * Message from the transport service to the library 446 * Message from the transport service to the library
419 * containing binary addresses known for a peer. 447 * containing binary addresses known for a peer.
420 * Memory layout: 448 * Memory layout: