Namespaces | |
ethernet | |
scheduler | |
signal | |
Data Structures | |
class | CanonizeProvider |
a CanonizeProvider provides FaceUri canonization functionality for a group of schemes More... | |
class | CanonizeProviderTableInitializer |
class | Digest |
provides a stateful 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 | Logging |
controls the logging facility 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 | NotificationSubscriberBase |
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... | |
using | CanonizeProviders = boost::mpl::vector< UdpCanonizeProvider *, TcpCanonizeProvider *, EtherCanonizeProvider *, UdpDevCanonizeProvider * > |
using | CanonizeProviderTable = std::map< std::string, shared_ptr< CanonizeProvider >> |
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 Field , typename Tag , typename Packet > | |
static void | addFieldFromTag (lp::Packet &lpPacket, const Packet &packet) |
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 |
static const LogLevel | INITIAL_DEFAULT_LEVEL = LogLevel::NONE |
using ndn::util::CanonizeProviders = typedef boost::mpl::vector<UdpCanonizeProvider*, TcpCanonizeProvider*, EtherCanonizeProvider*, UdpDevCanonizeProvider*> |
Definition at line 489 of file face-uri.cpp.
using ndn::util::CanonizeProviderTable = typedef std::map<std::string, shared_ptr<CanonizeProvider>> |
Definition at line 490 of file face-uri.cpp.
typedef Digest<CryptoPP::SHA256> ndn::util::Sha256 |
A digest using SHA256 as the hash function.
Definition at line 200 of file digest.hpp.
|
strong |
indicates the severity level of a log message
Definition at line 40 of file logger.hpp.
|
static |
Definition at line 222 of file dummy-client-face.cpp.
|
static |
Definition at line 520 of file face-uri.cpp.
std::ostream & ndn::util::operator<< | ( | std::ostream & | os, |
LogLevel | level | ||
) |
output LogLevel as string
std::invalid_argument | unknown level |
Definition at line 35 of file logger.cpp.
std::ostream & ndn::util::operator<< | ( | std::ostream & | os, |
const LoggerTimestamp & | |||
) |
std::ostream & ndn::util::operator<< | ( | std::ostream & | os, |
Digest< Hash > & | digest | ||
) |
Definition at line 170 of file digest.cpp.
template std::ostream& ndn::util::operator<< | ( | std::ostream & | os, |
Digest< CryptoPP::SHA256 > & | digest | ||
) |
std::ostream & ndn::util::operator<< | ( | std::ostream & | os, |
const FaceUri & | uri | ||
) |
Definition at line 202 of file face-uri.cpp.
LogLevel ndn::util::parseLogLevel | ( | const std::string & | s | ) |
parse LogLevel from string
std::invalid_argument | unknown level name |
Definition at line 60 of file logger.cpp.
|
static |
Definition at line 32 of file logging.cpp.
const size_t ndn::util::NETLINK_BUFFER_SIZE = 4096 |
Definition at line 32 of file network-monitor-impl-rtnl.hpp.