DPDK 25.03.0-rc0
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
examples/flow_filtering/flow_skeleton.c, examples/flow_filtering/main.c, examples/flow_filtering/snippets/snippet_match_ipv4.c, examples/flow_filtering/snippets/snippet_match_mpls.c, examples/ipsec-secgw/flow.c, examples/ipsec-secgw/ipsec-secgw.c, examples/ipsec-secgw/ipsec.c, and examples/l2fwd-macsec/main.c.

Definition at line 4378 of file rte_flow.h.

Field Documentation

◆ type

Cause field and error types.

Examples
examples/ipsec-secgw/ipsec-secgw.c.

Definition at line 4379 of file rte_flow.h.

◆ cause

const void* cause

Object responsible for the error.

Definition at line 4380 of file rte_flow.h.

◆ message

const char* message

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