prf::net::detail namespace

Functions

auto select_runtime_config(const std::string_view iface_name, const std::span<const EthernetLikeConfigSnapshot> eth_like_cfgs, const size_t eth_like_cfg_count) -> Ipv4NetifConfig
Returns config snapshot matched by interface name; unmatched name returns empty config.
auto should_apply_runtime_config(const bool last_cfg_initialized, const Ipv4NetifConfig& last_cfg, const Ipv4NetifConfig& next_cfg) -> bool
Returns true when runtime config should be (re)applied to backend.