Wireshark-dev: [Wireshark-dev] <kein Betreff>

Date: Tue, 18 Jul 2006 12:43:26 +0200
Hi,

at the moment i am dissecting a protocol for a debug interface with a plug-in dissector.
this interface has various ethertypes like 0x0960, 0x0961, 0x0970, .....
and i have two problems.

first:
when calling
dissector_add("ethertype",VALUE, proto_handle);

how can i register more than one VALUE for ethertype

second:
when dissecting the protocol, i want to get the value of the given ethertype for storing it in a variable.
i got problems, because the tvb handle has always went over the first 12 bytes, where the ethertype is given.

thanks in advance

andy
______________________________________________________________________
XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club!		
Jetzt gratis testen! http://freemail.web.de/home/landingpad/?mc=021130