aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-02-10 23:24:01 +0000
committerChristian Grothoff <christian@grothoff.org>2015-02-10 23:24:01 +0000
commit1c323bd4cbb388a9e7515a1f733a3062bf093aee (patch)
tree7cc525d79149d44840b9f7a0040aaf3e69ecd665 /src/transport/transport.h
parentaedaaed687db1ff20b447378f01ad7306921450c (diff)
downloadgnunet-1c323bd4cbb388a9e7515a1f733a3062bf093aee.tar.gz
gnunet-1c323bd4cbb388a9e7515a1f733a3062bf093aee.zip
fixing #3657 (replace ATS_Information with struct), but WIHTOUT fixing ATS testcases yet
Diffstat (limited to 'src/transport/transport.h')
-rw-r--r--src/transport/transport.h26
1 files changed, 18 insertions, 8 deletions
diff --git a/src/transport/transport.h b/src/transport/transport.h
index 9ee672d3a..15cf936f7 100644
--- a/src/transport/transport.h
+++ b/src/transport/transport.h
@@ -468,7 +468,7 @@ struct ValidationMonitorMessage
468 /** 468 /**
469 * One shot call or continous replies? 469 * One shot call or continous replies?
470 */ 470 */
471 uint32_t one_shot; 471 uint32_t one_shot GNUNET_PACKED;
472 472
473 /** 473 /**
474 * The identity of the peer to look up. 474 * The identity of the peer to look up.
@@ -492,7 +492,7 @@ struct PeerMonitorMessage
492 /** 492 /**
493 * One shot call or continous replies? 493 * One shot call or continous replies?
494 */ 494 */
495 uint32_t one_shot; 495 uint32_t one_shot GNUNET_PACKED;
496 496
497 /** 497 /**
498 * The identity of the peer to look up. 498 * The identity of the peer to look up.
@@ -514,19 +514,29 @@ struct TrafficMetricMessage
514 struct GNUNET_MessageHeader header; 514 struct GNUNET_MessageHeader header;
515 515
516 /** 516 /**
517 * SEND, RECEIVE or BOTH? 517 * Always zero.
518 */ 518 */
519 uint16_t direction; 519 uint32_t reserved GNUNET_PACKED;
520 520
521 /** 521 /**
522 * Traffic metrics count 522 * The identity of the peer to look up.
523 */ 523 */
524 uint16_t ats_count; 524 struct GNUNET_PeerIdentity peer;
525 525
526 /** 526 /**
527 * The identity of the peer to look up. 527 * Fake properties to generate.
528 */ 528 */
529 struct GNUNET_PeerIdentity peer; 529 struct GNUNET_ATS_PropertiesNBO properties;
530
531 /**
532 * Fake delay to add on inbound traffic.
533 */
534 struct GNUNET_TIME_RelativeNBO delay_in;
535
536 /**
537 * Fake delay to add on outbound traffic.
538 */
539 struct GNUNET_TIME_RelativeNBO delay_out;
530}; 540};
531 541
532 542