|
| | DOCA_LOG_REGISTER (IPSEC_SECURITY_GW::flow_encrypt) |
| |
| static void | create_transport_encap (struct encrypt_rule *rule, bool sw_sn_inc, uint8_t *reformat_data, uint16_t *reformat_data_sz) |
| |
| static void | create_udp_transport_encap (struct encrypt_rule *rule, bool sw_sn_inc, uint8_t *reformat_data, uint16_t *reformat_data_sz) |
| |
| static void | create_ipv4_tunnel_encap (struct encrypt_rule *rule, bool sw_sn_inc, struct doca_flow_header_eth *eth_header, uint8_t *reformat_data, uint16_t *reformat_data_sz) |
| |
| static void | create_ipv6_tunnel_encap (struct encrypt_rule *rule, bool sw_sn_inc, struct doca_flow_header_eth *eth_header, uint8_t *reformat_data, uint16_t *reformat_data_sz) |
| |
| static doca_error_t | create_egress_ip_classifier (struct doca_flow_port *port, bool is_root, bool debug_mode, struct encrypt_pipes *encrypt_pipes, struct ipsec_security_gw_config *app_cfg) |
| |
| static doca_error_t | add_vxlan_encap_pipe_entry (struct doca_flow_port *port, struct security_gateway_pipe_info *pipe, struct ipsec_security_gw_config *app_cfg) |
| |
| static doca_error_t | create_vxlan_encap_pipe (struct doca_flow_port *port, int port_id, struct ipsec_security_gw_config *app_cfg) |
| |
| static doca_error_t | create_marker_encap_pipe (struct doca_flow_port *port, uint16_t port_id, struct ipsec_security_gw_config *app_cfg) |
| |
| static doca_error_t | create_ipsec_encrypt_pipe (struct doca_flow_port *port, uint16_t port_id, int expected_entries, struct ipsec_security_gw_config *app_cfg, enum doca_flow_l3_meta l3_type, struct security_gateway_pipe_info *pipe_info) |
| |
| static doca_error_t | create_ipsec_src_ip6_pipe (struct doca_flow_port *port, bool debug_mode, int expected_entries, enum doca_flow_l4_type_ext protocol_type, struct doca_flow_pipe *hairpin_pipe, struct security_gateway_pipe_info *pipe_info) |
| |
| static doca_error_t | create_ipsec_hairpin_pipe (struct doca_flow_port *port, bool debug_mode, int expected_entries, enum doca_flow_l4_type_ext protocol_type, enum doca_flow_l3_type l3_type, struct doca_flow_fwd *fwd, struct security_gateway_pipe_info *pipe_info) |
| |
| static doca_error_t | create_control_pipe (struct doca_flow_port *port, bool is_root, bool debug_mode, struct security_gateway_pipe_info *pipe_info) |
| |
| static bool | is_perf_bw (struct ipsec_security_gw_config *app_cfg) |
| |
| static doca_error_t | add_control_pipe_entries (struct security_gateway_pipe_info *control_pipe, struct encrypt_pipes *pipes, bool perf_bw, bool debug_mode, bool is_root) |
| |
| static void | create_ipsec_encrypt_shared_object_transport (struct doca_flow_crypto_encap_action *crypto_cfg, struct encrypt_rule *rule) |
| |
| static void | create_ipsec_encrypt_shared_object_transport_over_udp (struct doca_flow_crypto_encap_action *crypto_cfg, struct encrypt_rule *rule) |
| |
| static void | create_ipsec_encrypt_shared_object_tunnel (struct doca_flow_crypto_encap_action *crypto_cfg, struct encrypt_rule *rule, struct doca_flow_header_eth *eth_header) |
| |
| static doca_error_t | create_ipsec_encrypt_shared_object (struct ipsec_security_gw_sa_attrs *app_sa_attrs, struct ipsec_security_gw_config *app_cfg, uint32_t ipsec_id) |
| |
| static void | get_pipe_for_rule (struct encrypt_rule *rule, struct encrypt_pipes *pipes, bool src_ip6, struct security_gateway_pipe_info **pipe) |
| |
| static doca_error_t | add_src_ip6_entry (struct doca_flow_port *port, struct encrypt_rule *rule, struct encrypt_pipes *pipes, struct entries_status *hairpin_status, uint32_t src_ip_id, uint16_t queue_id, bool debug_mode, int i) |
| |
| static doca_error_t | add_five_tuple_match_entry (struct doca_flow_port *port, struct encrypt_rule *rule, struct ipsec_security_gw_config *app_cfg, int nb_rules, int i, uint16_t queue_id, struct entries_status *hairpin_status) |
| |
| 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 | bind_encrypt_ids (int nb_rules, struct doca_flow_port *port) |
| |
| 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_create_encrypt_egress (struct ipsec_security_gw_ports_map *ports[], struct ipsec_security_gw_config *app_cfg) |
| |
| doca_error_t | ipsec_security_gw_insert_encrypt_rules (struct ipsec_security_gw_ports_map *ports[], struct ipsec_security_gw_config *app_cfg) |
| |
| static doca_error_t | prepare_packet_tunnel (struct rte_mbuf **m, struct ipsec_security_gw_core_ctx *ctx, uint32_t rule_idx) |
| |
| static doca_error_t | prepare_packet_transport (struct rte_mbuf **m, struct ipsec_security_gw_core_ctx *ctx, uint32_t rule_idx, bool udp_transport) |
| |
| doca_error_t | handle_unsecured_packets_received (struct rte_mbuf **packet, struct ipsec_security_gw_core_ctx *ctx) |
| |