TraveSim Adapters
0.1
Protobuf adapters for TraveSim project
|
Configurers utilitary funtions. More...
Go to the source code of this file.
Namespaces | |
travesim | |
Macros | |
#define | IPV4_NUM_OF_BYTES 4U |
Functions | |
bool | travesim::ipv4_string_to_uint (std::string ip_string, uint *ip_uint) |
Converts a IPv4 in a string to a array of unsigned integers, where the most significant byte of the IP address is in the position 0 and the last significant in the position 3. More... | |
IPValidation | travesim::check_valid_ip (std::string ip, std::string min_ip, std::string max_ip) |
Checks if a IP is valid and is in the specified range. More... | |
std::string | travesim::get_error_msg (IPValidation error) |
Get the error msg based on the validation type. More... | |
Configurers utilitary funtions.
Definition in file configurers_utils.cpp.
#define IPV4_NUM_OF_BYTES 4U |
Definition at line 20 of file configurers_utils.cpp.