Wireshark-dev: Re: [Wireshark-dev] Comparing address type
From: Guy Harris <[email protected]>
Date: Wed, 26 Nov 2008 14:45:33 -0800
On Nov 26, 2008, at 2:38 PM, Qifan Xi wrote:

Is there a relatively pain-free way to perform such a comparison?
The ADDRESSES_EQUAL() macro, defined in <epan/address.h>.  It takes  
two pointers to "address" as arguments, and evaluates to 1 if the  
addresses are equal, 0 otherwise.