[Winpcap-users] Kernel buffer and pcap_sendpacket

Gianluca Varenni Gianluca.Varenni at riverbed.com
Fri Mar 7 00:58:38 UTC 2014


It's not used by pcap_sendpacket, however I don't think you can send that buffer to 0 (I haven't checked the driver code). I would set it to a very small number like 4k

Have a nice day
GV

From: winpcap-users-bounces at winpcap.org [mailto:winpcap-users-bounces at winpcap.org] On Behalf Of J. M.
Sent: Thursday, March 06, 2014 7:22 AM
To: winpcap-users at winpcap.org
Subject: [Winpcap-users] Kernel buffer and pcap_sendpacket

Hi,

I would like to know if the buffer initialized with pcap_setbuff is used by pcap_sendpacket.
If not, can I call pcap_setbuff with dim = 0 for a pcap_t that will only be used for sending?

Thank you very much,

J.M.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winpcap.org/pipermail/winpcap-users/attachments/20140307/9eedac61/attachment.html>


More information about the Winpcap-users mailing list