[Winpcap-users] DMA and Kernel Buffer Issues

Zafer SAVAS zsavas at aselsan.com.tr
Thu May 8 16:03:49 GMT 2008


Hello winpcap users,

I have 2 questions about packet capturing. Would someone please share his/her knowledge about them?

- Does all of the ethernet adapters support DMA transfer? I mean; after a packet is received, is it transfered to the user side (Kernel buffer of the winpcap library) with a DMA transfer or not?

- There are two functions, pcap_setbuff() and pcap_setmintocopy(), in winpcap. Although they are explained in winpcap documentation, would someone please explain their functionality in detail? Has someone ever observed their effect? Also I appreciate if someone posts a code segment about the usage of them?

Kind regards
zafer
######################################################################
Dikkat:

Bu elektronik posta mesaji kisisel ve ozeldir. Eger size 
gonderilmediyse lutfen gondericiyi bilgilendirip mesaji siliniz. 
Firmamiza gelen ve giden mesajlar virus taramasindan gecirilmekte, 
guvenlik nedeni ile kontrol edilerek saklanmaktadir. Mesajdaki 
gorusler ve bakis acisi gondericiye ait olup Aselsan A.S. resmi 
gorusu olmak zorunda degildir.

######################################################################
Attention: 

This e-mail message is privileged and confidential. If you are 
not the intended recipient please delete the message and notify 
the sender. E-mails to and from the company are monitored for 
operational reasons and in accordance with lawful business practices. 
Any views or opinions presented are solely those of the author and 
do not necessarily represent the views of the company.

######################################################################



More information about the Winpcap-users mailing list