diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-07-29 05:47:07 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-07-29 05:47:07 +0000 |
commit | 7bd6c15378e920f89c76cd3beeb7e8bcf6a164e3 (patch) | |
tree | 3e8a46fe6f7bb69698edb1187655e445bbfda37c /packet-llc.c | |
parent | 6f1d3a3be830da628246f7cea77fe9c491470d17 (diff) | |
download | wireshark-7bd6c15378e920f89c76cd3beeb7e8bcf6a164e3.tar.gz wireshark-7bd6c15378e920f89c76cd3beeb7e8bcf6a164e3.tar.bz2 wireshark-7bd6c15378e920f89c76cd3beeb7e8bcf6a164e3.zip |
Made the protocol (but not the fields) use the new proto_tree routine,
allowing users to filter on the existence of these protocols. I also
added packet-clip.c to the Nmake makefile.
svn path=/trunk/; revision=402
Diffstat (limited to 'packet-llc.c')
-rw-r--r-- | packet-llc.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/packet-llc.c b/packet-llc.c index edbdf2c227..afd9bc20cc 100644 --- a/packet-llc.c +++ b/packet-llc.c @@ -2,7 +2,7 @@ * Routines for IEEE 802.2 LLC layer * Gilbert Ramirez <gramirez@tivoli.com> * - * $Id: packet-llc.c,v 1.16 1999/07/15 15:32:42 gram Exp $ + * $Id: packet-llc.c,v 1.17 1999/07/29 05:46:58 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@unicom.net> @@ -35,12 +35,12 @@ #include <glib.h> #include "packet.h" -int proto_llc = -1; -int hf_llc_dsap = -1; -int hf_llc_ssap = -1; -int hf_llc_ctrl = -1; -int hf_llc_type = -1; -int hf_llc_oui = -1; +static int proto_llc = -1; +static int hf_llc_dsap = -1; +static int hf_llc_ssap = -1; +static int hf_llc_ctrl = -1; +static int hf_llc_type = -1; +static int hf_llc_oui = -1; typedef void (capture_func_t)(const u_char *, int, guint32, packet_counts *); typedef void (dissect_func_t)(const u_char *, int, frame_data *, proto_tree *); |