From Neil Piercy:
Dissect RRC NAS Message PDUs. svn path=/trunk/; revision=24095
This commit is contained in:
parent
ac7dfec61d
commit
0c454791f5
|
@ -52,6 +52,7 @@
|
|||
#define PFNAME "rrc"
|
||||
|
||||
static dissector_handle_t rrc_handle=NULL;
|
||||
static dissector_handle_t gsm_a_dtap_handle=NULL;
|
||||
|
||||
/* Include constants */
|
||||
#include "packet-rrc-val.h"
|
||||
|
@ -115,7 +116,7 @@ void proto_register_rrc(void) {
|
|||
proto_register_field_array(proto_rrc, hf, array_length(hf));
|
||||
proto_register_subtree_array(ett, array_length(ett));
|
||||
|
||||
|
||||
|
||||
register_dissector("rrc", dissect_rrc, proto_rrc);
|
||||
|
||||
#include "packet-rrc-dis-reg.c"
|
||||
|
@ -129,6 +130,7 @@ proto_reg_handoff_rrc(void)
|
|||
{
|
||||
|
||||
rrc_handle = find_dissector("rrc");
|
||||
gsm_a_dtap_handle = find_dissector("gsm_a_dtap");
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -24,3 +24,13 @@ MSCH-Message @msch
|
|||
|
||||
#.END
|
||||
|
||||
#.FN_BODY NAS-Message VAL_PTR = &nas_message_tvb
|
||||
tvbuff_t *nas_message_tvb=NULL;
|
||||
|
||||
%(DEFAULT_BODY)s
|
||||
|
||||
if (nas_message_tvb)
|
||||
call_dissector(gsm_a_dtap_handle,nas_message_tvb,%(ACTX)s->pinfo, proto_tree_get_root(tree));
|
||||
|
||||
#.END
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue