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 to get Destination IP in plugin

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


From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Thu, 3 Jan 2008 17:45:04 -0800


On Jan 3, 2008, at 3:05 PM, Diaconou, Alex wrote:

The data field of the pinfo->src address structure ( (pinfo- >src).data )
contains gibberish - no IP address.  What could be the cause of this?

What are the bytes pointed to by the pointer in that data field? It should point to 4 bytes of IPv4 address if "type" is AT_IPv4, or 16 bytes of IPv6 address if "type" is AT_IPv6.

  • References:
    • [Wireshark-dev] How to get Destination IP in plugin
      • From: Diaconou, Alex
    • Re: [Wireshark-dev] How to get Destination IP in plugin
      • From: Guy Harris
    • Re: [Wireshark-dev] How to get Destination IP in plugin
      • From: Diaconou, Alex
  • Prev by Date: Re: [Wireshark-dev] How to get Destination IP in plugin
  • Next by Date: Re: [Wireshark-dev] How to get Destination IP in plugin
  • Previous by thread: Re: [Wireshark-dev] How to get Destination IP in plugin
  • Next by thread: Re: [Wireshark-dev] How to get Destination IP in plugin
  • Index(es):
    • Date
    • Thread

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