aboutsummaryrefslogtreecommitdiffstats
path: root/packet-isis-hello.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-02-09 23:44:38 +0000
committerGuy Harris <guy@alum.mit.edu>2002-02-09 23:44:38 +0000
commit1112b4b50678984275087798628defd9acde9654 (patch)
treea05844cabf49fadab4c85ff101403a7d829266f1 /packet-isis-hello.h
parent089a32b1ebc6cb890ba274378d3330da9bb3c964 (diff)
Support for the new restart TLV, from Hannes Gredler.
svn path=/trunk/; revision=4712
Diffstat (limited to 'packet-isis-hello.h')
-rw-r--r--packet-isis-hello.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/packet-isis-hello.h b/packet-isis-hello.h
index 25edc4172b..58ca243d52 100644
--- a/packet-isis-hello.h
+++ b/packet-isis-hello.h
@@ -1,7 +1,7 @@
/* packet-isis-hello.h
* Declares for hello handling inside isis.
*
- * $Id: packet-isis-hello.h,v 1.6 2001/12/20 07:33:21 guy Exp $
+ * $Id: packet-isis-hello.h,v 1.7 2002/02/09 23:44:38 guy Exp $
* Stuart Stanley <stuarts@mxmail.net>
*
* Ethereal - Network traffic analyzer
@@ -47,6 +47,7 @@
#define ISIS_CLV_L1H_PADDING 8
#define ISIS_CLV_L1H_NLPID 129
#define ISIS_CLV_L1H_IP_INTERFACE_ADDR 132
+#define ISIS_CLV_L1H_RESTART 211
#define ISIS_CLV_L1H_MT 229
#define ISIS_CLV_L1H_IPv6_INTERFACE_ADDR 232
@@ -65,6 +66,7 @@
#define ISIS_CLV_L2H_PADDING 8
#define ISIS_CLV_L2H_NLPID 129
#define ISIS_CLV_L2H_IP_INTERFACE_ADDR 132
+#define ISIS_CLV_L2H_RESTART 211
#define ISIS_CLV_L2H_MT 229
#define ISIS_CLV_L2H_IPv6_INTERFACE_ADDR 232
/*
@@ -81,6 +83,7 @@
#define ISIS_CLV_PTP_PADDING 8
#define ISIS_CLV_PTP_NLPID 129
#define ISIS_CLV_PTP_IP_INTERFACE_ADDR 132
+#define ISIS_CLV_PTP_RESTART 211
#define ISIS_CLV_PTP_MT 229
#define ISIS_CLV_PTP_IPv6_INTERFACE_ADDR 232
#define ISIS_CLV_PTP_ADJ 240
@@ -92,6 +95,13 @@
#define ISIS_CLV_PTP_AUTHENTICATION 133
/*
+ * misc. bittest macros
+ */
+
+#define ISIS_MASK_RESTART_RR(x) ((x)&0x1)
+#define ISIS_MASK_RESTART_RA(x) ((x)&0x2)
+
+/*
* Published API functions. NOTE, this are "local" API functions and
* are only valid from with isis decodes.
*/