Re: [Wireshark-dev] Raw Fibre Channel dissector

2009-06-19 Thread Guy Harris
On Jun 19, 2009, at 3:13 PM, kahou lei wrote: > My fibre channel captured is in pcap format. To use pcap format for a capture, either 1) your capture must be able to use an existing DLT_ value - which isn't the case for Fibre Channel; 2) you use one of the DLT_USERn link-laye

Re: [Wireshark-dev] Raw Fibre Channel dissector

2009-06-19 Thread kahou lei
Hi Guy, My fibre channel captured is in pcap format. What I want to do is to dissect this file with fibre channel dissector. In this case, do I still need to write code to read/write the file? Or just create a new DLT value for Fibre Channel and then register the existing fibre channel dissector w

Re: [Wireshark-dev] Raw Fibre Channel dissector

2009-06-19 Thread Jeff Morriss
Guy Harris wrote: > On Jun 19, 2009, at 11:01 AM, kahou lei wrote: > >> Is there an existing DLT value that I can dissect raw fibre channel >> packet? > > No. > >> I saw there is a fibre channel dissector (packet-fc.c) but I cannot >> find a DLT value corresponse to it. > > It's used to d

Re: [Wireshark-dev] Raw Fibre Channel dissector

2009-06-19 Thread Guy Harris
On Jun 19, 2009, at 11:01 AM, kahou lei wrote: > Is there an existing DLT value that I can dissect raw fibre channel > packet? No. > I saw there is a fibre channel dissector (packet-fc.c) but I cannot > find a DLT value corresponse to it. It's used to dissect FC encapsulated in various low

[Wireshark-dev] Raw Fibre Channel dissector

2009-06-19 Thread kahou lei
Hi, Is there an existing DLT value that I can dissect raw fibre channel packet? I saw there is a fibre channel dissector (packet-fc.c) but I cannot find a DLT value corresponse to it. If there is no such DLT value, can you give me some direction on how to extend my local wireshark build so that t