summaryrefslogtreecommitdiff
path: root/isisd/isis_common.h
diff options
context:
space:
mode:
authorJosh Bailey <joshb@google.com>2012-03-24 08:35:20 -0700
committerAvneesh Sachdev <avneesh@opensourcerouting.org>2012-04-07 13:54:37 -0700
commit3f045a08812525505e165deea99a79447b44506b (patch)
treea5c944b0584e0e5a14908a2ac9476637e7c1d7e6 /isisd/isis_common.h
parent6902c69aa30a73ecd70ef8941518b541ca02b878 (diff)
isisd: add Google's changes to IS-IS
Diffstat (limited to 'isisd/isis_common.h')
-rw-r--r--isisd/isis_common.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/isisd/isis_common.h b/isisd/isis_common.h
index 26338556..d158961b 100644
--- a/isisd/isis_common.h
+++ b/isisd/isis_common.h
@@ -21,6 +21,9 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#ifndef ISIS_COMMON_H
+#define ISIS_COMMON_H
+
/*
* Area Address
*/
@@ -35,6 +38,7 @@ struct isis_passwd
u_char len;
#define ISIS_PASSWD_TYPE_UNUSED 0
#define ISIS_PASSWD_TYPE_CLEARTXT 1
+#define ISIS_PASSWD_TYPE_HMAC_MD5 54
#define ISIS_PASSWD_TYPE_PRIVATE 255
u_char type;
/* Authenticate SNPs? */
@@ -64,11 +68,4 @@ struct nlpids
u_char nlpids[4]; /* FIXME: enough ? */
};
-/*
- * Flags structure for SSN and SRM flags
- */
-struct flags
-{
- int maxindex;
- struct list *free_idcs;
-};
+#endif