Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] buffer comparision

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Wed, 19 Aug 2009 14:34:46 +0200
Hi,

Are these still TVBs? Then look in epan/tvbuff.h for tvb_memeql().
If they're 'reduced' to simple arrays fall back to memcmp() and friends.

Thanx,
Jaap

On Wed, 19 Aug 2009 17:46:28 +0530, Devlina <devlinahello2@xxxxxxxxx>
wrote:
> I have to compare two data buffers, whose contents are taken from tvb.
Is
> there any function in wireshark API to compare two buffer contents??
please
> give reference