aboutsummaryrefslogtreecommitdiffstats
path: root/epan/epan.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2002-09-04 09:40:29 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2002-09-04 09:40:29 +0000
commit93a649db6f5db64dbdc80eece52f0891c8a72cfb (patch)
tree90bdf086756c8f41361d49ed02ea7adfa1bbd84a /epan/epan.c
parent7876ca4fe0bd8ce1cf1bd16d9e4cbdb8a4a007d3 (diff)
Tap api. tap is a simple api that can be used for arbitrary extensions.
One example extension is rpcstat. Try -Z rpc,rtt,100003,3 as argument to tethereal when reading a capture containing NFSv3 packets. tap-rpcstat.[ch] is intended to demonstrate the api and can be used to base other extensions on. svn path=/trunk/; revision=6175
Diffstat (limited to 'epan/epan.c')
-rw-r--r--epan/epan.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/epan/epan.c b/epan/epan.c
index 0e01ec42f9..91e0ed944f 100644
--- a/epan/epan.c
+++ b/epan/epan.c
@@ -1,6 +1,6 @@
/* epan.h
*
- * $Id: epan.c,v 1.19 2002/06/04 07:03:54 guy Exp $
+ * $Id: epan.c,v 1.20 2002/09/04 09:40:29 sahlberg Exp $
*
* Ethereal Protocol Analyzer Library
*
@@ -18,6 +18,7 @@
#include "except.h"
#include "packet.h"
#include "column-utils.h"
+#include "../tap.h"
/*
* XXX - this takes the plugin directory as an argument, because
@@ -47,6 +48,7 @@ epan_init(const char *plugin_dir, void (register_all_protocols)(void),
except_init();
tvbuff_init();
frame_data_init();
+ tap_init();
proto_init(plugin_dir,register_all_protocols,register_all_handoffs);
packet_init();
dfilter_init();