DPDK  19.02.0
Data Fields
rte_eth_event_ipsec_desc Struct Reference

#include <rte_ethdev.h>

Data Fields

enum rte_eth_event_ipsec_subtype subtype
uint64_t metadata

Detailed Description

Descriptor for RTE_ETH_EVENT_IPSEC event. Used by eth dev to send extra information of the IPsec offload event.

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

Definition at line 2591 of file rte_ethdev.h.

Field Documentation

Type of RTE_ETH_EVENT_IPSEC_* event

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

Definition at line 2592 of file rte_ethdev.h.

uint64_t metadata

Event specific metadata

                      For the following events, *userdata* registered
                      with the *rte_security_session* would be returned
                      as metadata,

                      - @ref RTE_ETH_EVENT_IPSEC_ESN_OVERFLOW
                      - @ref RTE_ETH_EVENT_IPSEC_SA_TIME_EXPIRY
                      - @ref RTE_ETH_EVENT_IPSEC_SA_BYTE_EXPIRY

                      @see struct rte_security_session_conf
Examples:
examples/ipsec-secgw/ipsec-secgw.c.

Definition at line 2595 of file rte_ethdev.h.


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