Ethereal-dev: Re: [Ethereal-dev] Ethernet FCS questions

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Wed, 28 Sep 2005 10:19:51 -0700
Ulf Lamping wrote:

In the protocol PN-RT (directly on top of Ethernet), the last four
user bytes contains some protocol status values. There's no length field
to indicate at which offset the status is,

So are all PN-RT packets > 46 bytes long, so that there's no padding? Or does it have some other way to indicate whether there's Ethernet padding?

so I'll have to take the end of the tvb

...after checking to make sure that tvb_length(tvb) == tvb_reported_length(tvb), i.e. that the status wasn't cut off by the snapshot length.