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

Gianluca Varenni gianluca.varenni at cacetech.com
Wed May 21 17:35:21 GMT 2008


  ----- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20080521/694b4a34/attachment.htm


More information about the Winpcap-users mailing list