| NVIDIA DOCA SDK | Data Center on a Chip Framework Documentation |
#include <time.h>#include <rte_ethdev.h>#include <doca_log.h>#include <doca_dpdk.h>#include <doca_ctx.h>#include <doca_pe.h>#include <samples/common.h>#include "ipsec_ctx.h"#include "flow_common.h"
Go to the source code of this file.
Macros | |
| #define | SLEEP_IN_NANOS (10 * 1000) /* Sample the task every 10 microseconds */ |
Functions | |
| DOCA_LOG_REGISTER (IPSEC_SECURITY_GW::ipsec_ctx) | |
| doca_error_t | find_port_action_type_switch (int port_id, int *idx) |
| static doca_error_t | compare_device_name (struct doca_devinfo *dev_info, const char *iface_name) |
| static doca_error_t | compare_device_pci_addr (struct doca_devinfo *dev_info, const char *pci_addr) |
| doca_error_t | find_port_action_type_vnf (const struct ipsec_security_gw_config *app_cfg, int port_id, struct doca_dev **connected_dev, int *idx) |
| doca_error_t | ipsec_security_gw_close_devices (const struct ipsec_security_gw_config *app_cfg) |
| static doca_error_t | open_doca_device (struct ipsec_security_gw_dev_info *info, tasks_check func) |
| doca_error_t | ipsec_security_gw_init_devices (struct ipsec_security_gw_config *app_cfg) |
| #define SLEEP_IN_NANOS (10 * 1000) /* Sample the task every 10 microseconds */ |
Definition at line 41 of file ipsec_ctx.c.
|
static |
Definition at line 70 of file ipsec_ctx.c.
|
static |
Definition at line 100 of file ipsec_ctx.c.
| DOCA_LOG_REGISTER | ( | IPSEC_SECURITY_GW::ipsec_ctx | ) |
| doca_error_t find_port_action_type_switch | ( | int | port_id, |
| int * | idx | ||
| ) |
Definition at line 43 of file ipsec_ctx.c.
| doca_error_t find_port_action_type_vnf | ( | const struct ipsec_security_gw_config * | app_cfg, |
| int | port_id, | ||
| struct doca_dev ** | connected_dev, | ||
| int * | idx | ||
| ) |
Definition at line 117 of file ipsec_ctx.c.
| doca_error_t ipsec_security_gw_close_devices | ( | const struct ipsec_security_gw_config * | app_cfg | ) |
Definition at line 170 of file ipsec_ctx.c.
| doca_error_t ipsec_security_gw_init_devices | ( | struct ipsec_security_gw_config * | app_cfg | ) |
Definition at line 221 of file ipsec_ctx.c.
|
static |
Definition at line 198 of file ipsec_ctx.c.