Ethereal-dev: Re: [ethereal-dev] Modifying the packet buffer in dissectors

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

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Mon, 14 Aug 2000 20:03:21 -0700
On Mon, Aug 14, 2000 at 06:16:42PM -0400, Marcus Haebler wrote:
> Do you mean copy it to a new tvbuf as proposed in the next lines?

Yes.

Can it be decrypted from one buffer to another, rather than copied to
another buffer and decrypted in that buffer?  That might be faster
(unless you're unlucky and the target and source map to the same cache
line and the copying code handles that well but the decryption code
doesn't).