[Winpcap-users] When does the memory allocated by PacketSetBuff getreleased?

Gianluca Varenni gianluca.varenni at cacetech.com
Mon Aug 2 11:27:02 PDT 2010


The memory gets freed when you close the adapter. 

GV


From: Pushkar Tiwari 
Sent: Monday, August 02, 2010 11:20 AM
To: winpcap-users at winpcap.org 
Subject: [Winpcap-users] When does the memory allocated by PacketSetBuff getreleased?


Hi,
We are using PacketSetBuff API to allocate kernel buffer. Our implementation is based on the example provided in the Winpcap source.
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?

I have seen through winpcap source also, but could not find anything there also.

Thanks,
Pushkar



--------------------------------------------------------------------------------


_______________________________________________
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/20100802/d6ddd10f/attachment.htm 


More information about the Winpcap-users mailing list