Re: [Wireshark-dev] frame relay --> osi

2009-07-15 Thread Townsend, Matthew
> One note: > > The find_dissector() actually should be done in > proto_reg_handoff_xxx(). > > The proto_reg_handoff... functions are called only after all the > proto_register... functions have been called. > Thanks! I'll fix mine. I know I copied this from some built-in plugin. I'll see i

Re: [Wireshark-dev] frame relay --> osi

2009-07-15 Thread Bill Meier
Townsend, Matthew wrote: > I do a similar task with PPP data (I think). Treat it the same as the > data_handle used in your file. > > There are only three lines needed: > > Global: > static dissector_handle_t ppp_handle=NULL; > > in proto_register_xxx() > ppp_handle = find_dissector("p

Re: [Wireshark-dev] frame relay --> osi

2009-07-15 Thread Townsend, Matthew
rg Subject: [Wireshark-dev] frame relay --> osi I'm not sure if using this email address to ask for help is frowned upon, but I'll give it a shot. In epan/dissectors, the three files I'm working on are packet-fr.c, packet-osi.c and packet-lapd.c. The frame relay dissector hand

Re: [Wireshark-dev] frame relay --> osi

2009-07-14 Thread Guy Harris
On Jul 13, 2009, at 12:07 PM, Jeremy Duff wrote: > I just can't seem to get this to work. Is there any advice you can > give me to make this happen? Arrange that dissect_lapd_nlpid() gets called at some point? It's static to your version of packet-lapd.c, but nothing in there calls it or

[Wireshark-dev] frame relay --> osi

2009-07-14 Thread Jeremy Duff
I'm not sure if using this email address to ask for help is frowned upon, but I'll give it a shot. In epan/dissectors, the three files I'm working on are packet-fr.c, packet-osi.c and packet-lapd.c. The frame relay dissector hands off information to the osi dissector, and my goal is to mimick this