diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-04-17 00:32:43 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-04-17 00:32:43 +0000 |
commit | 0ba3e2b233c719f12627694f562c4974f8ecbfe2 (patch) | |
tree | beec035095e135d72c17c3cdee265524a117611f /packet-osi.c | |
parent | 83a275737e3a5c00e3b81ef2f6e91d89bb559368 (diff) |
Register a "llc.dsap" dissector table for 802.2 LLC, and have dissectors
for protocols that run inside 802.2 LLC register themselves with it
using "dissector_add()".
Make various dissectors static if they can be, and remove from header
files declarations of those dissectors.
svn path=/trunk/; revision=1872
Diffstat (limited to 'packet-osi.c')
-rw-r--r-- | packet-osi.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/packet-osi.c b/packet-osi.c index c0b1f73deb..29c55544f3 100644 --- a/packet-osi.c +++ b/packet-osi.c @@ -2,7 +2,7 @@ * Routines for ISO/OSI network and transport protocol packet disassembly * Main entrance point and common functions * - * $Id: packet-osi.c,v 1.31 2000/04/16 09:10:52 deniel Exp $ + * $Id: packet-osi.c,v 1.32 2000/04/17 00:32:41 guy Exp $ * Laurent Deniel <deniel@worldnet.fr> * Ralf Schneider <Ralf.Schneider@t-online.de> * @@ -40,7 +40,7 @@ #include <ctype.h> #include <glib.h> #include "packet.h" -#include "packet-h1.h" +#include "llcsaps.h" #include "nlpid.h" #include "packet-osi.h" #include "packet-clnp.h" @@ -259,3 +259,9 @@ void dissect_osi(const u_char *pd, int offset, frame_data *fd, break; } } /* dissect_osi */ + +void +proto_reg_handoff_osi(void) +{ + dissector_add("llc.dsap", SAP_OSINL, dissect_osi); +} |