From 2d49830c7dabd3104770957724d61f8fa6998235 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Thu, 25 Feb 2021 08:38:58 +0000 Subject: ipsec: ipsec.h tidy up Type: refactor - remove the extern declaration of the nodes. keep the use of them to the files that declare them - remove duplicate declaration of ipsec_set_async_mode - remove unsued ipsec_add_feature Signed-off-by: Neale Ranns Change-Id: I6ce7bb4517b508a8f02b11f3bc819e1c5d539c02 --- src/vnet/ipsec/ipsec.h | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/vnet/ipsec/ipsec.h') diff --git a/src/vnet/ipsec/ipsec.h b/src/vnet/ipsec/ipsec.h index c370fb1aed5..7e897686c66 100644 --- a/src/vnet/ipsec/ipsec.h +++ b/src/vnet/ipsec/ipsec.h @@ -224,19 +224,6 @@ clib_error_t *ipsec_add_del_sa_sess_cb (ipsec_main_t * im, u32 sa_index, clib_error_t *ipsec_check_support_cb (ipsec_main_t * im, ipsec_sa_t * sa); -extern vlib_node_registration_t ah4_encrypt_node; -extern vlib_node_registration_t ah4_decrypt_node; -extern vlib_node_registration_t ah6_encrypt_node; -extern vlib_node_registration_t ah6_decrypt_node; -extern vlib_node_registration_t esp4_encrypt_node; -extern vlib_node_registration_t esp4_decrypt_node; -extern vlib_node_registration_t esp6_encrypt_node; -extern vlib_node_registration_t esp6_decrypt_node; -extern vlib_node_registration_t esp4_encrypt_tun_node; -extern vlib_node_registration_t esp6_encrypt_tun_node; -extern vlib_node_registration_t esp_mpls_encrypt_tun_node; -extern vlib_node_registration_t esp4_decrypt_tun_node; -extern vlib_node_registration_t esp6_decrypt_tun_node; extern vlib_node_registration_t ipsec4_tun_input_node; extern vlib_node_registration_t ipsec6_tun_input_node; @@ -293,10 +280,6 @@ ipsec_sa_get (u32 sa_index) return (pool_elt_at_index (ipsec_main.sad, sa_index)); } -void ipsec_add_feature (const char *arc_name, const char *node_name, - u32 * out_feature_index); - -void ipsec_set_async_mode (u32 is_enabled); extern void ipsec_register_udp_port (u16 udp_port); extern void ipsec_unregister_udp_port (u16 udp_port); -- cgit 1.2.3-korg