diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-02-15 06:36:57 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-02-15 06:36:57 +0000 |
commit | 38a04d266041d513504124245ab1c344ca89bfbd (patch) | |
tree | de9add6ec01e36d58ad3d8b4a4dbcb00ab570d55 /packet.h | |
parent | 58778fd8ad5d56f3a57fb60e52f6b1c0ae47951c (diff) | |
download | wireshark-38a04d266041d513504124245ab1c344ca89bfbd.tar.gz wireshark-38a04d266041d513504124245ab1c344ca89bfbd.tar.bz2 wireshark-38a04d266041d513504124245ab1c344ca89bfbd.zip |
Added Richard Sharpe's TFTP support.
svn path=/trunk/; revision=190
Diffstat (limited to 'packet.h')
-rw-r--r-- | packet.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,7 +1,7 @@ /* packet.h * Definitions for packet disassembly structures and routines * - * $Id: packet.h,v 1.37 1999/02/12 09:03:40 guy Exp $ + * $Id: packet.h,v 1.38 1999/02/15 06:36:57 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -361,6 +361,7 @@ typedef struct _e_udphdr { #define UDP_PORT_DNS 53 #define UDP_PORT_BOOTPS 67 +#define UDP_PORT_TFTP 69 #define UDP_PORT_IPX 213 #define UDP_PORT_NBNS 137 #define UDP_PORT_NBDGM 138 @@ -452,6 +453,7 @@ enum { ETT_NBDGM, ETT_CDP, ETT_HTTP, + ETT_TFTP, NUM_TREE_TYPES /* last item number plus one */ }; @@ -590,6 +592,7 @@ void dissect_ospf(const u_char *, int, frame_data *, GtkTree *); void dissect_ospf_hello(const u_char *, int, frame_data *, GtkTree *); void dissect_rip(const u_char *, int, frame_data *, GtkTree *); void dissect_tcp(const u_char *, int, frame_data *, GtkTree *); +void dissect_tftp(const u_char *, int, frame_data *, GtkTree *); void dissect_trmac(const u_char *, int, frame_data *, GtkTree *); void dissect_udp(const u_char *, int, frame_data *, GtkTree *); void dissect_vines(const u_char *, int, frame_data *, GtkTree *); @@ -600,6 +603,8 @@ void dissect_vines_ipc(const u_char *, int, frame_data *, GtkTree *); void dissect_vines_rtp(const u_char *, int, frame_data *, GtkTree *); void dissect_vines_spp(const u_char *, int, frame_data *, GtkTree *); +void init_dissect_udp(void); + /* These functions are in ethertype.c */ gchar *ethertype_to_str(guint16 etype, const char *fmt); void capture_ethertype(guint16 etype, int offset, |