summaryrefslogtreecommitdiff
path: root/pimd/pim_nb.h
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@opensourcerouting.org>2022-12-07 10:13:39 -0300
committerRafael Zalamena <rzalamena@opensourcerouting.org>2024-07-29 11:40:53 -0300
commitbd838d8c896140ae43b41bb7f8fcf88a26ec5a0f (patch)
tree72fa3700df1255d5f46ca7fc50eae16e80d9ae7c /pimd/pim_nb.h
parent13126dec147ec7c8f94ca2adb870e5b6646fb3bb (diff)
pimd: add support for MSDP authentication
Implement MSDP MD5 authentication connection support. Implementation details: - Move the MSDP socket creation code to a generic function so it can be parametrized to be used with/without authentication. - The MSDP peer connection will not change when the configuration is set, instead it will only be applied next connection or when `clear ip msdp peer A.B.C.D` is called. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_nb.h')
-rw-r--r--pimd/pim_nb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pimd/pim_nb.h b/pimd/pim_nb.h
index 56153bafba..3c7ab49ab3 100644
--- a/pimd/pim_nb.h
+++ b/pimd/pim_nb.h
@@ -69,6 +69,9 @@ int pim_msdp_peer_sa_filter_in_modify(struct nb_cb_modify_args *args);
int pim_msdp_peer_sa_filter_in_destroy(struct nb_cb_destroy_args *args);
int pim_msdp_peer_sa_filter_out_modify(struct nb_cb_modify_args *args);
int pim_msdp_peer_sa_filter_out_destroy(struct nb_cb_destroy_args *args);
+int pim_msdp_peer_authentication_type_modify(struct nb_cb_modify_args *args);
+int pim_msdp_peer_authentication_key_modify(struct nb_cb_modify_args *args);
+int pim_msdp_peer_authentication_key_destroy(struct nb_cb_destroy_args *args);
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_mlag_create(
struct nb_cb_create_args *args);
int routing_control_plane_protocols_control_plane_protocol_pim_address_family_mlag_destroy(