netmap_buf_malloc
uint32_t *p = netmap_buf_malloc(nmd, &pos, head);
void *vaddr = netmap_buf_malloc(nmd, &pos, &index);