Commit Graph

6 Commits

Author SHA1 Message Date
Guy Harris d8ef406b87 Note that IP-over-FC is described by RFC 2625.
svn path=/trunk/; revision=6955
2003-01-21 05:21:03 +00:00
Guy Harris 9711eebb5b 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
2002-12-10 02:49:31 +00:00
Guy Harris 22496138e9 Add a capture routine for IP-over-FC, and call it from the capture code.
svn path=/trunk/; revision=6767
2002-12-08 22:35:30 +00:00
Guy Harris 93b92b0f94 Do LLC handoff from the IP-over-FC dissector the way it's done for other
protocols using 802.2 LLC.

svn path=/trunk/; revision=6765
2002-12-08 22:01:20 +00:00
Guy Harris 8eb4de203d Get rid of comment from sample dissector.
Get rid of some probably-unnecessary #includes.

Register the IP-over-FC dissector as the dissector to call for
IP-over-FC captures.

svn path=/trunk/; revision=6764
2002-12-08 21:56:06 +00:00
Gerald Combs b60b1414c3 From Dinesh Dutt: Add Fibre Channel support, including FCIP, Basic FC
header, Extended Link Service, Interswitch Link Service, FCP, and IPFC.

svn path=/trunk/; revision=6757
2002-12-08 02:32:36 +00:00