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: [email protected] 
[mailto:[email protected]] On Behalf Of J. M.
Sent: Thursday, March 06, 2014 7:22 AM
To: [email protected]
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.
_______________________________________________
Winpcap-users mailing list
[email protected]
https://www.winpcap.org/mailman/listinfo/winpcap-users

Reply via email to