Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-dev: Re: [Wireshark-dev] Custom Columns in Packet List Pane

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: "Purandhar Krishnamurthy" <purandhar.krishnamurthy@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 20 Jun 2007 03:29:56 -0400 (EDT)

Hello Steve,

I wish to thank you for your technical support. It was of great help to
me! Thanks once again.

Purandhar


> On Tue, Jun 19, 2007 at 08:45:47AM -0400, Purandhar Krishnamurthy wrote:
>
>>   I want to add a new column in my Packet List Pane, in which I am
>> planning to display an integer value (say for example, Retransmission
>> Count) for each message/packet. The format of the column i selected
>> was "Number".
>>
>>   As the format is "Number", I re-used the macro "COL_NUMBER" in the
>> dissector to display the integer value. In the packet list pane, a new
>> column was created but the values that are displayed are packet or
>> frame number (and not the one I wished to display).
>>
>>   Can anyone please tell me, whether is it possible to re-use
>> COL_NUMBER (which was already used to display the packet-frame number)
>> to display an integer value?
>
> No.  You need to create a new column type.
>
>>   If it is possible, please advice me the changes that are to be made
>> and
>>   If it is not possible, please advice me what else can be done.
>>
>> I tried to find it in Developer's Guide, but these information are not
>> provided in that.
>
> Take a look at this commit for an example of two new columns that
> dissectors fill in:
>
> http://anonsvn.wireshark.org/viewvc/viewvc.py?view=rev&revision=20118
>
> Click on the text changed link to see what is added to each file to make
> it work.
>
>
> Steve
>
> _______________________________________________
> Wireshark-dev mailing list
> Wireshark-dev@xxxxxxxxxxxxx
> http://www.wireshark.org/mailman/listinfo/wireshark-dev
>


  • References:
    • [Wireshark-dev] Custom Columns in Packet List Pane
      • From: Purandhar Krishnamurthy
    • Re: [Wireshark-dev] Custom Columns in Packet List Pane
      • From: Stephen Fisher
  • Prev by Date: Re: [Wireshark-dev] [Wireshark-commits] rev 22083: /trunk/ /trunk/asn1/acse/: acse-exp.cnf acse.cnf /trunk/epan/dissectors/: packet-acse.c packet-acse.h packet-ber.c packet-ber.h
  • Next by Date: Re: [Wireshark-dev] gsmmap asn1 directory
  • Previous by thread: Re: [Wireshark-dev] Custom Columns in Packet List Pane
  • Next by thread: [Wireshark-dev] [Patch] Unistim dissector plugin
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation