[Winpcap-users] pcap_sendpacket() and padding

Guy Harris guy at alum.mit.edu
Thu May 25 21:50:05 GMT 2006


On May 25, 2006, at 2:07 AM, Marcel van Lieshout wrote:

> The manual is clear about the CRC being added automatically when  
> calling pcap_sendpacket().
>
> But what about the (short package) padding? Should I add this  
> myself or is this also taken care of?

On UN*X, it goes directly to the Ethernet and driver send path, which  
means the padding is taken care of for you.  Given that WinPcap uses  
NDIS, it also goes directly to the Ethernet and driver send path on  
Windows, so I presume it's taken care of for you on Windows as well.


More information about the Winpcap-users mailing list