diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-04-14 05:39:43 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-04-14 05:39:43 +0000 |
commit | 61167a3c28f1413cfe0f3a3fb0f9454815a02b16 (patch) | |
tree | 939261d5f15a73a162f634864c4c25a5deb23a5b /ipv4.h | |
parent | d716875317fdf7597ece0639082efe943598bccd (diff) |
Change dfilter_apply() to 4-argument function. 4th argument is not yet used,
but will be in the future, and it's easier for me to keep my local branch
in sync with the source with the calls to dfilter_apply() already modified
tothe 4-arg format.
Add a CPP macro to ipv4.h to define ipv4_addr_ne(). Use it in dfilter.c
svn path=/trunk/; revision=1854
Diffstat (limited to 'ipv4.h')
-rw-r--r-- | ipv4.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -5,7 +5,7 @@ * * Gilbert Ramirez <gram@xiexie.org> * - * $Id: ipv4.h,v 1.5 2000/04/12 20:24:34 gram Exp $ + * $Id: ipv4.h,v 1.6 2000/04/14 05:39:41 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -61,4 +61,6 @@ gboolean ipv4_addr_ge(ipv4_addr *a, ipv4_addr *b); gboolean ipv4_addr_lt(ipv4_addr *a, ipv4_addr *b); gboolean ipv4_addr_le(ipv4_addr *a, ipv4_addr *b); +#define ipv4_addr_ne(a,b) !ipv4_addr_eq((a),(b)) + #endif |