5 #ifndef _RTE_MBUF_DYN_H_ 6 #define _RTE_MBUF_DYN_H_ 80 #define RTE_MBUF_DYN_NAMESIZE 64 206 unsigned int bitnum);
227 #define RTE_MBUF_DYNFIELD(m, offset, type) ((type)((uintptr_t)(m) + (offset))) 250 #define RTE_MBUF_DYNFIELD_METADATA_NAME "rte_flow_dynfield_metadata" 251 #define RTE_MBUF_DYNFLAG_METADATA_NAME "rte_flow_dynflag_metadata" 262 #define RTE_MBUF_DYNFIELD_TIMESTAMP_NAME "rte_dynfield_timestamp" 263 typedef uint64_t rte_mbuf_timestamp_t;
268 #define RTE_MBUF_DYNFLAG_RX_TIMESTAMP_NAME "rte_dynflag_rx_timestamp" 301 #define RTE_MBUF_DYNFLAG_TX_TIMESTAMP_NAME "rte_dynflag_tx_timestamp" 327 #define RTE_MBUF_DYNFIELD_IP_REASSEMBLY_NAME "rte_dynfield_ip_reassembly" 328 #define RTE_MBUF_DYNFLAG_IP_REASSEMBLY_INCOMPLETE_NAME "rte_dynflag_ip_reassembly_incomplete"
int rte_mbuf_dyn_rx_timestamp_register(int *field_offset, uint64_t *rx_flag)
int rte_mbuf_dynflag_lookup(const char *name, struct rte_mbuf_dynflag *params)
int rte_mbuf_dynfield_register(const struct rte_mbuf_dynfield *params)
char name[RTE_MBUF_DYN_NAMESIZE]
int rte_mbuf_dynfield_register_offset(const struct rte_mbuf_dynfield *params, size_t offset)
void rte_mbuf_dyn_dump(FILE *out)
int rte_mbuf_dyn_tx_timestamp_register(int *field_offset, uint64_t *tx_flag)
#define RTE_MBUF_DYN_NAMESIZE
int rte_mbuf_dynfield_lookup(const char *name, struct rte_mbuf_dynfield *params)
int rte_mbuf_dynflag_register_bitnum(const struct rte_mbuf_dynflag *params, unsigned int bitnum)
int rte_mbuf_dynflag_register(const struct rte_mbuf_dynflag *params)