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] Problems with the newly modified and compiled wpcap.dll

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


From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Thu, 4 Oct 2007 15:53:26 -0700


On Oct 4, 2007, at 2:03 AM, Varuna De Silva wrote:

Hello,

I further did some change like below,

(*ps).ps_recv = p->md.stat.ps_recv;

instead of

*ps = p->md.stat;

That shouldn't make a difference, unless, somehow, the version of WinPcap you're modifying is different from the version of WinPcap that Wireshark was built with, and the pcap_stat structure in the version your modifying is bigger than the one in the WinPcap that Wireshark was built with - but, in that case, using the different version of WinPcap *by itself* could cause a crash.

I do *NOT* have anything like below, which appears in pcap-septel.c

#ifdef SEPTEL_ONLY
/* Replace dag function names with pcap equivalent. */
#define septel_open_live pcap_open_live
#define septel_platform_finddevs pcap_platform_finddevs
#endif /* SEPTEL_ONLY */

Don't bother with that - I suspect that's only there because the person who did the Septel support copied the DAG support, and the DAG support is set up so that you can, if you want, build a version of libpcap that's DAG-only.

  • References:
    • Re: [Wireshark-dev] Problems with the newly modified and compiled wpcap.dll
      • From: Varuna De Silva
    • Re: [Wireshark-dev] Problems with the newly modified and compiled wpcap.dll
      • From: Varuna De Silva
  • Prev by Date: Re: [Wireshark-dev] Problems with the newly modified and compiled wpcap.dll
  • Next by Date: Re: [Wireshark-dev] Alternative to USBPcap and Possibility of
  • Previous by thread: Re: [Wireshark-dev] Problems with the newly modified and compiled wpcap.dll
  • Next by thread: Re: [Wireshark-dev] Problems with the newly modified and compiled wpcap.dll
  • Index(es):
    • Date
    • Thread

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