Commit Graph

7 Commits

Author SHA1 Message Date
Guy Harris a7aba0a288 Replace the ETT_ "enum" members, declared in "packet.h", with
dynamically-assigned "ett_" integer values, assigned by
"proto_register_subtree_array()"; this:

	obviates the need to update "packet.h" whenever you add a new
	subtree type - you only have to add a call to
	"proto_register_subtree_array()" to a "register" routine and an
	array of pointers to "ett_", if they're not already there, and
	add a pointer to the new "ett_" variable to the array, if they
	are there;

	would allow run-time-loaded dissectors to allocate subtree types
	when they're loaded.

svn path=/trunk/; revision=1043
1999-11-16 11:44:20 +00:00
Gilbert Ramirez 06b0aeedfe Put tunneled protocols under pimopt_tree instead of tree like Jun-ichiro
originally had it.

svn path=/trunk/; revision=901
1999-10-21 15:06:02 +00:00
Jun-ichiro itojun Hagino c7f4ca2fb0 make pim.{version,type,cksum} available for filters.
svn path=/trunk/; revision=840
1999-10-15 13:14:43 +00:00
Jun-ichiro itojun Hagino 810a67a6d0 implement ipprotostr() in ipproto.c, which basically does ipprotobynumber()
for ip.ip_p and ip6.ip6_nxt (and other IPv6 header chain).

use val_to_str() as much as possible in dissect_{ipv6,pim,ripng}().

make --disable-zlib a default for netbsd (temporary workaround).

svn path=/trunk/; revision=827
1999-10-14 03:50:51 +00:00
Guy Harris 8b592e44a5 Include "snprintf.h" on systems that don't declare "snprintf()" in a
system header file.

svn path=/trunk/; revision=825
1999-10-14 01:39:47 +00:00
Gilbert Ramirez a5d9095528 Move tunnelled protocols up a few trees to co-exist with the
other protocols.

svn path=/trunk/; revision=823
1999-10-13 15:25:21 +00:00
Guy Harris 93d58bf824 Jun-ichiro itojun Hagino's code for PIM, and some fixes from him as
well.

Add some more protocols to the list of value/string pairs for IP
protocol types.

svn path=/trunk/; revision=822
1999-10-13 06:47:49 +00:00