diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-02-15 21:06:58 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-02-15 21:06:58 +0000 |
commit | ddfa11e870be7bbe45147c2e7807da7ee13d6ee8 (patch) | |
tree | 1ed7404ba1544d1204efc77468af4f151c6fc67d /packet-udp.c | |
parent | a9e588ea5797b3f1bb8fb330283d90c51600a56a (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-udp.c')
-rw-r--r-- | packet-udp.c | 31 |
1 files changed, 29 insertions, 2 deletions
diff --git a/packet-udp.c b/packet-udp.c index d1fcea283b..90d3a32585 100644 --- a/packet-udp.c +++ b/packet-udp.c @@ -1,7 +1,7 @@ /* packet-udp.c * Routines for UDP packet disassembly * - * $Id: packet-udp.c,v 1.49 2000/02/09 19:09:02 guy Exp $ + * $Id: packet-udp.c,v 1.50 2000/02/15 21:03:23 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -46,6 +46,33 @@ #include "plugins.h" +#include "packet-auto_rp.h" +#include "packet-bootp.h" +#include "packet-dns.h" +#include "packet-hsrp.h" +#include "packet-icp.h" +#include "packet-icq.h" +#include "packet-ipx.h" +#include "packet-isakmp.h" +#include "packet-l2tp.h" +#include "packet-nbns.h" +#include "packet-ncp.h" +#include "packet-ntp.h" +#include "packet-radius.h" +#include "packet-rip.h" +#include "packet-ripng.h" +#include "packet-rpc.h" +#include "packet-rx.h" +#include "packet-sap.h" +#include "packet-snmp.h" +#include "packet-srvloc.h" +#include "packet-tacacs.h" +#include "packet-tftp.h" +#include "packet-time.h" +#include "packet-vines.h" +#include "packet-wccp.h" +#include "packet-who.h" + static int proto_udp = -1; static int hf_udp_srcport = -1; static int hf_udp_dstport = -1; @@ -280,7 +307,7 @@ dissect_udp(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) { } else if (PORT_IS(UDP_PORT_RIPNG)) dissect_ripng(pd, offset, fd, tree); else if (PORT_IS(UDP_PORT_NCP)) - dissect_ncp(pd, offset, fd, tree); + dissect_ncp(pd, offset, fd, tree); /* XXX -- need to handle nw_server_address */ else if (PORT_IS(UDP_PORT_NBNS)) dissect_nbns(pd, offset, fd, tree); else if (PORT_IS(UDP_PORT_NBDGM)) |