Hi all ,

I have written a dissector ( ASN.1 format), which runs over ETSI-TCAP. Now,this 
dissector has an SCCP sub-system number.In general , the sub-dissectors running 
over ITU-TCAP( eg : camel , GSMMAP) are registered in the following way:

In the proto_register_xxx(void):

range_convert_str(&global_ssn_range, "6-9", MAX_SSN);
ssn_range = range_empty();
prefs_register_range_preference(xxx_module, "tcap.ssn", "XXX SSNs", "TCAP 
Subsystem numbers used for XXX", &global_ssn_range, MAX_SSN);

In proto_reg_handoff_xxx(void), we use:

if ( !xxx_initialised)
{
}
else{
range_foreach(ssn_range, range_delete_callback);}
...
ssn_range = range_copy(global_ssn_range);
range_foreach(ssn_range, range_add_callback);

For a dissector having SCCP SSN, we use :

dissector_delete("sccp.ssn", SCCP_SSN_XXX, xxx_handle);
dissector_add("sccp.ssn", SCCP_SSN_XXX, xxx_handle);

Now I am not able to register either ways . Proto_reg_handoff_xxx is not 
getting called at all.
 Can somebody please help me ??

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

_______________________________________________
Wireshark-dev mailing list
[email protected]
http://www.wireshark.org/mailman/listinfo/wireshark-dev

Reply via email to