![]() |
FD.io VPP
v19.08.3-2-gbabecb413
Vector Packet Processing
|
Include dependency graph for esp_encrypt.c:Go to the source code of this file.
Data Structures | |
| struct | esp_encrypt_trace_t |
| struct | esp_no_crypto_trace_t |
Macros | |
| #define | foreach_esp_encrypt_next |
| #define | foreach_esp_encrypt_error |
Enumerations | |
| enum | esp_encrypt_next_t { ESP_ENCRYPT_N_NEXT, ESP_ENCRYPT_N_NEXT } |
| enum | esp_encrypt_error_t { ESP_ENCRYPT_N_ERROR, ESP_ENCRYPT_N_ERROR } |
| enum | { ESP_NO_CRYPTO_NEXT_DROP, ESP_NO_CRYPTO_N_NEXT } |
| enum | { ESP_NO_CRYPTO_ERROR_RX_PKTS } |
Variables | |
| static char * | esp_encrypt_error_strings [] |
| vlib_node_registration_t | esp4_encrypt_node |
| (constructor) VLIB_REGISTER_NODE (esp4_encrypt_node) More... | |
| vlib_node_registration_t | esp6_encrypt_node |
| (constructor) VLIB_REGISTER_NODE (esp6_encrypt_node) More... | |
| vlib_node_registration_t | esp4_encrypt_tun_node |
| (constructor) VLIB_REGISTER_NODE (esp4_encrypt_tun_node) More... | |
| vlib_node_registration_t | esp6_encrypt_tun_node |
| (constructor) VLIB_REGISTER_NODE (esp6_encrypt_tun_node) More... | |
| static char * | esp_no_crypto_error_strings [] |
| vlib_node_registration_t | esp4_no_crypto_tun_node |
| (constructor) VLIB_REGISTER_NODE (esp4_no_crypto_tun_node) More... | |
| vlib_node_registration_t | esp6_no_crypto_tun_node |
| (constructor) VLIB_REGISTER_NODE (esp6_no_crypto_tun_node) More... | |
| #define foreach_esp_encrypt_error |
Definition at line 42 of file esp_encrypt.c.
| #define foreach_esp_encrypt_next |
Definition at line 28 of file esp_encrypt.c.
| anonymous enum |
| Enumerator | |
|---|---|
| ESP_NO_CRYPTO_NEXT_DROP | |
| ESP_NO_CRYPTO_N_NEXT | |
Definition at line 706 of file esp_encrypt.c.
| anonymous enum |
| Enumerator | |
|---|---|
| ESP_NO_CRYPTO_ERROR_RX_PKTS | |
Definition at line 712 of file esp_encrypt.c.
| enum esp_encrypt_error_t |
| Enumerator | |
|---|---|
| ESP_ENCRYPT_N_ERROR | |
| ESP_ENCRYPT_N_ERROR | |
Definition at line 49 of file esp_encrypt.c.
| enum esp_encrypt_next_t |
| Enumerator | |
|---|---|
| ESP_ENCRYPT_N_NEXT | |
| ESP_ENCRYPT_N_NEXT | |
Definition at line 35 of file esp_encrypt.c.
| VLIB_NODE_FN() esp4_encrypt_node | ( | vlib_main_t * | vm, |
| vlib_node_runtime_t * | node, | ||
| vlib_frame_t * | from_frame | ||
| ) |
| VLIB_NODE_FN() esp4_encrypt_tun_node | ( | vlib_main_t * | vm, |
| vlib_node_runtime_t * | node, | ||
| vlib_frame_t * | from_frame | ||
| ) |
| VLIB_NODE_FN() esp4_no_crypto_tun_node | ( | vlib_main_t * | vm, |
| vlib_node_runtime_t * | node, | ||
| vlib_frame_t * | from_frame | ||
| ) |
| VLIB_NODE_FN() esp6_encrypt_node | ( | vlib_main_t * | vm, |
| vlib_node_runtime_t * | node, | ||
| vlib_frame_t * | from_frame | ||
| ) |
| VLIB_NODE_FN() esp6_encrypt_tun_node | ( | vlib_main_t * | vm, |
| vlib_node_runtime_t * | node, | ||
| vlib_frame_t * | from_frame | ||
| ) |
| VLIB_NODE_FN() esp6_no_crypto_tun_node | ( | vlib_main_t * | vm, |
| vlib_node_runtime_t * | node, | ||
| vlib_frame_t * | from_frame | ||
| ) |
| static_always_inline u8* esp_add_footer_and_icv | ( | vlib_buffer_t * | b, |
| u8 | block_size, | ||
| u8 | icv_sz, | ||
| u16 * | next, | ||
| vlib_node_runtime_t * | node, | ||
| u16 | buffer_data_size | ||
| ) |
Definition at line 94 of file esp_encrypt.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 240 of file esp_encrypt.c.
Here is the call graph for this function:
Here is the caller graph for this function:| static_always_inline void esp_fill_udp_hdr | ( | ipsec_sa_t * | sa, |
| udp_header_t * | udp, | ||
| u16 | len | ||
| ) |
| static_always_inline u8 esp_get_ip6_hdr_len | ( | ip6_header_t * | ip6 | ) |
Definition at line 180 of file esp_encrypt.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 722 of file esp_encrypt.c.
Here is the call graph for this function:
Here is the caller graph for this function:| static_always_inline void esp_process_ops | ( | vlib_main_t * | vm, |
| vlib_node_runtime_t * | node, | ||
| vnet_crypto_op_t * | ops, | ||
| vlib_buffer_t * | b[], | ||
| u16 * | nexts | ||
| ) |
Definition at line 205 of file esp_encrypt.c.
Here is the call graph for this function:
Here is the caller graph for this function:| static_always_inline void esp_update_ip4_hdr | ( | ip4_header_t * | ip4, |
| u16 | len, | ||
| int | is_transport, | ||
| int | is_udp | ||
| ) |
Definition at line 129 of file esp_encrypt.c.
Here is the call graph for this function:
Here is the caller graph for this function:| static_always_inline u8 ext_hdr_is_pre_esp | ( | u8 | nexthdr | ) |
| STATIC_ASSERT_SIZEOF | ( | esp_gcm_nonce_t | , |
| 12 | |||
| ) |
| VNET_FEATURE_INIT | ( | esp4_encrypt_tun_feat_node | , |
| static | |||
| ) |
| VNET_FEATURE_INIT | ( | esp6o4_encrypt_tun_feat_node | , |
| static | |||
| ) |
| VNET_FEATURE_INIT | ( | esp4_ethernet_encrypt_tun_feat_node | , |
| static | |||
| ) |
| VNET_FEATURE_INIT | ( | esp6_encrypt_tun_feat_node | , |
| static | |||
| ) |
| VNET_FEATURE_INIT | ( | esp4o6_encrypt_tun_feat_node | , |
| static | |||
| ) |
| VNET_FEATURE_INIT | ( | esp4_no_crypto_tun_feat_node | , |
| static | |||
| ) |
| VNET_FEATURE_INIT | ( | esp6_no_crypto_tun_feat_node | , |
| static | |||
| ) |
| vlib_node_registration_t esp4_encrypt_node |
(constructor) VLIB_REGISTER_NODE (esp4_encrypt_node)
Definition at line 561 of file esp_encrypt.c.
| vlib_node_registration_t esp4_encrypt_tun_node |
(constructor) VLIB_REGISTER_NODE (esp4_encrypt_tun_node)
Definition at line 613 of file esp_encrypt.c.
| vlib_node_registration_t esp4_no_crypto_tun_node |
(constructor) VLIB_REGISTER_NODE (esp4_no_crypto_tun_node)
Definition at line 771 of file esp_encrypt.c.
| vlib_node_registration_t esp6_encrypt_node |
(constructor) VLIB_REGISTER_NODE (esp6_encrypt_node)
Definition at line 587 of file esp_encrypt.c.
| vlib_node_registration_t esp6_encrypt_tun_node |
(constructor) VLIB_REGISTER_NODE (esp6_encrypt_tun_node)
Definition at line 658 of file esp_encrypt.c.
| vlib_node_registration_t esp6_no_crypto_tun_node |
(constructor) VLIB_REGISTER_NODE (esp6_no_crypto_tun_node)
Definition at line 799 of file esp_encrypt.c.
|
static |
Definition at line 57 of file esp_encrypt.c.
|
static |
Definition at line 717 of file esp_encrypt.c.