aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ip.h
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2000-02-15 21:06:58 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2000-02-15 21:06:58 +0000
commitddfa11e870be7bbe45147c2e7807da7ee13d6ee8 (patch)
tree1ed7404ba1544d1204efc77468af4f151c6fc67d /packet-ip.h
parenta9e588ea5797b3f1bb8fb330283d90c51600a56a (diff)
Create a header file for every packet-*.c file. Prune the packet.h file.
This change allows you to add a new packet-*.c file and not cause a recompilation of everything that #include's packet.h Add the plugin_api.[ch] files ot the plugins/Makefile.am packaging list. Add #define YY_NO_UNPUT 1 to the lex source so that the yyunput symbol is not defined, squelching a compiler complaint when compiling the generated C file. svn path=/trunk/; revision=1637
Diffstat (limited to 'packet-ip.h')
-rw-r--r--packet-ip.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/packet-ip.h b/packet-ip.h
index 5911bccdfa..24f94d58e0 100644
--- a/packet-ip.h
+++ b/packet-ip.h
@@ -1,7 +1,7 @@
/* packet-ip.h
* Definitions for IP packet disassembly structures and routines
*
- * $Id: packet-ip.h,v 1.10 2000/01/20 21:34:15 guy Exp $
+ * $Id: packet-ip.h,v 1.11 2000/02/15 21:02:18 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -27,6 +27,9 @@
#ifndef __PACKET_IP_H__
#define __PACKET_IP_H__
+void capture_ip(const u_char *, int, packet_counts *);
+void dissect_ip(const u_char *, int, frame_data *, proto_tree *);
+
#define IP_PROTO_IP 0 /* dummy for IP */
#define IP_PROTO_HOPOPTS 0 /* IP6 hop-by-hop options */
#define IP_PROTO_ICMP 1 /* control message protocol */