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-eth.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-eth.c')
-rw-r--r-- | packet-eth.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/packet-eth.c b/packet-eth.c index af24e3bb88..3a06b413cc 100644 --- a/packet-eth.c +++ b/packet-eth.c @@ -1,7 +1,7 @@ /* packet-eth.c * Routines for ethernet packet disassembly * - * $Id: packet-eth.c,v 1.12 1999/07/15 15:32:40 gram Exp $ + * $Id: packet-eth.c,v 1.13 1999/07/29 05:46:54 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -39,13 +39,13 @@ extern const value_string etype_vals[]; /* protocols and header fields */ -int proto_eth = -1; -int hf_eth_dst = -1; -int hf_eth_dst_vendor = -1; -int hf_eth_src = -1; -int hf_eth_src_vendor = -1; -int hf_eth_len = -1; -int hf_eth_type = -1; +static int proto_eth = -1; +static int hf_eth_dst = -1; +static int hf_eth_dst_vendor = -1; +static int hf_eth_src = -1; +static int hf_eth_src_vendor = -1; +static int hf_eth_len = -1; +static int hf_eth_type = -1; #define IEEE_802_3_MAX_LEN 1500 |