|
NDN-DPDK
High-Speed Named Data Networking Forwarder
|
Enumerations | |
| enum | { DebugString_MaxCapacity = 100000 , DebugString_StructSize } |
Functions | |
| int | Logger_Dpdk_Init (FILE *output) |
| RTE_LOG_REGISTER (RTE_LOGTYPE_SPDK, SPDK, DEBUG) | |
| void | Logger_Spdk (int level, const char *restrict file, const int line, const char *restrict func, const char *restrict format, va_list args) |
| void | Logger_HexDump (const uint8_t *b, size_t count) |
| Print buffer in hexadecimal to stderr. More... | |
| DebugString * | DebugString_Get (size_t capacity) |
| Obtain a buffer for populating a debug string. More... | |
| DebugString* DebugString_Get | ( | size_t | capacity | ) |
Obtain a buffer for populating a debug string.
| capacity | buffer capacity; panics on oversized request. |
| int Logger_Dpdk_Init | ( | FILE * | output | ) |
| void Logger_HexDump | ( | const uint8_t * | b, |
| size_t | count | ||
| ) |
Print buffer in hexadecimal to stderr.
This is only used during debugging, and should not appear in committed code.
| void Logger_Spdk | ( | int | level, |
| const char *restrict | file, | ||
| const int | line, | ||
| const char *restrict | func, | ||
| const char *restrict | format, | ||
| va_list | args | ||
| ) |
| RTE_LOG_REGISTER | ( | RTE_LOGTYPE_SPDK | , |
| SPDK | , | ||
| DEBUG | |||
| ) |