NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
flow_encrypt.h File Reference
#include <rte_hash.h>
#include "flow_common.h"
Include dependency graph for flow_encrypt.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

doca_error_t add_encrypt_entry (struct encrypt_rule *rule, int rule_id, struct ipsec_security_gw_ports_map **ports, struct ipsec_security_gw_config *app_cfg)
 
doca_error_t add_encrypt_entries (struct ipsec_security_gw_config *app_cfg, struct ipsec_security_gw_ports_map *ports[], uint16_t queue_id, int nb_rules, int rule_offset)
 
doca_error_t ipsec_security_gw_insert_encrypt_rules (struct ipsec_security_gw_ports_map *ports[], struct ipsec_security_gw_config *app_cfg)
 
doca_error_t ipsec_security_gw_create_encrypt_egress (struct ipsec_security_gw_ports_map *ports[], struct ipsec_security_gw_config *app_cfg)
 
doca_error_t handle_unsecured_packets_received (struct rte_mbuf **packet, struct ipsec_security_gw_core_ctx *ctx)
 
doca_error_t bind_encrypt_ids (int nb_rules, struct doca_flow_port *port)
 

Function Documentation

◆ add_encrypt_entries()

doca_error_t add_encrypt_entries ( struct ipsec_security_gw_config app_cfg,
struct ipsec_security_gw_ports_map ports[],
uint16_t  queue_id,
int  nb_rules,
int  rule_offset 
)

Definition at line 1835 of file flow_encrypt.c.

◆ add_encrypt_entry()

doca_error_t add_encrypt_entry ( struct encrypt_rule rule,
int  rule_id,
struct ipsec_security_gw_ports_map **  ports,
struct ipsec_security_gw_config app_cfg 
)

Definition at line 1694 of file flow_encrypt.c.

◆ bind_encrypt_ids()

doca_error_t bind_encrypt_ids ( int  nb_rules,
struct doca_flow_port *  port 
)

Definition at line 1806 of file flow_encrypt.c.

◆ handle_unsecured_packets_received()

doca_error_t handle_unsecured_packets_received ( struct rte_mbuf **  packet,
struct ipsec_security_gw_core_ctx ctx 
)

Definition at line 2409 of file flow_encrypt.c.

◆ ipsec_security_gw_create_encrypt_egress()

doca_error_t ipsec_security_gw_create_encrypt_egress ( struct ipsec_security_gw_ports_map ports[],
struct ipsec_security_gw_config app_cfg 
)

Definition at line 1973 of file flow_encrypt.c.

◆ ipsec_security_gw_insert_encrypt_rules()

doca_error_t ipsec_security_gw_insert_encrypt_rules ( struct ipsec_security_gw_ports_map ports[],
struct ipsec_security_gw_config app_cfg 
)

Definition at line 2046 of file flow_encrypt.c.