[Wireshark-dev] Printing?

2010-04-13 Thread Shawn Mayer
Do I have to use something other than printf to print from Wireshark? I have the console set to always open, but still am not seeing anything. Thanks. Shawn NTMail K12 - the Mail Server for Education ___ Sent via:Wiresh

[Wireshark-dev] printing bits..

2007-02-09 Thread Amit Khullar
I am writing my own dissector for a TLV format, where generally the value is a integer. So all I currently print is a TAG , its LENGTH (in decimal) and VALUE (in HEX). One of the tags is a bit-map of valid ports. Hence the value is really a port indicator, where each bit corresponds to a port.

Re: [Wireshark-dev] Printing?

2010-04-14 Thread Ed Beroset
Shawn Mayer wrote: > Do I have to use something other than printf to print from Wireshark? I > have the console set to always open, but still am not seeing anything. It works just fine under Linux, so I assume you must be on a Windows machine. Try this: http://dslweb.nwnexus.com/~ast/dload/gui

Re: [Wireshark-dev] Printing?

2010-04-14 Thread Graham Bloice
On 14/04/2010 01:59, Shawn Mayer wrote: > Do I have to use something other than printf to print from Wireshark? I > have the console set to always open, but still am not seeing anything. > Thanks. > > > Run it under the debugger, much easier than printf. -- Regards, Graham Bloice _

Re: [Wireshark-dev] Printing?

2010-04-14 Thread Graham Bloice
On 14/04/2010 14:00, Shawn Mayer wrote: > On 14/04/2010 01:59, Shawn Mayer wrote: >> Do I have to use something other than printf to print from Wireshark? I >> have the console set to always open, but still am not seeing anything. >> Thanks. >> >> > Run it under the debugger, much easier than p

Re: [Wireshark-dev] Printing?

2010-04-14 Thread Beth
printf worked fine for me on Windows. g_printf compiled fine but never printed anything. ___ Sent via:Wireshark-dev mailing list Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org

Re: [Wireshark-dev] Printing?

2010-04-14 Thread Anders Broman
Hi, I use g_warning() or proto_add_text() Regards Anders Beth skrev 2010-04-14 16:10: printf worked fine for me on Windows. g_printf compiled fine but never printed anything. ___ Sent via:Wireshark-dev mailing list

[Wireshark-dev] Printing floats using scientific notation when > than X digits

2015-11-04 Thread Juan Jose Martin Carrascosa
Hi team, Do you think it would be possible to know at run-time when a float value exceeds X digits? I would like to show the value using scientific notation but not in all cases, and I am reaching a point where I think it is not possible. Thanks, Juanjo Martin

Re: [Wireshark-dev] Printing floats using scientific notation when > than X digits

2015-11-04 Thread Juan Jose Martin Carrascosa
Hi all, I solved the issue by using %-7g to print floats and %-16g to print doubles. It chooses when using scientific notation and also adjusts the output to the left. Hope this helps anyone! Thanks, Juanjo Martin On Wed, Nov 4, 2015 at 1:44 PM, Juan Jose Martin Carrascosa wrote: > Hi team, >