MT Core (C++)
Core library for replacing C++ standard in project usage
|
A masked IP version 4 address. More...
#include <ip.hpp>
Public Member Functions | |
bool | is_valid () const |
Checks if a masked IP address is valid (i.e. | |
bool | operator== (const SubnetV4 &o) const |
bool | operator!= (const SubnetV4 &o) const |
Public Attributes | |
IPv4 | ip = {} |
u8 | mask_id = 0 |
|
inlinenodiscard |
Checks if a masked IP address is valid (i.e.
the subnet id is correct and the mask is applied)
Definition at line 244 of file ip.hpp.
|
inline |
|
inline |