[Winpcap-users] pcap_sendpacket() and padding

Marcel van Lieshout marcel at hmcs.nl
Fri May 26 08:45:35 GMT 2006


hmm, when testing with transmitting undersized packets, etherreal shows the 
short size. No padding is shown. Is this a limitation of etherreal?

Marcel

Guy Harris wrote:
> 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.
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users 



More information about the Winpcap-users mailing list