<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16588"></HEAD>
<BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px"
id=MailContainerBody leftMargin=0 topMargin=0 CanvasTabStop="true"
name="Compose message area">
<DIV><FONT face=Calibri>The memory gets freed when you close the adapter.
</FONT></DIV>
<DIV><FONT face=Calibri></FONT> </DIV>
<DIV><FONT face=Calibri>GV</FONT></DIV>
<DIV style="FONT: 10pt Tahoma">
<DIV><BR></DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=pushkartiwari@gmail.com
href="mailto:pushkartiwari@gmail.com">Pushkar Tiwari</A> </DIV>
<DIV><B>Sent:</B> Monday, August 02, 2010 11:20 AM</DIV>
<DIV><B>To:</B> <A title=winpcap-users@winpcap.org
href="mailto:winpcap-users@winpcap.org">winpcap-users@winpcap.org</A> </DIV>
<DIV><B>Subject:</B> [Winpcap-users] When does the memory allocated by
PacketSetBuff getreleased?</DIV></DIV></DIV>
<DIV><BR></DIV>
<DIV>Hi,</DIV>
<DIV>We are using PacketSetBuff API to allocate kernel buffer. Our
implementation is based on the example provided in the Winpcap source.</DIV>
<DIV>I could not find any reference on releasing the buffer that gets allocated
in the kernel. Does it get released on closing the adapter or do we need to
clean it up explicitly?</DIV>
<DIV> </DIV>
<DIV>I have seen through winpcap source also, but could not find anything there
also.</DIV>
<DIV> </DIV>
<DIV>Thanks,</DIV>
<DIV>Pushkar</DIV>
<DIV> </DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Winpcap-users mailing
list<BR>Winpcap-users@winpcap.org<BR>https://www.winpcap.org/mailman/listinfo/winpcap-users<BR></BODY></HTML>