aboutsummaryrefslogtreecommitdiffstats
path: root/nest/password.h
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2015-10-05 12:14:50 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2015-10-05 13:18:10 +0200
commit8465dccb06afffed171dc1e224e4eb5f67cc3326 (patch)
tree9e5209b312ba8b7eabd0f5a22aea4a0888cd8c9f /nest/password.h
parentc7b99a932cab1873042e356143ab71755920157a (diff)
downloadbird-8465dccb06afffed171dc1e224e4eb5f67cc3326.tar.gz
Major RIP redesign
The new RIP implementation fixes plenty of old bugs and also adds support for many new features: ECMP support, link state support, BFD support, configurable split horizon and more. Most options are now per-interface.
Diffstat (limited to 'nest/password.h')
-rw-r--r--nest/password.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/nest/password.h b/nest/password.h
index cd120d70..1d9de53c 100644
--- a/nest/password.h
+++ b/nest/password.h
@@ -11,8 +11,6 @@
#define PASSWORD_H
#include "lib/timer.h"
-#define MD5_AUTH_SIZE 16
-
struct password_item {
node n;
char *password;
@@ -24,6 +22,7 @@ extern struct password_item *last_password_item;
struct password_item *password_find(list *l, int first_fit);
struct password_item *password_find_by_id(list *l, int id);
+struct password_item *password_find_by_value(list *l, char *pass, uint size);
static inline int password_verify(struct password_item *p1, char *p2, uint size)
{