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 /dfilter.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 'dfilter.h')
-rw-r--r-- | dfilter.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ /* dfilter.h * Definitions for display filters * - * $Id: dfilter.h,v 1.15 2000/01/15 00:22:30 gram Exp $ + * $Id: dfilter.h,v 1.16 2000/04/14 05:39:38 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -63,6 +63,6 @@ void dfilter_destroy(dfilter *df); int dfilter_compile(gchar* dfilter_text, dfilter** dfp); /* Apply compiled dfilter to a proto_tree */ -gboolean dfilter_apply(dfilter *df, proto_tree *ptree, const guint8* pd); +gboolean dfilter_apply(dfilter *df, proto_tree *ptree, const guint8* pd, guint pd_len); #endif /* ! __DFILTER_H__ */ |