5#ifndef _RTE_MBUF_DYN_H_
6#define _RTE_MBUF_DYN_H_
73#include <rte_compat.h>
82#define RTE_MBUF_DYN_NAMESIZE 64
208 unsigned int bitnum);
229#define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset)))
252#define RTE_MBUF_DYNFIELD_METADATA_NAME "rte_flow_dynfield_metadata"
253#define RTE_MBUF_DYNFLAG_METADATA_NAME "rte_flow_dynflag_metadata"
264#define RTE_MBUF_DYNFIELD_TIMESTAMP_NAME "rte_dynfield_timestamp"
265typedef uint64_t rte_mbuf_timestamp_t;
270#define RTE_MBUF_DYNFLAG_RX_TIMESTAMP_NAME "rte_dynflag_rx_timestamp"
303#define RTE_MBUF_DYNFLAG_TX_TIMESTAMP_NAME "rte_dynflag_tx_timestamp"
int rte_mbuf_dyn_rx_timestamp_register(int *field_offset, uint64_t *rx_flag)
int rte_mbuf_dynfield_register(const struct rte_mbuf_dynfield *params)
int rte_mbuf_dynfield_register_offset(const struct rte_mbuf_dynfield *params, size_t offset)
#define RTE_MBUF_DYN_NAMESIZE
int rte_mbuf_dynflag_lookup(const char *name, struct rte_mbuf_dynflag *params)
void rte_mbuf_dyn_dump(FILE *out)
int rte_mbuf_dyn_tx_timestamp_register(int *field_offset, uint64_t *tx_flag)
int rte_mbuf_dynflag_register(const struct rte_mbuf_dynflag *params)
int rte_mbuf_dynflag_register_bitnum(const struct rte_mbuf_dynflag *params, unsigned int bitnum)
int rte_mbuf_dynfield_lookup(const char *name, struct rte_mbuf_dynfield *params)
char name[RTE_MBUF_DYN_NAMESIZE]
char name[RTE_MBUF_DYN_NAMESIZE]