NDN-DPDK
High-Speed Named Data Networking Forwarder
Loading...
Searching...
No Matches
entry.h File Reference
#include "../core/common.h"
#include <rte_lcore.h>
#include <rte_ring.h>
#include <urcu-pointer.h>

Go to the source code of this file.

Data Structures

struct  HrlogHeader
 A high resolution log file header. More...
struct  HrlogRingRef
 RCU-protected pointer to hrlog collector queue. More...

Macros

#define HRLOG_HEADER_MAGIC   0x35f0498a
#define HRLOG_HEADER_VERSION   2

Typedefs

typedef enum __rte_packed_begin HrlogAction HrlogAction
 Action identifier in high resolution log.
typedef uint64_t HrlogEntry
 A high resolution log entry.
typedef struct HrlogHeader HrlogHeader
 A high resolution log file header.
typedef struct HrlogRingRef HrlogRingRef
 RCU-protected pointer to hrlog collector queue.

Variables

 HRLOG_OI = 1
 HRLOG_OD = 2
 HRLOG_OC = 4
HrlogRingRef theHrlogRing

Macro Definition Documentation

◆ HRLOG_HEADER_MAGIC

#define HRLOG_HEADER_MAGIC   0x35f0498a

◆ HRLOG_HEADER_VERSION

#define HRLOG_HEADER_VERSION   2

Typedef Documentation

◆ HrlogAction

enum __rte_packed_begin HrlogAction

Action identifier in high resolution log.

◆ HrlogEntry

typedef uint64_t HrlogEntry

A high resolution log entry.

◆ HrlogHeader

typedef struct HrlogHeader HrlogHeader

A high resolution log file header.

◆ HrlogRingRef

typedef struct HrlogRingRef HrlogRingRef

RCU-protected pointer to hrlog collector queue.

Variable Documentation

◆ HRLOG_OC

HRLOG_OC = 4

◆ HRLOG_OD

HRLOG_OD = 2

◆ HRLOG_OI

HRLOG_OI = 1

◆ theHrlogRing

HrlogRingRef theHrlogRing
extern