npr::cfg::validators namespace

Functions

auto callsign(prf::config::ConfigValue*const value) -> bool
Validates callsign suffix content and maximum length.
auto master_pool(prf::config::ConfigValue*const value) -> bool
Validates NPR master pool section name used for server-side allocation.
auto modulation_id(prf::config::ConfigValue*const value) -> bool
Validates modulation profile id against known NPR profile id set.
auto role(prf::config::ConfigValue*const value) -> bool
Validates NPR runtime role string (slave|master).
auto slave_requested_ip_size(prf::config::ConfigValue*const value) -> bool
Validates requested NPR slave IP pool size and normalizes N>=2.