[ovs-dev] [PATCH] pcap-file: Fix calculation of TCP payload length in tcp_reader_run().

William Tu u9012063 at gmail.com
Tue Feb 16 22:09:17 UTC 2021


I see, thanks.

On Tue, Feb 16, 2021 at 12:52 PM Ben Pfaff <blp at ovn.org> wrote:
>
> On Fri, Feb 12, 2021 at 11:15:46AM -0800, William Tu wrote:
> > I'm confused with what l2_pad_size is.
> > I thought it's between L2 and L3 header, there is a 2-byte padding to
> > make it 16-byte alignment. But it doesn't look like that.
>
> Ethernet has a 64-byte minimum packet length.  l2_pad_size is the number
> of bytes of padding added to a packet to bring it up to that minimum
> length.


More information about the dev mailing list