thank you so much.i just want to know the general infomation about protocol register,i can understand the meaning of the following three functions,especially the third one
1. proto_register_protocol
/* Required function calls to register the header fields and subtrees used */
2.proto_register_field_array(proto_1722, hf, array_length(hf))
3.proto_register_subtree_array(ett, array_length(ett));
------------------ ???????? ------------------
??????: "Guy Harris";<guy@xxxxxxxxxxxx>;
????????: 2014??1??8??(??????) ????12:53
??????: "Developer support list for Wireshark"<wireshark-dev@xxxxxxxxxxxxx>;
????: Re: [Wireshark-dev]?????? ?????? use of treetypes
On Jan 7, 2014, at 8:13 PM, "??????????" <237825552@xxxxxx> wrote:
> I'm sorry.I thought you are chinese.
I'm not Chinese - and neither is Richard Sharpe.
I think Richard can read and write Chinese; I can't.
If you reply to a message on the list, it'll go to the list, rather than the person who sent it, unless you specifically arrange to send it to the person to whom you're replying; your reply to Richard went to the entire list.
> i have not understand the wireshark code yet,so i don't know it exactly.
If you have questions about the Wireshark code, it's probably best to send messages to the entire list; Wireshark is a large program, and I don't know whether there's anybody who's familiar with all of it, or even with the "core" of it (i.e., everything except for the dissectors - I suspect *nobody* is familiar with all the dissectors, as there are so many of them), and if you talk to the entire list, you're more likely to find somebody familiar with whatever part of the source code you need to learn about.
(Messages sent to the list should probably be in English, as that's the one language most people on the list are likely to know; many people on the list know other languages, but those languages might be French or German or Spanish or Portuguese or Italian or Dutch or Swedish or Danish or Norwegian or Finnish or Japanese or Korean or Russian or Czech or Polish or Farsi or Hebrew or Arabic or Thai or... rather than Chinese. Hopefully I haven't offended any contributors by omitting their language from the list. :-))
___________________________________________________________________________
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