27 #ifndef TNWG_DMON_MSGS_H 28 #define TNWG_DMON_MSGS_H 33 #define LBM_TNWG_DMON_VERSION 0 73 #define TNWG_DSTAT_FILENAME_MAX_STRLEN 256 74 #define TNWG_DSTAT_MAX_PORTAL_NAME_LEN 256 75 #define TNWG_DSTAT_MAX_GATEWAY_NAME_LEN 256 79 #define TNWG_DSTATTYPE_INVALID 0 81 #define TNWG_DSTATTYPE_RM 1 87 #define TNWG_DSTATTYPE_RM_LOCAL 2 92 #define TNWG_DSTATTYPE_RM_PORTAL 3 97 #define TNWG_DSTATTYPE_RM_OTHERGW 4 102 #define TNWG_DSTATTYPE_RM_OTHERGW_NBR 5 106 #define TNWG_DSTATTYPE_PORTSTAT 6 110 #define TNWG_DSTATTYPE_GATEWAYCFG 7 114 #define TNWG_DSTATTYPE_PORTCFG 8 118 #define TNWG_DSTATTYPE_MALLINFO 9 123 #define LBM_TNWG_DAEMON_MAGIC 0x4542 126 #define LBM_TNWG_DAEMON_ANTIMAGIC 0x4245 132 #define TNWG_DSTAT_Portal_Type_Endpoint 0 136 #define TNWG_DSTAT_Portal_Type_Peer 1 140 #define TNWG_DSTAT_Domain_Type 0 143 #define TNWG_DSTAT_Gateway_Type 1 687 char portal_name[TNWG_DSTAT_MAX_PORTAL_NAME_LEN];
720 #define MAX_ATTR_TYPE_NAME_LEN 64 735 char portal_name[TNWG_DSTAT_MAX_PORTAL_NAME_LEN];
737 char attr_type[MAX_ATTR_TYPE_NAME_LEN];
765 char gateway_name[TNWG_DSTAT_MAX_GATEWAY_NAME_LEN];
810 char portal_name[TNWG_DSTAT_MAX_PORTAL_NAME_LEN];
843 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:530
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:852
lbm_uint32_t proxy_sources
Proxy sources.
Definition: tnwgdmonmsgs.h:610
uint32_t recalc_duration_sec
Recalc duration sec.
Definition: tnwgdmonmsgs.h:802
uint64_t transport_topic_fragment_data_msgs_rcvd
Transport topic fragment data messages received.
Definition: tnwgdmonmsgs.h:370
uint64_t unicast_msgs_dropped_error
Unicast messages dropped due to error.
Definition: tnwgdmonmsgs.h:345
uint64_t rtt_min
Minimum RTT to companion.
Definition: tnwgdmonmsgs.h:564
tnwg_portalstats_dstat_record_t record
Type-specific information about this portal.
Definition: tnwgdmonmsgs.h:703
uint64_t immediate_topic_fragments_dropped_would_block
Immediate topic fragments dropped due to EWOULDBLOCK.
Definition: tnwgdmonmsgs.h:299
uint64_t unicast_cntl_msgs_rcvd_unhandled
Unicast control messages received but unhandled.
Definition: tnwgdmonmsgs.h:448
tnwg_dstat_msg_hdr_t msghdr
Standard header common to all messages.
Definition: tnwgdmonmsgs.h:713
uint32_t remote_interest_regex_patterns
Number of remote interest regex patterns.
Definition: tnwgdmonmsgs.h:637
uint64_t immediate_topic_req_fragment_bytes_sent
Immediate topic request fragment bytes sent.
Definition: tnwgdmonmsgs.h:297
uint64_t immediate_topicless_fragment_bytes_rcvd
Immediate topicless message fragment bytes received.
Definition: tnwgdmonmsgs.h:209
lbm_uint32_t domain_id
Topic Resolution Domain (TRD) for the portal.
Definition: tnwgdmonmsgs.h:586
uint64_t rtt_max
Maximum RTT to companion.
Definition: tnwgdmonmsgs.h:568
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:444
uint64_t unicast_data_msg_bytes_rcvd_no_stream
Unicast data message bytes received with no stream identification.
Definition: tnwgdmonmsgs.h:222
uint64_t unicast_msg_bytes_dropped_not_operational
Unicast message bytes dropped due to portal not being operational.
Definition: tnwgdmonmsgs.h:513
uint64_t immediate_topicless_req_fragments_sent
Immediate topicless request fragments sent.
Definition: tnwgdmonmsgs.h:320
uint64_t immediate_topic_fragments_forwarded
Immediate topic fragments forwarded.
Definition: tnwgdmonmsgs.h:287
uint64_t immediate_topic_fragment_data_msgs_rcvd
Immediate topic fragment data messages received.
Definition: tnwgdmonmsgs.h:396
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:883
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:235
Message containing DRO configuration information. ( tnwg_dstat_msg_hdr_t_stct::type == TNWG_DSTATTYP...
Definition: tnwgdmonmsgs.h:711
uint64_t unicast_cntl_msgs_dropped_no_route
Unicast control messages dropped no route.
Definition: tnwgdmonmsgs.h:456
uint64_t transport_topic_fragment_data_msg_bytes_rcvd
Transport topic fragment data message bytes received.
Definition: tnwgdmonmsgs.h:372
uint32_t ingress_cost
Cost.
Definition: tnwgdmonmsgs.h:800
uint64_t data_msg_bytes_rcvd
Date message bytes received.
Definition: tnwgdmonmsgs.h:367
uint64_t gateway_cntl_msgs_rcvd
DRO control messages received.
Definition: tnwgdmonmsgs.h:461
uint64_t unicast_data_msg_bytes_dropped_no_route
Unicast data message bytes dropped no route.
Definition: tnwgdmonmsgs.h:432
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:158
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:376
uint64_t unicast_data_msg_bytes_rcvd
Unicast data message bytes received.
Definition: tnwgdmonmsgs.h:416
uint64_t batch_msgs_min
Minimum number of messages per batch.
Definition: tnwgdmonmsgs.h:543
lbm_uint32_t uordblks
Total allocated space (bytes).
Definition: tnwgdmonmsgs.h:160
lbm_uint32_t fordblks
Total free space (bytes).
Definition: tnwgdmonmsgs.h:162
Structure containing sending and receiving statistics for a peer portal. Used by tnwg_portalstats_dst...
Definition: tnwgdmonmsgs.h:617
uint64_t immediate_topic_fragment_bytes_rcvd
Immediate topic message fragment bytes received.
Definition: tnwgdmonmsgs.h:200
Structure containing sending statistics for an endpoint portal. Used by tnwg_portal_endpoint_dstat_re...
Definition: tnwgdmonmsgs.h:255
uint32_t proxy_rec_recalc_duration_sec
Proxy rec recalc duration sec.
Definition: tnwgdmonmsgs.h:806
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:384
uint64_t immediate_topicless_req_fragment_data_msgs_rcvd
Immediate topicless request fragment data messages received.
Definition: tnwgdmonmsgs.h:409
uint64_t gateway_id
DRO id.
Definition: tnwgdmonmsgs.h:767
uint32_t receiver_topics
Number of receiver topics.
Definition: tnwgdmonmsgs.h:641
uint64_t unicast_msgs_forwarded
Unicast messages forwarded to this portal.
Definition: tnwgdmonmsgs.h:499
uint64_t unicast_msg_bytes_dropped_queue_failure
Unicast message bytes dropped due to queueing failure.
Definition: tnwgdmonmsgs.h:517
Message containing portal statistics. ( tnwg_dstat_msg_hdr_t_stct::type == TNWG_DSTATTYPE_PORTSTAT )...
Definition: tnwgdmonmsgs.h:697
uint64_t batch_bytes_min
Minimum number of bytes per batch.
Definition: tnwgdmonmsgs.h:549
uint32_t recalc_duration_sec
Recalc duration sec.
Definition: tnwgdmonmsgs.h:771
Message containing memory allocation statistics. ( tnwg_dstat_msg_hdr_t_stct::type == TNWG_DSTATTYPE...
Definition: tnwgdmonmsgs.h:744
uint64_t unicast_cntl_msg_bytes_dropped_no_route
Unicast control message bytes dropped no route.
Definition: tnwgdmonmsgs.h:458
uint64_t unicast_data_msg_bytes_dropped_no_route
Unicast data message bytes dropped no route.
Definition: tnwgdmonmsgs.h:230
uint64_t gateway_cntl_msg_bytes_sent
DRO control message bytes sent.
Definition: tnwgdmonmsgs.h:526
uint64_t transport_topic_fragment_bytes_dropped_error
Transport topic fragment bytes dropped due to error.
Definition: tnwgdmonmsgs.h:280
uint64_t batch_msgs_max
Maximum number of messages per batch.
Definition: tnwgdmonmsgs.h:547
uint64_t immediate_topic_req_fragment_data_msgs_rcvd
Immediate topic request fragment data messages received.
Definition: tnwgdmonmsgs.h:400
uint64_t data_fragments_sent
Data fragments sent.
Definition: tnwgdmonmsgs.h:478
uint32_t portal_type
Portal type: TNWG_DSTAT_Portal_Type_Peer TNWG_DSTAT_Portal_Type_Endpoint.
Definition: tnwgdmonmsgs.h:680
uint32_t proxy_sources
Number of proxy sources.
Definition: tnwgdmonmsgs.h:647
Structure containing routing information specific to a particular portal. Used by tnwg_rm_stat_grp_ms...
Definition: tnwgdmonmsgs.h:789
lbm_uint32_t receiver_topics
Receiver topics.
Definition: tnwgdmonmsgs.h:604
uint64_t immediate_topicless_fragment_data_msg_bytes_rcvd
Immediate topicless fragment data message bytes received.
Definition: tnwgdmonmsgs.h:407
lbm_uint32_t hblks
Number of mmapped regions.
Definition: tnwgdmonmsgs.h:156
uint64_t batch_bytes_max
Maximum number of bytes per batch.
Definition: tnwgdmonmsgs.h:553
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:171
uint64_t data_bytes_enqueued
Current data bytes enqueued internally.
Definition: tnwgdmonmsgs.h:350
uint64_t unicast_data_msgs_rcvd
Unicast data messages received.
Definition: tnwgdmonmsgs.h:216
uint64_t data_fragment_bytes_forwarded
Data fragment bytes forwarded to this portal.
Definition: tnwgdmonmsgs.h:476
tnwg_dstat_peer_receive_stats_t receive_stats
Receiving statistics.
Definition: tnwgdmonmsgs.h:619
uint64_t immediate_topic_req_fragments_rcvd
Immediate topic message request fragments received.
Definition: tnwgdmonmsgs.h:202
uint32_t proxy_receivers
Number of proxy receivers.
Definition: tnwgdmonmsgs.h:639
uint64_t transport_topic_req_fragment_data_msg_bytes_rcvd
Transport topic request fragment data message bytes received.
Definition: tnwgdmonmsgs.h:380
uint64_t unicast_cntl_msgs_dropped_dup
Unicast control messages dropped as duplicates.
Definition: tnwgdmonmsgs.h:241
uint64_t transport_topic_fragments_rcvd
Transport topic message fragments received.
Definition: tnwgdmonmsgs.h:184
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:391
lbm_uint32_t receiver_regex_patterns
Receiver regex patterns.
Definition: tnwgdmonmsgs.h:608
uint64_t gateway_id
DRO identifier.
Definition: tnwgdmonmsgs.h:822
tnwg_rm_stat_grp_othergw_info_t othergw
Use when tnwg_dstat_msg_hdr_t_stct::type == TNWG_DSTATTYPE_RM_OTHERGW.
Definition: tnwgdmonmsgs.h:881
uint64_t immediate_topic_fragments_sent
Immediate topic fragments sent.
Definition: tnwgdmonmsgs.h:291
uint32_t ingress_cost
Cost.
Definition: tnwgdmonmsgs.h:625
uint64_t data_fragment_bytes_dropped_queue_failure
Data fragment bytes dropped due to queueing failure.
Definition: tnwgdmonmsgs.h:496
uint64_t transport_topic_fragment_bytes_forwarded
Transport topic fragment bytes forwarded to this portal.
Definition: tnwgdmonmsgs.h:260
uint64_t gateway_cntl_msg_bytes
DRO control message bytes.
Definition: tnwgdmonmsgs.h:522
uint32_t local_interest_pcre_patterns
Number of local interest pcre patterns.
Definition: tnwgdmonmsgs.h:629
Structure containing memory statistics. Used by tnwg_dstat_mallinfo_msg_t. Except where indicated...
Definition: tnwgdmonmsgs.h:150
uint64_t rtt_mean
Mean RTT to companion.
Definition: tnwgdmonmsgs.h:566
uint32_t last_activity_sec
Approximate timestamp of last activity. Represents local wall clock time from the sending host's pers...
Definition: tnwgdmonmsgs.h:829
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:274
tnwg_dstat_msg_hdr_t msghdr
Standard header common to all messages.
Definition: tnwgdmonmsgs.h:699
uint64_t node_id
Node ID.
Definition: tnwgdmonmsgs.h:854
uint16_t gateway_count
DRO count.
Definition: tnwgdmonmsgs.h:779
uint64_t data_bytes_enqueued_max
Maximum data bytes enqueued internally.
Definition: tnwgdmonmsgs.h:352
uint64_t unicast_cntl_msg_bytes_rcvd
Control message bytes received.
Definition: tnwgdmonmsgs.h:442
uint64_t unicast_msg_bytes_forwarded
Unicast message bytes forwarded.
Definition: tnwgdmonmsgs.h:339
uint64_t unicast_msg_bytes_dropped_would_block
Unicast message bytes dropped due to EWOULDBLOCK.
Definition: tnwgdmonmsgs.h:509
uint64_t unicast_cntl_msg_bytes_dropped_dup
Unicast control message bytes dropped as duplicates.
Definition: tnwgdmonmsgs.h:243
Structure containing general information about a peer or endpoint portal. Used by tnwg_dstat_portalst...
Definition: tnwgdmonmsgs.h:676
uint32_t type
Portal type: TNWG_DSTAT_Portal_Type_Peer TNWG_DSTAT_Portal_Type_Endpoint.
Definition: tnwgdmonmsgs.h:796
uint64_t cntl_msgs_rcvd
Control messages received.
Definition: tnwgdmonmsgs.h:435
uint64_t immediate_topicless_fragment_bytes_sent
Immediate topicless fragment bytes sent.
Definition: tnwgdmonmsgs.h:318
uint64_t transport_topic_fragments_forwarded
Transport topic fragments forwarded to this portal.
Definition: tnwgdmonmsgs.h:258
uint64_t unicast_msgs_dropped_not_operational
Unicast messages dropped due to portal not being operational.
Definition: tnwgdmonmsgs.h:511
lbm_uint32_t ingress_cost
Cost.
Definition: tnwgdmonmsgs.h:588
uint32_t local_interest_topics
Number of local interest topics.
Definition: tnwgdmonmsgs.h:627
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:659
uint32_t ingress_cost
Cost from this node_id to the owning neighbor_info's node_id.
Definition: tnwgdmonmsgs.h:858
uint64_t gateway_cntl_msg_bytes_rcvd
DRO control message bytes received.
Definition: tnwgdmonmsgs.h:463
uint64_t data_bytes_enqueued_limit
Configured maximum data bytes allowed in queued.
Definition: tnwgdmonmsgs.h:559
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:276
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:606
uint64_t data_msgs_rcvd
Data messages received.
Definition: tnwgdmonmsgs.h:365
uint64_t unicast_cntl_msgs_rcvd
Unicast control messages received.
Definition: tnwgdmonmsgs.h:233
tnwg_rm_stat_grp_local_info_t local
Use when tnwg_dstat_msg_hdr_t_stct::type == TNWG_DSTATTYPE_RM_LOCAL.
Definition: tnwgdmonmsgs.h:877
uint64_t transport_topic_req_fragments_sent
Transport topic request fragments sent.
Definition: tnwgdmonmsgs.h:266
uint64_t data_fragment_bytes_dropped_would_block
Data fragment bytes dropped due to EWOULDBLOCK.
Definition: tnwgdmonmsgs.h:488
uint64_t immediate_topicless_fragment_bytes_dropped_would_block
Immediate topicless fragment bytes dropped due to EWOULDBLOCK.
Definition: tnwgdmonmsgs.h:326
uint64_t data_fragment_bytes_dropped_dup
Duplicate data fragment bytes dropped.
Definition: tnwgdmonmsgs.h:484
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:665
tnwg_dstat_peer_send_stats_t send_stats
Sending statistics.
Definition: tnwgdmonmsgs.h:622
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:725
uint32_t portal_num
Portal number.
Definition: tnwgdmonmsgs.h:727
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:152
uint64_t gateway_cntl_msg_bytes_dropped_not_operational
DRO control message bytes dropped due to portal not being operational.
Definition: tnwgdmonmsgs.h:534
uint32_t num_options
Number of options stored in tnwg_pcfg_stat_grp_msg_t_stct::data.
Definition: tnwgdmonmsgs.h:733
uint32_t receiver_pcre_patterns
Number of receiver pcre patterns.
Definition: tnwgdmonmsgs.h:643
uint64_t data_bytes_enqueued
Current data bytes enqueued internally.
Definition: tnwgdmonmsgs.h:555
uint64_t immediate_topic_fragment_bytes_dropped_would_block
Immediate topic fragment bytes dropped due to EWOULDBLOCK.
Definition: tnwgdmonmsgs.h:301
uint32_t recalc_duration_usec
Recalc duration usec.
Definition: tnwgdmonmsgs.h:804
tnwg_dstat_record_hdr_t rechdr
General information about this portal.
Definition: tnwgdmonmsgs.h:701
Message containing memory allocation statistics. ( tnwg_dstat_msg_hdr_t_stct::type == TNWG_DSTATTYPE...
Definition: tnwgdmonmsgs.h:169
uint64_t unicast_msgs_dropped_would_block
Unicast messages dropped due to EWOULDBLOCK.
Definition: tnwgdmonmsgs.h:507
uint64_t data_fragments_dropped_dup
Duplicate data fragments dropped.
Definition: tnwgdmonmsgs.h:482
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:792
uint64_t data_bytes_enqueued_max
Maximum data bytes enqueued internally.
Definition: tnwgdmonmsgs.h:557
lbm_uint32_t proxy_receivers
Proxy receivers.
Definition: tnwgdmonmsgs.h:602
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:480
uint64_t transport_topic_control_msgs_rcvd
Transport topic control messages received.
Definition: tnwgdmonmsgs.h:387
uint64_t immediate_topicless_fragment_bytes_dropped_error
Immediate topicless fragment bytes dropped due to error.
Definition: tnwgdmonmsgs.h:330
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:422
uint64_t unicast_data_msg_bytes_rcvd_no_stream
Unicast data message bytes received with no stream information.
Definition: tnwgdmonmsgs.h:428
uint64_t data_fragments_forwarded
Data fragments forwarded to this portal.
Definition: tnwgdmonmsgs.h:474
uint64_t transport_topic_fragments_dropped_dup
Duplicate transport topic fragments dropped.
Definition: tnwgdmonmsgs.h:270
uint16_t version
This version number essentially represents the number of times the DRO has experienced a change in th...
Definition: tnwgdmonmsgs.h:838
uint64_t unicast_msg_bytes_sent
Unicast message bytes sent.
Definition: tnwgdmonmsgs.h:343
Message containing routing information. ( tnwg_dstat_msg_hdr_t_stct::type == TNWG_DSTATTYPE_RM_LOCAL...
Definition: tnwgdmonmsgs.h:871
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:471
uint16_t num_neighbors
Number of running portals. This number can change as peer links connect and disconnect.
Definition: tnwgdmonmsgs.h:841
uint32_t proxy_rec_recalc_duration_usec
Proxy rec recalc duration usec.
Definition: tnwgdmonmsgs.h:808
uint64_t unicast_msgs_dropped_queue_failure
Unicast messages dropped due to queueing failure.
Definition: tnwgdmonmsgs.h:515
uint64_t unicast_data_msgs_dropped_no_route
Unicast data messages dropped no route.
Definition: tnwgdmonmsgs.h:430
uint64_t immediate_topic_req_fragments_sent
Immediate topic request fragments sent.
Definition: tnwgdmonmsgs.h:295
uint64_t immediate_topicless_fragment_data_msgs_rcvd
Immediate topicless fragment data messages received.
Definition: tnwgdmonmsgs.h:405
uint64_t gateway_cntl_msgs_dropped_queue_failure
DRO control messages dropped due to queueing failure.
Definition: tnwgdmonmsgs.h:536
uint64_t unicast_msg_bytes_sent
Unicast message bytes sent.
Definition: tnwgdmonmsgs.h:505
uint32_t portal_type
Portal type: TNWG_DSTAT_Portal_Type_Peer TNWG_DSTAT_Portal_Type_Endpoint.
Definition: tnwgdmonmsgs.h:731
tnwg_dstat_msg_hdr_t msghdr
Standard header common to all messages.
Definition: tnwgdmonmsgs.h:873
uint64_t transport_topic_fragment_bytes_dropped_dup
Duplicate transport topic fragment bytes dropped.
Definition: tnwgdmonmsgs.h:272
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:856
uint64_t data_fragments_dropped_queue_failure
Data fragments dropped due to queueing failure.
Definition: tnwgdmonmsgs.h:494
uint64_t immediate_topicless_fragments_dropped_size_error
Immediate topicless fragments dropped due to fragment size error.
Definition: tnwgdmonmsgs.h:332
tnwg_mallinfo_stat_grp_record_t record
Memory statistics.
Definition: tnwgdmonmsgs.h:173
uint32_t local_interest_regex_patterns
Number of local interest regex patterns.
Definition: tnwgdmonmsgs.h:631
uint64_t transport_topic_fragment_bytes_sent
Transport topic fragment bytes sent.
Definition: tnwgdmonmsgs.h:264
uint64_t transport_topic_fragments_dropped_error
Transport topic fragments dropped due to error.
Definition: tnwgdmonmsgs.h:278
uint64_t unicast_msgs_forwarded
Unicast messages forwarded.
Definition: tnwgdmonmsgs.h:337
uint64_t cntl_msg_bytes_rcvd
Date message bytes received.
Definition: tnwgdmonmsgs.h:437
uint64_t unicast_data_msgs_dropped_no_route
Unicast data messages dropped no route.
Definition: tnwgdmonmsgs.h:228
uint64_t transport_topic_control_msg_bytes_rcvd_unknown_source
Transport topic control message bytes received with an unknown source.
Definition: tnwgdmonmsgs.h:393
uint64_t transport_topic_control_rcvd
Transport topic control message received.
Definition: tnwgdmonmsgs.h:193
uint64_t unicast_msg_bytes_forwarded
Unicast message bytes forwarded to this portal.
Definition: tnwgdmonmsgs.h:501
struct tnwg_portal_peer_dstat_record_t_stct tnwg_portal_peer_dstat_record_t
Structure containing sending and receiving statistics for a peer portal. Used by tnwg_portalstats_dst...
uint64_t data_fragment_bytes_dropped_not_operational
Data fragment bytes dropped due to portal not being operational.
Definition: tnwgdmonmsgs.h:492
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:746
uint64_t immediate_topic_req_fragment_data_msg_bytes_rcvd
Immediate topic request fragment data message bytes received.
Definition: tnwgdmonmsgs.h:402
uint64_t unicast_cntl_msgs_rcvd_no_stream
Unicast control messages received with no stream information.
Definition: tnwgdmonmsgs.h:452
uint16_t self_version
Self version.
Definition: tnwgdmonmsgs.h:777
uint32_t graph_version
Graph version.
Definition: tnwgdmonmsgs.h:775
uint64_t immediate_topicless_req_fragment_bytes_sent
Immediate topicless request fragment bytes sent.
Definition: tnwgdmonmsgs.h:322
uint64_t unicast_data_msgs_rcvd
Unicast data messages received.
Definition: tnwgdmonmsgs.h:414
uint64_t transport_topic_control_bytes_rcvd
Transport topic control message bytes received.
Definition: tnwgdmonmsgs.h:195
lbm_uint32_t tv_sec
Approximate timestamp when the message was sent. Represents local wall clock time from the sending ho...
Definition: tnwgdmonmsgs.h:64
lbm_uint32_t remote_interest_pcre_patterns
Remote interest PCRE patterns.
Definition: tnwgdmonmsgs.h:598
uint64_t data_fragments_dropped_would_block
Data fragments dropped due to EWOULDBLOCK.
Definition: tnwgdmonmsgs.h:486
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:426
uint64_t immediate_topicless_fragments_sent
Immediate topicless fragments sent.
Definition: tnwgdmonmsgs.h:316
uint64_t unicast_data_msg_bytes_dropped_dup
Unicast data message bytes dropped as duplicates.
Definition: tnwgdmonmsgs.h:226
uint64_t rtt_samples
Total RTT samples.
Definition: tnwgdmonmsgs.h:562
uint64_t transport_topic_fragment_data_msgs_rcvd_unknown_source
Transport topic fragment data messages received with an unknown source.
Definition: tnwgdmonmsgs.h:374
uint64_t batch_bytes_mean
Mean number of bytes per batch.
Definition: tnwgdmonmsgs.h:551
uint64_t immediate_topicless_fragment_bytes_dropped_size_error
Immediate topicless fragment bytes dropped due to fragment size error.
Definition: tnwgdmonmsgs.h:334
uint64_t unicast_cntl_msgs_rcvd
Unicast control messages received.
Definition: tnwgdmonmsgs.h:440
uint64_t gateway_cntl_msgs_dropped_not_operational
DRO control messages dropped due to portal not being operational.
Definition: tnwgdmonmsgs.h:532
uint64_t immediate_topic_req_fragment_bytes_rcvd
Immediate topic message request fragment bytes received.
Definition: tnwgdmonmsgs.h:204
uint64_t unicast_msgs_sent
Unicast messages sent.
Definition: tnwgdmonmsgs.h:341
uint64_t immediate_topicless_fragments_rcvd
Immediate topicless message fragments received.
Definition: tnwgdmonmsgs.h:207
uint32_t index
Portal index.
Definition: tnwgdmonmsgs.h:798
uint64_t batches
Number of message batches.
Definition: tnwgdmonmsgs.h:541
uint64_t transport_topic_fragment_bytes_rcvd
Transport topic message fragment bytes received.
Definition: tnwgdmonmsgs.h:186
uint64_t gateway_cntl_msgs_sent
DRO control messages sent.
Definition: tnwgdmonmsgs.h:524
uint32_t topology_signature
Topology signature.
Definition: tnwgdmonmsgs.h:769
uint64_t unicast_data_msg_bytes_rcvd_unknown_fwd
Unicast data message bytes received with unknown forwarding information.
Definition: tnwgdmonmsgs.h:424
uint64_t immediate_topicless_fragments_dropped_error
Immediate topicless fragments dropped due to error.
Definition: tnwgdmonmsgs.h:328
uint32_t receiver_regex_patterns
Number of receiver regex patterns.
Definition: tnwgdmonmsgs.h:645
uint32_t index
Portal index.
Definition: tnwgdmonmsgs.h:682
uint64_t immediate_topicless_fragment_bytes_forwarded
Immediate topicless fragment bytes forwarded.
Definition: tnwgdmonmsgs.h:314
uint64_t unicast_msgs_sent
Unicast messages sent.
Definition: tnwgdmonmsgs.h:503
uint32_t record_length
The length of the tnwg_portalstats_dstat_record_t structure after the union selection is made...
Definition: tnwgdmonmsgs.h:685
lbm_uint32_t remote_interest_topics
Remote interest topics.
Definition: tnwgdmonmsgs.h:596
tnwg_pcfg_stat_grp_rec_hdr_t rechdr
Structure containing portal configuration information.
Definition: tnwgdmonmsgs.h:748
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:528
uint64_t immediate_topicless_req_fragments_rcvd
Immediate topicless message request fragments received.
Definition: tnwgdmonmsgs.h:211
uint64_t unicast_cntl_rxreq_msg_bytes_rcvd
Retransmission request bytes received.
Definition: tnwgdmonmsgs.h:446
uint32_t lbm_uint32_t
For portability.
Definition: lbm.h:1085
tnwg_rm_stat_grp_portal_info_t portal
Use when tnwg_dstat_msg_hdr_t_stct::type == TNWG_DSTATTYPE_RM_PORTAL.
Definition: tnwgdmonmsgs.h:879
uint64_t immediate_topicless_req_fragment_data_msg_bytes_rcvd
Immediate topicless request fragment data message bytes received.
Definition: tnwgdmonmsgs.h:411
uint64_t unicast_cntl_msg_bytes_rcvd_no_stream
Unicast control message bytes received with no stream identification.
Definition: tnwgdmonmsgs.h:239
uint64_t immediate_topic_fragment_bytes_dropped_size_error
Immediate topic fragment bytes dropped due to fragment size error.
Definition: tnwgdmonmsgs.h:309
char data
String data containing DRO configuration. See UM Router Daemon Statistics String Buffers.
Definition: tnwgdmonmsgs.h:716
uint64_t immediate_topic_fragments_dropped_size_error
Immediate topic fragments dropped due to fragment size error.
Definition: tnwgdmonmsgs.h:307
uint64_t batch_msgs_mean
Mean number of messages per batch.
Definition: tnwgdmonmsgs.h:545
uint64_t immediate_topicless_fragments_forwarded
Immediate topicless fragments forwarded.
Definition: tnwgdmonmsgs.h:312
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:289
Each UM Router (DRO) tracks a small amount of information about every other DRO in the network...
Definition: tnwgdmonmsgs.h:820
Structure containing receiving statistics for an endpoint portal. Used by tnwg_portal_endpoint_dstat_...
Definition: tnwgdmonmsgs.h:181
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:305
uint64_t transport_topic_req_fragment_data_msgs_rcvd
Transport topic request fragment data messages received.
Definition: tnwgdmonmsgs.h:378
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:668
uint64_t transport_topic_fragments_sent
Transport topic fragments sent.
Definition: tnwgdmonmsgs.h:262
lbm_uint32_t ordblks
Number of free chunks.
Definition: tnwgdmonmsgs.h:154
char data
String data containing portal configuration attributes. The number of strings is given by tnwg_pcfg_s...
Definition: tnwgdmonmsgs.h:753
lbm_uint32_t remote_interest_regex_patterns
Remote interest regex patterns.
Definition: tnwgdmonmsgs.h:600
uint64_t immediate_topicless_fragments_dropped_would_block
Immediate topicless fragments dropped due to EWOULDBLOCK.
Definition: tnwgdmonmsgs.h:324
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:389
uint64_t transport_topic_req_fragment_bytes_sent
Transport topic request fragment bytes sent.
Definition: tnwgdmonmsgs.h:268
tnwg_dstat_endpoint_receive_stats_t receive_stats
Receiving statistics.
Definition: tnwgdmonmsgs.h:580
Structure containing sending and receiving statistics for an endpoint portal. Used by tnwg_portalstat...
Definition: tnwgdmonmsgs.h:578
Structure containing high-level information about this UM Router's (DRO) view of the current topology...
Definition: tnwgdmonmsgs.h:763
uint64_t immediate_topic_fragments_dropped_error
Immediate topic fragments dropped due to error.
Definition: tnwgdmonmsgs.h:303
uint64_t transport_topic_req_fragments_rcvd
Transport topic message request fragments received.
Definition: tnwgdmonmsgs.h:188
lbm_uint32_t local_interest_topics
Local interest topics.
Definition: tnwgdmonmsgs.h:590
uint64_t immediate_topic_fragment_data_msg_bytes_rcvd
Immediate topic fragment data message bytes received.
Definition: tnwgdmonmsgs.h:398
uint64_t immediate_topic_fragment_bytes_sent
Immediate topic fragment bytes sent.
Definition: tnwgdmonmsgs.h:293
uint64_t unicast_msg_bytes_dropped_error
Unicast message bytes dropped due to error.
Definition: tnwgdmonmsgs.h:347
uint64_t transport_topic_fragments_dropped_size_error
Transport topic fragments dropped due to fragment size error.
Definition: tnwgdmonmsgs.h:282
uint64_t transport_topic_fragment_bytes_dropped_size_error
Transport topic fragment dropped due to fragment size error.
Definition: tnwgdmonmsgs.h:284
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:594
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:635
lbm_uint32_t local_interest_pcre_patterns
Local interest PCRE patterns.
Definition: tnwgdmonmsgs.h:592
uint64_t unicast_cntl_msg_bytes_rcvd_unhandled
Unicast control message bytes received but unhandled.
Definition: tnwgdmonmsgs.h:450
uint64_t unicast_cntl_msg_bytes_rcvd_no_stream
Unicast control message bytes received with no stream information.
Definition: tnwgdmonmsgs.h:454
uint64_t transport_topic_req_fragment_bytes_rcvd
Transport topic message request fragment bytes received.
Definition: tnwgdmonmsgs.h:190
uint64_t unicast_data_msgs_rcvd_no_fwd
Unicast data messages received with no forwarding information.
Definition: tnwgdmonmsgs.h:418
uint64_t immediate_topic_fragments_rcvd
Immediate topic message fragments received.
Definition: tnwgdmonmsgs.h:198
tnwg_dstat_endpoint_send_stats_t send_stats
Sending statistics.
Definition: tnwgdmonmsgs.h:583
uint64_t gateway_cntl_msgs
DRO control messages.
Definition: tnwgdmonmsgs.h:520
time_t last_ka_time
Last keepalive responded to.
Definition: tnwgdmonmsgs.h:570
uint32_t topology
Topology signature.
Definition: tnwgdmonmsgs.h:824
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:490
uint64_t unicast_data_msgs_rcvd_no_stream
Unicast data messages received with no stream identification.
Definition: tnwgdmonmsgs.h:220
Structure containing receiving statistics for a peer portal. Used by tnwg_portal_peer_dstat_record_t...
Definition: tnwgdmonmsgs.h:362
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:833
uint16_t trd_count
Trd count.
Definition: tnwgdmonmsgs.h:781
uint64_t unicast_data_msgs_dropped_dup
Unicast data messages dropped as duplicates.
Definition: tnwgdmonmsgs.h:224
uint32_t recalc_duration_usec
Recalc duration usec.
Definition: tnwgdmonmsgs.h:773
uint64_t unicast_cntl_msgs_dropped_no_route
Unicast control messages dropped no route.
Definition: tnwgdmonmsgs.h:245
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:382
uint64_t unicast_cntl_msgs_rcvd_no_stream
Unicast control messages received with no stream identification.
Definition: tnwgdmonmsgs.h:237
uint64_t unicast_cntl_msg_bytes_dropped_no_route
Unicast control message bytes dropped no route.
Definition: tnwgdmonmsgs.h:247
uint64_t immediate_topicless_req_fragment_bytes_rcvd
Immediate topicless message request fragment bytes received.
Definition: tnwgdmonmsgs.h:213
uint64_t gateway_cntl_msg_bytes_dropped_queue_failure
DRO control message bytes dropped due to queueing failure.
Definition: tnwgdmonmsgs.h:538
uint64_t data_bytes_enqueued_limit
Configured maximum data bytes allowed in queued.
Definition: tnwgdmonmsgs.h:354
uint64_t unicast_data_msg_bytes_rcvd_no_fwd
Unicast data message bytes received with no forwarding information.
Definition: tnwgdmonmsgs.h:420
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:68
uint16_t lbm_uint16_t
For portability.
Definition: lbm.h:1083
uint64_t unicast_data_msg_bytes_rcvd
Unicast data message bytes received.
Definition: tnwgdmonmsgs.h:218
uint32_t remote_interest_topics
Number of remote interest topics.
Definition: tnwgdmonmsgs.h:633