23 #ifndef _RTE_PCAPNG_H_
24 #define _RTE_PCAPNG_H_
27 #include <sys/types.h>
28 #include <rte_compat.h>
36 typedef struct rte_pcapng rte_pcapng_t;
60 const char *osname,
const char *hardware,
61 const char *appname,
const char *comment);
78 RTE_PCAPNG_DIRECTION_UNKNOWN = 0,
79 RTE_PCAPNG_DIRECTION_IN = 1,
80 RTE_PCAPNG_DIRECTION_OUT = 2,
113 uint32_t length, uint64_t timestamp,
154 struct rte_mbuf *pkts[], uint16_t nb_pkts);
186 uint64_t start_time, uint64_t end_time,
187 uint64_t ifrecv, uint64_t ifdrop);