Wireshark-dev: Re: [Wireshark-dev] buffer comparision
From: Jaap Keuter <[email protected]>
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 <[email protected]>
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