diff options
author | Pavel TvrdĂk <pawel.tvrdik@gmail.com> | 2016-01-26 16:45:13 +0100 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2016-11-02 16:23:53 +0100 |
commit | 56cb3bedc2634a44ea41587566c2889f5b5f5b5b (patch) | |
tree | fe3eca634f35b4a3b7e8449915f75a3b42e70ea1 /nest/password.h | |
parent | de2a27e255b6ec834d11c005909b28a150c7c0db (diff) |
Nest: Add support for MAC algorithms in grammar
Diffstat (limited to 'nest/password.h')
-rw-r--r-- | nest/password.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/nest/password.h b/nest/password.h index a45261e6..7392389b 100644 --- a/nest/password.h +++ b/nest/password.h @@ -9,12 +9,15 @@ #ifndef PASSWORD_H #define PASSWORD_H + #include "lib/timer.h" struct password_item { node n; - char *password; - int id; + char *password; /* Key data, null terminated */ + uint length; /* Key length, without null */ + uint id; /* Key ID */ + uint alg; /* MAC algorithm */ bird_clock_t accfrom, accto, genfrom, gento; }; |