34 #define MMAP_HUGEPAGE_DEFAULT MMAP_HUGEPAGE_4KB
CNDP_API void * mmap_addr(mmap_t *mm)
CNDP_API void mmap_set_default(mmap_type_t htype)
CNDP_API int mmap_free(mmap_t *mmap)
CNDP_API mmap_type_t mmap_type_by_name(const char *htype)
CNDP_API mmap_t * mmap_alloc(uint32_t bufcnt, uint32_t bufsz, mmap_type_t hugepage)
CNDP_API void mmap_set_default_by_name(const char *name)
CNDP_API size_t mmap_size(mmap_t *mm, uint32_t *bufcnt, uint32_t *bufsz)
CNDP_API const char * mmap_name_by_type(mmap_type_t typ)
CNDP_API void * mmap_addr_at_offset(mmap_t *mm, size_t offset)