Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
ipUtils.hpp File Reference
#include "core/types.hpp"
#include <cstdint>
#include <optional>
#include <tuple>
Include dependency graph for ipUtils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  iv
 
namespace  iv::core
 
namespace  iv::core::ipUtils
 

Functions

std::optional< std::tuple< uint8_t, uint8_t, uint8_t, uint8_t > > iv::core::ipUtils::extractIPComponents (const iv::types::ipAddress &ipAddress)
 
bool iv::core::ipUtils::isValidIP (const iv::types::ipAddress &ipAddress)
 
std::optional< std::string > iv::core::ipUtils::getNetworkAddress (const iv::types::ipAddress &ipAddress, uint8_t subnetMask)