|
From: | Philipp Tölke |
Subject: | Re: [lwip-devel] [bug #34525] Queueing a packet for nd leaks memory |
Date: | Tue, 11 Oct 2011 13:16:04 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 |
On 11.10.2011 13:12, Ingrid wrote:
For now I am using blocking code to send the data to the Ethernet interface. How would I go about using non-blocking I/O (i.e. DMA)? The send-call would return before the memory was no longer used and then I should not free() it in the sending function.
Ah, I found <http://lwip.wikia.com/wiki/Writing_a_device_driver#Notes_on_Zero-Copy_Network_interface_drivers> thanks for your help! Regards, Philipp Tölke
[Prev in Thread] | Current Thread | [Next in Thread] |