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: "Varuna De Silva" <varunax@xxxxxxxxx>
Date: Fri, 5 Oct 2007 14:00:29 +0530

Hello,



> >         dp = &dispbuff[0]; /*pointer to the data*/
> >
> >         /* Call the user supplied callback function */
> >         callback(user, &pcap_header, dp);
> >
> >         processed++;
> >
> >     }while(processed<cnt);

> For your testing, you probably want to add a packet count variable,
> giving the number of packets that are in the dispbuff array, and then do

>         do{

>                 ...

>        }while (processed < packet_count && (cnt == 0 || processed < cnt));



 I did so the way you suggested. But the problems keeps the same I still get the
earlier error message, but the packets are displayed. But I am not able to
stop it or do any thing on the GUI, that I think is because of high memory usage
of the program.


> > I had not implemented it before,

> So what did you set the "stats_op" member of the pcap_t to?
I had it before, but only a prototype returning zero without doing any thing.

> > " Couldnt set capture buffer size
> > Size 1MB seems to be too high for your machine
> > default is 1MB
> > Any way capture started. "
> >

> No, it comes with the Win32-only pcap_setbuff() routine not being set
> up to handle add-on capture interfaces such as yours.  I'll have to
> look at how to fix that.

Does this mean in any way that we cannot do it , or that we will have
to wait on until it comes  Or can we carry on and get our stuff in it ?
Is it just that this message will display while our capture will work? :-)

Looking forward for your favorable response!

Best regards

Xavier
  • Prev by Date: Re: [Wireshark-dev] Info column problem?
  • Next by Date: Re: [Wireshark-dev] Info column problem?
  • Previous by thread: Re: [Wireshark-dev] Problems with the newly modified and compiled wpcap.dll
  • Next by thread: Re: [Wireshark-dev] [Wireshark-commits] rev 23065: /trunk/plugins/profinet/ /trunk/plugins/profinet/: packet-dcerpc-pn-io.c
  • Index(es):
    • Date
    • Thread

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