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-ip.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-ip.c')
-rw-r--r-- | packet-ip.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packet-ip.c b/packet-ip.c index 7f522fecb1..4fb016b85b 100644 --- a/packet-ip.c +++ b/packet-ip.c @@ -1,7 +1,7 @@ /* packet-ip.c * Routines for IP and miscellaneous IP protocol packet disassembly * - * $Id: packet-ip.c,v 1.193 2003/07/09 05:37:47 tpot Exp $ + * $Id: packet-ip.c,v 1.194 2003/07/11 09:30:48 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -37,6 +37,7 @@ #include <epan/packet.h> #include <epan/resolv.h> #include "ipproto.h" +#include "ip_opts.h" #include "prefs.h" #include "reassemble.h" #include "etypes.h" |