diff options
Diffstat (limited to 'src/transport/transport.h')
-rw-r--r-- | src/transport/transport.h | 26 |
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 | ||