aboutsummaryrefslogtreecommitdiffstats
path: root/util.h
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2003-11-18 04:16:28 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2003-11-18 04:16:28 +0000
commit15501caedd22b66899516f0a2dcbe75c71589f0b (patch)
tree283764bf9f97cf3752ab6310224e3c15a4764c91 /util.h
parent18ead5d53247853f34277caeddeee124ce1a198e (diff)
Check the environment variables SSH_CONNECTION, SSH_CLIENT, REMOTEHOST,
DISPLAY, and CLIENTNAME (in that order). If any of them are set, create a capture filter that excludes their traffic and set it as the default. The longer filters should be efficient without being overly long; they may need some tweaking. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8994 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'util.h')
-rw-r--r--util.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/util.h b/util.h
index 496e084ea3..6a36487fb2 100644
--- a/util.h
+++ b/util.h
@@ -1,7 +1,7 @@
/* util.h
* Utility definitions
*
- * $Id: util.h,v 1.29 2003/05/23 05:25:19 tpot Exp $
+ * $Id: util.h,v 1.30 2003/11/18 04:16:28 gerald Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -59,6 +59,9 @@ void compute_timestamp_diff(gint *, gint *, guint32, guint32, guint32, guint32);
/* In-place decoding of a base64 string. */
size_t base64_decode(char *s);
+/* Create a capture filter for the connection */
+char *get_conn_cfilter(void);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */