23 #ifndef _RTE_PCAPNG_H_
24 #define _RTE_PCAPNG_H_
27 #include <sys/types.h>
28 #include <rte_compat.h>
38 typedef struct rte_pcapng rte_pcapng_t;
62 const char *osname,
const char *hardware,
63 const char *appname,
const char *comment);
80 RTE_PCAPNG_DIRECTION_UNKNOWN = 0,
81 RTE_PCAPNG_DIRECTION_IN = 1,
82 RTE_PCAPNG_DIRECTION_OUT = 2,
115 uint32_t length, uint64_t timestamp,
156 struct rte_mbuf *pkts[], uint16_t nb_pkts);
188 uint64_t start_time, uint64_t end_time,
189 uint64_t ifrecv, uint64_t ifdrop);