#include <netaddress.h>
Definition at line 495 of file netaddress.h.
◆ CSubNet() [1/4]
◆ CSubNet() [2/4]
CSubNet::CSubNet |
( |
const CNetAddr & |
addr, |
|
|
uint8_t |
mask |
|
) |
| |
◆ CSubNet() [3/4]
◆ CSubNet() [4/4]
CSubNet::CSubNet |
( |
const CNetAddr & |
addr | ) |
|
|
explicit |
◆ IsValid()
bool CSubNet::IsValid |
( |
| ) |
const |
◆ Match()
bool CSubNet::Match |
( |
const CNetAddr & |
addr | ) |
const |
- Returns
- True if this subnet is valid, the specified address is valid, and the specified address belongs in this subnet.
Definition at line 1201 of file netaddress.cpp.
◆ SanityCheck()
bool CSubNet::SanityCheck |
( |
| ) |
const |
|
protected |
◆ SERIALIZE_METHODS()
CSubNet::SERIALIZE_METHODS |
( |
CSubNet |
, |
|
|
obj |
|
|
) |
| |
|
inline |
◆ ToString()
std::string CSubNet::ToString |
( |
| ) |
const |
◆ operator!=
◆ operator<
◆ operator==
◆ netmask
uint8_t CSubNet::netmask[16] |
|
protected |
Netmask, in network byte order.
Definition at line 500 of file netaddress.h.
◆ network
◆ valid
Is this value valid? (only used to signal parse errors)
Definition at line 502 of file netaddress.h.
The documentation for this class was generated from the following files: