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

Ashok Gupta agupta at devfoundry.com
Wed May 21 05:57:25 GMT 2008


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.

Thanks in Advance

Regards
Ashok Gupta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20080521/32efc97d/attachment.htm


More information about the Winpcap-users mailing list