Namespaces | |
ethernet | |
scheduler | |
signal | |
Classes | |
class | CanonizeProvider |
a CanonizeProvider provides FaceUri canonization functionality for a group of schemes More... | |
class | CanonizeProviderTableInitializer |
class | Digest |
provides a digest calculation More... | |
class | DummyClientFace |
a client-side face for unit testing More... | |
class | EtherCanonizeProvider |
class | FaceUri |
represents the underlying protocol and address used by a Face More... | |
class | IndentedStream |
Output to stream with specified indent or prefix. More... | |
class | InMemoryStorage |
Represents in-memory storage. More... | |
class | InMemoryStorageEntry |
Represents an in-memory storage entry. More... | |
class | InMemoryStorageFifo |
Provides in-memory storage employing FIFO replacement policy, which is first in first out. More... | |
class | InMemoryStorageLfu |
Provides an in-memory storage with Least Frequently Used (LFU) replacement policy. More... | |
class | InMemoryStorageLru |
Provides in-memory storage employing LRU replacement policy, of which the least recently used entry will be evict first. More... | |
class | InMemoryStoragePersistent |
Provides application cache with persistent storage, of which no replacement policy will be employed. More... | |
class | IpHostCanonizeProvider |
class | Logger |
represents a logger in logging facility More... | |
struct | LoggerTimestamp |
a tag that writes a timestamp upon stream output More... | |
class | NetworkMonitor |
Network state change monitor. More... | |
class | NotificationStream |
provides a publisher of Notification Stream More... | |
class | NotificationSubscriber |
provides a subscriber of Notification Stream More... | |
class | SegmentFetcher |
Utility class to fetch latest version of the segmented data. More... | |
class | Sqlite3Statement |
wrap an SQLite3 prepared statement More... | |
class | TcpCanonizeProvider |
class | UdpCanonizeProvider |
class | UdpDevCanonizeProvider |
Typedefs | |
typedef Digest< CryptoPP::SHA256 > | Sha256 |
A digest using SHA256 as the hash function. More... | |
typedef boost::mpl::vector< UdpCanonizeProvider *, TcpCanonizeProvider *, EtherCanonizeProvider *, UdpDevCanonizeProvider *> | CanonizeProviders |
typedef std::map< std::string, shared_ptr< CanonizeProvider > > | CanonizeProviderTable |
Enumerations | |
enum | LogLevel { LogLevel::FATAL = -1, LogLevel::NONE = 0, LogLevel::ERROR = 1, LogLevel::WARN = 2, LogLevel::INFO = 3, LogLevel::DEBUG = 4, LogLevel::TRACE = 5, LogLevel::ALL = 255 } |
indicates the severity level of a log message More... | |
Functions | |
template<typename Hash > | |
std::ostream & | operator<< (std::ostream &os, Digest< Hash > &digest) |
template std::ostream & | operator<< (std::ostream &os, Digest< CryptoPP::SHA256 > &digest) |
template<typename Packet , typename Field , typename Tag > | |
static void | addFieldFromTag (lp::Packet &lpPacket, const Packet &packet) |
template<> | |
void | DummyClientFace::receive< lp::Nack > (const lp::Nack &nack) |
std::ostream & | operator<< (std::ostream &os, const FaceUri &uri) |
static const CanonizeProvider * | getCanonizeProvider (const std::string &scheme) |
std::ostream & | operator<< (std::ostream &os, LogLevel level) |
output LogLevel as string More... | |
LogLevel | parseLogLevel (const std::string &s) |
parse LogLevel from string More... | |
std::ostream & | operator<< (std::ostream &os, const LoggerTimestamp &) |
write a timestamp to os More... | |
Variables | |
const size_t | NETLINK_BUFFER_SIZE = 4096 |
typedef Digest<CryptoPP::SHA256> ndn::util::Sha256 |
A digest using SHA256 as the hash function.
Definition at line 211 of file digest.hpp.
typedef boost::mpl::vector< UdpCanonizeProvider*, TcpCanonizeProvider*, EtherCanonizeProvider*, UdpDevCanonizeProvider* > ndn::util::CanonizeProviders |
Definition at line 499 of file face-uri.cpp.
typedef std::map<std::string, shared_ptr<CanonizeProvider> > ndn::util::CanonizeProviderTable |
Definition at line 500 of file face-uri.cpp.
|
strong |
indicates the severity level of a log message
Definition at line 40 of file logger.hpp.
std::ostream & ndn::util::operator<< | ( | std::ostream & | os, |
Digest< Hash > & | digest | ||
) |
Definition at line 160 of file digest.cpp.
References ndn::printHex().
template std::ostream& ndn::util::operator<< | ( | std::ostream & | os, |
Digest< CryptoPP::SHA256 > & | digest | ||
) |
|
static |
Definition at line 222 of file dummy-client-face.cpp.
References ndn::lp::Packet::add().
void ndn::util::DummyClientFace::receive< lp::Nack > | ( | const lp::Nack & | nack | ) |
Definition at line 251 of file dummy-client-face.cpp.
References ndn::lp::Packet::add(), ndn::Face::doProcessEvents(), and ndn::util::DummyClientFace::receive().
std::ostream & ndn::util::operator<< | ( | std::ostream & | os, |
const FaceUri & | uri | ||
) |
Definition at line 203 of file face-uri.cpp.
|
static |
Definition at line 530 of file face-uri.cpp.
Referenced by ndn::util::FaceUri::canCanonize(), ndn::util::FaceUri::canonize(), and ndn::util::FaceUri::isCanonical().
std::ostream & ndn::util::operator<< | ( | std::ostream & | os, |
LogLevel | level | ||
) |
LogLevel ndn::util::parseLogLevel | ( | const std::string & | s | ) |
std::ostream& ndn::util::operator<< | ( | std::ostream & | os, |
const LoggerTimestamp & | |||
) |
write a timestamp to os
const size_t ndn::util::NETLINK_BUFFER_SIZE = 4096 |
Definition at line 32 of file network-monitor-impl-rtnl.hpp.