diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-07-11 09:30:49 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-07-11 09:30:49 +0000 |
commit | 0c88f96ca0052e98a42b2bd6195771273c62c1db (patch) | |
tree | 6401b632d69ea20ddd51849cae79cafc769dd275 /packet-tcp.c | |
parent | 48b1ab757e38eca38cb489e7576bc104c95bae2e (diff) |
Add a routine "dissect_ipv6_options()" that works like
"dissect_ip_tcp_options()" but for options that are like IPv6 options
(i.e., the length byte has a value that doesn't include the option code
or length byte).
Add an "ip_opts.h" header to declare it, and move the declaration of
stuff used by it and "dissect_ip_tcp_options()", and the declaration of
"dissect_ip_tcp_options()", to that header.
Use "dissect_ipv6_options()" for Mobile IPv6 options.
Get rid of the unused "mip6_opt_types[]" array in "packet-mip6.h".
svn path=/trunk/; revision=8015
Diffstat (limited to 'packet-tcp.c')
-rw-r--r-- | packet-tcp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packet-tcp.c b/packet-tcp.c index e372f58ee7..1fb096f8bc 100644 --- a/packet-tcp.c +++ b/packet-tcp.c @@ -1,7 +1,7 @@ /* packet-tcp.c * Routines for TCP packet disassembly * - * $Id: packet-tcp.c,v 1.197 2003/06/04 08:45:10 guy Exp $ + * $Id: packet-tcp.c,v 1.198 2003/07/11 09:30:49 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -31,8 +31,10 @@ #include <glib.h> #include "in_cksum.h" +#include <epan/packet.h> #include <epan/resolv.h> #include "ipproto.h" +#include "ip_opts.h" #include "follow.h" #include "prefs.h" #include "packet-tcp.h" |