DPDK  17.11.10
Data Fields
rte_flow_error Struct Reference

#include <rte_flow.h>

Data Fields

enum rte_flow_error_type type
const void * cause
const char * message

Detailed Description

Verbose error structure definition.

This object is normally allocated by applications and set by PMDs, the message points to a constant string which does not need to be freed by the application, however its pointer can be considered valid only as long as its associated DPDK port remains configured. Closing the underlying device or unloading the PMD invalidates it.

Both cause and message may be NULL regardless of the error type.

examples/flow_classify/flow_classify.c, examples/flow_filtering/flow_blocks.c, examples/flow_filtering/main.c, and examples/ipsec-secgw/ipsec.c.

Definition at line 1201 of file rte_flow.h.

Field Documentation

Cause field and error types.

Definition at line 1202 of file rte_flow.h.

const void* cause

Object responsible for the error.

Definition at line 1203 of file rte_flow.h.

const char* message

Human-readable error message.


Definition at line 1204 of file rte_flow.h.

The documentation for this struct was generated from the following file: