Wireshark-dev: Re: [Wireshark-dev] about DissectorTable
From: hacken Tao <taokeqin@xxxxxxxxx>
Date: Thu, 22 Apr 2010 13:23:05 +0800
it works!
i use:
tab = DissectorTable:get("ethertype") 
tab:add(0x0806,mydissector)
 
thanks!

2010/4/22 Guy Harris <guy@xxxxxxxxxxxx>

On Apr 21, 2010, at 8:41 AM, hacken Tao wrote:

> BUT if i want to redissect the ARP protocol, when i use DissectorTable:get(name),I do not know which name is correct??

"ethertype".  The Ethernet type value for ARP is 0x0806.

> are there some functions or docs that can show all the Dissectors and DissectorTable??

Currently, no.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe