Re: [Wireshark-dev] Installer missing ZLib1.DLL

2011-04-21 Thread Chaswi Przellczyk

 Original-Nachricht 
> Datum: Thu, 21 Apr 2011 10:04:10 +0200
> Von: "Chaswi Przellczyk" 
> An: Developer support list for Wireshark 
> Betreff: Re: [Wireshark-dev] Installer missing ZLib1.DLL

> 
>  Original-Nachricht 
> > Datum: Wed, 20 Apr 2011 14:21:28 + (UTC)
> > Von: Chris Maynard 
> > An: wireshark-dev@wireshark.org
> > Betreff: Re: [Wireshark-dev] Installer missing ZLib1.DLL
> 
> > Chaswi Przellczyk  writes:
> > 
> > > after successfully building a custom wireshark I also built an
> > installer. The
> > installer works fine, but
> > > when starting Wireshark, the system complains about ZLib1.DLL missing.
> > After
> > copying that file to the
> > > installation-dir, everything is fine. Can I configure the
> > installation-creation-procedure such,
> > > that ZLib1.DLL is included in the install?
> > 
> > The wireshark.nsi includes zlib1.dll, so it should be included in the
> > installer
> > already.  Which version of Wireshark are you building against and on
> what
> > platform?  Maybe you could try to run the following and see if this
> helps?
> > 
> > nmake -f Makefile.nmake setup 
> > nmake -f Makefile.nmake distclean
> > nmake -f Makefile.nmake all
> > nmake -f Makefile.nmake packaging
> > 
> 
> Dear Chris,
> 
> thanks for your response. I'm building Version 1.4.4 on WindowsXP. I
> received the source in tar.bz2-packaged form. The ZIP is dated on 25.03.2011.
> 
> I'll try your suggestions and get back with results.
> 
> Thanks!
> CP.

Hi Chris,

coming back with results. After performing the 4 steps outlined above I 
reinstalled on my VirtualBox (another WinXP) with the same results as before. 
Nothing has changed.

Thanks for the effort, though.

Regards,
CP.

-- 
NEU: FreePhone - kostenlos mobil telefonieren und surfen!   
Jetzt informieren: http://www.gmx.net/de/go/freephone
___
Sent via:Wireshark-dev mailing list 
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe


Re: [Wireshark-dev] Installer missing ZLib1.DLL

2011-04-21 Thread Chaswi Przellczyk

 Original-Nachricht 
> Datum: Wed, 20 Apr 2011 14:21:28 + (UTC)
> Von: Chris Maynard 
> An: wireshark-dev@wireshark.org
> Betreff: Re: [Wireshark-dev] Installer missing ZLib1.DLL

> Chaswi Przellczyk  writes:
> 
> > after successfully building a custom wireshark I also built an
> installer. The
> installer works fine, but
> > when starting Wireshark, the system complains about ZLib1.DLL missing.
> After
> copying that file to the
> > installation-dir, everything is fine. Can I configure the
> installation-creation-procedure such,
> > that ZLib1.DLL is included in the install?
> 
> The wireshark.nsi includes zlib1.dll, so it should be included in the
> installer
> already.  Which version of Wireshark are you building against and on what
> platform?  Maybe you could try to run the following and see if this helps?
> 
> nmake -f Makefile.nmake setup 
> nmake -f Makefile.nmake distclean
> nmake -f Makefile.nmake all
> nmake -f Makefile.nmake packaging
> 

Dear Chris,

thanks for your response. I'm building Version 1.4.4 on WindowsXP. I received 
the source in tar.bz2-packaged form. The ZIP is dated on 25.03.2011.

I'll try your suggestions and get back with results.

Thanks!
CP.

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
___
Sent via:Wireshark-dev mailing list 
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe


[Wireshark-dev] Installer missing ZLib1.DLL

2011-04-20 Thread Chaswi Przellczyk

Hi all,

after successfully building a custom wireshark I also built an installer. The 
installer works fine, but when starting Wireshark, the system complains about 
ZLib1.DLL missing. After copying that file to the installation-dir, everything 
is fine. Can I configure the installation-creation-procedure such, that 
ZLib1.DLL is included in the install?

Thanks,
CP.

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
___
Sent via:Wireshark-dev mailing list 
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe


