diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-11-17 21:58:33 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-11-17 21:58:33 +0000 |
commit | 4fddc1f3284d735e439f1b30b5c351994a8b0e6d (patch) | |
tree | bf2778e6e4a39d17911244ab0e2e5a1e10db2c1c /packet-ncp.h | |
parent | cd478752a11caccf21882feb1bf5b00e96095922 (diff) | |
download | wireshark-4fddc1f3284d735e439f1b30b5c351994a8b0e6d.tar.gz |
Provide a general mechanism by which dissectors can register "init"
routines, which are called before a dissection pass is made over all the
packets in a capture - the "init" routine would clear out any state
information that needs to be initialized before such a dissection pass.
Make the NCP, SMB, AFS, and ONC RPC dissectors register their "init"
routines with that mechanism, have the code that reads in a capture file
call the routine that calls all registered "init" routines rather than
calling a wired-in set of "init" routines, and also have the code that
runs a filtering or colorizing pass over all the packets call that
routine, as a filtering or colorizing pass is a dissection pass.
Have the ONC RPC "init" routine zero out the table of RPC calls, so that
it completely erases any state from the previous dissection pass (so
that, for example, if you run a filtering pass, it doesn't mark any
non-duplicate packets as duplicates because it remembers them from the
previous pass).
svn path=/trunk/; revision=1050
Diffstat (limited to 'packet-ncp.h')
-rw-r--r-- | packet-ncp.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/packet-ncp.h b/packet-ncp.h index 837f7bf6a0..ba19899a40 100644 --- a/packet-ncp.h +++ b/packet-ncp.h @@ -2,7 +2,7 @@ * Routines for NetWare Core Protocol * Gilbert Ramirez <gram@verdict.uthscsa.edu> * - * $Id: packet-ncp.h,v 1.5 1999/03/20 04:38:57 gram Exp $ + * $Id: packet-ncp.h,v 1.6 1999/11/17 21:58:33 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@unicom.net> @@ -26,6 +26,3 @@ extern guint32 nw_server_address; - -void ncp_init_protocol(void); - |