summaryrefslogtreecommitdiffstats
path: root/bfdd/bfd.h
diff options
context:
space:
mode:
Diffstat (limited to 'bfdd/bfd.h')
-rw-r--r--bfdd/bfd.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/bfdd/bfd.h b/bfdd/bfd.h
index 5451e66c2..69529aba1 100644
--- a/bfdd/bfd.h
+++ b/bfdd/bfd.h
@@ -32,6 +32,11 @@ DECLARE_MGROUP(BFDD);
DECLARE_MTYPE(BFDD_CONTROL);
DECLARE_MTYPE(BFDD_NOTIFICATION);
+/* bfd Authentication Type. */
+#define BFD_AUTH_NULL 0
+#define BFD_AUTH_SIMPLE 1
+#define BFD_AUTH_CRYPTOGRAPHIC 2
+
struct bfd_timers {
uint32_t desired_min_tx;
uint32_t required_min_rx;
@@ -61,6 +66,15 @@ struct bfd_pkt {
};
/*
+ * Format of authentification.
+ */
+struct bfd_auth {
+ uint8_t type;
+ uint8_t length;
+};
+
+
+/*
* Format of Echo packet.
*/
struct bfd_echo_pkt {