[Wireshark-dev] RTP Jitter calculation (Telephony->RTP Stream Analysis)

2011-04-06 Thread Chaswi Przellczyk

Dear all,

I'm trying to match
---
http://wiki.wireshark.org/RTP_statistics
---
How jitter is calculated

Wireshark calculates jitter according to RFC3550 (RTP):

If Si is the RTP timestamp from packet i, and Ri is the time of arrival in RTP 
timestamp units for packet i, then for two packets i and j, D may be expressed 
as

* D(i,j) = (Rj - Ri) - (Sj - Si) = (Rj - Sj) - (Ri - Si) 

The interarrival jitter SHOULD be calculated continuously as each data packet i 
is received from source SSRC_n, using this difference D for that packet and the 
previous packet i-1 in order of arrival (not necessarily in sequence), 
according to the formula

* J(i) = J(i-1) + (|D(i-1,i)| - J(i-1))/16 

---
to the following code from tap-rtp-common.c (rtp_packet_analyse):
---
if( !statinfo->first_packet )
{ /* Calculate the current jitter(in ms) */
expected_time= statinfo->time + (nominaltime - 
statinfo->lastnominaltime);
current_diff = fabs(current_time - expected_time);
current_jitter   = (15 * statinfo->jitter + 
current_diff) / 16;

statinfo->delta  = current_time - (statinfo->time);
statinfo->jitter = current_jitter;
statinfo->diff   = current_diff;
}
statinfo->lastnominaltime = nominaltime;

---

And I can't find (m)any similarities between the two.

Can anyone lend a hand?

Thanks!
CP.

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
___
Sent via:Wireshark-dev mailing list 
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe


Re: [Wireshark-dev] setting up for win32 development

2011-04-04 Thread Chaswi Przellczyk

 Original-Nachricht 
> Datum: Mon, 4 Apr 2011 17:27:30 +1000
> Von: Risto Paasila 
> An: Developer support list for Wireshark 
> Betreff: Re: [Wireshark-dev] setting up for win32 development

