#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <doca_compat.h>
#include <doca_error.h>
Go to the source code of this file.
◆ doca_flow_definitions_add_field()
| DOCA_EXPERIMENTAL doca_error_t doca_flow_definitions_add_field |
( |
struct doca_flow_definitions * |
defs, |
|
|
const char * |
field_opcode_str, |
|
|
uint32_t |
field_offset, |
|
|
uint32_t |
field_length |
|
) |
| |
Add a field to the definitions object.
- Parameters
-
| defs | Pointer to a definitions object. |
| field_opcode_str | Pointer to field opcode string. |
| field_offset | Field offset. |
| field_length | Field length. Return DOCA_SUCCESS on success, doca error otherwise. |
◆ doca_flow_definitions_cfg_create()
Creates a definitions configuration object.
- Parameters
-
| [out] | defs_cfg | Pointer to a definitions configuration. |
Return DOCA_SUCCESS on success, doca error otherwise.
◆ doca_flow_definitions_cfg_destroy()
Destroys a definitions configuration object.
- Parameters
-
| [in] | defs_cfg | Pointer to a definitions configuration. |
Return DOCA_SUCCESS on success, doca error otherwise.
◆ doca_flow_definitions_create()
| DOCA_EXPERIMENTAL doca_error_t doca_flow_definitions_create |
( |
struct doca_flow_definitions_cfg * |
defs_cfg, |
|
|
struct doca_flow_definitions ** |
defs |
|
) |
| |
Creates a definitions object.
- Parameters
-
| [in] | defs_cfg | Pointer to a definitions configuration. |
| [out] | defs | Pointer to a definitions object pointer. Return DOCA_SUCCESS on success, doca error otherwise. |
◆ doca_flow_definitions_destroy()
| DOCA_EXPERIMENTAL void doca_flow_definitions_destroy |
( |
struct doca_flow_definitions * |
defs | ) |
|
Destroys a definitions object.
- Parameters
-
| defs | Pointer to a definitions object. |