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] Query on Field Registration

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


From: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
Date: Thu, 03 Jul 2008 14:56:34 -0400



Kumar, Hemant wrote:
Thanks Martin and Abhik!! For the replies.

But what I am actually looking for is when the user goes for setting subfields type so as to filter messages of his interest, he should see a tree structure with subfields beneath the main field.

That is for example for tcp it should not appear as
Tcp.flags.cwr
Tcp.flags.ecn
Tcp.flags.urg
Tcp.flags.ack and so on rather it should appear as

Tcp+
    Flags+
            cwr
            ecn
            urg
          ack

By clicking on the + the subtree should appear

That's not (currently) possible in the Expression UI.

So I don't want to register fields like ged125.service_control rather
Just register Service control which is going to be common to several other messages separately and then relate it to those messages in the dissect_function()while feeding the information from tvb_buffer in to the field. Ofcourse  , this is possible but then in the expression window
simply appears service_control and ged125+
                                                        Service_control.

Please shed some light on this aspect whether it is possible to this is wireshark.

No, you would have to create many hf_ entries, one for each message + parameter combination. (Personally I think that design would constrain the power of the filter mechanism but I don't know what you're doing.)


  • References:
    • [Wireshark-dev] Query on Field Registration
      • From: Kumar, Hemant
    • Re: [Wireshark-dev] Query on Field Registration
      • From: Guy Harris
    • Re: [Wireshark-dev] Query on Field Registration
      • From: Kumar, Hemant
    • Re: [Wireshark-dev] Query on Field Registration
      • From: Abhik Sarkar
    • Re: [Wireshark-dev] Query on Field Registration
      • From: Martin Corraine (mcorrain)
    • Re: [Wireshark-dev] Query on Field Registration
      • From: Kumar, Hemant
  • Prev by Date: Re: [Wireshark-dev] Query on Field Registration
  • Next by Date: Re: [Wireshark-dev] Query on Field Registration
  • Previous by thread: Re: [Wireshark-dev] Query on Field Registration
  • Next by thread: Re: [Wireshark-dev] Query on Field Registration
  • Index(es):
    • Date
    • Thread

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