27 #ifndef TNWG_DMON_MSGS_H 28 #define TNWG_DMON_MSGS_H 33 #define LBM_TNWG_DMON_VERSION 0 72 #define TNWG_DSTAT_FILENAME_MAX_STRLEN 256 73 #define TNWG_DSTAT_MAX_PORTAL_NAME_LEN 256 74 #define TNWG_DSTAT_MAX_GATEWAY_NAME_LEN 256 78 #define TNWG_DSTATTYPE_INVALID 0 80 #define TNWG_DSTATTYPE_RM 1 86 #define TNWG_DSTATTYPE_RM_LOCAL 2 91 #define TNWG_DSTATTYPE_RM_PORTAL 3 96 #define TNWG_DSTATTYPE_RM_OTHERGW 4 101 #define TNWG_DSTATTYPE_RM_OTHERGW_NBR 5 105 #define TNWG_DSTATTYPE_PORTSTAT 6 109 #define TNWG_DSTATTYPE_GATEWAYCFG 7 113 #define TNWG_DSTATTYPE_PORTCFG 8 117 #define TNWG_DSTATTYPE_MALLINFO 9 122 #define LBM_TNWG_DAEMON_MAGIC 0x4542 125 #define LBM_TNWG_DAEMON_ANTIMAGIC 0x4245 131 #define TNWG_DSTAT_Portal_Type_Endpoint 0 135 #define TNWG_DSTAT_Portal_Type_Peer 1 139 #define TNWG_DSTAT_Domain_Type 0 142 #define TNWG_DSTAT_Gateway_Type 1 694 char portal_name[TNWG_DSTAT_MAX_PORTAL_NAME_LEN];
727 #define MAX_ATTR_TYPE_NAME_LEN 64 743 char portal_name[TNWG_DSTAT_MAX_PORTAL_NAME_LEN];
745 char attr_type[MAX_ATTR_TYPE_NAME_LEN];
773 char gateway_name[TNWG_DSTAT_MAX_GATEWAY_NAME_LEN];
818 char portal_name[TNWG_DSTAT_MAX_PORTAL_NAME_LEN];
851 char gateway_name[TNWG_DSTAT_MAX_GATEWAY_NAME_LEN];
uint64_t gateway_cntl_msg_bytes_dropped_would_block
DRO control message bytes dropped due to EWOULDBLOCK.
Definition: tnwgdmonmsgs.h:529
Structure containing this UM Router's (DRO) view of a remote DRO's portal information. Used by tnwg_rm_stat_grp_msg_t. Except where indicated, all fields of type lbm_uintXX_t should be byte-swapped if hdr.magic is equal to LBM_TNWG_DAEMON_ANTIMAGIC.
Definition: tnwgdmonmsgs.h:860
lbm_uint32_t proxy_sources
Proxy sources.
Definition: tnwgdmonmsgs.h:609
uint32_t recalc_duration_sec
Recalc duration sec.
Definition: tnwgdmonmsgs.h:810
uint64_t transport_topic_fragment_data_msgs_rcvd
Transport topic fragment data messages received.
Definition: tnwgdmonmsgs.h:369
uint64_t unicast_msgs_dropped_error
Unicast messages dropped due to error.
Definition: tnwgdmonmsgs.h:344
uint64_t rtt_min
Minimum RTT to companion.
Definition: tnwgdmonmsgs.h:563
tnwg_portalstats_dstat_record_t record
Type-specific information about this portal.
Definition: tnwgdmonmsgs.h:710
uint64_t immediate_topic_fragments_dropped_would_block
Immediate topic fragments dropped due to EWOULDBLOCK.
Definition: tnwgdmonmsgs.h:298
uint64_t unicast_cntl_msgs_rcvd_unhandled
Unicast control messages received but unhandled.
Definition: tnwgdmonmsgs.h:447
tnwg_dstat_msg_hdr_t msghdr
Standard header common to all messages.
Definition: tnwgdmonmsgs.h:720
uint32_t remote_interest_regex_patterns
Number of remote interest regex patterns.
Definition: tnwgdmonmsgs.h:643
uint64_t immediate_topic_req_fragment_bytes_sent
Immediate topic request fragment bytes sent.
Definition: tnwgdmonmsgs.h:296
uint64_t immediate_topicless_fragment_bytes_rcvd
Immediate topicless message fragment bytes received.
Definition: tnwgdmonmsgs.h:208
lbm_uint32_t domain_id
Topic Resolution Domain (TRD) for the portal.
Definition: tnwgdmonmsgs.h:585
uint64_t rtt_max
Maximum RTT to companion.
Definition: tnwgdmonmsgs.h:567
struct tnwg_portal_endpoint_dstat_record_t_stct tnwg_portal_endpoint_dstat_record_t
Structure containing sending and receiving statistics for an endpoint portal. Used by tnwg_portalstat...
uint64_t unicast_cntl_rxreq_msgs_rcvd
Retransmission requests received.
Definition: tnwgdmonmsgs.h:443
uint64_t unicast_data_msg_bytes_rcvd_no_stream
Unicast data message bytes received with no stream identification.
Definition: tnwgdmonmsgs.h:221
uint64_t unicast_msg_bytes_dropped_not_operational
Unicast message bytes dropped due to portal not being operational.
Definition: tnwgdmonmsgs.h:512
uint64_t immediate_topicless_req_fragments_sent
Immediate topicless request fragments sent.
Definition: tnwgdmonmsgs.h:319
uint64_t immediate_topic_fragments_forwarded
Immediate topic fragments forwarded.
Definition: tnwgdmonmsgs.h:286
uint64_t immediate_topic_fragment_data_msgs_rcvd
Immediate topic fragment data messages received.
Definition: tnwgdmonmsgs.h:395
struct tnwg_portalstats_dstat_record_t_stct tnwg_portalstats_dstat_record_t
Structure containing sending and receiving statistics for peer or endpoint portal. Used by tnwg_dstat_portalstats_msg_t. The full length of this structure is defined by the longest of its union elements. However, when messages are sent, the actual size of the selected union element is used. That size is recorded in tnwg_dstat_record_hdr_t_stct::record_length. Except where indicated, all fields of type lbm_uintXX_t should be byte-swapped if hdr.magic is equal to LBM_TNWG_DAEMON_ANTIMAGIC.
tnwg_rm_stat_grp_othergw_neighbor_t neighbor
Use when tnwg_dstat_msg_hdr_t_stct::type == TNWG_DSTATTYPE_RM_OTHERGW_NBR.
Definition: tnwgdmonmsgs.h:891
struct tnwg_dstat_gatewaycfg_msg_t_stct tnwg_dstat_gatewaycfg_msg_t
Message containing DRO configuration information. ( tnwg_dstat_msg_hdr_t_stct::type == TNWG_DSTATTYP...
uint64_t unicast_cntl_msg_bytes_rcvd
Unicast control message bytes received.
Definition: tnwgdmonmsgs.h:234
Message containing DRO configuration information. ( tnwg_dstat_msg_hdr_t_stct::type == TNWG_DSTATTYP...
Definition: tnwgdmonmsgs.h:718
uint64_t unicast_cntl_msgs_dropped_no_route
Unicast control messages dropped no route.
Definition: tnwgdmonmsgs.h:455
uint64_t transport_topic_fragment_data_msg_bytes_rcvd
Transport topic fragment data message bytes received.
Definition: tnwgdmonmsgs.h:371
uint32_t ingress_cost
Cost.
Definition: tnwgdmonmsgs.h:808
uint64_t data_msg_bytes_rcvd
Date message bytes received.
Definition: tnwgdmonmsgs.h:366
uint64_t gateway_cntl_msgs_rcvd
DRO control messages received.
Definition: tnwgdmonmsgs.h:460
uint64_t unicast_data_msg_bytes_dropped_no_route
Unicast data message bytes dropped no route.
Definition: tnwgdmonmsgs.h:431
struct tnwg_mallinfo_stat_grp_record_t_stct tnwg_mallinfo_stat_grp_record_t
Structure containing memory statistics. Used by tnwg_dstat_mallinfo_msg_t. Except where indicated...
struct tnwg_dstat_peer_send_stats_t_stct tnwg_dstat_peer_send_stats_t
Structure containing sending statistics for a peer portal. Used by tnwg_portal_peer_dstat_record_t. Except where indicated, all fields of type lbm_uintXX_t should be byte-swapped if hdr.magic is equal to LBM_TNWG_DAEMON_ANTIMAGIC.
lbm_uint32_t hblkhd
Space allocated in mmapped regions (bytes).
Definition: tnwgdmonmsgs.h:157
uint64_t transport_topic_fragment_data_msg_bytes_rcvd_unknown_source
Transport topic fragment data message bytes received with an unknown source.
Definition: tnwgdmonmsgs.h:375
uint64_t unicast_data_msg_bytes_rcvd
Unicast data message bytes received.
Definition: tnwgdmonmsgs.h:415
uint64_t batch_msgs_min
Minimum number of messages per batch.
Definition: tnwgdmonmsgs.h:542
lbm_uint32_t uordblks
Total allocated space (bytes).
Definition: tnwgdmonmsgs.h:159
lbm_uint32_t fordblks
Total free space (bytes).
Definition: tnwgdmonmsgs.h:161
Structure containing sending and receiving statistics for a peer portal.
Definition: tnwgdmonmsgs.h:623
uint64_t immediate_topic_fragment_bytes_rcvd
Immediate topic message fragment bytes received.
Definition: tnwgdmonmsgs.h:199
Structure containing sending statistics for an endpoint portal. Used by tnwg_portal_endpoint_dstat_re...
Definition: tnwgdmonmsgs.h:254
uint32_t proxy_rec_recalc_duration_sec
Proxy rec recalc duration sec.
Definition: tnwgdmonmsgs.h:814
uint64_t transport_topic_req_fragment_data_msg_bytes_rcvd_unknown_source
Transport topic request fragment data message bytes received with an unknown source.
Definition: tnwgdmonmsgs.h:383
uint64_t immediate_topicless_req_fragment_data_msgs_rcvd
Immediate topicless request fragment data messages received.
Definition: tnwgdmonmsgs.h:408
uint64_t gateway_id
DRO id.
Definition: tnwgdmonmsgs.h:775
uint32_t receiver_topics
Number of receiver topics.
Definition: tnwgdmonmsgs.h:647
uint64_t unicast_msgs_forwarded
Unicast messages forwarded to this portal.
Definition: tnwgdmonmsgs.h:498
uint64_t unicast_msg_bytes_dropped_queue_failure
Unicast message bytes dropped due to queueing failure.
Definition: tnwgdmonmsgs.h:516
Message containing portal statistics. ( tnwg_dstat_msg_hdr_t_stct::type == TNWG_DSTATTYPE_PORTSTAT )...
Definition: tnwgdmonmsgs.h:704
uint64_t batch_bytes_min
Minimum number of bytes per batch.
Definition: tnwgdmonmsgs.h:548
uint32_t recalc_duration_sec
Recalc duration sec.
Definition: tnwgdmonmsgs.h:779
Message containing memory allocation statistics. ( tnwg_dstat_msg_hdr_t_stct::type == TNWG_DSTATTYPE...
Definition: tnwgdmonmsgs.h:752
uint64_t unicast_cntl_msg_bytes_dropped_no_route
Unicast control message bytes dropped no route.
Definition: tnwgdmonmsgs.h:457
uint64_t unicast_data_msg_bytes_dropped_no_route
Unicast data message bytes dropped no route.
Definition: tnwgdmonmsgs.h:229
uint64_t gateway_cntl_msg_bytes_sent
DRO control message bytes sent.
Definition: tnwgdmonmsgs.h:525
uint64_t transport_topic_fragment_bytes_dropped_error
Transport topic fragment bytes dropped due to error.
Definition: tnwgdmonmsgs.h:279
uint64_t batch_msgs_max
Maximum number of messages per batch.
Definition: tnwgdmonmsgs.h:546
uint64_t immediate_topic_req_fragment_data_msgs_rcvd
Immediate topic request fragment data messages received.
Definition: tnwgdmonmsgs.h:399
uint64_t data_fragments_sent
Data fragments sent.
Definition: tnwgdmonmsgs.h:477
uint32_t portal_type
Portal type: TNWG_DSTAT_Portal_Type_Peer TNWG_DSTAT_Portal_Type_Endpoint.
Definition: tnwgdmonmsgs.h:686
uint32_t proxy_sources
Number of proxy sources.
Definition: tnwgdmonmsgs.h:653
Structure containing routing information specific to a particular portal. Used by tnwg_rm_stat_grp_ms...
Definition: tnwgdmonmsgs.h:797
lbm_uint32_t receiver_topics
Receiver topics.
Definition: tnwgdmonmsgs.h:603
uint64_t immediate_topicless_fragment_data_msg_bytes_rcvd
Immediate topicless fragment data message bytes received.
Definition: tnwgdmonmsgs.h:406
lbm_uint32_t hblks
Number of mmapped regions.
Definition: tnwgdmonmsgs.h:155
uint64_t batch_bytes_max
Maximum number of bytes per batch.
Definition: tnwgdmonmsgs.h:552
struct tnwg_dstat_record_hdr_t_stct tnwg_dstat_record_hdr_t
Structure containing general information about a peer or endpoint portal. Used by tnwg_dstat_portalst...
tnwg_dstat_msg_hdr_t hdr
Standard header common to all messages.
Definition: tnwgdmonmsgs.h:170
uint64_t data_bytes_enqueued
Current data bytes enqueued internally.
Definition: tnwgdmonmsgs.h:349
uint64_t unicast_data_msgs_rcvd
Unicast data messages received.
Definition: tnwgdmonmsgs.h:215
uint64_t data_fragment_bytes_forwarded
Data fragment bytes forwarded to this portal.
Definition: tnwgdmonmsgs.h:475
tnwg_dstat_peer_receive_stats_t receive_stats
Receiving statistics.
Definition: tnwgdmonmsgs.h:625
uint64_t immediate_topic_req_fragments_rcvd
Immediate topic message request fragments received.
Definition: tnwgdmonmsgs.h:201
uint32_t proxy_receivers
Number of proxy receivers.
Definition: tnwgdmonmsgs.h:645
uint64_t transport_topic_req_fragment_data_msg_bytes_rcvd
Transport topic request fragment data message bytes received.
Definition: tnwgdmonmsgs.h:379
uint64_t unicast_cntl_msgs_dropped_dup
Unicast control messages dropped as duplicates.
Definition: tnwgdmonmsgs.h:240
uint64_t transport_topic_fragments_rcvd
Transport topic message fragments received.
Definition: tnwgdmonmsgs.h:183
struct tnwg_dstat_endpoint_send_stats_t_stct tnwg_dstat_endpoint_send_stats_t
Structure containing sending statistics for an endpoint portal. Used by tnwg_portal_endpoint_dstat_re...
uint64_t transport_topic_control_msgs_rcvd_unknown_source
Transport topic control messages received with an unknown source.
Definition: tnwgdmonmsgs.h:390
lbm_uint32_t receiver_regex_patterns
Receiver regex patterns.
Definition: tnwgdmonmsgs.h:607
uint64_t gateway_id
DRO identifier.
Definition: tnwgdmonmsgs.h:830
tnwg_rm_stat_grp_othergw_info_t othergw
Use when tnwg_dstat_msg_hdr_t_stct::type == TNWG_DSTATTYPE_RM_OTHERGW.
Definition: tnwgdmonmsgs.h:889
uint64_t immediate_topic_fragments_sent
Immediate topic fragments sent.
Definition: tnwgdmonmsgs.h:290
uint32_t ingress_cost
Cost.
Definition: tnwgdmonmsgs.h:631
uint64_t data_fragment_bytes_dropped_queue_failure
Data fragment bytes dropped due to queueing failure.
Definition: tnwgdmonmsgs.h:495
uint64_t transport_topic_fragment_bytes_forwarded
Transport topic fragment bytes forwarded to this portal.
Definition: tnwgdmonmsgs.h:259
uint64_t gateway_cntl_msg_bytes
DRO control message bytes.
Definition: tnwgdmonmsgs.h:521
uint32_t local_interest_pcre_patterns
NOT USED. Set to zero.
Definition: tnwgdmonmsgs.h:635
uint64_t last_ka_time
Last keepalive responded to.
Definition: tnwgdmonmsgs.h:569
Structure containing memory statistics. Used by tnwg_dstat_mallinfo_msg_t. Except where indicated...
Definition: tnwgdmonmsgs.h:149
uint64_t rtt_mean
Mean RTT to companion.
Definition: tnwgdmonmsgs.h:565
uint32_t last_activity_sec
Approximate timestamp of last activity. Represents local wall clock time from the sending host's pers...
Definition: tnwgdmonmsgs.h:837
lbm_uint16_t version
Version of the message definition. See Daemon Statistics Versioning for general information on versio...
Definition: tnwgdmonmsgs.h:56
uint64_t transport_topic_fragments_dropped_would_block
Transport topic fragments dropped due to EWOULDBLOCK.
Definition: tnwgdmonmsgs.h:273
tnwg_dstat_msg_hdr_t msghdr
Standard header common to all messages.
Definition: tnwgdmonmsgs.h:706
uint64_t node_id
Node ID.
Definition: tnwgdmonmsgs.h:862
uint16_t gateway_count
DRO count.
Definition: tnwgdmonmsgs.h:787
uint64_t data_bytes_enqueued_max
Maximum data bytes enqueued internally.
Definition: tnwgdmonmsgs.h:351
uint64_t unicast_cntl_msg_bytes_rcvd
Control message bytes received.
Definition: tnwgdmonmsgs.h:441
uint64_t unicast_msg_bytes_forwarded
Unicast message bytes forwarded.
Definition: tnwgdmonmsgs.h:338
uint64_t unicast_msg_bytes_dropped_would_block
Unicast message bytes dropped due to EWOULDBLOCK.
Definition: tnwgdmonmsgs.h:508
uint64_t unicast_cntl_msg_bytes_dropped_dup
Unicast control message bytes dropped as duplicates.
Definition: tnwgdmonmsgs.h:242
Structure containing general information about a peer or endpoint portal. Used by tnwg_dstat_portalst...
Definition: tnwgdmonmsgs.h:682
uint32_t type
Portal type: TNWG_DSTAT_Portal_Type_Peer TNWG_DSTAT_Portal_Type_Endpoint.
Definition: tnwgdmonmsgs.h:804
uint64_t cntl_msgs_rcvd
Control messages received.
Definition: tnwgdmonmsgs.h:434
uint64_t immediate_topicless_fragment_bytes_sent
Immediate topicless fragment bytes sent.
Definition: tnwgdmonmsgs.h:317
uint64_t transport_topic_fragments_forwarded
Transport topic fragments forwarded to this portal.
Definition: tnwgdmonmsgs.h:257
uint64_t unicast_msgs_dropped_not_operational
Unicast messages dropped due to portal not being operational.
Definition: tnwgdmonmsgs.h:510
lbm_uint32_t ingress_cost
Cost.
Definition: tnwgdmonmsgs.h:587
uint32_t local_interest_topics
Number of local interest topics.
Definition: tnwgdmonmsgs.h:633
Structure containing sending and receiving statistics for peer or endpoint portal. Used by tnwg_dstat_portalstats_msg_t. The full length of this structure is defined by the longest of its union elements. However, when messages are sent, the actual size of the selected union element is used. That size is recorded in tnwg_dstat_record_hdr_t_stct::record_length. Except where indicated, all fields of type lbm_uintXX_t should be byte-swapped if hdr.magic is equal to LBM_TNWG_DAEMON_ANTIMAGIC.
Definition: tnwgdmonmsgs.h:665
uint32_t ingress_cost
Cost from this node_id to the owning neighbor_info's node_id.
Definition: tnwgdmonmsgs.h:866
uint64_t gateway_cntl_msg_bytes_rcvd
DRO control message bytes received.
Definition: tnwgdmonmsgs.h:462
uint64_t data_bytes_enqueued_limit
Configured maximum data bytes allowed in queued.
Definition: tnwgdmonmsgs.h:558
struct tnwg_dstat_portalstats_msg_t_stct tnwg_dstat_portalstats_msg_t
Message containing portal statistics. ( tnwg_dstat_msg_hdr_t_stct::type == TNWG_DSTATTYPE_PORTSTAT )...
uint64_t transport_topic_fragment_bytes_dropped_would_block
Transport topic fragment bytes dropped due to EWOULDBLOCK.
Definition: tnwgdmonmsgs.h:275
struct tnwg_rm_stat_grp_othergw_info_t_stct tnwg_rm_stat_grp_othergw_info_t
Each UM Router (DRO) tracks a small amount of information about every other DRO in the network...
struct tnwg_rm_stat_grp_local_info_t_stct tnwg_rm_stat_grp_local_info_t
Structure containing high-level information about this UM Router's (DRO) view of the current topology...
lbm_uint32_t receiver_pcre_patterns
Receiver PCRE patterns.
Definition: tnwgdmonmsgs.h:605
uint64_t data_msgs_rcvd
Data messages received.
Definition: tnwgdmonmsgs.h:364
uint64_t unicast_cntl_msgs_rcvd
Unicast control messages received.
Definition: tnwgdmonmsgs.h:232
tnwg_rm_stat_grp_local_info_t local
Use when tnwg_dstat_msg_hdr_t_stct::type == TNWG_DSTATTYPE_RM_LOCAL.
Definition: tnwgdmonmsgs.h:885
uint64_t transport_topic_req_fragments_sent
Transport topic request fragments sent.
Definition: tnwgdmonmsgs.h:265
uint64_t data_fragment_bytes_dropped_would_block
Data fragment bytes dropped due to EWOULDBLOCK.
Definition: tnwgdmonmsgs.h:487
uint64_t immediate_topicless_fragment_bytes_dropped_would_block
Immediate topicless fragment bytes dropped due to EWOULDBLOCK.
Definition: tnwgdmonmsgs.h:325
uint64_t data_fragment_bytes_dropped_dup
Duplicate data fragment bytes dropped.
Definition: tnwgdmonmsgs.h:483
tnwg_portal_endpoint_dstat_record_t endpt
Union element selected by tnwg_dstat_record_hdr_t_stct::portal_type == TNWG_DSTAT_Portal_Type_Peer.
Definition: tnwgdmonmsgs.h:671
tnwg_dstat_peer_send_stats_t send_stats
Sending statistics.
Definition: tnwgdmonmsgs.h:628
Structure containing portal configuration information. Used by tnwg_pcfg_stat_grp_msg_t. Except where indicated, all fields of type lbm_uintXX_t should be byte-swapped if hdr.magic is equal to LBM_TNWG_DAEMON_ANTIMAGIC.
Definition: tnwgdmonmsgs.h:732
uint32_t portal_num
Portal number.
Definition: tnwgdmonmsgs.h:734
struct tnwg_rm_stat_grp_msg_t_stct tnwg_rm_stat_grp_msg_t
Message containing routing information. ( tnwg_dstat_msg_hdr_t_stct::type == TNWG_DSTATTYPE_RM_LOCAL...
lbm_uint32_t arena
Non-mmapped space allocated (bytes).
Definition: tnwgdmonmsgs.h:151
uint64_t gateway_cntl_msg_bytes_dropped_not_operational
DRO control message bytes dropped due to portal not being operational.
Definition: tnwgdmonmsgs.h:533
uint32_t num_options
Number of options stored in tnwg_pcfg_stat_grp_msg_t_stct::data.
Definition: tnwgdmonmsgs.h:740
uint32_t receiver_pcre_patterns
Number of receiver pcre patterns.
Definition: tnwgdmonmsgs.h:649
uint64_t data_bytes_enqueued
Current data bytes enqueued internally.
Definition: tnwgdmonmsgs.h:554
uint64_t immediate_topic_fragment_bytes_dropped_would_block
Immediate topic fragment bytes dropped due to EWOULDBLOCK.
Definition: tnwgdmonmsgs.h:300
uint32_t recalc_duration_usec
Recalc duration usec.
Definition: tnwgdmonmsgs.h:812
tnwg_dstat_record_hdr_t rechdr
General information about this portal.
Definition: tnwgdmonmsgs.h:708
Message containing memory allocation statistics. ( tnwg_dstat_msg_hdr_t_stct::type == TNWG_DSTATTYPE...
Definition: tnwgdmonmsgs.h:168
uint64_t unicast_msgs_dropped_would_block
Unicast messages dropped due to EWOULDBLOCK.
Definition: tnwgdmonmsgs.h:506
uint64_t data_fragments_dropped_dup
Duplicate data fragments dropped.
Definition: tnwgdmonmsgs.h:481
uint64_t node_or_adjacent_id
ID of adjacent DRO (for type == TNWG_DSTAT_Portal_Type_Peer), or Topic Resolution Domain ID (for type...
Definition: tnwgdmonmsgs.h:800
uint64_t data_bytes_enqueued_max
Maximum data bytes enqueued internally.
Definition: tnwgdmonmsgs.h:556
lbm_uint32_t proxy_receivers
Proxy receivers.
Definition: tnwgdmonmsgs.h:601
struct tnwg_dstat_endpoint_receive_stats_t_stct tnwg_dstat_endpoint_receive_stats_t
Structure containing receiving statistics for an endpoint portal. Used by tnwg_portal_endpoint_dstat_...
uint64_t data_fragment_bytes_sent
Data fragment bytes sent.
Definition: tnwgdmonmsgs.h:479
uint64_t transport_topic_control_msgs_rcvd
Transport topic control messages received.
Definition: tnwgdmonmsgs.h:386
uint64_t immediate_topicless_fragment_bytes_dropped_error
Immediate topicless fragment bytes dropped due to error.
Definition: tnwgdmonmsgs.h:329
struct tnwg_pcfg_stat_grp_msg_t_stct tnwg_pcfg_stat_grp_msg_t
Message containing memory allocation statistics. ( tnwg_dstat_msg_hdr_t_stct::type == TNWG_DSTATTYPE...
uint64_t unicast_data_msgs_rcvd_unknown_fwd
Unicast data messages received with unknown forwarding information.
Definition: tnwgdmonmsgs.h:421
uint64_t unicast_data_msg_bytes_rcvd_no_stream
Unicast data message bytes received with no stream information.
Definition: tnwgdmonmsgs.h:427
uint64_t data_fragments_forwarded
Data fragments forwarded to this portal.
Definition: tnwgdmonmsgs.h:473
uint64_t transport_topic_fragments_dropped_dup
Duplicate transport topic fragments dropped.
Definition: tnwgdmonmsgs.h:269
uint16_t version
This version number essentially represents the number of times the DRO has experienced a change in th...
Definition: tnwgdmonmsgs.h:846
uint64_t unicast_msg_bytes_sent
Unicast message bytes sent.
Definition: tnwgdmonmsgs.h:342
Message containing routing information. ( tnwg_dstat_msg_hdr_t_stct::type == TNWG_DSTATTYPE_RM_LOCAL...
Definition: tnwgdmonmsgs.h:879
Structure containing sending statistics for a peer portal. Used by tnwg_portal_peer_dstat_record_t. Except where indicated, all fields of type lbm_uintXX_t should be byte-swapped if hdr.magic is equal to LBM_TNWG_DAEMON_ANTIMAGIC.
Definition: tnwgdmonmsgs.h:470
uint16_t num_neighbors
Number of running portals. This number can change as peer links connect and disconnect.
Definition: tnwgdmonmsgs.h:849
uint32_t proxy_rec_recalc_duration_usec
Proxy rec recalc duration usec.
Definition: tnwgdmonmsgs.h:816
uint64_t unicast_msgs_dropped_queue_failure
Unicast messages dropped due to queueing failure.
Definition: tnwgdmonmsgs.h:514
uint64_t unicast_data_msgs_dropped_no_route
Unicast data messages dropped no route.
Definition: tnwgdmonmsgs.h:429
uint64_t immediate_topic_req_fragments_sent
Immediate topic request fragments sent.
Definition: tnwgdmonmsgs.h:294
uint64_t immediate_topicless_fragment_data_msgs_rcvd
Immediate topicless fragment data messages received.
Definition: tnwgdmonmsgs.h:404
uint64_t gateway_cntl_msgs_dropped_queue_failure
DRO control messages dropped due to queueing failure.
Definition: tnwgdmonmsgs.h:535
uint64_t unicast_msg_bytes_sent
Unicast message bytes sent.
Definition: tnwgdmonmsgs.h:504
uint32_t portal_type
Portal type: TNWG_DSTAT_Portal_Type_Peer TNWG_DSTAT_Portal_Type_Endpoint.
Definition: tnwgdmonmsgs.h:738
tnwg_dstat_msg_hdr_t msghdr
Standard header common to all messages.
Definition: tnwgdmonmsgs.h:881
uint64_t transport_topic_fragment_bytes_dropped_dup
Duplicate transport topic fragment bytes dropped.
Definition: tnwgdmonmsgs.h:271
lbm_uint16_t type
Message type set by sender to indicate which kind of message this is. Possible values: one of the TNW...
Definition: tnwgdmonmsgs.h:52
uint32_t domain_or_gateway
0 for domain, 1 for DRO.
Definition: tnwgdmonmsgs.h:864
uint64_t data_fragments_dropped_queue_failure
Data fragments dropped due to queueing failure.
Definition: tnwgdmonmsgs.h:493
uint64_t immediate_topicless_fragments_dropped_size_error
Immediate topicless fragments dropped due to fragment size error.
Definition: tnwgdmonmsgs.h:331
tnwg_mallinfo_stat_grp_record_t record
Memory statistics.
Definition: tnwgdmonmsgs.h:172
uint32_t local_interest_regex_patterns
NOT USED. Set to zero.
Definition: tnwgdmonmsgs.h:637
uint64_t transport_topic_fragment_bytes_sent
Transport topic fragment bytes sent.
Definition: tnwgdmonmsgs.h:263
uint64_t transport_topic_fragments_dropped_error
Transport topic fragments dropped due to error.
Definition: tnwgdmonmsgs.h:277
uint64_t unicast_msgs_forwarded
Unicast messages forwarded.
Definition: tnwgdmonmsgs.h:336
uint64_t cntl_msg_bytes_rcvd
Date message bytes received.
Definition: tnwgdmonmsgs.h:436
uint64_t unicast_data_msgs_dropped_no_route
Unicast data messages dropped no route.
Definition: tnwgdmonmsgs.h:227
uint64_t transport_topic_control_msg_bytes_rcvd_unknown_source
Transport topic control message bytes received with an unknown source.
Definition: tnwgdmonmsgs.h:392
uint64_t transport_topic_control_rcvd
Transport topic control message received.
Definition: tnwgdmonmsgs.h:192
uint64_t unicast_msg_bytes_forwarded
Unicast message bytes forwarded to this portal.
Definition: tnwgdmonmsgs.h:500
struct tnwg_portal_peer_dstat_record_t_stct tnwg_portal_peer_dstat_record_t
Structure containing sending and receiving statistics for a peer portal.
uint64_t data_fragment_bytes_dropped_not_operational
Data fragment bytes dropped due to portal not being operational.
Definition: tnwgdmonmsgs.h:491
struct tnwg_rm_stat_grp_othergw_neighbor_t_stct tnwg_rm_stat_grp_othergw_neighbor_t
Structure containing this UM Router's (DRO) view of a remote DRO's portal information. Used by tnwg_rm_stat_grp_msg_t. Except where indicated, all fields of type lbm_uintXX_t should be byte-swapped if hdr.magic is equal to LBM_TNWG_DAEMON_ANTIMAGIC.
tnwg_dstat_msg_hdr_t msghdr
Standard header common to all messages.
Definition: tnwgdmonmsgs.h:754
uint64_t immediate_topic_req_fragment_data_msg_bytes_rcvd
Immediate topic request fragment data message bytes received.
Definition: tnwgdmonmsgs.h:401
uint64_t unicast_cntl_msgs_rcvd_no_stream
Unicast control messages received with no stream information.
Definition: tnwgdmonmsgs.h:451
uint16_t self_version
Self version.
Definition: tnwgdmonmsgs.h:785
uint32_t graph_version
Graph version.
Definition: tnwgdmonmsgs.h:783
uint64_t immediate_topicless_req_fragment_bytes_sent
Immediate topicless request fragment bytes sent.
Definition: tnwgdmonmsgs.h:321
uint64_t unicast_data_msgs_rcvd
Unicast data messages received.
Definition: tnwgdmonmsgs.h:413
uint64_t transport_topic_control_bytes_rcvd
Transport topic control message bytes received.
Definition: tnwgdmonmsgs.h:194
lbm_uint32_t tv_sec
Approximate timestamp when the message was sent. Represents local wall clock time in seconds after th...
Definition: tnwgdmonmsgs.h:63
lbm_uint32_t remote_interest_pcre_patterns
Remote interest PCRE patterns.
Definition: tnwgdmonmsgs.h:597
uint64_t data_fragments_dropped_would_block
Data fragments dropped due to EWOULDBLOCK.
Definition: tnwgdmonmsgs.h:485
struct tnwg_pcfg_stat_grp_rec_hdr_t_stct tnwg_pcfg_stat_grp_rec_hdr_t
Structure containing portal configuration information. Used by tnwg_pcfg_stat_grp_msg_t. Except where indicated, all fields of type lbm_uintXX_t should be byte-swapped if hdr.magic is equal to LBM_TNWG_DAEMON_ANTIMAGIC.
uint64_t unicast_data_msgs_rcvd_no_stream
Unicast data messages received with no stream information.
Definition: tnwgdmonmsgs.h:425
uint64_t immediate_topicless_fragments_sent
Immediate topicless fragments sent.
Definition: tnwgdmonmsgs.h:315
uint64_t unicast_data_msg_bytes_dropped_dup
Unicast data message bytes dropped as duplicates.
Definition: tnwgdmonmsgs.h:225
uint64_t rtt_samples
Total RTT samples.
Definition: tnwgdmonmsgs.h:561
uint64_t transport_topic_fragment_data_msgs_rcvd_unknown_source
Transport topic fragment data messages received with an unknown source.
Definition: tnwgdmonmsgs.h:373
uint64_t batch_bytes_mean
Mean number of bytes per batch.
Definition: tnwgdmonmsgs.h:550
uint64_t immediate_topicless_fragment_bytes_dropped_size_error
Immediate topicless fragment bytes dropped due to fragment size error.
Definition: tnwgdmonmsgs.h:333
uint64_t unicast_cntl_msgs_rcvd
Unicast control messages received.
Definition: tnwgdmonmsgs.h:439
uint64_t gateway_cntl_msgs_dropped_not_operational
DRO control messages dropped due to portal not being operational.
Definition: tnwgdmonmsgs.h:531
uint64_t immediate_topic_req_fragment_bytes_rcvd
Immediate topic message request fragment bytes received.
Definition: tnwgdmonmsgs.h:203
uint64_t unicast_msgs_sent
Unicast messages sent.
Definition: tnwgdmonmsgs.h:340
uint64_t immediate_topicless_fragments_rcvd
Immediate topicless message fragments received.
Definition: tnwgdmonmsgs.h:206
uint32_t index
Portal index.
Definition: tnwgdmonmsgs.h:806
uint64_t batches
Number of message batches.
Definition: tnwgdmonmsgs.h:540
uint64_t transport_topic_fragment_bytes_rcvd
Transport topic message fragment bytes received.
Definition: tnwgdmonmsgs.h:185
uint64_t gateway_cntl_msgs_sent
DRO control messages sent.
Definition: tnwgdmonmsgs.h:523
uint32_t topology_signature
Topology signature.
Definition: tnwgdmonmsgs.h:777
uint64_t unicast_data_msg_bytes_rcvd_unknown_fwd
Unicast data message bytes received with unknown forwarding information.
Definition: tnwgdmonmsgs.h:423
uint64_t immediate_topicless_fragments_dropped_error
Immediate topicless fragments dropped due to error.
Definition: tnwgdmonmsgs.h:327
uint32_t receiver_regex_patterns
Number of receiver regex patterns.
Definition: tnwgdmonmsgs.h:651
uint32_t index
Portal index.
Definition: tnwgdmonmsgs.h:688
uint64_t immediate_topicless_fragment_bytes_forwarded
Immediate topicless fragment bytes forwarded.
Definition: tnwgdmonmsgs.h:313
uint64_t unicast_msgs_sent
Unicast messages sent.
Definition: tnwgdmonmsgs.h:502
uint32_t record_length
The length of the tnwg_portalstats_dstat_record_t structure after the union selection is made...
Definition: tnwgdmonmsgs.h:691
uint32_t padding
Name of portal.
Definition: tnwgdmonmsgs.h:742
lbm_uint32_t remote_interest_topics
Remote interest topics.
Definition: tnwgdmonmsgs.h:595
tnwg_pcfg_stat_grp_rec_hdr_t rechdr
Structure containing portal configuration information.
Definition: tnwgdmonmsgs.h:756
struct tnwg_dstat_peer_receive_stats_t_stct tnwg_dstat_peer_receive_stats_t
Structure containing receiving statistics for a peer portal. Used by tnwg_portal_peer_dstat_record_t...
uint64_t gateway_cntl_msgs_dropped_would_block
DRO control messages dropped due to EWOULDBLOCK.
Definition: tnwgdmonmsgs.h:527
uint64_t immediate_topicless_req_fragments_rcvd
Immediate topicless message request fragments received.
Definition: tnwgdmonmsgs.h:210
uint64_t unicast_cntl_rxreq_msg_bytes_rcvd
Retransmission request bytes received.
Definition: tnwgdmonmsgs.h:445
uint32_t lbm_uint32_t
For portability.
Definition: lbm.h:1155
tnwg_rm_stat_grp_portal_info_t portal
Use when tnwg_dstat_msg_hdr_t_stct::type == TNWG_DSTATTYPE_RM_PORTAL.
Definition: tnwgdmonmsgs.h:887
uint64_t immediate_topicless_req_fragment_data_msg_bytes_rcvd
Immediate topicless request fragment data message bytes received.
Definition: tnwgdmonmsgs.h:410
uint64_t unicast_cntl_msg_bytes_rcvd_no_stream
Unicast control message bytes received with no stream identification.
Definition: tnwgdmonmsgs.h:238
uint64_t immediate_topic_fragment_bytes_dropped_size_error
Immediate topic fragment bytes dropped due to fragment size error.
Definition: tnwgdmonmsgs.h:308
char data
String data containing DRO configuration. See DRO Daemon Statistics String Buffers.
Definition: tnwgdmonmsgs.h:723
uint64_t immediate_topic_fragments_dropped_size_error
Immediate topic fragments dropped due to fragment size error.
Definition: tnwgdmonmsgs.h:306
uint64_t batch_msgs_mean
Mean number of messages per batch.
Definition: tnwgdmonmsgs.h:544
uint64_t immediate_topicless_fragments_forwarded
Immediate topicless fragments forwarded.
Definition: tnwgdmonmsgs.h:311
struct tnwg_dstat_msg_hdr_t_stct tnwg_dstat_msg_hdr_t
Common message header structure included at the start of all messages. Used by tnwg_dstat_mallinfo_ms...
uint64_t immediate_topic_fragment_bytes_forwarded
Immediate topic fragment bytes forwarded.
Definition: tnwgdmonmsgs.h:288
Each UM Router (DRO) tracks a small amount of information about every other DRO in the network...
Definition: tnwgdmonmsgs.h:828
Structure containing receiving statistics for an endpoint portal. Used by tnwg_portal_endpoint_dstat_...
Definition: tnwgdmonmsgs.h:180
struct tnwg_rm_stat_grp_portal_info_t_stct tnwg_rm_stat_grp_portal_info_t
Structure containing routing information specific to a particular portal. Used by tnwg_rm_stat_grp_ms...
uint64_t immediate_topic_fragment_bytes_dropped_error
Immediate topic fragment bytes dropped due to error.
Definition: tnwgdmonmsgs.h:304
uint64_t transport_topic_req_fragment_data_msgs_rcvd
Transport topic request fragment data messages received.
Definition: tnwgdmonmsgs.h:377
tnwg_portal_peer_dstat_record_t peer
Union element selected by tnwg_dstat_record_hdr_t_stct::portal_type == TNWG_DSTAT_Portal_Type_Endpoin...
Definition: tnwgdmonmsgs.h:674
uint64_t transport_topic_fragments_sent
Transport topic fragments sent.
Definition: tnwgdmonmsgs.h:261
lbm_uint32_t ordblks
Number of free chunks.
Definition: tnwgdmonmsgs.h:153
char data
String data containing portal configuration attributes. The number of strings is given by tnwg_pcfg_s...
Definition: tnwgdmonmsgs.h:761
lbm_uint32_t remote_interest_regex_patterns
Remote interest regex patterns.
Definition: tnwgdmonmsgs.h:599
uint64_t immediate_topicless_fragments_dropped_would_block
Immediate topicless fragments dropped due to EWOULDBLOCK.
Definition: tnwgdmonmsgs.h:323
lbm_uint16_t length
Total length of the message, including this header. Note that some message types do not have fixed le...
Definition: tnwgdmonmsgs.h:59
uint64_t transport_topic_control_msg_bytes_rcvd
Transport topic control message bytes received.
Definition: tnwgdmonmsgs.h:388
uint64_t transport_topic_req_fragment_bytes_sent
Transport topic request fragment bytes sent.
Definition: tnwgdmonmsgs.h:267
tnwg_dstat_endpoint_receive_stats_t receive_stats
Receiving statistics.
Definition: tnwgdmonmsgs.h:579
Structure containing sending and receiving statistics for an endpoint portal. Used by tnwg_portalstat...
Definition: tnwgdmonmsgs.h:577
Structure containing high-level information about this UM Router's (DRO) view of the current topology...
Definition: tnwgdmonmsgs.h:771
uint64_t immediate_topic_fragments_dropped_error
Immediate topic fragments dropped due to error.
Definition: tnwgdmonmsgs.h:302
uint64_t transport_topic_req_fragments_rcvd
Transport topic message request fragments received.
Definition: tnwgdmonmsgs.h:187
lbm_uint32_t local_interest_topics
Local interest topics.
Definition: tnwgdmonmsgs.h:589
uint64_t immediate_topic_fragment_data_msg_bytes_rcvd
Immediate topic fragment data message bytes received.
Definition: tnwgdmonmsgs.h:397
uint64_t immediate_topic_fragment_bytes_sent
Immediate topic fragment bytes sent.
Definition: tnwgdmonmsgs.h:292
uint64_t unicast_msg_bytes_dropped_error
Unicast message bytes dropped due to error.
Definition: tnwgdmonmsgs.h:346
uint64_t transport_topic_fragments_dropped_size_error
Transport topic fragments dropped due to fragment size error.
Definition: tnwgdmonmsgs.h:281
uint64_t transport_topic_fragment_bytes_dropped_size_error
Transport topic fragment dropped due to fragment size error.
Definition: tnwgdmonmsgs.h:283
Common message header structure included at the start of all messages. Used by tnwg_dstat_mallinfo_ms...
Definition: tnwgdmonmsgs.h:41
lbm_uint32_t local_interest_regex_patterns
Local interest regex patterns.
Definition: tnwgdmonmsgs.h:593
struct tnwg_dstat_mallinfo_msg_t_stct tnwg_dstat_mallinfo_msg_t
Message containing memory allocation statistics. ( tnwg_dstat_msg_hdr_t_stct::type == TNWG_DSTATTYPE...
uint32_t remote_interest_pcre_patterns
Number of remote interest pcre patterns.
Definition: tnwgdmonmsgs.h:641
lbm_uint32_t local_interest_pcre_patterns
Local interest PCRE patterns.
Definition: tnwgdmonmsgs.h:591
uint64_t unicast_cntl_msg_bytes_rcvd_unhandled
Unicast control message bytes received but unhandled.
Definition: tnwgdmonmsgs.h:449
uint64_t unicast_cntl_msg_bytes_rcvd_no_stream
Unicast control message bytes received with no stream information.
Definition: tnwgdmonmsgs.h:453
uint64_t transport_topic_req_fragment_bytes_rcvd
Transport topic message request fragment bytes received.
Definition: tnwgdmonmsgs.h:189
uint64_t unicast_data_msgs_rcvd_no_fwd
Unicast data messages received with no forwarding information.
Definition: tnwgdmonmsgs.h:417
uint64_t immediate_topic_fragments_rcvd
Immediate topic message fragments received.
Definition: tnwgdmonmsgs.h:197
tnwg_dstat_endpoint_send_stats_t send_stats
Sending statistics.
Definition: tnwgdmonmsgs.h:582
uint64_t gateway_cntl_msgs
DRO control messages.
Definition: tnwgdmonmsgs.h:519
uint32_t topology
Topology signature.
Definition: tnwgdmonmsgs.h:832
lbm_uint16_t magic
"Magic" value set by sender to indicate to the receiver whether byte swapping is needed. Possible values: LBM_TNWG_DAEMON_MAGIC, LBM_TNWG_DAEMON_ANTIMAGIC.
Definition: tnwgdmonmsgs.h:46
uint64_t data_fragments_dropped_not_operational
Data fragments dropped due to portal not being operational.
Definition: tnwgdmonmsgs.h:489
uint64_t unicast_data_msgs_rcvd_no_stream
Unicast data messages received with no stream identification.
Definition: tnwgdmonmsgs.h:219
Structure containing receiving statistics for a peer portal. Used by tnwg_portal_peer_dstat_record_t...
Definition: tnwgdmonmsgs.h:361
uint32_t last_activity_usec
Count of microseconds to be added to "last_activity_sec" to increase the precision of the timestamp...
Definition: tnwgdmonmsgs.h:841
uint16_t trd_count
Trd count.
Definition: tnwgdmonmsgs.h:789
uint64_t unicast_data_msgs_dropped_dup
Unicast data messages dropped as duplicates.
Definition: tnwgdmonmsgs.h:223
uint32_t recalc_duration_usec
Recalc duration usec.
Definition: tnwgdmonmsgs.h:781
uint64_t unicast_cntl_msgs_dropped_no_route
Unicast control messages dropped no route.
Definition: tnwgdmonmsgs.h:244
uint64_t transport_topic_req_fragment_data_msgs_rcvd_unknown_source
Transport topic request fragment data messages received with an unknown source.
Definition: tnwgdmonmsgs.h:381
uint64_t unicast_cntl_msgs_rcvd_no_stream
Unicast control messages received with no stream identification.
Definition: tnwgdmonmsgs.h:236
uint64_t unicast_cntl_msg_bytes_dropped_no_route
Unicast control message bytes dropped no route.
Definition: tnwgdmonmsgs.h:246
uint64_t immediate_topicless_req_fragment_bytes_rcvd
Immediate topicless message request fragment bytes received.
Definition: tnwgdmonmsgs.h:212
uint64_t gateway_cntl_msg_bytes_dropped_queue_failure
DRO control message bytes dropped due to queueing failure.
Definition: tnwgdmonmsgs.h:537
uint64_t data_bytes_enqueued_limit
Configured maximum data bytes allowed in queued.
Definition: tnwgdmonmsgs.h:353
uint64_t unicast_data_msg_bytes_rcvd_no_fwd
Unicast data message bytes received with no forwarding information.
Definition: tnwgdmonmsgs.h:419
lbm_uint32_t tv_usec
Count of microseconds to be added to "tv_sec" to increase the precision of the timestamp. However, the accuracy of the timestamp is not guaranteed to be at the microsecond level.
Definition: tnwgdmonmsgs.h:67
uint16_t lbm_uint16_t
For portability.
Definition: lbm.h:1153
uint64_t unicast_data_msg_bytes_rcvd
Unicast data message bytes received.
Definition: tnwgdmonmsgs.h:217
uint32_t remote_interest_topics
NOT USED. Set to zero.
Definition: tnwgdmonmsgs.h:639