network: add udp toggles to control rebroadcast

Add two new toggles to the Network section:

- udp_rebroadcast: Rebroadcasting mesh packets via UDP

- udp_skip_lora: Skip LoRa for locally generated packets via UDP

This enables us to implement #9999 without relying on roles.

Signed-off-by: Sergio Lopez <slp@redhat.com>
This commit is contained in:
Sergio Lopez 2026-04-01 11:43:03 +02:00
parent cb1f89372a
commit 00ccd4d71b

View file

@ -592,6 +592,16 @@ message Config {
*/
UDP_BROADCAST = 0x0001;
}
/*
* Enable rebroadcasting mesh packets via UDP
*/
bool udp_rebroadcast = 12;
/*
* Enable skipping LoRa for locally generated packets sent via UDP
*/
bool udp_skip_lora = 13;
}
/*