Re: [Wireshark-dev] how to extract "IP.len" (IP_total length) to my local variable in my dissector?

2011-06-24 Thread John x
thanks a lot I really appreciate your help > From: g...@alum.mit.edu > Date: Fri, 24 Jun 2011 12:37:06 -0700 > To: wireshark-dev@wireshark.org > Subject: Re: [Wireshark-dev] how to extract "IP.len" (IP_total length) to my > local variable in my dissector? > > > On Jun 24, 2011, at 12:25 PM,

Re: [Wireshark-dev] how to extract "IP.len" (IP_total length) to my local variable in my dissector?

2011-06-24 Thread Guy Harris
On Jun 24, 2011, at 12:25 PM, John x wrote: > but how to get the location (called offset, right?) value? since I need to > reach to the last byte of the packet Offsets within the tvbuff containing your packet start at 0, so if your packet is N bytes long, the offset of the last byte of the pac

Re: [Wireshark-dev] how to extract "IP.len" (IP_total length) to my local variable in my dissector?

2011-06-24 Thread John x
thank you. but how to get the location (called offset, right?) value? since I need to reach to the last byte of the packet thanks > From: g...@alum.mit.edu > Date: Fri, 24 Jun 2011 11:49:16 -0700 > To: wireshark-dev@wireshark.org > Subject: Re: [Wireshark-dev] how to extract "IP.len" (IP_total

Re: [Wireshark-dev] how to extract "IP.len" (IP_total length) to my local variable in my dissector?

2011-06-24 Thread Guy Harris
On Jun 24, 2011, at 11:47 AM, John x wrote: > Now that tvb_length() and tvb_reported_length() are different. Could you > please tell me which one I need to use? tvb_reported_length(). ___ Sent via:Wireshark-dev mailing

Re: [Wireshark-dev] how to extract "IP.len" (IP_total length) to my local variable in my dissector?

2011-06-24 Thread John x
thanks Jaap. Now that tvb_length() and tvb_reported_length() are different. Could you please tell me which one I need to use? As shown in the following picture, |- || | ... | ... | total length| ...|

[Wireshark-dev] Lua Developer Console

2011-06-24 Thread Drazen Popovic
Hi, I'm a long time Wireshark user and striving to get into dissector implementation and perhaps core development. For the last few months I've been thinking of an idea for a certain WShark feature that I thought it would be awsome to have...Lua Developer Console. Later on I found out that you alre

[Wireshark-dev] libwireshark

2011-06-24 Thread Jozsef Gegeny
Hi List, Someone would be so nice to lend me a precompiled 32bit libwireshark.lib? >From the latest 1.6.0 version. Regards, Jozsef ___ Sent via:Wireshark-dev mailing list Archives:http://www.wireshark.org/lists/wires

Re: [Wireshark-dev] how to extract "IP.len" (IP_total length) to my local variable in my dissector?

2011-06-24 Thread Jaap Keuter
On 06/24/2011 09:13 AM, John x wrote: > Hi, folks, > > I am developing a dissector, my tasks are: > > 1. to get the “ip.len” (the total length in IP header), > 2. using the ip.len to know how long the packet would be and extract the last > byte to my local variable. > > *Could you guys please t

[Wireshark-dev] buildbot failure in Wireshark (development) on Visual-Studio-Code-Analysis

2011-06-24 Thread buildbot-no-reply
The Buildbot has detected a new failure of Visual-Studio-Code-Analysis on Wireshark (development). Full details are available at: http://buildbot.wireshark.org/trunk/builders/Visual-Studio-Code-Analysis/builds/1105 Buildbot URL: http://buildbot.wireshark.org/trunk/ Buildslave for this Build: v

[Wireshark-dev] buildbot failure in Wireshark (development) on OSX-10.5-PowerPC

2011-06-24 Thread buildbot-no-reply
The Buildbot has detected a new failure of OSX-10.5-PowerPC on Wireshark (development). Full details are available at: http://buildbot.wireshark.org/trunk/builders/OSX-10.5-PowerPC/builds/3045 Buildbot URL: http://buildbot.wireshark.org/trunk/ Buildslave for this Build: osx-10.5-ppc Build Reas

[Wireshark-dev] buildbot failure in Wireshark (development) on Windows-XP-x86

2011-06-24 Thread buildbot-no-reply
The Buildbot has detected a new failure of Windows-XP-x86 on Wireshark (development). Full details are available at: http://buildbot.wireshark.org/trunk/builders/Windows-XP-x86/builds/3275 Buildbot URL: http://buildbot.wireshark.org/trunk/ Buildslave for this Build: windows-xp-x86 Build Reason

[Wireshark-dev] how to extract "IP.len" (IP_total length) to my local variable in my dissector?

2011-06-24 Thread John x
Hi, folks, I am developing a dissector, my tasks are: 1. to get the “ip.len” (the total length in IP header), 2. using the ip.len to know how long the packet would be and extract the last byte to my local variable. Could you guys please tell me how to get the IP’s total length from IP

Re: [Wireshark-dev] plugins to builtins

2011-06-24 Thread Jaap Keuter
On 06/24/2011 06:47 AM, Andreas wrote: Am 21.06.2011 08:25, schrieb Jaap Keuter: On 06/21/2011 07:20 AM, Andreas wrote: Moving some dissectors to be built-in probably make sense, as the ABI wasn't as stable as required to guarantee compatibility with bugfix versions (even in stable branches).