[Winpcap-users] pcap_setbuff function is not available in Linux

Ashok Gupta agupta at devfoundry.com
Thu May 22 04:22:58 GMT 2008


On Linux we are getting wrong IP address problem.
Thanks
Ashok

----- Original Message ----- 
  From: Gianluca Varenni 
  To: winpcap-users at winpcap.org 
  Sent: Wednesday, May 21, 2008 11:05 PM
  Subject: Re: [Winpcap-users] pcap_setbuff function is not available in Linux



    ----- Original Message ----- 
    From: Ashok Gupta 
    To: winpcap-users at winpcap.org 
    Sent: Tuesday, May 20, 2008 10:57 PM
    Subject: [Winpcap-users] pcap_setbuff function is not available in Linux


    Hi All,

    I am building the application on linux using the libpcap api(libpcap-0.9.8.tar).

    In this I want to set the kernel buffer for pcap driver, for this function pcap_setbuff is not available, but his same function is available in windows.
    So how we can set the pcap driver packet queue kernel buffer in linux? Is their any way through which we can include the  pcap_setbuff call, if not what is workaround?

    pcap_findalldevs functions is not returning the correct Ip address of network card, it returns 2.0.0.0 IP, but NIC/card name its returning fine. So what changes I need to do so that this functions should return the correct IP, like my machine IP is 192.168.96.94.

  On which OS are you encountering the wrong IP address problem? Windows or Linux?

  Have a nice day
  GV


    Thanks in Advance

    Regards
    Ashok Gupta


----------------------------------------------------------------------------


    _______________________________________________
    Winpcap-users mailing list
    Winpcap-users at winpcap.org
    https://www.winpcap.org/mailman/listinfo/winpcap-users



------------------------------------------------------------------------------


  _______________________________________________
  Winpcap-users mailing list
  Winpcap-users at winpcap.org
  https://www.winpcap.org/mailman/listinfo/winpcap-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20080522/f4c4b6b4/attachment-0001.htm


More information about the Winpcap-users mailing list