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] How do I know the wireshark version ?

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


From: Eloy Paris <peloy@xxxxxxxxxx>
Date: Mon, 1 Jun 2009 17:04:03 -0400

On Mon, Jun 01, 2009 at 10:48:15PM +0200, wsgd wrote:

> Hello,
> 
>  From a plugin dissector,
> at execution time :
> How do I know the wireshark version ?

epan_get_version() is not good enough for your needs? It's a string,
which may be a problem. But you could parse it...

It'd be nice to have the equivalent of pcap_major_version() and
pcap_minor_version(), which return version numbers as integers. It would
be a nice, small addition to the libwireshark API that would come handy
for plugin dissector writers as well as for those using libwireshark in
their applications.

Cheers,

Eloy Paris.-
netexpect.org

  • Follow-Ups:
    • Re: [Wireshark-dev] How do I know the wireshark version ?
      • From: wsgd
  • References:
    • [Wireshark-dev] How do I know the wireshark version ?
      • From: wsgd
  • Prev by Date: Re: [Wireshark-dev] How do I know the wireshark version FROM a plugin dissector AT execution time ?
  • Next by Date: Re: [Wireshark-dev] How do I know the wireshark version FROM a plugin dissector AT execution time ?
  • Previous by thread: Re: [Wireshark-dev] How do I know the wireshark version FROM a plugin dissector AT execution time ?
  • Next by thread: Re: [Wireshark-dev] How do I know the wireshark version ?
  • Index(es):
    • Date
    • Thread

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