Ethereal-dev: Re: [ethereal-dev] pim(protocol independent multicast)

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Fri, 15 Oct 1999 22:19:54 +0900
>> >>         Here's decoding code for pim (protocol independent multicast).
>> >>         test data is included.
>> >Our first protocol-within-a-protocol! In packet-pim.c, in line 264,
>> >when you call the next dissector (ipv4 or ipv6), can we pass it
>> >tree instead of pimopt_tree, so that those dissectors put their
>> >protocols at the top level of the protocol tree?
>> 
>> >Then in that trace that you sent, we'l' have packets like:
>> >Frame #3:
>> >+ Frame (1124 on wire, 1124 captured)
>> >+ Null/Loopback
>> >+ IPv6
>> >+ PIM
>> >+ IPv6
>> >+ UDP
>> >+ Data
>> 
>>         PIM register message is sort of tunneled packet, so I thought
>>         it would be good to have it inside PIM tree.  I totally agree
>>         with your change, as tunneled packets are aligned just like above
>>         (call to dissect_ipv6() from dissect_ip(), for example).

	Oops, I found a bad sideeffect of having inner IPv6 header to
	the top level; topmost window would show that the packet is
	UDP packet, not the PIM packet.  I would like to backout your
	change and put IPv6 header under PIM tree.

itojun