aboutsummaryrefslogtreecommitdiffstats
path: root/lapd_sapi.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-01-26 20:48:39 +0000
committerGuy Harris <guy@alum.mit.edu>2004-01-26 20:48:39 +0000
commit1f078d0fff1f2b2e0386ab25d172b75286474288 (patch)
treebdf502cf5a10bebe287c9a59fd4202d04e115e1d /lapd_sapi.h
parent3b1f5f17b36ed16cab82edf51b7b00a4f82dcfff (diff)
Add a dissector table for LAPD SAPIs, and move the #defines for them
into "lapd_sapi.h". Use that to register the Q.931 dissector atop LAPD. From Rolf Fiedler: ISDN TEI management frame support. svn path=/trunk/; revision=9864
Diffstat (limited to 'lapd_sapi.h')
-rw-r--r--lapd_sapi.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/lapd_sapi.h b/lapd_sapi.h
new file mode 100644
index 0000000000..7a401e5f57
--- /dev/null
+++ b/lapd_sapi.h
@@ -0,0 +1,33 @@
+/* lapd_sapi.h
+ * Declarations of LAPD SAPI values.
+ *
+ * $Id: lapd_sapi.h,v 1.1 2004/01/26 20:48:38 guy Exp $
+ *
+ * Ethereal - Network traffic analyzer
+ * By Gerald Combs <gerald@ethereal.com>
+ * Copyright 2004 Gerald Combs
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __LAPD_SAPI_H__
+#define __LAPD_SAPI_H__
+
+#define LAPD_SAPI_Q931 0 /* Q.931 call control procedure */
+#define LAPD_SAPI_PM_Q931 1 /* Packet mode Q.931 call control procedure */
+#define LAPD_SAPI_X25 16 /* X.25 Level 3 procedures */
+#define LAPD_SAPI_L2 63 /* Layer 2 management procedures */
+
+#endif /* lapd_sapi.h */