CNDP 22.08.0
Loading...
Searching...
No Matches
mmap_private.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright (c) 2020-2022 Intel Corporation
3 */
4
5#ifndef _MMAP_PRIVATE_H_
6#define _MMAP_PRIVATE_H_
7
8#include <stddef.h> // for size_t
9#include <stdint.h> // for uint64_t, uint8_t
10
11#include <cne_mmap.h>
12
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
24struct mmap_data {
25 uint32_t bufcnt;
26 uint32_t bufsz;
27 size_t sz;
28 void *addr;
29 mmap_type_t typ;
30 unsigned align;
31};
32
33#ifdef __cplusplus
34}
35#endif
36
37#endif /* _MMAP_PRIVATE_H_ */
mmap_type_t
Definition cne_mmap.h:27