> On 4 April 2011 15:37, Anders Broman  wrote:
> 
> >  Risto Paasila skrev 2011-04-04 06:23:
> >
> >  Hi,
> >
> > I'm using
> > http://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html to set
> > up the environment, in order to compile wireshark under windows.
> >
> > However, while doing the verify tools check, I keep getting this problem
> > (tried on 2 seperate machines):
> >
> > Setting environment for using Microsoft Visual Studio 2008 x86 tools.
> > C:\Program Files\Microsoft Visual Studio 9.0\VC>cd \wireshark
> > C:\wireshark>nmake -f Makefile.nmake verify_tools
> > Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
> > Copyright (C) Microsoft Corporation.  All rights reserved.
> > /cygdrive/c/wireshark/tools/win-setup.sh: line 6: $'\r': command not
> found
> > /cygdrive/c/wireshark/tools/win-setup.sh: line 14: $'\r': command not
> found
> > /cygdrive/c/wireshark/tools/win-setup.sh: line 29: syntax error near
> > unexpected
> > token `$'{\r''
> > 'cygdrive/c/wireshark/tools/win-setup.sh: line 29: `err_exit () {
> > /cygdrive/c/wireshark/tools/win-setup.sh: line 6: $'\r': command not
> found
> > /cygdrive/c/wireshark/tools/win-setup.sh: line 14: $'\r': command not
> found
> > /cygdrive/c/wireshark/tools/win-setup.sh: line 29: syntax error near
> > unexpected
> > token `$'{\r''
> > 'cygdrive/c/wireshark/tools/win-setup.sh: line 29: `err_exit () {
> > NMAKE : fatal error U1077: 'c:\cygwin\bin\bash.EXE' : return code '0x2'
> > Stop.
> >
> > Could you please advise me how to get around this problem.
> >
> >  Thanks in advance...
> > Risto
> >
> >  If you are building 1.2 or 1.4 you may to have to apply this patch
> > http://anonsvn.wireshark.org/viewvc?revision=35788&view=revision
> > If you want the latest and greatest you are better off building from
> trunk.
> > Best regards
> > Anders
> >
> >
> >
> ___
> > Sent via:Wireshark-dev mailing list 
> 
> > Archives:http://www.wireshark.org/lists/wireshark-dev
> > Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
> > 
> mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe 
> 
> >
> >
> >
> >
> ___
> > Sent via:Wireshark-dev mailing list 
> > Archives:http://www.wireshark.org/lists/wireshark-dev
> > Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
> >
> mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe
> >
> 
> Thank you.
> 
> I tried with 1.4.4, but it was still the same.
> Then I downloaded 1.5.0, and same problem once again.
> Now I am trying getting subversion and will try out the trunk version.
> 
> Regards
> Risto

Dear Risto,

can you verify that your environment is setup correctly (e.g. cygwin is 
installed) and that your download is ok? Seeing '\r' as carriage-return in a 
bash-error seems odd. I've checked my own win-setup.sh and found that lines are 
indeed terminated with 0x0A (unix-standard) instead of 0x0D0A (dos and windows 
standard). That's not your problem.
I would suggest you open your win-setup.sh and check if there's a valid 
shell-script inside that file and then check the setup of your environment. I 
recommend not to deviate from the guides on the website.

Regards,
CP.


-- 
GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit 
gratis Handy-Flat! http://portal.gmx.net/de/go/dsl
___
Sent via:Wireshark-dev mailing list 
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe


Re: [Wireshark-dev] was: Adding Files to Wireshark (new developer)

2011-04-01 Thread Chaswi Przellczyk

 Original-Nachricht 
> Datum: Fri, 1 Apr 2011 15:54:40 -0600
> Von: Stephen Fisher 
> An: Developer support list for Wireshark 
> Betreff: Re: [Wireshark-dev] was: Adding Files to Wireshark (new developer)

> On Fri, Apr 01, 2011 at 02:36:50PM -0400, Bill Meier wrote:
> 
> > Take at look at the data struct passed to register_tap() (or whatever 
> > it's called) when the tap is created by the dissector.
> > 
> > I'm not a 'tap' expert, but I think a ptr to that struct is passed to 
> > the tap callback fcn called for each frame.
> 
> The tap_queue_packet() function takes three parameters:
> 
> void tap_queue_packet(int tap_id, packet_info *pinfo, const void 
> *tap_specific_data)
> 
> The third value, tap_specific_data can be used to pass any data you 
> would like from a dissector to the tap functions.

Dear Stephen,

BIG THANK YOU! That made my day :) :)
^^^

Now it's weekend!


-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
___
Sent via:Wireshark-dev mailing list 
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe


Re: [Wireshark-dev] was: Adding Files to Wireshark (new developer)

2011-04-01 Thread Chaswi Przellczyk

 Original-Nachricht 
> Datum: Fri, 01 Apr 2011 14:36:50 -0400
> Von: Bill Meier 
> An: Developer support list for Wireshark 
> Betreff: Re: [Wireshark-dev] was: Adding Files to Wireshark (new developer)

> On 4/1/2011 12:57 PM, Chaswi Przellczyk wrote:
> 
> > Dear Stephen,
> >
> > that would be a good way to get this solved. I went ahead and
> > modified packet-rtp.c to add a field for a sampling-rate preference.
> > That works nice. BUT the preferences are typically used in the
> > dissectors, which is not true for my case. I can make the variable
> > visible in all files (make it truly global), but I'm wondering if
> > that's the right way to go. At the very least it would differ from
> > what I've seen in other source-files. Is there a different way of
> > accessing these preferences "correctly"?
> >
> 
> 
> Take at look at the data struct passed to register_tap() (or whatever
> it's called) when the tap is created by the dissector.
> 
> I'm not a 'tap' expert, but I think a ptr to that struct is passed to
> the tap callback fcn called for each frame.
> 
> Also  see doc/README.tapping

Dear Bill,

thanks again for your time and effort. I have to admit it's a new feeling in 
programming to actually have the data, but being unable to get it to the point 
of the program where you need it. Makes me feel young and inexperienced again :(

I did take a look at the tapping-README and I believe you are referring to 
register_tap_listener(...) and "the_tapinfo_struct" or in my case 
rtpstream_tapinfo_t

The call to register_tap_listener(...) for my case is in rtp_stream.c, which is 
located in ...\Wireshark\gtk
My tap-routines along with the global variable for the sampling-rate-defaults 
are in tap-rtp-common.c are inpacket-rtp.c  located in  
...\wireshark\epan\dissectors and finally the file where I want to use it is 
tap-rtp-common.c located in ...\wireshark\.
I believe these 3 files result in 3 different compilation targets - I haven't 
been able to access the global variable for my default-sampling-rate from 
either of the 2 other locations. Not even when exporting it from dissectors.lib.
Sorry to be so ignorant, but could you please shed some more light to get me 
started?

Thanks - and have a nice weekend!
CP.

-- 
GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit 
gratis Handy-Flat! http://portal.gmx.net/de/go/dsl
___
Sent via:Wireshark-dev mailing list 
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe


Re: [Wireshark-dev] was: Adding Files to Wireshark (new developer)

2011-04-01 Thread Chaswi Przellczyk

 Original-Nachricht 
> Datum: Fri, 1 Apr 2011 09:43:28 -0600
> Von: Stephen Fisher 
> An: Developer support list for Wireshark 
> Betreff: Re: [Wireshark-dev] (no subject)

> On Thu, Mar 31, 2011 at 10:38:52AM +0200, Chaswi Przellczyk wrote:
> 
> > At the end of tap-rtp-common.c is a function called int 
> > rtp_packet_analyse(...). Inside rtp_packet_analyse when you go down to 
> > /* Dynamic PT */ and go to the else of that if, there is a statement 
> > that says
> 
> > clock_rate = 0;
> 
> It sounds like you should add a standard Wirshark preference.  See the 
> README.developer file in the doc directory of the source code for more 
> details.
> 
> 

Dear Stephen,

that would be a good way to get this solved. I went ahead and modified 
packet-rtp.c to add a field for a sampling-rate preference. That works nice.
BUT the preferences are typically used in the dissectors, which is not true for 
my case. I can make the variable visible in all files (make it truly global), 
but I'm wondering if that's the right way to go. At the very least it would 
differ from what I've seen in other source-files. Is there a different way of 
accessing these preferences "correctly"?

Thanks a lot for the hint!

Regards - and have a nice weekend,
CP.

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
___
Sent via:Wireshark-dev mailing list 
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe


[Wireshark-dev] Fwd: Re: was: Adding Files to Wireshark

2011-04-01 Thread Chaswi Przellczyk
Uhm... sorry.
Something went wrong with my last post.
Here's what I wrote:

 Original-Nachricht 
> Datum: Thu, 31 Mar 2011 12:01:20 -0400
> Von: Fulko Hew 
> An: Developer support list for Wireshark 
> CC: Chaswi Przellczyk 
> Betreff: Re: [Wireshark-dev] (no subject)

> On Thu, Mar 31, 2011 at 11:52 AM, Chaswi Przellczyk  wrote:
> 
> >
> > Dear Anders,
> >
> > I'm feeling a bit silly here, since "wireshark trunk" only makes sense
> to
> > me in using the trunk-branch of wireshark to do that and I have found
> three
> > of those
> >* 1.5 (unstable) trunk
> >* 1.4 (stable) trunk
> >* 1.2 (old stable) trunk
> >
> > But unfortunately I'm unable to find out what you really mean. Sorry.
> >
> 
> 1.5 is the 'next' version where all new features are being added and
> tested
> (and thats why its unstable)
> 1.4 is the 'current' release tree - bug fixes only (thats why its stable)
> 1.2 was the 'previous' stable version

Dear Fulko,

thanks for clarifying. That's what I had assumed previously, but I cannot see 
where any of those three would do what I wanted in the beginning - which is 
determine or enter the sampling rate of an RTP-Audio stream (as is done in 
tap-rtp-common.c --> rtp_packet_analyse(...) ).

Anders wrote that "wireshark trunk" would do that:

> If you use wireshark trunk clock rate is extracted from SDP I think, does
> that solve your problem?
> /Anders

But none of the above mentioned "trunks" does that.

Regards,
CP

-- 
NEU: FreePhone - kostenlos mobil telefonieren und surfen!   
Jetzt informieren: http://www.gmx.net/de/go/freephone


-- 
GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit 
gratis Handy-Flat! http://portal.gmx.net/de/go/dsl
___
Sent via:Wireshark-dev mailing list 
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe


Re: [Wireshark-dev] was: Adding Files to Wireshark (new developer)

2011-04-01 Thread Chaswi Przellczyk

 Original-Nachricht 
> Datum: Thu, 31 Mar 2011 12:01:20 -0400
> Von: Fulko Hew 
> An: Developer support list for Wireshark 
> CC: Chaswi Przellczyk 
> Betreff: Re: [Wireshark-dev] (no subject)

> On Thu, Mar 31, 2011 at 11:52 AM, Chaswi Przellczyk  wrote:
> 
> >
> > Dear Anders,
> >
> > I'm feeling a bit silly here, since "wireshark trunk" only makes sense
> to
> > me in using the trunk-branch of wireshark to do that and I have found
> three
> > of those
> >* 1.5 (unstable) trunk
> >* 1.4 (stable) trunk
> >* 1.2 (old stable) trunk
> >
> > But unfortunately I'm unable to find out what you really mean. Sorry.
> >
> 
> 1.5 is the 'next' version where all new features are being added and
> tested
> (and thats why its unstable)
> 1.4 is the 'current' release tree - bug fixes only (thats why its stable)
> 1.2 was the 'previous' stable version

-- 
GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit 
gratis Handy-Flat! http://portal.gmx.net/de/go/dsl
___
Sent via:Wireshark-dev mailing list 
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe


Re: [Wireshark-dev] (no subject)

2011-03-31 Thread Chaswi Przellczyk

Dear Anders,

I'm feeling a bit silly here, since "wireshark trunk" only makes sense to me in 
using the trunk-branch of wireshark to do that and I have found three of those
* 1.5 (unstable) trunk
* 1.4 (stable) trunk
* 1.2 (old stable) trunk 

But unfortunately I'm unable to find out what you really mean. Sorry.

CP

 Original-Nachricht 
> Datum: Thu, 31 Mar 2011 15:44:00 +0200
> Von: Anders Broman 
> An: Developer support list for Wireshark 
> Betreff: Re: [Wireshark-dev] (no subject)

>  
> 
> -Original Message-
> From: wireshark-dev-boun...@wireshark.org
> [mailto:wireshark-dev-boun...@wireshark.org] On Behalf Of Chaswi Przellczyk
> Sent: den 31 mars 2011 10:39
> To: wireshark-dev@wireshark.org
> Subject: [Wireshark-dev] (no subject)
> 
> On 3/30/2011 11:37 AM, Palleske, Carsten wrote:
> 
> Hello all,
> 
> - I've got Windows and I've got MS-VS 2010 Pro.
> - I downloaded Source-Code for Wireshark v1.44.
> - I downloaded CygWin and Perl and a bunch of tools and got them
> installed.
> - After getting used to the makefiles and stuff I got wireshark
> compiled. No details about that, since I'm not used to Makefile-driven
> development.
> - I can debug Wireshark from VS2010
> 
> Ok, this is how far I got without help.
> 
> Now I got into Wireshark and found the point that I want to change or
> add something to. Specifically I want to have a little pop-up asking
> for
> a number at a given point of code from within tap-rtp-common.c
> So I got down to wrote some minor dialog (ugh... got to get used to
> gtk
> development as well) and tried to compile. Naturally I got unresolved
> externals, since what I had written hadn't even been compiled. So I
> went
> looking for tap-rtp-common.c/h in all text files, since that's really
> the only file that I'll call into my little dialog anyway. I found
> tap-rtp-common.c/h was mentioned in ...\Wireshark\Makefile.common and
> in
> ...\Wireshark\CMakeLists.txt. So I went right into those and added my
> newly created .c and .h files in there.
> Now I get
> NMAKE : fatal error U1073: "obj" konnte nicht erstellt werden
> Stop.
> 
> That's a bit odd, since it seems to be enough for tap-rtp-common.c/h.
> Anyway - what did I miss? Where do I have to tell the Make-utility to
> compile my stuff? It doesn't even give any syntax or other c-related
> error.
> 
> 
> First of all:
> 
> 
> tap-rtp-common is used by both the GUI and non-GUI variants of the
> software (Wireshark[GUI], tshark & rawshark[non-gui].
> 
> So trying to access gtk functions from tap-rtp-common isn't going to work.
> 
> 
> IOW trying to link to gtk from stuff in any other directory than .../gtk
> is a non-starter. :)
> 
> What is it that you are trying to accomplish ?
> 
> ---
> 
> Dear Bill,
> 
> thanks for your response and forgive the confusion with the
> mailing-addresses. I created this account specifically to handle all the 
> wireshark load.
> 
> At the end of tap-rtp-common.c is a function called int
> rtp_packet_analyse(...).
> Inside rtp_packet_analyse when you go down to /* Dynamic PT */ and go to
> the else of that if, there is a statement that says clock_rate = 0;
> 
> Now, for the tests we are performing it is our wish to be able to enter
> the clock_rate at that very spot manually. That's what that mini-dialog is
> intended for. Just entering a number for the clock-rate.
> 
> It needs to work only in our little environment for our very specific
> purpose, so there's no need to find the "big-general-solution", unless it's
> even easier. For a starter, we're trying to get started with minimum effort.
> 
> Regards,
> Carsten.
> 
> 
> -- 
> NEU: FreePhone - kostenlos mobil telefonieren und surfen! 
> Jetzt informieren: http://www.gmx.net/de/go/freephone
> 
> If you use wireshark trunk clock rate is extracted from SDP I think, does
> that solve your problem?
> /Anders
> ___
> Sent via:Wireshark-dev mailing list 
> Archives:http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
> 
> mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe
> ___
> Sent via:Wireshark-dev mailing list 
> Archives:http://www.wireshark.org/lists/wireshark-dev
> Un

[Wireshark-dev] (no subject)

2011-03-31 Thread Chaswi Przellczyk
On 3/30/2011 11:37 AM, Palleske, Carsten wrote:

Hello all,

- I've got Windows and I've got MS-VS 2010 Pro.
- I downloaded Source-Code for Wireshark v1.44.
- I downloaded CygWin and Perl and a bunch of tools and got them installed.
- After getting used to the makefiles and stuff I got wireshark
compiled. No details about that, since I'm not used to Makefile-driven
development.
- I can debug Wireshark from VS2010

Ok, this is how far I got without help.

Now I got into Wireshark and found the point that I want to change or
add something to. Specifically I want to have a little pop-up asking for
a number at a given point of code from within tap-rtp-common.c
So I got down to wrote some minor dialog (ugh... got to get used to gtk
development as well) and tried to compile. Naturally I got unresolved
externals, since what I had written hadn't even been compiled. So I went
looking for tap-rtp-common.c/h in all text files, since that's really
the only file that I'll call into my little dialog anyway. I found
tap-rtp-common.c/h was mentioned in ...\Wireshark\Makefile.common and in
...\Wireshark\CMakeLists.txt. So I went right into those and added my
newly created .c and .h files in there.
Now I get
NMAKE : fatal error U1073: "obj" konnte nicht erstellt werden
Stop.

That's a bit odd, since it seems to be enough for tap-rtp-common.c/h.
Anyway - what did I miss? Where do I have to tell the Make-utility to
compile my stuff? It doesn't even give any syntax or other c-related error.


First of all:


tap-rtp-common is used by both the GUI and non-GUI variants of the software 
(Wireshark[GUI], tshark & rawshark[non-gui].

So trying to access gtk functions from tap-rtp-common isn't going to work.


IOW trying to link to gtk from stuff in any other directory than .../gtk is a 
non-starter. :)

What is it that you are trying to accomplish ?

---

Dear Bill,

thanks for your response and forgive the confusion with the mailing-addresses. 
I created this account specifically to handle all the wireshark load.

At the end of tap-rtp-common.c is a function called int rtp_packet_analyse(...).
Inside rtp_packet_analyse when you go down to /* Dynamic PT */ and go to the 
else of that if, there is a statement that says
clock_rate = 0;

Now, for the tests we are performing it is our wish to be able to enter the 
clock_rate at that very spot manually. That's what that mini-dialog is intended 
for. Just entering a number for the clock-rate.

It needs to work only in our little environment for our very specific purpose, 
so there's no need to find the "big-general-solution", unless it's even easier. 
For a starter, we're trying to get started with minimum effort.

Regards,
Carsten.


-- 
NEU: FreePhone - kostenlos mobil telefonieren und surfen!   
Jetzt informieren: http://www.gmx.net/de/go/freephone
___
Sent via:Wireshark-dev mailing list 
Archives:http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe