| rte_ipsec_sad.h(3) | Library Functions Manual | rte_ipsec_sad.h(3) |
rte_ipsec_sad.h
#include <stdint.h>
#include <rte_ip6.h>
struct rte_ipsec_sad_conf
#define RTE_IPSEC_SAD_NAMESIZE 64
#define RTE_IPSEC_SAD_FLAG_IPV6 0x1
#define RTE_IPSEC_SAD_FLAG_RW_CONCURRENCY 0x2
enum
int rte_ipsec_sad_add (struct rte_ipsec_sad *sad, const
union rte_ipsec_sad_key *key, int key_type, void *sa)
int rte_ipsec_sad_del (struct rte_ipsec_sad *sad, const union
rte_ipsec_sad_key *key, int key_type)
struct rte_ipsec_sad * rte_ipsec_sad_find_existing (const char *name)
void rte_ipsec_sad_destroy (struct rte_ipsec_sad *sad)
int rte_ipsec_sad_lookup (const struct rte_ipsec_sad *sad, const union
rte_ipsec_sad_key *keys[], void *sa[], uint32_t n)
RTE IPsec security association database (SAD) support. Contains helper functions to lookup and maintain SAD
Definition in file rte_ipsec_sad.h.
Max number of characters in SAD name.
Definition at line 52 of file rte_ipsec_sad.h.
Flag to create SAD with ipv6 dip and sip addresses
Definition at line 54 of file rte_ipsec_sad.h.
Flag to support reader writer concurrency
Definition at line 56 of file rte_ipsec_sad.h.
Type of key
Definition at line 27 of file rte_ipsec_sad.h.
Add a rule into the SAD. Could be safely called with concurrent lookups if RTE_IPSEC_SAD_FLAG_RW_CONCURRENCY flag was configured on creation time. While with this flag multi-reader - one-writer model Is MT safe, multi-writer model is not and required extra synchronisation.
Parameters
Returns
Delete a rule from the SAD. Could be safely called with concurrent lookups if RTE_IPSEC_SAD_FLAG_RW_CONCURRENCY flag was configured on creation time. While with this flag multi-reader - one-writer model Is MT safe, multi-writer model is not and required extra synchronisation.
Parameters
Returns
Find an existing SAD object and return a pointer to it.
Parameters
Returns
Destroy SAD object.
Parameters
Lookup multiple keys in the SAD.
Parameters
Returns
Generated automatically by Doxygen for DPDK from the source code.
| Version 24.11.3 | DPDK |