Updated probufs with more comments per submit requirement.

This commit is contained in:
Clive Blackledge 2026-01-19 15:12:50 -08:00
parent e2daf8d914
commit 4fbac7db2b
3 changed files with 34 additions and 3 deletions

View file

@ -154,7 +154,7 @@ message AdminMessage {
PAXCOUNTER_CONFIG = 12;
/*
* TODO: REPLACE
* Traffic Management module config
*/
STATUSMESSAGE_CONFIG = 13;

View file

@ -906,7 +906,7 @@ message ModuleConfig {
StatusMessageConfig statusmessage = 14;
/*
* TODO: REPLACE
* Traffic management module config for mesh network optimization
*/
TrafficManagementConfig traffic_management = 15;
}

View file

@ -451,16 +451,47 @@ message LocalStats {
}
/*
* Traffic management statistics
* Traffic management statistics for mesh network optimization
*/
message TrafficManagementStats {
/*
* Total number of packets inspected by traffic management
*/
uint32 packets_inspected = 1;
/*
* Number of position packets dropped due to deduplication
*/
uint32 position_dedup_drops = 2;
/*
* Number of NodeInfo requests answered from cache
*/
uint32 nodeinfo_cache_hits = 3;
/*
* Number of packets dropped due to rate limiting
*/
uint32 rate_limit_drops = 4;
/*
* Number of unknown/undecryptable packets dropped
*/
uint32 unknown_packet_drops = 5;
/*
* Number of packets with hop_limit exhausted for local-only broadcast
*/
uint32 hop_exhausted_packets = 6;
/*
* Number of packets that would have been dropped in dry-run mode
*/
uint32 dry_run_would_drop = 7;
/*
* Number of times router hop preservation was applied
*/
uint32 router_hops_preserved = 8;
}