| rte_ipsec.h(3) | Library Functions Manual | rte_ipsec.h(3) |
rte_ipsec.h
#include <rte_ipsec_sa.h>
#include <rte_mbuf.h>
#include <rte_ipsec_group.h>
struct rte_ipsec_state
struct rte_ipsec_sa_pkt_func
struct rte_ipsec_session
int rte_ipsec_session_prepare (struct
rte_ipsec_session *ss)
static uint16_t rte_ipsec_pkt_crypto_prepare (const struct
rte_ipsec_session *ss, struct rte_mbuf *mb[], struct
rte_crypto_op *cop[], uint16_t num)
static __rte_experimental uint16_t
rte_ipsec_pkt_crypto_prepare_stateless (const struct
rte_ipsec_session *ss, struct rte_mbuf *mb[], struct
rte_crypto_op *cop[], uint16_t num, struct rte_ipsec_state
*state)
static __rte_experimental uint16_t rte_ipsec_pkt_cpu_prepare_stateless
(const struct rte_ipsec_session *ss, struct rte_mbuf *mb[],
uint16_t num, struct rte_ipsec_state *state)
static uint16_t rte_ipsec_pkt_process (const struct
rte_ipsec_session *ss, struct rte_mbuf *mb[], uint16_t num)
int rte_ipsec_telemetry_sa_add (const struct rte_ipsec_sa *sa)
void rte_ipsec_telemetry_sa_del (const struct rte_ipsec_sa *sa)
RTE IPsec support.
librte_ipsec provides a framework for data-path IPsec protocol processing (ESP/AH).
Definition in file rte_ipsec.h.
Checks that inside given rte_ipsec_session crypto/security fields are filled correctly and setups function pointers based on these values. Expects that all fields except IPsec processing function pointers (pkt_func) will be filled correctly by caller.
Parameters
Returns
For input mbufs and given IPsec session prepare crypto ops that can be enqueued into the cryptodev associated with given session. expects that for each input packet:
Parameters
Returns
Definition at line 138 of file rte_ipsec.h.
Same as rte_ipsec_pkt_crypto_prepare, but processing is done based on IPsec state provided by the 'state' parameter. Internal IPsec state won't be updated when this API is called.
For input mbufs and given IPsec session prepare crypto ops that can be enqueued into the cryptodev associated with given session. expects that for each input packet:
Parameters
Returns
Definition at line 180 of file rte_ipsec.h.
Same as rte_ipsec_pkt_crypto_prepare_stateless, but processing is done in synchronous mode.
Parameters
Returns
Definition at line 205 of file rte_ipsec.h.
Finalise processing of packets after crypto-dev finished with them or process packets that are subjects to inline IPsec offload. Expects that for each input packet:
Parameters
Returns
Definition at line 235 of file rte_ipsec.h.
Enable per SA telemetry for a specific SA. Note that this function is not thread safe
Parameters
Returns
Disable per SA telemetry for a specific SA. Note that this function is not thread safe
Parameters
Generated automatically by Doxygen for DPDK from the source code.
| Version 24.11.3 | DPDK |