diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-12-10 02:49:31 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-12-10 02:49:31 +0000 |
commit | 9711eebb5b374fa6cec2d19a0147c2d6a9b53908 (patch) | |
tree | 451e95a651248460b50b4a02eb155ba07ae0b03d /epan/to_str.c | |
parent | 92d90f4f28aecff5b11e1b9712e6eea2bf50c8e4 (diff) | |
download | wireshark-9711eebb5b374fa6cec2d19a0147c2d6a9b53908.tar.gz wireshark-9711eebb5b374fa6cec2d19a0147c2d6a9b53908.tar.bz2 wireshark-9711eebb5b374fa6cec2d19a0147c2d6a9b53908.zip |
Move the handling of the Network_Header for full FC frames into the FC
dissector, and have the LLC dissector register itself as the dissector
for IP-over-FC frames, as the payload is just an LLC 802.2 header plus
payload for the protocol specified by that header.
In the dissector for IP-over-FC as a Wiretap link-layer type, have its
top-level item be a protocol item rather than a text item, and don't
register it as the dissector for IP-over-FC frames from the FC dissector
- it assumes what it's handed includes the Network_Header, but for full
FC frames, the FC dissector has already consumed the Network_Header.
Move the definitions of the value_string tables out of the header file;
most of them are used only in one file, so define them in that file, and
for "fc_fc4_val", define it in "packet-fc.c", make it not static, and
declare it in "packet-fc.h".
Use FALSE, rather than 0, as the last argument to
"proto_tree_add_item()" calls that add a big-endian value.
Fix one "proto_tree_add_uint()" call that was supposed to be a
"proto_tree_add_item()" call.
Use "%u", not "%d", to display unsigned values.
svn path=/trunk/; revision=6773
Diffstat (limited to 'epan/to_str.c')
0 files changed, 0 insertions, 0 deletions