Ashok Gupta
2008-05-21 05:57:25 UTC
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
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