Wireshark-dev: Re: [Wireshark-dev] RRC NAS MEssage dissection (was: RE: 3GPP RLC andMAC protoco
From: "Anders Broman" <[email protected]>
Date: Tue, 15 Jan 2008 08:01:01 +0100

Hi,

Committed revision 24095.

>PS Did you know MSVC6 cannot set breakpoints beyond line 64k of a file - and packet-rrc.c is a _lot_ bigger (but MSVC6 actually points you back to rrc.cnf correctly >anyway, but...)

There are switches in the makefile removing warnings that would otherwise say something like:

“Number of lines >64k terminating emission of line numbers”

Regards

Anders

 


Från: [email protected] [mailto:[email protected]] För Neil Piercy
Skickat: den 14 januari 2008 11:29
Till: Developer support list for Wireshark
Ämne: [Wireshark-dev] RRC NAS MEssage dissection (was: RE: 3GPP RLC andMAC protocols support)

 

That was enough of a hint - thanks.  Bug 2192 and patch for review submitted.


Regards, Neil

 

PS Did you know MSVC6 cannot set breakpoints beyond line 64k of a file - and packet-rrc.c is a _lot_ bigger (but MSVC6 actually points you back to rrc.cnf correctly anyway, but...)


From: [email protected] [mailto:[email protected]] On Behalf Of Anders Broman

Hi,

In rrc.cnf do something similar to whats done in RANAP

--- Snip from ranap.cnf ---

#.FN_BODY NAS-PDU  VAL_PTR = &nas_pdu_tvb

  tvbuff_t *nas_pdu_tvb=NULL;

 

%(DEFAULT_BODY)s

 

                      if (nas_pdu_tvb)

                                            dissector_try_port(nas_pdu_dissector_table, 0x1, nas_pdu_tvb, %(ACTX)s->pinfo, proto_tree_get_root(tree));

#.END

--- End Snip from ranap.cnf ---

I guess that would be:

#.FN_BODY NAS-Message PDU  VAL_PTR = &nas_message_tvb

%(DEFAULT_BODY)s

 

                      if (nas_pdu_tvb)

then the actual hook into packet-gsm_a.c

 

If you do something along those lines please submit the result back to us.

Regards

Anders