/* Mallocs a block of memory and initializes an mbuf pool to use it. The specified block_size indicates the size of an mbuf acquired from the pool if it contains a pkthdr. */
int mem_malloc_mbufpkt_pool(struct os_mempool *mempool, struct os_mbuf_pool *mbuf_pool, int num_blocks, int block_size, char *name, void **out_buf)
/* Mallocs a block of memory and initializes an mbuf pool to use it. The specified block_size indicates the size of an mbuf acquired from the pool if it contains a pkthdr. */
int mem_malloc_mbufpkt_pool(struct os_mempool *mempool, struct os_mbuf_pool *mbuf_pool, int num_blocks, int block_size, char *name, void **out_buf)
{
    int rc;
    rc = mem_malloc_mbuf_pool(mempool, mbuf_pool, num_blocks,
                              block_size + sizeof (struct os_mbuf_pkthdr),
                              name, out_buf);
    return rc;
}