<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16640" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=agupta@devfoundry.com href="mailto:agupta@devfoundry.com">Ashok
Gupta</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=winpcap-users@winpcap.org
href="mailto:winpcap-users@winpcap.org">winpcap-users@winpcap.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, May 20, 2008 10:57
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Winpcap-users] pcap_setbuff
function is not available in Linux</DIV>
<DIV><FONT size=2></FONT><BR></DIV>
<DIV><FONT face=Arial size=2>Hi All,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am building the application on linux using the
libpcap api(libpcap-0.9.8.tar).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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.<BR>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?</FONT></DIV><FONT
face=Arial size=2>
<DIV><FONT face="Courier New"></FONT><BR>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.</DIV></BLOCKQUOTE>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT face="Courier New">On which OS are you encountering the wrong IP
address problem? Windows or Linux?</FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT face="Courier New">Have a nice day</FONT></DIV>
<DIV><FONT face="Courier New">GV</FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV> </DIV>
<DIV>Thanks in Advance</DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV>Regards</DIV>
<DIV>Ashok Gupta</FONT></DIV>
<P></P><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT>
<HR>
<P></P>_______________________________________________<BR>Winpcap-users
mailing
list<BR>Winpcap-users@winpcap.org<BR>https://www.winpcap.org/mailman/listinfo/winpcap-users<BR></BLOCKQUOTE></BODY></HTML>