#include <network.hpp>
Public Member Functions | |
Network () | |
Network (const boost::asio::ip::address &minAddress, const boost::asio::ip::address &maxAddress) | |
bool | doesContain (const boost::asio::ip::address &address) const |
bool | operator== (const Network &rhs) const |
bool | operator!= (const Network &rhs) const |
Static Public Member Functions | |
static const Network & | getMaxRangeV4 () |
static const Network & | getMaxRangeV6 () |
static bool | isValidCidr (const std::string &cidr) |
Friends | |
std::ostream & | operator<< (std::ostream &os, const Network &network) |
std::istream & | operator>> (std::istream &is, Network &network) |
Definition at line 33 of file network.hpp.
|
default |
nfd::Network::Network | ( | const boost::asio::ip::address & | minAddress, |
const boost::asio::ip::address & | maxAddress | ||
) |
Definition at line 35 of file network.cpp.
|
inline |
Definition at line 42 of file network.hpp.
References getMaxRangeV4(), getMaxRangeV6(), and isValidCidr().
Referenced by nfd::doesMatchRule().
|
static |
Definition at line 43 of file network.cpp.
Referenced by doesContain().
|
static |
Definition at line 51 of file network.cpp.
Referenced by doesContain().
|
static |
Definition at line 61 of file network.cpp.
Referenced by doesContain(), and nfd::parseList().
|
inline |
Definition at line 57 of file network.hpp.
|
inline |
Definition at line 63 of file network.hpp.
References nfd::fw::network, operator<<, and operator>>.
|
friend |
Definition at line 93 of file network.cpp.
Referenced by operator!=().
|
friend |
Definition at line 99 of file network.cpp.
Referenced by operator!=().