summaryrefslogtreecommitdiff
path: root/ospfd/ospf_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'ospfd/ospf_interface.h')
-rw-r--r--ospfd/ospf_interface.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ospfd/ospf_interface.h b/ospfd/ospf_interface.h
index 47b70f8039..e2290a881c 100644
--- a/ospfd/ospf_interface.h
+++ b/ospfd/ospf_interface.h
@@ -10,6 +10,7 @@
#include "lib/bfd.h"
#include "qobj.h"
#include "hook.h"
+#include "keychain.h"
#include "ospfd/ospf_packet.h"
#include "ospfd/ospf_spf.h"
@@ -92,6 +93,8 @@ struct ospf_if_params {
auth_crypt); /* List of Auth cryptographic data. */
DECLARE_IF_PARAM(int, auth_type); /* OSPF authentication type */
+ DECLARE_IF_PARAM(char*, keychain_name); /* OSPF HMAC Cryptographic Authentication*/
+
/* Other, non-configuration state */
uint32_t network_lsa_seqnum; /* Network LSA seqnum */
@@ -279,6 +282,10 @@ struct ospf_interface {
uint32_t full_nbrs;
+ /* Buffered values for keychain and key */
+ struct keychain *keychain;
+ struct key *key;
+
QOBJ_FIELDS;
};
DECLARE_QOBJ_TYPE(ospf_interface);