Re: [Wireshark-dev] Malformed packet New dissector

2007-02-19 Thread your highness
On 2/19/07, your highness <[EMAIL PROTECTED]> wrote: > On 2/16/07, Guy Harris <[EMAIL PROTECTED]> wrote: > > > > On Feb 16, 2007, at 7:06 AM, your highness wrote: > > > > > Hi everyone, > > > > > > I managed to write a dissector for a new protocol (Condor) and it > > > works most of the time ; ) ..

Re: [Wireshark-dev] Malformed packet New dissector

2007-02-19 Thread your highness
On 2/19/07, Guy Harris <[EMAIL PROTECTED]> wrote: > your highness wrote: > > > The skeleton of my code that is relevant to this issue is as follows: > > > > static guint > > get_condor_pdu_len(tvbuff_t *tvb, int offset) > > At least in the current version of Wireshark, a get_pdu_len routine > takes

Re: [Wireshark-dev] Malformed packet New dissector

2007-02-19 Thread your highness
On 2/16/07, Guy Harris <[EMAIL PROTECTED]> wrote: > > On Feb 16, 2007, at 7:06 AM, your highness wrote: > > > Hi everyone, > > > > I managed to write a dissector for a new protocol (Condor) and it > > works most of the time ; ) ... Thanks to Jaap Keuter and the README > > files. I am starting a new

Re: [Wireshark-dev] Malformed packet New dissector

2007-02-18 Thread Guy Harris
your highness wrote: The skeleton of my code that is relevant to this issue is as follows: static guint get_condor_pdu_len(tvbuff_t *tvb, int offset) At least in the current version of Wireshark, a get_pdu_len routine takes three arguments, not two - the first argument is the pinfo pointer.

Re: [Wireshark-dev] Malformed packet New dissector

2007-02-16 Thread Guy Harris
On Feb 16, 2007, at 7:06 AM, your highness wrote: > Hi everyone, > > I managed to write a dissector for a new protocol (Condor) and it > works most of the time ; ) ... Thanks to Jaap Keuter and the README > files. I am starting a new thread for a new problem. > > The problem is that I get errors

[Wireshark-dev] Malformed packet New dissector

2007-02-16 Thread your highness
Hi everyone, I managed to write a dissector for a new protocol (Condor) and it works most of the time ; ) ... Thanks to Jaap Keuter and the README files. I am starting a new thread for a new problem. The problem is that I get errors for packets that are spread over multiple TCP packets. Condor