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: [Wireshark-dev] Re-use of header fields

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


From: Benjamin M Stocks <BMStocks@xxxxxxxxxxxxxxx>
Date: Wed, 9 Aug 2006 09:31:48 -0500


Greetings,
I have a question on the mechanics of the header fields in Wireshark. I am developing a dissector for a protocol where a specific data format may repeat from 1 -> N times within the same payload. Can I reuse the same header field identifier, registered with proto_register_field_array, for each of the individual data blocks within the same payload?

I doubt this is a unique property of this particular protocol, how have others dissected non-apriori defined quantities of repeating data fields within the same payload? Should I have a dissector for just the data format within the payload? Can I call the same dissector multiple times for the same packet?

Thanks in advance,

Ben



--
Benjamin M. Stocks
Senior Embedded Software Engineer
Rockwell Automation Kinetix Motion
voice: (262)512-7157
email: bmstocks@xxxxxxxxxxxxxxx
  • Follow-Ups:
    • Re: [Wireshark-dev] Re-use of header fields
      • From: Guy Harris
  • Prev by Date: Re: [Wireshark-dev] U3 Packaging
  • Next by Date: [Wireshark-dev] Small ANSI-637 patch for identifying more Teleservice
  • Previous by thread: Re: [Wireshark-dev] U3 Packaging
  • Next by thread: Re: [Wireshark-dev] Re-use of header fields
  • Index(es):
    • Date
    • Thread

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