validators namespace
Functions
-
auto default_interface(prf::
config:: ConfigValue*const value) -> bool - Validates routing default-interface selector (
none|auto|<iface_name>). -
auto ipv4_mode(prf::
config:: ConfigValue*const value) -> bool - Validates host-side interface mode string (
disabled|static|dhcp) for generic host interfaces. -
auto optional_interface_name(prf::
config:: ConfigValue*const value) -> bool - Validates optional interface name used as PARP target interface.
-
auto optional_mac_address(prf::
config:: ConfigValue*const value) -> bool - Validates optional Ethernet MAC string in
aa:bb:cc:dd:ee:ffform. -
auto parp_match(prf::
config:: ConfigValue*const value) -> bool - Validates PARP match policy (
in-range|out-of-range). -
auto parp_mode(prf::
config:: ConfigValue*const value) -> bool - Validates PARP mode (
standard|proxy). -
auto ppp_address_mode(prf::
config:: ConfigValue*const value) -> bool -
auto usb_ipv4_mode(prf::
config:: ConfigValue*const value) -> bool - Validates USB service interface mode string (
disabled|static|dhcp|from-pool).
Function documentation
bool prf:: net:: cfg:: validators:: default_interface(prf:: config:: ConfigValue*const value)
#include <net/routing_config.hpp>
Validates routing default-interface selector (none|auto|<iface_name>).
bool prf:: net:: cfg:: validators:: ipv4_mode(prf:: config:: ConfigValue*const value)
#include <net/interface_config.hpp>
Validates host-side interface mode string (disabled|static|dhcp) for generic host interfaces.
bool prf:: net:: cfg:: validators:: optional_interface_name(prf:: config:: ConfigValue*const value)
#include <net/interface_config.hpp>
Validates optional interface name used as PARP target interface.
bool prf:: net:: cfg:: validators:: optional_mac_address(prf:: config:: ConfigValue*const value)
#include <net/interface_config.hpp>
Validates optional Ethernet MAC string in aa:bb:cc:dd:ee:ff form.
bool prf:: net:: cfg:: validators:: parp_match(prf:: config:: ConfigValue*const value)
#include <net/interface_config.hpp>
Validates PARP match policy (in-range|out-of-range).
bool prf:: net:: cfg:: validators:: parp_mode(prf:: config:: ConfigValue*const value)
#include <net/interface_config.hpp>
Validates PARP mode (standard|proxy).
bool prf:: net:: cfg:: validators:: ppp_address_mode(prf:: config:: ConfigValue*const value)
#include <net/interface_config.hpp>
bool prf:: net:: cfg:: validators:: usb_ipv4_mode(prf:: config:: ConfigValue*const value)
#include <net/interface_config.hpp>
Validates USB service interface mode string (disabled|static|dhcp|from-pool).