Ethereal-dev: [Ethereal-dev] questions about asn2eth

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Lars Roland <lars.roland@xxxxxxx>
Date: Sun, 30 Jan 2005 16:29:49 +0100
Hello all,

I tried to apply the h323 part of the voip call analysis patch an now I get following warnings when I try to regenerate the dissector:

:: UserWarning: The same type names for different types. Explicit type renaming is recommended.
T_language
 T_language           Connect-UUIE/language
 T_language1          Setup-UUIE/language
 T_language2          AdmissionConfirm/language

:: UserWarning: The same field names for different types. Explicit field renaming is recommended.
language
 language1            T_language1          Setup-UUIE/language
 language2            T_language2          AdmissionConfirm/language
 language             T_language           Connect-UUIE/language

I didn't get these warnings before and I can't see any difference for the language items. They are still generated completely from the asn definition file. There is nothing in the cnf or the template file about it.

What are the suggested "type renaming" and "field renaming" about?
When do I need them?

Another question. Why do we have so many "T_*" functions in generated dissectors? IMO they introduce an unnecessary function call.

Regards,
Lars