WSF
wsf::comm::IPv4 Struct Reference

#include <WsfCommAddress.hpp>

Public Types

using ByteArray = std::array<unsigned char, 4>

Static Public Attributes

static constexpr size_t cBIT_SIZE = 32
static constexpr size_t cNUM_FIELDS = 4
static constexpr const char * cDELIMITER = "."
static constexpr std::uint32_t cMASK_MAX = 0xFFFFFFFF
static constexpr std::uint32_t cMASK_FIELD = 0xFF
static constexpr const char * cNULL_ADDRESS = "0.0.0.0"
static constexpr size_t cDEFAULT_CIDR = 24
static constexpr const char * cCIDR_DELIMITER = "/"

Detailed Description

Constant values for IPV4 based addressing. If future expansion to IPV6 is required, then we can make this a base class with implementations of either address type. The methods should be identical with the provision of the correct constants provided below.

Member Typedef Documentation

◆ ByteArray

using wsf::comm::IPv4::ByteArray = std::array<unsigned char, 4>

Member Data Documentation

◆ cBIT_SIZE

◆ cCIDR_DELIMITER

const char* wsf::comm::IPv4::cCIDR_DELIMITER = "/"
staticconstexpr

◆ cDEFAULT_CIDR

size_t wsf::comm::IPv4::cDEFAULT_CIDR = 24
staticconstexpr

◆ cDELIMITER

const char* wsf::comm::IPv4::cDELIMITER = "."
staticconstexpr

◆ cMASK_FIELD

std::uint32_t wsf::comm::IPv4::cMASK_FIELD = 0xFF
staticconstexpr

◆ cMASK_MAX

std::uint32_t wsf::comm::IPv4::cMASK_MAX = 0xFFFFFFFF
staticconstexpr

◆ cNULL_ADDRESS

const char* wsf::comm::IPv4::cNULL_ADDRESS = "0.0.0.0"
staticconstexpr

◆ cNUM_FIELDS


The documentation for this struct was generated from the following file:
Copyrights Multiple, All Rights Reserved