[Wireshark-dev] package fields is analysised by config file.field is defined in config file.

2011-11-24 Thread liyunshi
hi!I need wireshark dissect captured packages by a config file. When wireshark started,the config file will be loaded to wireshark,and the captured package will be dissected by the fields name defined in xml file. Every displayed field is defined in xml files,so every field is configurable .Cou

Re: [Wireshark-dev] SPX protocol subdissector

2011-11-24 Thread Guy Harris
On Nov 24, 2011, at 11:44 AM, Andreas wrote: > You can only use add your dissector for fields that are registered with > register_dissector_table for this purpose. ...and they're not fields, they're just dissector tables; by *convention*, dissector tables are often given the same name as field

Re: [Wireshark-dev] SPX protocol subdissector

2011-11-24 Thread Andreas
Am 24.11.2011 19:41, schrieb Sergey Glebov: I'm trying to make a dissector for the protocol, that works inside SPX. So I register my protocol, register a dissector with dissect_XXX function, etc - all pretty much like in samples. Tricky thing is, that if I call, say, dissector_add("udp.port"

[Wireshark-dev] SPX protocol subdissector

2011-11-24 Thread Sergey Glebov
Hi everyone, Sorry if writing to unappropriate place, please redirect me if necessary. I'm trying to make a dissector for the protocol, that works inside SPX. So I register my protocol, register a dissector with dissect_XXX function, etc - all pretty much like in samples. Tricky thing