#include <glib.h>
#include <epan/packet.h>
#include <epan/conversation.h>
+#include <epan/oid_resolv.h>
#include <stdio.h>
#include <string.h>
#include "packet-acp133-dis-tab.c"
/* X.402 Object Classes */
- register_ber_oid_name("2.6.5.1.0","id-oc-mhs-distribution-list");
- register_ber_oid_name("2.6.5.1.1","id-oc-mhs-message-store");
- register_ber_oid_name("2.6.5.1.2","id-oc-mhs-message-transfer-agent");
- register_ber_oid_name("2.6.5.1.3","id-oc-mhs-user");
+ add_oid_str_name("2.6.5.1.0","id-oc-mhs-distribution-list");
+ add_oid_str_name("2.6.5.1.1","id-oc-mhs-message-store");
+ add_oid_str_name("2.6.5.1.2","id-oc-mhs-message-transfer-agent");
+ add_oid_str_name("2.6.5.1.3","id-oc-mhs-user");
/* SDN.701 Object Classes */
- register_ber_oid_name("2.16.840.1.101.2.1.4.13", "id-oc-secure-user");
- register_ber_oid_name("2.16.840.1.101.2.1.4.16", "id-oc-ukms");
+ add_oid_str_name("2.16.840.1.101.2.1.4.13", "id-oc-secure-user");
+ add_oid_str_name("2.16.840.1.101.2.1.4.16", "id-oc-ukms");
/* ACP133 Object Classes */
- register_ber_oid_name("2.16.840.1.101.2.2.3.26", "id-oc-plaData");
- register_ber_oid_name("2.16.840.1.101.2.2.3.28", "id-oc-cadACP127");
- register_ber_oid_name("2.16.840.1.101.2.2.3.31", "id-oc-mLA");
- register_ber_oid_name("2.16.840.1.101.2.2.3.34", "id-oc-orgACP127");
- register_ber_oid_name("2.16.840.1.101.2.2.3.35", "id-oc-plaCollectiveACP127");
- register_ber_oid_name("2.16.840.1.101.2.2.3.37", "id-oc-routingIndicator");
- register_ber_oid_name("2.16.840.1.101.2.2.3.38", "id-oc-sigintPLA");
- register_ber_oid_name("2.16.840.1.101.2.2.3.39", "id-oc-sIPLA");
- register_ber_oid_name("2.16.840.1.101.2.2.3.40", "id-oc-spotPLA");
- register_ber_oid_name("2.16.840.1.101.2.2.3.41", "id-oc-taskForceACP127");
- register_ber_oid_name("2.16.840.1.101.2.2.3.42", "id-oc-tenantACP127");
- register_ber_oid_name("2.16.840.1.101.2.2.3.47", "id-oc-plaACP127");
- register_ber_oid_name("2.16.840.1.101.2.2.3.52", "id-oc-aliasCommonName");
- register_ber_oid_name("2.16.840.1.101.2.2.3.53", "id-oc-aliasOrganizationalUnit");
- register_ber_oid_name("2.16.840.1.101.2.2.3.54", "id-oc-distributionCodesHandled");
- register_ber_oid_name("2.16.840.1.101.2.2.3.55", "id-oc-distributionCodeDescription");
- register_ber_oid_name("2.16.840.1.101.2.2.3.56", "id-oc-plaUser");
- register_ber_oid_name("2.16.840.1.101.2.2.3.57", "id-oc-addressList");
- register_ber_oid_name("2.16.840.1.101.2.2.3.58", "id-oc-altSpellingACP127");
- register_ber_oid_name("2.16.840.1.101.2.2.3.59", "id-oc-messagingGateway");
- register_ber_oid_name("2.16.840.1.101.2.2.3.60", "id-oc-network");
- register_ber_oid_name("2.16.840.1.101.2.2.3.61", "id-oc-networkInstructions");
- register_ber_oid_name("2.16.840.1.101.2.2.3.62", "id-oc-otherContactInformation");
- register_ber_oid_name("2.16.840.1.101.2.2.3.63", "id-oc-releaseAuthorityPerson");
- register_ber_oid_name("2.16.840.1.101.2.2.3.64", "id-oc-mLAgent");
- register_ber_oid_name("2.16.840.1.101.2.2.3.65", "id-oc-releaseAuthorityPersonA");
- register_ber_oid_name("2.16.840.1.101.2.2.3.66", "id-oc-securePkiUser");
- register_ber_oid_name("2.16.840.1.101.2.2.3.67", "id-oc-dSSCSPLA");
- register_ber_oid_name("2.16.840.1.101.2.2.3.68", "id-oc-aCPNetworkEdB");
- register_ber_oid_name("2.16.840.1.101.2.2.3.69", "id-oc-aCPNetworkInstructionsEdB");
+ add_oid_str_name("2.16.840.1.101.2.2.3.26", "id-oc-plaData");
+ add_oid_str_name("2.16.840.1.101.2.2.3.28", "id-oc-cadACP127");
+ add_oid_str_name("2.16.840.1.101.2.2.3.31", "id-oc-mLA");
+ add_oid_str_name("2.16.840.1.101.2.2.3.34", "id-oc-orgACP127");
+ add_oid_str_name("2.16.840.1.101.2.2.3.35", "id-oc-plaCollectiveACP127");
+ add_oid_str_name("2.16.840.1.101.2.2.3.37", "id-oc-routingIndicator");
+ add_oid_str_name("2.16.840.1.101.2.2.3.38", "id-oc-sigintPLA");
+ add_oid_str_name("2.16.840.1.101.2.2.3.39", "id-oc-sIPLA");
+ add_oid_str_name("2.16.840.1.101.2.2.3.40", "id-oc-spotPLA");
+ add_oid_str_name("2.16.840.1.101.2.2.3.41", "id-oc-taskForceACP127");
+ add_oid_str_name("2.16.840.1.101.2.2.3.42", "id-oc-tenantACP127");
+ add_oid_str_name("2.16.840.1.101.2.2.3.47", "id-oc-plaACP127");
+ add_oid_str_name("2.16.840.1.101.2.2.3.52", "id-oc-aliasCommonName");
+ add_oid_str_name("2.16.840.1.101.2.2.3.53", "id-oc-aliasOrganizationalUnit");
+ add_oid_str_name("2.16.840.1.101.2.2.3.54", "id-oc-distributionCodesHandled");
+ add_oid_str_name("2.16.840.1.101.2.2.3.55", "id-oc-distributionCodeDescription");
+ add_oid_str_name("2.16.840.1.101.2.2.3.56", "id-oc-plaUser");
+ add_oid_str_name("2.16.840.1.101.2.2.3.57", "id-oc-addressList");
+ add_oid_str_name("2.16.840.1.101.2.2.3.58", "id-oc-altSpellingACP127");
+ add_oid_str_name("2.16.840.1.101.2.2.3.59", "id-oc-messagingGateway");
+ add_oid_str_name("2.16.840.1.101.2.2.3.60", "id-oc-network");
+ add_oid_str_name("2.16.840.1.101.2.2.3.61", "id-oc-networkInstructions");
+ add_oid_str_name("2.16.840.1.101.2.2.3.62", "id-oc-otherContactInformation");
+ add_oid_str_name("2.16.840.1.101.2.2.3.63", "id-oc-releaseAuthorityPerson");
+ add_oid_str_name("2.16.840.1.101.2.2.3.64", "id-oc-mLAgent");
+ add_oid_str_name("2.16.840.1.101.2.2.3.65", "id-oc-releaseAuthorityPersonA");
+ add_oid_str_name("2.16.840.1.101.2.2.3.66", "id-oc-securePkiUser");
+ add_oid_str_name("2.16.840.1.101.2.2.3.67", "id-oc-dSSCSPLA");
+ add_oid_str_name("2.16.840.1.101.2.2.3.68", "id-oc-aCPNetworkEdB");
+ add_oid_str_name("2.16.840.1.101.2.2.3.69", "id-oc-aCPNetworkInstructionsEdB");
/* gateway types */
- register_ber_oid_name("2.16.840.1.101.2.2.5.0", "acp120-acp127");
- register_ber_oid_name("2.16.840.1.101.2.2.5.1", "acp120-janap128");
- register_ber_oid_name("2.16.840.1.101.2.2.5.2", "acp120-mhs");
- register_ber_oid_name("2.16.840.1.101.2.2.5.3", "acp120-mmhs");
- register_ber_oid_name("2.16.840.1.101.2.2.5.4", "acp120-rfc822");
- register_ber_oid_name("2.16.840.1.101.2.2.5.5", "boundaryMTA");
- register_ber_oid_name("2.16.840.1.101.2.2.5.6", "mmhs-mhs");
- register_ber_oid_name("2.16.840.1.101.2.2.5.7", "mmhs-rfc822");
- register_ber_oid_name("2.16.840.1.101.2.2.5.8", "mta-acp127");
+ add_oid_str_name("2.16.840.1.101.2.2.5.0", "acp120-acp127");
+ add_oid_str_name("2.16.840.1.101.2.2.5.1", "acp120-janap128");
+ add_oid_str_name("2.16.840.1.101.2.2.5.2", "acp120-mhs");
+ add_oid_str_name("2.16.840.1.101.2.2.5.3", "acp120-mmhs");
+ add_oid_str_name("2.16.840.1.101.2.2.5.4", "acp120-rfc822");
+ add_oid_str_name("2.16.840.1.101.2.2.5.5", "boundaryMTA");
+ add_oid_str_name("2.16.840.1.101.2.2.5.6", "mmhs-mhs");
+ add_oid_str_name("2.16.840.1.101.2.2.5.7", "mmhs-rfc822");
+ add_oid_str_name("2.16.840.1.101.2.2.5.8", "mta-acp127");
}
#include <epan/packet.h>
#include <epan/emem.h>
#include <epan/conversation.h>
+#include <epan/oid_resolv.h>
#include <stdio.h>
#include <string.h>
void proto_reg_handoff_acse(void) {
/*#include "packet-acse-dis-tab.c"*/
- register_ber_oid_name("2.2.3.1.1","aCSE-id");
+ add_oid_str_name("2.2.3.1.1","aCSE-id");
register_ber_oid_dissector(ACSE_APDU_OID, dissect_acse, proto_acse, "acse-as-id");
#include <epan/packet.h>
#include <epan/prefs.h>
#include <epan/conversation.h>
+#include <epan/oid_resolv.h>
#include <epan/tap.h>
#include <stdio.h>
register_ber_oid_dissector_handle("0.4.0.0.1.0.52.1",camel_handle, proto_camel, "itu-t(0) identified-organization(4) etsi(0) mobileDomain(0) gsm-Network|umts-Network(1) applicationContext(0) cap-gsmSRF-to-gsmscf(52) version2(1)" );
register_ber_oid_dissector_handle("0.4.0.0.1.21.3.50",camel_handle, proto_camel, "itu-t(0) identified-organization(4) etsi(0) mobileDomain(0) gsm-Network(1) cAP3OE(21) ac(3) id-ac-CAP-gprsSSF-gsmSCF-AC(50)" );
- register_ber_oid_name("0.4.0.0.1.1.5.2","iitu-t(0) identified-organization(4) etsi(0) mobileDomain(0) gsm-Network(1) abstractSyntax(1) cap-GPRS-ReferenceNumber(5) version3(2)");
+ add_oid_str_name("0.4.0.0.1.1.5.2","iitu-t(0) identified-organization(4) etsi(0) mobileDomain(0) gsm-Network(1) abstractSyntax(1) cap-GPRS-ReferenceNumber(5) version3(2)");
%(DEFAULT_BODY)s
if (obj_id) {
- const char *name = get_ber_oid_name (obj_id);
+ const char *name = get_oid_str_name (obj_id);
if (!name) {
name = obj_id;
#include <glib.h>
#include <epan/packet.h>
#include <epan/conversation.h>
+#include <epan/oid_resolv.h>
#include <stdio.h>
#include <string.h>
register_ber_oid_dissector("2.9.3.2.7.63", dissect_cmip_attribute_63, proto_cmip, "smi2AttributeID (7) nameBinding(63)");
register_ber_oid_dissector("2.9.3.2.7.65", dissect_cmip_attribute_65, proto_cmip, "smi2AttributeID (7) objectClass(65)");
- register_ber_oid_name("2.9.3.2.3.4","eventForwardingDiscriminator(4)");
- register_ber_oid_name("2.9.1.1.4","joint-iso-itu-t(2) ms(9) cmip(1) cmip-pci(1) abstractSyntax(4)");
+ add_oid_str_name("2.9.3.2.3.4","eventForwardingDiscriminator(4)");
+ add_oid_str_name("2.9.1.1.4","joint-iso-itu-t(2) ms(9) cmip(1) cmip-pci(1) abstractSyntax(4)");
}
%(DEFAULT_BODY)s
if(object_identifier_id) {
- name = get_ber_oid_name(object_identifier_id);
+ name = get_oid_str_name(object_identifier_id);
proto_item_append_text(tree, " (%%s)", name ? name : object_identifier_id);
}
#include <epan/packet.h>
#include <epan/prefs.h>
#include <epan/conversation.h>
+#include <epan/oid_resolv.h>
#include <stdio.h>
#include <string.h>
/* APPLICATION CONTEXT */
- register_ber_oid_name("2.5.3.1", "id-ac-directory-access");
+ add_oid_str_name("2.5.3.1", "id-ac-directory-access");
/* ABSTRACT SYNTAXES */
#include <epan/packet.h>
#include <epan/prefs.h>
#include <epan/conversation.h>
+#include <epan/oid_resolv.h>
#include <stdio.h>
#include <string.h>
/* APPLICATION CONTEXT */
- register_ber_oid_name("2.5.3.4", "id-ac-shadow-consumer-initiated");
- register_ber_oid_name("2.5.3.5", "id-ac-shadow-supplier-initiated");
- register_ber_oid_name("2.5.3.6", "id-ac-reliable-shadow-consumer-initiated");
- register_ber_oid_name("2.5.3.7", "id-ac-reliable-shadow-supplier-initiated");
+ add_oid_str_name("2.5.3.4", "id-ac-shadow-consumer-initiated");
+ add_oid_str_name("2.5.3.5", "id-ac-shadow-supplier-initiated");
+ add_oid_str_name("2.5.3.6", "id-ac-reliable-shadow-consumer-initiated");
+ add_oid_str_name("2.5.3.7", "id-ac-reliable-shadow-supplier-initiated");
/* ABSTRACT SYNTAXES */
}
/* OPERATIONAL BINDING */
- register_ber_oid_name("2.5.1.0.5.1", "id-op-binding-shadow");
+ add_oid_str_name("2.5.1.0.5.1", "id-op-binding-shadow");
tpkt_handle = find_dissector("tpkt");
%(DEFAULT_BODY)s
if(check_col(pinfo->cinfo, COL_INFO)) {
- name = get_ber_oid_name(binding_type);
+ name = get_oid_str_name(binding_type);
col_append_fstr(pinfo->cinfo, COL_INFO, " %%s", name ? name : binding_type);
}
#include <epan/packet.h>
#include <epan/prefs.h>
#include <epan/conversation.h>
+#include <epan/oid_resolv.h>
#include <stdio.h>
#include <string.h>
#include "packet-dop-dis-tab.c"
/* APPLICATION CONTEXT */
- register_ber_oid_name("2.5.3.3", "id-ac-directory-operational-binding-management");
+ add_oid_str_name("2.5.3.3", "id-ac-directory-operational-binding-management");
/* ABSTRACT SYNTAXES */
/* BINDING TYPES */
- register_ber_oid_name("2.5.19.1", "shadow-agreement");
- register_ber_oid_name("2.5.19.2", "hierarchical-agreement");
- register_ber_oid_name("2.5.19.3", "non-specific-hierarchical-agreement");
+ add_oid_str_name("2.5.19.1", "shadow-agreement");
+ add_oid_str_name("2.5.19.2", "hierarchical-agreement");
+ add_oid_str_name("2.5.19.3", "non-specific-hierarchical-agreement");
/* ACCESS CONTROL SCHEMES */
- register_ber_oid_name("2.5.28.1", "basic-ACS");
- register_ber_oid_name("2.5.28.2", "simplified-ACS");
- register_ber_oid_name("2.5.28.3", "ruleBased-ACS");
- register_ber_oid_name("2.5.28.4", "ruleAndBasic-ACS");
- register_ber_oid_name("2.5.28.5", "ruleAndSimple-ACS");
+ add_oid_str_name("2.5.28.1", "basic-ACS");
+ add_oid_str_name("2.5.28.2", "simplified-ACS");
+ add_oid_str_name("2.5.28.3", "ruleBased-ACS");
+ add_oid_str_name("2.5.28.4", "ruleAndBasic-ACS");
+ add_oid_str_name("2.5.28.5", "ruleAndSimple-ACS");
/* ADMINISTRATIVE ROLES */
- register_ber_oid_name("2.5.23.1", "id-ar-autonomousArea");
- register_ber_oid_name("2.5.23.2", "id-ar-accessControlSpecificArea");
- register_ber_oid_name("2.5.23.3", "id-ar-accessControlInnerArea");
- register_ber_oid_name("2.5.23.4", "id-ar-subschemaAdminSpecificArea");
- register_ber_oid_name("2.5.23.5", "id-ar-collectiveAttributeSpecificArea");
- register_ber_oid_name("2.5.23.6", "id-ar-collectiveAttributeInnerArea");
- register_ber_oid_name("2.5.23.7", "id-ar-contextDefaultSpecificArea");
- register_ber_oid_name("2.5.23.8", "id-ar-serviceSpecificArea");
+ add_oid_str_name("2.5.23.1", "id-ar-autonomousArea");
+ add_oid_str_name("2.5.23.2", "id-ar-accessControlSpecificArea");
+ add_oid_str_name("2.5.23.3", "id-ar-accessControlInnerArea");
+ add_oid_str_name("2.5.23.4", "id-ar-subschemaAdminSpecificArea");
+ add_oid_str_name("2.5.23.5", "id-ar-collectiveAttributeSpecificArea");
+ add_oid_str_name("2.5.23.6", "id-ar-collectiveAttributeInnerArea");
+ add_oid_str_name("2.5.23.7", "id-ar-contextDefaultSpecificArea");
+ add_oid_str_name("2.5.23.8", "id-ar-serviceSpecificArea");
/* remember the tpkt handler for change in preferences */
tpkt_handle = find_dissector("tpkt");
#include <epan/packet.h>
#include <epan/prefs.h>
#include <epan/conversation.h>
+#include <epan/oid_resolv.h>
#include <stdio.h>
#include <string.h>
/* APPLICATION CONTEXT */
- register_ber_oid_name("2.5.3.2", "id-ac-directory-system");
+ add_oid_str_name("2.5.3.2", "id-ac-directory-system");
/* ABSTRACT SYNTAXES */
#include <glib.h>
#include <epan/packet.h>
#include <epan/conversation.h>
+#include <epan/oid_resolv.h>
#include <stdio.h>
#include <string.h>
register_ber_oid_dissector("1.3.14.5.2.2", dissect_ftam, proto_ftam,"NIST file directory entry abstract syntax");
/* Unstructured text file document type FTAM-1 */
- register_ber_oid_name("1.0.8571.5.1","ISO FTAM unstructured text");
- register_ber_oid_name("1.0.8571.5.2","ISO FTAM sequential text");
- register_ber_oid_name("1.0.8571.2.3","FTAM unstructured text abstract syntax");
- register_ber_oid_name("1.0.8571.2.4","FTAM sequential text abstract syntax");
- register_ber_oid_name("1.0.8571.2.5","FTAM simple-hierarchy");
- register_ber_oid_name("1.0.8571.3.1","FTAM hierarchical file model");
- register_ber_oid_name("1.0.8571.4.1","FTAM unstructured constraint set");
+ add_oid_str_name("1.0.8571.5.1","ISO FTAM unstructured text");
+ add_oid_str_name("1.0.8571.5.2","ISO FTAM sequential text");
+ add_oid_str_name("1.0.8571.2.3","FTAM unstructured text abstract syntax");
+ add_oid_str_name("1.0.8571.2.4","FTAM sequential text abstract syntax");
+ add_oid_str_name("1.0.8571.2.5","FTAM simple-hierarchy");
+ add_oid_str_name("1.0.8571.3.1","FTAM hierarchical file model");
+ add_oid_str_name("1.0.8571.4.1","FTAM unstructured constraint set");
/* Unstructured text file document type FTAM-3 */
- register_ber_oid_name("1.0.8571.5.3","ISO FTAM unstructured binary");
- register_ber_oid_name("1.0.8571.2.4","FTAM unstructured binary abstract syntax");
+ add_oid_str_name("1.0.8571.5.3","ISO FTAM unstructured binary");
+ add_oid_str_name("1.0.8571.2.4","FTAM unstructured binary abstract syntax");
/* Filedirectory file document type NBS-9 */
- register_ber_oid_name("1.3.14.5.5.9","NBS-9 FTAM file directory file");
+ add_oid_str_name("1.3.14.5.5.9","NBS-9 FTAM file directory file");
/* Filedirectory file document type NBS-9 (WITH OLD NIST OIDs)*/
- register_ber_oid_name("1.3.9999.1.5.9","NBS-9-OLD FTAM file directory file");
- register_ber_oid_name("1.3.9999.1.2.2","NIST file directory entry abstract syntax");
+ add_oid_str_name("1.3.9999.1.5.9","NBS-9-OLD FTAM file directory file");
+ add_oid_str_name("1.3.9999.1.2.2","NIST file directory entry abstract syntax");
}
#include <epan/conversation.h>
#include <epan/tap.h>
#include <epan/emem.h>
+#include <epan/oid_resolv.h>
#include <stdio.h>
#include <string.h>
gsm_map_tap = register_tap("gsm_map");
/* #include "packet-gsm_map-dis-tab.c" */
- register_ber_oid_name("1.2.826.0.1249.58.1.0","iso(1) member-body(2) bsi(826) disc(0) ericsson(1249) gsmNetworkApplicationsDefinition(58) gsm-Map(1) gsm-Map-Ext(0)" );
- register_ber_oid_name("1.3.12.2.1107.3.66.1.2","accessTypeNotAllowed-id" );
- /*register_ber_oid_name("0.4.0.0.1.0.1.3","itu-t(0) identified-organization(4) etsi(0) mobileDomain(0) gsm-Network(1) map-ac(0) networkLocUp(1) version3(3)" );
+ add_oid_str_name("1.2.826.0.1249.58.1.0","iso(1) member-body(2) bsi(826) disc(0) ericsson(1249) gsmNetworkApplicationsDefinition(58) gsm-Map(1) gsm-Map-Ext(0)" );
+ add_oid_str_name("1.3.12.2.1107.3.66.1.2","accessTypeNotAllowed-id" );
+ /*add_oid_str_name("0.4.0.0.1.0.1.3","itu-t(0) identified-organization(4) etsi(0) mobileDomain(0) gsm-Network(1) map-ac(0) networkLocUp(1) version3(3)" );
*
* Register our configuration options, particularly our ssn:s
* Set default SSNs
gssapi_wrap_handle = find_dissector("gssapi_verf");
/* http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dsml/dsml/ldap_controls_and_session_support.asp */
- register_ber_oid_name("1.2.840.113556.1.4.319","LDAP_PAGED_RESULT_OID_STRING");
- register_ber_oid_name("1.2.840.113556.1.4.417","LDAP_SERVER_SHOW_DELETED_OID");
- register_ber_oid_name("1.2.840.113556.1.4.473","LDAP_SERVER_SORT_OID");
- register_ber_oid_name("1.2.840.113556.1.4.521","LDAP_SERVER_CROSSDOM_MOVE_TARGET_OID");
- register_ber_oid_name("1.2.840.113556.1.4.528","LDAP_SERVER_NOTIFICATION_OID");
- register_ber_oid_name("1.2.840.113556.1.4.529","LDAP_SERVER_EXTENDED_DN_OID");
- register_ber_oid_name("1.2.840.113556.1.4.619","LDAP_SERVER_LAZY_COMMIT_OID");
- register_ber_oid_name("1.2.840.113556.1.4.801","LDAP_SERVER_SD_FLAGS_OID");
- register_ber_oid_name("1.2.840.113556.1.4.805","LDAP_SERVER_TREE_DELETE_OID");
- register_ber_oid_name("1.2.840.113556.1.4.841","LDAP_SERVER_DIRSYNC_OID");
- register_ber_oid_name("1.2.840.113556.1.4.970 ","None");
- register_ber_oid_name("1.2.840.113556.1.4.1338","LDAP_SERVER_VERIFY_NAME_OID");
- register_ber_oid_name("1.2.840.113556.1.4.1339","LDAP_SERVER_DOMAIN_SCOPE_OID");
- register_ber_oid_name("1.2.840.113556.1.4.1340","LDAP_SERVER_SEARCH_OPTIONS_OID");
- register_ber_oid_name("1.2.840.113556.1.4.1413","LDAP_SERVER_PERMISSIVE_MODIFY_OID");
- register_ber_oid_name("1.2.840.113556.1.4.1504","LDAP_SERVER_ASQ_OID");
- register_ber_oid_name("1.2.840.113556.1.4.1781","LDAP_SERVER_FAST_BIND_OID");
- register_ber_oid_name("1.3.6.1.4.1.1466.101.119.1","None");
- register_ber_oid_name("1.3.6.1.4.1.1466.20037","LDAP_START_TLS_OID");
- register_ber_oid_name("2.16.840.1.113730.3.4.9","LDAP_CONTROL_VLVREQUEST VLV");
+ add_oid_str_name("1.2.840.113556.1.4.319","LDAP_PAGED_RESULT_OID_STRING");
+ add_oid_str_name("1.2.840.113556.1.4.417","LDAP_SERVER_SHOW_DELETED_OID");
+ add_oid_str_name("1.2.840.113556.1.4.473","LDAP_SERVER_SORT_OID");
+ add_oid_str_name("1.2.840.113556.1.4.521","LDAP_SERVER_CROSSDOM_MOVE_TARGET_OID");
+ add_oid_str_name("1.2.840.113556.1.4.528","LDAP_SERVER_NOTIFICATION_OID");
+ add_oid_str_name("1.2.840.113556.1.4.529","LDAP_SERVER_EXTENDED_DN_OID");
+ add_oid_str_name("1.2.840.113556.1.4.619","LDAP_SERVER_LAZY_COMMIT_OID");
+ add_oid_str_name("1.2.840.113556.1.4.801","LDAP_SERVER_SD_FLAGS_OID");
+ add_oid_str_name("1.2.840.113556.1.4.805","LDAP_SERVER_TREE_DELETE_OID");
+ add_oid_str_name("1.2.840.113556.1.4.841","LDAP_SERVER_DIRSYNC_OID");
+ add_oid_str_name("1.2.840.113556.1.4.970 ","None");
+ add_oid_str_name("1.2.840.113556.1.4.1338","LDAP_SERVER_VERIFY_NAME_OID");
+ add_oid_str_name("1.2.840.113556.1.4.1339","LDAP_SERVER_DOMAIN_SCOPE_OID");
+ add_oid_str_name("1.2.840.113556.1.4.1340","LDAP_SERVER_SEARCH_OPTIONS_OID");
+ add_oid_str_name("1.2.840.113556.1.4.1413","LDAP_SERVER_PERMISSIVE_MODIFY_OID");
+ add_oid_str_name("1.2.840.113556.1.4.1504","LDAP_SERVER_ASQ_OID");
+ add_oid_str_name("1.2.840.113556.1.4.1781","LDAP_SERVER_FAST_BIND_OID");
+ add_oid_str_name("1.3.6.1.4.1.1466.101.119.1","None");
+ add_oid_str_name("1.3.6.1.4.1.1466.20037","LDAP_START_TLS_OID");
+ add_oid_str_name("2.16.840.1.113730.3.4.9","LDAP_CONTROL_VLVREQUEST VLV");
register_ldap_name_dissector("netlogon", dissect_NetLogon_PDU, proto_cldap);
#include <glib.h>
#include <epan/packet.h>
+#include <epan/oid_resolv.h>
#include <stdio.h>
#include <string.h>
/*--- proto_reg_handoff_pkixproxy -------------------------------------------*/
void proto_reg_handoff_pkixproxy(void) {
#include "packet-pkixproxy-dis-tab.c"
- register_ber_oid_name("1.3.6.1.5.5.7.21.0", "id-ppl-anyLanguage");
- register_ber_oid_name("1.3.6.1.5.5.7.21.1", "id-ppl-inheritAll");
- register_ber_oid_name("1.3.6.1.5.5.7.21.2", "id-ppl-independent");
+ add_oid_str_name("1.3.6.1.5.5.7.21.0", "id-ppl-anyLanguage");
+ add_oid_str_name("1.3.6.1.5.5.7.21.1", "id-ppl-inheritAll");
+ add_oid_str_name("1.3.6.1.5.5.7.21.2", "id-ppl-independent");
}
#include <epan/packet.h>
#include <epan/prefs.h>
#include <epan/conversation.h>
+#include <epan/oid_resolv.h>
#include <stdio.h>
#include <string.h>
prefs_initialized = TRUE;
}
- register_ber_oid_name("0.0.17.773.1.1.1",
+ add_oid_str_name("0.0.17.773.1.1.1",
"itu-t(0) recommendation(0) q(17) 773 as(1) dialogue-as(1) version1(1)");
data_handle = find_dissector("data");
#include <glib.h>
#include <epan/packet.h>
#include <epan/conversation.h>
+#include <epan/oid_resolv.h>
#include <stdio.h>
#include <string.h>
/*--- proto_reg_handoff_wlancertextn -------------------------------------------*/
void proto_reg_handoff_wlancertextn(void) {
#include "packet-wlancertextn-dis-tab.c"
- register_ber_oid_name("1.3.6.1.5.5.7.3.13","id-kp-eapOverPPP");
- register_ber_oid_name("1.3.6.1.5.5.7.3.14","id-kp-eapOverLAN");
+ add_oid_str_name("1.3.6.1.5.5.7.3.13","id-kp-eapOverPPP");
+ add_oid_str_name("1.3.6.1.5.5.7.3.14","id-kp-eapOverLAN");
}
#include <glib.h>
#include <epan/packet.h>
#include <epan/conversation.h>
+#include <epan/oid_resolv.h>
#include <stdio.h>
#include <string.h>
sprintf(extension_oid, "%s.%d", base_oid, extension_id);
- name = get_ber_oid_name(extension_oid);
+ name = get_oid_str_name(extension_oid);
proto_item_append_text(tree, " (%s)", name ? name : extension_oid);
return call_ber_oid_callback(extension_oid, tvb, offset, pinfo, tree);
/* APPLICATION CONTEXT */
- register_ber_oid_name("2.6.0.1.6", "id-ac-mts-transfer");
+ add_oid_str_name("2.6.0.1.6", "id-ac-mts-transfer");
/* ABSTRACT SYNTAXES */
offset=call_x411_oid_callback("x411.extension", tvb, offset, pinfo, tree);
else if(object_identifier_id) {
call_ber_oid_callback(object_identifier_id, tvb, offset, pinfo, tree);
- name = get_ber_oid_name(object_identifier_id);
+ name = get_oid_str_name(object_identifier_id);
proto_item_append_text(tree, " (%%s)", name ? name : object_identifier_id);
}
%(DEFAULT_BODY)s
if(content_type_id) {
- name = get_ber_oid_name(content_type_id);
+ name = get_oid_str_name(content_type_id);
if(!name) name = content_type_id;
%(DEFAULT_BODY)s
- name = get_ber_oid_name(object_identifier_id);
+ name = get_oid_str_name(object_identifier_id);
proto_item_append_text(tree, " (%%s)", name ? name : object_identifier_id);
#.FN_BODY T_value
%(DEFAULT_BODY)s
if(algorithm_id) {
- name = get_ber_oid_name(algorithm_id);
+ name = get_oid_str_name(algorithm_id);
proto_item_append_text(tree, " (%%s)", name ? name : algorithm_id);
}
%(DEFAULT_BODY)s
if(extension_id) {
- name = get_ber_oid_name(extension_id);
+ name = get_oid_str_name(extension_id);
proto_item_append_text(tree, " (%%s)", name ? name : extension_id);
}
if(object_identifier_id) {
/* see if we can find a nice name */
- name = get_ber_oid_name(object_identifier_id);
+ name = get_oid_str_name(object_identifier_id);
if(!name) name = object_identifier_id;
if(doing_dn) { /* append it to the RDN */
if((fmt = val_to_str(ava_hf_index, fmt_vals, "")) && *fmt) {
/* we have a format */
- if(!(name = get_ber_oid_name(object_identifier_id)))
+ if(!(name = get_oid_str_name(object_identifier_id)))
name = object_identifier_id;
g_snprintf(last_ava, MAX_AVA_STR_LEN, "%%s %%s %%s", name, fmt, value);
#include <glib.h>
#include <epan/packet.h>
#include <epan/conversation.h>
+#include <epan/oid_resolv.h>
#include <stdio.h>
#include <string.h>
/* OBJECT CLASSES */
- register_ber_oid_name("2.5.6.0", "top");
- register_ber_oid_name("2.5.6.1", "alias");
- register_ber_oid_name("2.5.6.2", "country");
- register_ber_oid_name("2.5.6.3", "locality");
- register_ber_oid_name("2.5.6.4", "organization");
- register_ber_oid_name("2.5.6.1", "organizationalUnit");
- register_ber_oid_name("2.5.6.6", "person");
- register_ber_oid_name("2.5.6.7", "organizationalPerson");
- register_ber_oid_name("2.5.6.8", "organizationalRole");
- register_ber_oid_name("2.5.6.9", "groupOfNames");
- register_ber_oid_name("2.5.6.10", "residentialPerson");
- register_ber_oid_name("2.5.6.11", "applicationProcess");
- register_ber_oid_name("2.5.6.12", "applicationEntity");
- register_ber_oid_name("2.5.6.13", "dSA");
- register_ber_oid_name("2.5.6.14", "device");
- register_ber_oid_name("2.5.6.15", "strongAuthenticationUser");
- register_ber_oid_name("2.5.6.16", "certificationAuthority");
- register_ber_oid_name("2.5.6.16.2", "certificationAuthorityV2");
- register_ber_oid_name("2.5.6.17", "groupOfUniqueNames");
- register_ber_oid_name("2.5.6.18", "userSecurityInformation");
- register_ber_oid_name("2.5.6.19", "cRLDistributionPoint");
- register_ber_oid_name("2.5.6.20", "dmd");
- register_ber_oid_name("2.5.6.21", "pkiUser");
- register_ber_oid_name("2.5.6.22", "pkiCA");
+ add_oid_str_name("2.5.6.0", "top");
+ add_oid_str_name("2.5.6.1", "alias");
+ add_oid_str_name("2.5.6.2", "country");
+ add_oid_str_name("2.5.6.3", "locality");
+ add_oid_str_name("2.5.6.4", "organization");
+ add_oid_str_name("2.5.6.1", "organizationalUnit");
+ add_oid_str_name("2.5.6.6", "person");
+ add_oid_str_name("2.5.6.7", "organizationalPerson");
+ add_oid_str_name("2.5.6.8", "organizationalRole");
+ add_oid_str_name("2.5.6.9", "groupOfNames");
+ add_oid_str_name("2.5.6.10", "residentialPerson");
+ add_oid_str_name("2.5.6.11", "applicationProcess");
+ add_oid_str_name("2.5.6.12", "applicationEntity");
+ add_oid_str_name("2.5.6.13", "dSA");
+ add_oid_str_name("2.5.6.14", "device");
+ add_oid_str_name("2.5.6.15", "strongAuthenticationUser");
+ add_oid_str_name("2.5.6.16", "certificationAuthority");
+ add_oid_str_name("2.5.6.16.2", "certificationAuthorityV2");
+ add_oid_str_name("2.5.6.17", "groupOfUniqueNames");
+ add_oid_str_name("2.5.6.18", "userSecurityInformation");
+ add_oid_str_name("2.5.6.19", "cRLDistributionPoint");
+ add_oid_str_name("2.5.6.20", "dmd");
+ add_oid_str_name("2.5.6.21", "pkiUser");
+ add_oid_str_name("2.5.6.22", "pkiCA");
- register_ber_oid_name("2.5.6.28", "parent");
- register_ber_oid_name("2.5.6.29", "child");
+ add_oid_str_name("2.5.6.28", "parent");
+ add_oid_str_name("2.5.6.29", "child");
}
#include <glib.h>
#include <epan/packet.h>
#include <epan/conversation.h>
+#include <epan/oid_resolv.h>
#include <stdio.h>
#include <string.h>
static int hf_acp133_OnSupported_acp127_tn = -1;
/*--- End of included file: packet-acp133-hf.c ---*/
-#line 55 "packet-acp133-template.c"
+#line 56 "packet-acp133-template.c"
/* Initialize the subtree pointers */
static gint ett_acp133 = -1;
static gint ett_acp133_SET_OF_ExtendedContentType = -1;
/*--- End of included file: packet-acp133-ett.c ---*/
-#line 59 "packet-acp133-template.c"
+#line 60 "packet-acp133-template.c"
/*--- Included file: packet-acp133-fn.c ---*/
/*--- End of included file: packet-acp133-fn.c ---*/
-#line 61 "packet-acp133-template.c"
+#line 62 "packet-acp133-template.c"
/*--- proto_register_acp133 -------------------------------------------*/
"", HFILL }},
/*--- End of included file: packet-acp133-hfarr.c ---*/
-#line 70 "packet-acp133-template.c"
+#line 71 "packet-acp133-template.c"
};
/* List of subtrees */
&ett_acp133_SET_OF_ExtendedContentType,
/*--- End of included file: packet-acp133-ettarr.c ---*/
-#line 76 "packet-acp133-template.c"
+#line 77 "packet-acp133-template.c"
};
/* Register protocol */
/*--- End of included file: packet-acp133-dis-tab.c ---*/
-#line 92 "packet-acp133-template.c"
+#line 93 "packet-acp133-template.c"
/* X.402 Object Classes */
- register_ber_oid_name("2.6.5.1.0","id-oc-mhs-distribution-list");
- register_ber_oid_name("2.6.5.1.1","id-oc-mhs-message-store");
- register_ber_oid_name("2.6.5.1.2","id-oc-mhs-message-transfer-agent");
- register_ber_oid_name("2.6.5.1.3","id-oc-mhs-user");
+ add_oid_str_name("2.6.5.1.0","id-oc-mhs-distribution-list");
+ add_oid_str_name("2.6.5.1.1","id-oc-mhs-message-store");
+ add_oid_str_name("2.6.5.1.2","id-oc-mhs-message-transfer-agent");
+ add_oid_str_name("2.6.5.1.3","id-oc-mhs-user");
/* SDN.701 Object Classes */
- register_ber_oid_name("2.16.840.1.101.2.1.4.13", "id-oc-secure-user");
- register_ber_oid_name("2.16.840.1.101.2.1.4.16", "id-oc-ukms");
+ add_oid_str_name("2.16.840.1.101.2.1.4.13", "id-oc-secure-user");
+ add_oid_str_name("2.16.840.1.101.2.1.4.16", "id-oc-ukms");
/* ACP133 Object Classes */
- register_ber_oid_name("2.16.840.1.101.2.2.3.26", "id-oc-plaData");
- register_ber_oid_name("2.16.840.1.101.2.2.3.28", "id-oc-cadACP127");
- register_ber_oid_name("2.16.840.1.101.2.2.3.31", "id-oc-mLA");
- register_ber_oid_name("2.16.840.1.101.2.2.3.34", "id-oc-orgACP127");
- register_ber_oid_name("2.16.840.1.101.2.2.3.35", "id-oc-plaCollectiveACP127");
- register_ber_oid_name("2.16.840.1.101.2.2.3.37", "id-oc-routingIndicator");
- register_ber_oid_name("2.16.840.1.101.2.2.3.38", "id-oc-sigintPLA");
- register_ber_oid_name("2.16.840.1.101.2.2.3.39", "id-oc-sIPLA");
- register_ber_oid_name("2.16.840.1.101.2.2.3.40", "id-oc-spotPLA");
- register_ber_oid_name("2.16.840.1.101.2.2.3.41", "id-oc-taskForceACP127");
- register_ber_oid_name("2.16.840.1.101.2.2.3.42", "id-oc-tenantACP127");
- register_ber_oid_name("2.16.840.1.101.2.2.3.47", "id-oc-plaACP127");
- register_ber_oid_name("2.16.840.1.101.2.2.3.52", "id-oc-aliasCommonName");
- register_ber_oid_name("2.16.840.1.101.2.2.3.53", "id-oc-aliasOrganizationalUnit");
- register_ber_oid_name("2.16.840.1.101.2.2.3.54", "id-oc-distributionCodesHandled");
- register_ber_oid_name("2.16.840.1.101.2.2.3.55", "id-oc-distributionCodeDescription");
- register_ber_oid_name("2.16.840.1.101.2.2.3.56", "id-oc-plaUser");
- register_ber_oid_name("2.16.840.1.101.2.2.3.57", "id-oc-addressList");
- register_ber_oid_name("2.16.840.1.101.2.2.3.58", "id-oc-altSpellingACP127");
- register_ber_oid_name("2.16.840.1.101.2.2.3.59", "id-oc-messagingGateway");
- register_ber_oid_name("2.16.840.1.101.2.2.3.60", "id-oc-network");
- register_ber_oid_name("2.16.840.1.101.2.2.3.61", "id-oc-networkInstructions");
- register_ber_oid_name("2.16.840.1.101.2.2.3.62", "id-oc-otherContactInformation");
- register_ber_oid_name("2.16.840.1.101.2.2.3.63", "id-oc-releaseAuthorityPerson");
- register_ber_oid_name("2.16.840.1.101.2.2.3.64", "id-oc-mLAgent");
- register_ber_oid_name("2.16.840.1.101.2.2.3.65", "id-oc-releaseAuthorityPersonA");
- register_ber_oid_name("2.16.840.1.101.2.2.3.66", "id-oc-securePkiUser");
- register_ber_oid_name("2.16.840.1.101.2.2.3.67", "id-oc-dSSCSPLA");
- register_ber_oid_name("2.16.840.1.101.2.2.3.68", "id-oc-aCPNetworkEdB");
- register_ber_oid_name("2.16.840.1.101.2.2.3.69", "id-oc-aCPNetworkInstructionsEdB");
+ add_oid_str_name("2.16.840.1.101.2.2.3.26", "id-oc-plaData");
+ add_oid_str_name("2.16.840.1.101.2.2.3.28", "id-oc-cadACP127");
+ add_oid_str_name("2.16.840.1.101.2.2.3.31", "id-oc-mLA");
+ add_oid_str_name("2.16.840.1.101.2.2.3.34", "id-oc-orgACP127");
+ add_oid_str_name("2.16.840.1.101.2.2.3.35", "id-oc-plaCollectiveACP127");
+ add_oid_str_name("2.16.840.1.101.2.2.3.37", "id-oc-routingIndicator");
+ add_oid_str_name("2.16.840.1.101.2.2.3.38", "id-oc-sigintPLA");
+ add_oid_str_name("2.16.840.1.101.2.2.3.39", "id-oc-sIPLA");
+ add_oid_str_name("2.16.840.1.101.2.2.3.40", "id-oc-spotPLA");
+ add_oid_str_name("2.16.840.1.101.2.2.3.41", "id-oc-taskForceACP127");
+ add_oid_str_name("2.16.840.1.101.2.2.3.42", "id-oc-tenantACP127");
+ add_oid_str_name("2.16.840.1.101.2.2.3.47", "id-oc-plaACP127");
+ add_oid_str_name("2.16.840.1.101.2.2.3.52", "id-oc-aliasCommonName");
+ add_oid_str_name("2.16.840.1.101.2.2.3.53", "id-oc-aliasOrganizationalUnit");
+ add_oid_str_name("2.16.840.1.101.2.2.3.54", "id-oc-distributionCodesHandled");
+ add_oid_str_name("2.16.840.1.101.2.2.3.55", "id-oc-distributionCodeDescription");
+ add_oid_str_name("2.16.840.1.101.2.2.3.56", "id-oc-plaUser");
+ add_oid_str_name("2.16.840.1.101.2.2.3.57", "id-oc-addressList");
+ add_oid_str_name("2.16.840.1.101.2.2.3.58", "id-oc-altSpellingACP127");
+ add_oid_str_name("2.16.840.1.101.2.2.3.59", "id-oc-messagingGateway");
+ add_oid_str_name("2.16.840.1.101.2.2.3.60", "id-oc-network");
+ add_oid_str_name("2.16.840.1.101.2.2.3.61", "id-oc-networkInstructions");
+ add_oid_str_name("2.16.840.1.101.2.2.3.62", "id-oc-otherContactInformation");
+ add_oid_str_name("2.16.840.1.101.2.2.3.63", "id-oc-releaseAuthorityPerson");
+ add_oid_str_name("2.16.840.1.101.2.2.3.64", "id-oc-mLAgent");
+ add_oid_str_name("2.16.840.1.101.2.2.3.65", "id-oc-releaseAuthorityPersonA");
+ add_oid_str_name("2.16.840.1.101.2.2.3.66", "id-oc-securePkiUser");
+ add_oid_str_name("2.16.840.1.101.2.2.3.67", "id-oc-dSSCSPLA");
+ add_oid_str_name("2.16.840.1.101.2.2.3.68", "id-oc-aCPNetworkEdB");
+ add_oid_str_name("2.16.840.1.101.2.2.3.69", "id-oc-aCPNetworkInstructionsEdB");
/* gateway types */
- register_ber_oid_name("2.16.840.1.101.2.2.5.0", "acp120-acp127");
- register_ber_oid_name("2.16.840.1.101.2.2.5.1", "acp120-janap128");
- register_ber_oid_name("2.16.840.1.101.2.2.5.2", "acp120-mhs");
- register_ber_oid_name("2.16.840.1.101.2.2.5.3", "acp120-mmhs");
- register_ber_oid_name("2.16.840.1.101.2.2.5.4", "acp120-rfc822");
- register_ber_oid_name("2.16.840.1.101.2.2.5.5", "boundaryMTA");
- register_ber_oid_name("2.16.840.1.101.2.2.5.6", "mmhs-mhs");
- register_ber_oid_name("2.16.840.1.101.2.2.5.7", "mmhs-rfc822");
- register_ber_oid_name("2.16.840.1.101.2.2.5.8", "mta-acp127");
+ add_oid_str_name("2.16.840.1.101.2.2.5.0", "acp120-acp127");
+ add_oid_str_name("2.16.840.1.101.2.2.5.1", "acp120-janap128");
+ add_oid_str_name("2.16.840.1.101.2.2.5.2", "acp120-mhs");
+ add_oid_str_name("2.16.840.1.101.2.2.5.3", "acp120-mmhs");
+ add_oid_str_name("2.16.840.1.101.2.2.5.4", "acp120-rfc822");
+ add_oid_str_name("2.16.840.1.101.2.2.5.5", "boundaryMTA");
+ add_oid_str_name("2.16.840.1.101.2.2.5.6", "mmhs-mhs");
+ add_oid_str_name("2.16.840.1.101.2.2.5.7", "mmhs-rfc822");
+ add_oid_str_name("2.16.840.1.101.2.2.5.8", "mta-acp127");
}
#include <epan/packet.h>
#include <epan/emem.h>
#include <epan/conversation.h>
+#include <epan/oid_resolv.h>
#include <stdio.h>
#include <string.h>
static int hf_acse_ACSE_requirements_nested_association = -1;
/*--- End of included file: packet-acse-hf.c ---*/
-#line 64 "packet-acse-template.c"
+#line 65 "packet-acse-template.c"
/* Initialize the subtree pointers */
static gint ett_acse = -1;
static gint ett_acse_Authentication_value = -1;
/*--- End of included file: packet-acse-ett.c ---*/
-#line 68 "packet-acse-template.c"
+#line 69 "packet-acse-template.c"
static struct SESSION_DATA_STRUCTURE* session = NULL;
/*--- End of included file: packet-acse-fn.c ---*/
-#line 144 "packet-acse-template.c"
+#line 145 "packet-acse-template.c"
/*
"", HFILL }},
/*--- End of included file: packet-acse-hfarr.c ---*/
-#line 248 "packet-acse-template.c"
+#line 249 "packet-acse-template.c"
};
/* List of subtrees */
&ett_acse_Authentication_value,
/*--- End of included file: packet-acse-ettarr.c ---*/
-#line 254 "packet-acse-template.c"
+#line 255 "packet-acse-template.c"
};
/* Register protocol */
void proto_reg_handoff_acse(void) {
/*#include "packet-acse-dis-tab.c"*/
- register_ber_oid_name("2.2.3.1.1","aCSE-id");
+ add_oid_str_name("2.2.3.1.1","aCSE-id");
register_ber_oid_dissector(ACSE_APDU_OID, dissect_acse, proto_acse, "acse-as-id");
add_oid_str_name(oid, name);
}
-/* Register the oid name to get translation in proto dissection */
-void
-register_ber_oid_name(const char *oid, const char *name)
-{
- add_oid_str_name(oid, name);
-}
-
-/* Get oid name from hash table to get translation in proto dissection(packet-per.c) */
-const char *
-get_ber_oid_name(const char *oid)
-{
- return get_oid_str_name(oid);
-}
-
-
int dissect_ber_tagged_type(gboolean implicit_tag, packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset, gint hf_id, gint8 tag_cls, gint32 tag_tag, gboolean tag_impl, ber_type_fn type)
{
gint8 tmp_cls;
{
dissector_handle_t ber_handle;
- register_ber_oid_name("2.1.1","joint-iso-itu-t(2) asn1(1) basic-encoding(1)");
+ add_oid_str_name("2.1.1","joint-iso-itu-t(2) asn1(1) basic-encoding(1)");
ber_handle = create_dissector_handle(dissect_ber, proto_ber);
dissector_add("wtap_encap", WTAP_ENCAP_BER, ber_handle);
int call_ber_oid_callback(const char *oid, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree);
void register_ber_oid_dissector_handle(const char *oid, dissector_handle_t dissector, int proto, const char *name);
void register_ber_oid_dissector(const char *oid, dissector_t dissector, int proto, const char *name);
-void register_ber_oid_name(const char *oid, const char *name);
void dissect_ber_oid_NULL_callback(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
-const char * get_ber_oid_name(const char *str);
#endif /* __PACKET_BER_H__ */
#include <epan/packet.h>
#include <epan/prefs.h>
#include <epan/conversation.h>
+#include <epan/oid_resolv.h>
#include <epan/tap.h>
#include <stdio.h>
static int hf_camel_OfferedCamel4Functionalities_serviceChangeDP = -1;
/*--- End of included file: packet-camel-hf.c ---*/
-#line 90 "packet-camel-template.c"
+#line 91 "packet-camel-template.c"
static guint global_tcap_itu_ssn = 0;
/* Initialize the subtree pointers */
static gint ett_camel_CancelFailedPARAM = -1;
/*--- End of included file: packet-camel-ett.c ---*/
-#line 108 "packet-camel-template.c"
+#line 109 "packet-camel-template.c"
/* Preference settings default */
};
static const ber_choice_t AChBillingChargingCharacteristics_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_actimeDurationCharging_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_actimeDurationCharging_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t LegID_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_sendingSideID_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_receivingSideID_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_sendingSideID_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_receivingSideID_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t AChChargingAddress_choice[] = {
- { 2, BER_CLASS_CON, 2, 0, dissect_legID_impl },
- { 50, BER_CLASS_CON, 50, 0, dissect_srfConnection_impl },
+ { 2, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_legID_impl },
+ { 50, BER_CLASS_CON, 50, BER_FLAGS_IMPLTAG, dissect_srfConnection_impl },
{ 0, 0, 0, 0, NULL }
};
static const ber_choice_t AudibleIndicator_choice[] = {
{ 0, BER_CLASS_UNI, BER_UNI_TAG_BOOLEAN, BER_FLAGS_NOOWNTAG, dissect_tone },
- { 1, BER_CLASS_CON, 1, 0, dissect_burstList_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_burstList_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t BasicGapCriteria_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_calledAddressValue_impl },
- { 2, BER_CLASS_CON, 2, 0, dissect_gapOnService_impl },
- { 29, BER_CLASS_CON, 29, 0, dissect_calledAddressAndService_impl },
- { 30, BER_CLASS_CON, 30, 0, dissect_callingAddressAndService_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_calledAddressValue_impl },
+ { 2, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_gapOnService_impl },
+ { 29, BER_CLASS_CON, 29, BER_FLAGS_IMPLTAG, dissect_calledAddressAndService_impl },
+ { 30, BER_CLASS_CON, 30, BER_FLAGS_IMPLTAG, dissect_callingAddressAndService_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t ChangeOfLocation_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_cellGlobalId_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_serviceAreaId_impl },
- { 2, BER_CLASS_CON, 2, 0, dissect_locationAreaId_impl },
- { 3, BER_CLASS_CON, 3, 0, dissect_inter_SystemHandOver_impl },
- { 4, BER_CLASS_CON, 4, 0, dissect_inter_PLMNHandOver_impl },
- { 5, BER_CLASS_CON, 5, 0, dissect_inter_MSCHandOver_impl },
- { 6, BER_CLASS_CON, 6, 0, dissect_changeOfLocationAlt_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_cellGlobalId_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_serviceAreaId_impl },
+ { 2, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_locationAreaId_impl },
+ { 3, BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_inter_SystemHandOver_impl },
+ { 4, BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_inter_PLMNHandOver_impl },
+ { 5, BER_CLASS_CON, 5, BER_FLAGS_IMPLTAG, dissect_inter_MSCHandOver_impl },
+ { 6, BER_CLASS_CON, 6, BER_FLAGS_IMPLTAG, dissect_changeOfLocationAlt_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t DpSpecificCriteria_choice[] = {
- { 1, BER_CLASS_CON, 1, 0, dissect_applicationTimer_impl },
- { 2, BER_CLASS_CON, 2, 0, dissect_midCallControlInfo_impl },
- { 3, BER_CLASS_CON, 3, 0, dissect_dpSpecificCriteriaAlt_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_applicationTimer_impl },
+ { 2, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_midCallControlInfo_impl },
+ { 3, BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_dpSpecificCriteriaAlt_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t BearerCapability_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_bearerCap_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_bearerCap_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t ReceivingSideID_choice[] = {
- { 1, BER_CLASS_CON, 1, 0, dissect_receivingSideID_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_receivingSideID_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t TimeInformation_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_timeIfNoTariffSwitch_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_timeIfTariffSwitch_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_timeIfNoTariffSwitch_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_timeIfTariffSwitch_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t CAMEL_CallResult_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_timeDurationChargingResult_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_timeDurationChargingResult_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t CAMEL_AChBillingChargingCharacteristics_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_timeDurationCharging_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_timeDurationCharging_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t SendingSideID_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_sendingSideID_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_sendingSideID_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t CAMEL_FCIBillingChargingCharacteristics_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_fCIBCCCAMELsequence1_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_fCIBCCCAMELsequence1_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t CAMEL_FCISMSBillingChargingCharacteristics_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_fCIBCCCAMELsequence3_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_fCIBCCCAMELsequence3_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t CAMEL_SCIBillingChargingCharacteristics_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_aOCBeforeAnswer_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_aOCAfterAnswer_impl },
- { 2, BER_CLASS_CON, 2, 0, dissect_aOC_extension_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_aOCBeforeAnswer_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_aOCAfterAnswer_impl },
+ { 2, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_aOC_extension_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t ChargingCharacteristics_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_maxTransferredVolume_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_maxElapsedTime_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_maxTransferredVolume_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_maxElapsedTime_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t TransferredVolume_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_volumeIfNoTariffSwitch_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_volumeIfTariffSwitch_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_volumeIfNoTariffSwitch_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_volumeIfTariffSwitch_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t ElapsedTime_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_timeGPRSIfNoTariffSwitch_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_timeGPRSIfTariffSwitch_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_timeGPRSIfNoTariffSwitch_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_timeGPRSIfTariffSwitch_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t ChargingResult_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_transferredVolume_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_elapsedTime_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_transferredVolume_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_elapsedTime_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t TransferredVolumeRollOver_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_rOVolumeIfNoTariffSwitch_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_rOVolumeIfTariffSwitch_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_rOVolumeIfNoTariffSwitch_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_rOVolumeIfTariffSwitch_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t ElapsedTimeRollOver_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_rOTimeGPRSIfNoTariffSwitch_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_rOTimeGPRSIfTariffSwitch_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_rOTimeGPRSIfNoTariffSwitch_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_rOTimeGPRSIfTariffSwitch_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t ChargingRollOver_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_transferredVolumeRollOver_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_elapsedTimeRollOver_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_transferredVolumeRollOver_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_elapsedTimeRollOver_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t CollectedInfo_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_collectedDigits_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_collectedDigits_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t T_midCallEvents_choice[] = {
- { 3, BER_CLASS_CON, 3, 0, dissect_dTMFDigitsCompleted_impl },
- { 4, BER_CLASS_CON, 4, 0, dissect_dTMFDigitsTimeOut_impl },
+ { 3, BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_dTMFDigitsCompleted_impl },
+ { 4, BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_dTMFDigitsTimeOut_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t T_midCallEvents1_choice[] = {
- { 3, BER_CLASS_CON, 3, 0, dissect_dTMFDigitsCompleted_impl },
- { 4, BER_CLASS_CON, 4, 0, dissect_dTMFDigitsTimeOut_impl },
+ { 3, BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_dTMFDigitsCompleted_impl },
+ { 4, BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_dTMFDigitsTimeOut_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t MetDPCriterion_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_enteringCellGlobalId_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_leavingCellGlobalId_impl },
- { 2, BER_CLASS_CON, 2, 0, dissect_enteringServiceAreaId_impl },
- { 3, BER_CLASS_CON, 3, 0, dissect_leavingServiceAreaId_impl },
- { 4, BER_CLASS_CON, 4, 0, dissect_enteringLocationAreaId_impl },
- { 5, BER_CLASS_CON, 5, 0, dissect_leavingLocationAreaId_impl },
- { 6, BER_CLASS_CON, 6, 0, dissect_inter_SystemHandOverToUMTS_impl },
- { 7, BER_CLASS_CON, 7, 0, dissect_inter_SystemHandOverToGSM_impl },
- { 8, BER_CLASS_CON, 8, 0, dissect_inter_PLMNHandOver_impl },
- { 9, BER_CLASS_CON, 9, 0, dissect_inter_MSCHandOver_impl },
- { 10, BER_CLASS_CON, 10, 0, dissect_metDPCriterionAlt_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_enteringCellGlobalId_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_leavingCellGlobalId_impl },
+ { 2, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_enteringServiceAreaId_impl },
+ { 3, BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_leavingServiceAreaId_impl },
+ { 4, BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_enteringLocationAreaId_impl },
+ { 5, BER_CLASS_CON, 5, BER_FLAGS_IMPLTAG, dissect_leavingLocationAreaId_impl },
+ { 6, BER_CLASS_CON, 6, BER_FLAGS_IMPLTAG, dissect_inter_SystemHandOverToUMTS_impl },
+ { 7, BER_CLASS_CON, 7, BER_FLAGS_IMPLTAG, dissect_inter_SystemHandOverToGSM_impl },
+ { 8, BER_CLASS_CON, 8, BER_FLAGS_IMPLTAG, dissect_inter_PLMNHandOver_impl },
+ { 9, BER_CLASS_CON, 9, BER_FLAGS_IMPLTAG, dissect_inter_MSCHandOver_impl },
+ { 10, BER_CLASS_CON, 10, BER_FLAGS_IMPLTAG, dissect_metDPCriterionAlt_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t EventSpecificInformationBCSM_choice[] = {
- { 2, BER_CLASS_CON, 2, 0, dissect_routeSelectFailureSpecificInfo_impl },
- { 3, BER_CLASS_CON, 3, 0, dissect_oCalledPartyBusySpecificInfo_impl },
- { 4, BER_CLASS_CON, 4, 0, dissect_oNoAnswerSpecificInfo_impl },
- { 5, BER_CLASS_CON, 5, 0, dissect_oAnswerSpecificInfo_impl },
- { 6, BER_CLASS_CON, 6, 0, dissect_oMidCallSpecificInfo_impl },
- { 7, BER_CLASS_CON, 7, 0, dissect_oDisconnectSpecificInfo_impl },
- { 8, BER_CLASS_CON, 8, 0, dissect_tBusySpecificInfo_impl },
- { 9, BER_CLASS_CON, 9, 0, dissect_tNoAnswerSpecificInfo_impl },
- { 10, BER_CLASS_CON, 10, 0, dissect_tAnswerSpecificInfo_impl },
- { 11, BER_CLASS_CON, 11, 0, dissect_tMidCallSpecificInfo_impl },
- { 12, BER_CLASS_CON, 12, 0, dissect_tDisconnectSpecificInfo_impl },
- { 13, BER_CLASS_CON, 13, 0, dissect_oTermSeizedSpecificInfo_impl },
- { 20, BER_CLASS_CON, 20, 0, dissect_callAcceptedSpecificInfo_impl },
- { 21, BER_CLASS_CON, 21, 0, dissect_oAbandonSpecificInfo_impl },
- { 50, BER_CLASS_CON, 50, 0, dissect_oChangeOfPositionSpecificInfo_impl },
- { 51, BER_CLASS_CON, 51, 0, dissect_tChangeOfPositionSpecificInfo_impl },
- { 52, BER_CLASS_CON, 52, 0, dissect_dpSpecificInfoAlt_impl },
+ { 2, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_routeSelectFailureSpecificInfo_impl },
+ { 3, BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_oCalledPartyBusySpecificInfo_impl },
+ { 4, BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_oNoAnswerSpecificInfo_impl },
+ { 5, BER_CLASS_CON, 5, BER_FLAGS_IMPLTAG, dissect_oAnswerSpecificInfo_impl },
+ { 6, BER_CLASS_CON, 6, BER_FLAGS_IMPLTAG, dissect_oMidCallSpecificInfo_impl },
+ { 7, BER_CLASS_CON, 7, BER_FLAGS_IMPLTAG, dissect_oDisconnectSpecificInfo_impl },
+ { 8, BER_CLASS_CON, 8, BER_FLAGS_IMPLTAG, dissect_tBusySpecificInfo_impl },
+ { 9, BER_CLASS_CON, 9, BER_FLAGS_IMPLTAG, dissect_tNoAnswerSpecificInfo_impl },
+ { 10, BER_CLASS_CON, 10, BER_FLAGS_IMPLTAG, dissect_tAnswerSpecificInfo_impl },
+ { 11, BER_CLASS_CON, 11, BER_FLAGS_IMPLTAG, dissect_tMidCallSpecificInfo_impl },
+ { 12, BER_CLASS_CON, 12, BER_FLAGS_IMPLTAG, dissect_tDisconnectSpecificInfo_impl },
+ { 13, BER_CLASS_CON, 13, BER_FLAGS_IMPLTAG, dissect_oTermSeizedSpecificInfo_impl },
+ { 20, BER_CLASS_CON, 20, BER_FLAGS_IMPLTAG, dissect_callAcceptedSpecificInfo_impl },
+ { 21, BER_CLASS_CON, 21, BER_FLAGS_IMPLTAG, dissect_oAbandonSpecificInfo_impl },
+ { 50, BER_CLASS_CON, 50, BER_FLAGS_IMPLTAG, dissect_oChangeOfPositionSpecificInfo_impl },
+ { 51, BER_CLASS_CON, 51, BER_FLAGS_IMPLTAG, dissect_tChangeOfPositionSpecificInfo_impl },
+ { 52, BER_CLASS_CON, 52, BER_FLAGS_IMPLTAG, dissect_dpSpecificInfoAlt_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t EventSpecificInformationSMS_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_o_smsFailureSpecificInfo_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_o_smsSubmittedSpecificInfo_impl },
- { 2, BER_CLASS_CON, 2, 0, dissect_t_smsFailureSpecificInfo_impl },
- { 3, BER_CLASS_CON, 3, 0, dissect_t_smsDeliverySpecificInfo_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_o_smsFailureSpecificInfo_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_o_smsSubmittedSpecificInfo_impl },
+ { 2, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_t_smsFailureSpecificInfo_impl },
+ { 3, BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_t_smsDeliverySpecificInfo_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t VariablePart_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_integer_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_number_impl },
- { 2, BER_CLASS_CON, 2, 0, dissect_time_impl },
- { 3, BER_CLASS_CON, 3, 0, dissect_date_impl },
- { 4, BER_CLASS_CON, 4, 0, dissect_price_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_integer_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_number_impl },
+ { 2, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_time_impl },
+ { 3, BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_date_impl },
+ { 4, BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_price_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t MessageID_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_elementaryMessageID_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_text_impl },
- { 29, BER_CLASS_CON, 29, 0, dissect_elementaryMessageIDs_impl },
- { 30, BER_CLASS_CON, 30, 0, dissect_variableMessage_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_elementaryMessageID_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_text_impl },
+ { 29, BER_CLASS_CON, 29, BER_FLAGS_IMPLTAG, dissect_elementaryMessageIDs_impl },
+ { 30, BER_CLASS_CON, 30, BER_FLAGS_IMPLTAG, dissect_variableMessage_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t InformationToSend_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_inbandInfo_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_tone1_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_inbandInfo_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_tone1_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t GapTreatment_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_informationToSend_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_releaseCause_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_informationToSend_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_releaseCause_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t GPRS_QoS_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_short_QoS_format_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_long_QoS_format_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_short_QoS_format_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_long_QoS_format_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t GPRSEventSpecificInformation_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_attachChangeOfPositionSpecificInformation_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_pdp_ContextchangeOfPositionSpecificInformation_impl },
- { 2, BER_CLASS_CON, 2, 0, dissect_detachSpecificInformation_impl },
- { 3, BER_CLASS_CON, 3, 0, dissect_disconnectSpecificInformation_impl },
- { 4, BER_CLASS_CON, 4, 0, dissect_pDPContextEstablishmentSpecificInformation_impl },
- { 5, BER_CLASS_CON, 5, 0, dissect_pDPContextEstablishmentAcknowledgementSpecificInformation_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_attachChangeOfPositionSpecificInformation_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_pdp_ContextchangeOfPositionSpecificInformation_impl },
+ { 2, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_detachSpecificInformation_impl },
+ { 3, BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_disconnectSpecificInformation_impl },
+ { 4, BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_pDPContextEstablishmentSpecificInformation_impl },
+ { 5, BER_CLASS_CON, 5, BER_FLAGS_IMPLTAG, dissect_pDPContextEstablishmentAcknowledgementSpecificInformation_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t LegOrCallSegment_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_callSegmentID_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_legID_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_callSegmentID_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_legID_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t RequestedInformationValue_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_callAttemptElapsedTimeValue_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_callStopTimeValue_impl },
- { 2, BER_CLASS_CON, 2, 0, dissect_callConnectedElapsedTimeValue_impl },
- { 30, BER_CLASS_CON, 30, 0, dissect_releaseCauseValue_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_callAttemptElapsedTimeValue_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_callStopTimeValue_impl },
+ { 2, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_callConnectedElapsedTimeValue_impl },
+ { 30, BER_CLASS_CON, 30, BER_FLAGS_IMPLTAG, dissect_releaseCauseValue_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t CancelArg_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_invokeID_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_allRequests_impl },
- { 2, BER_CLASS_CON, 2, 0, dissect_callSegmentToCancel_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_invokeID_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_allRequests_impl },
+ { 2, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_callSegmentToCancel_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t ReceivedInformationArg_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_digitsResponse_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_digitsResponse_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t SubscriberState_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_assumedIdle_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_camelBusy_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_assumedIdle_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_camelBusy_impl },
{ 2, BER_CLASS_UNI, BER_UNI_TAG_ENUMERATED, BER_FLAGS_NOOWNTAG, dissect_netDetNotReachable },
- { 3, BER_CLASS_CON, 2, 0, dissect_notProvidedFromVLR_impl },
+ { 3, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_notProvidedFromVLR_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t CellIdOrLAI_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_cellIdFixedLength_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_laiFixedLength_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_cellIdFixedLength_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_laiFixedLength_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t T_resourceAddress_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_ipRoutingAddress_impl },
- { 3, BER_CLASS_CON, 3, 0, dissect_none_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_ipRoutingAddress_impl },
+ { 3, BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_none_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t EntityReleasedArg_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_callSegmentFailure_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_bCSM_Failure_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_callSegmentFailure_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_bCSM_Failure_impl },
{ 0, 0, 0, 0, NULL }
};
/*--- End of included file: packet-camel-fn.c ---*/
-#line 186 "packet-camel-template.c"
+#line 187 "packet-camel-template.c"
const value_string camel_opr_code_strings[] = {
"", HFILL }},
/*--- End of included file: packet-camel-hfarr.c ---*/
-#line 732 "packet-camel-template.c"
+#line 733 "packet-camel-template.c"
};
/* List of subtrees */
&ett_camel_CancelFailedPARAM,
/*--- End of included file: packet-camel-ettarr.c ---*/
-#line 750 "packet-camel-template.c"
+#line 751 "packet-camel-template.c"
};
/* Register protocol */
register_ber_oid_dissector_handle("0.4.0.0.1.0.52.1",camel_handle, proto_camel, "itu-t(0) identified-organization(4) etsi(0) mobileDomain(0) gsm-Network|umts-Network(1) applicationContext(0) cap-gsmSRF-to-gsmscf(52) version2(1)" );
register_ber_oid_dissector_handle("0.4.0.0.1.21.3.50",camel_handle, proto_camel, "itu-t(0) identified-organization(4) etsi(0) mobileDomain(0) gsm-Network(1) cAP3OE(21) ac(3) id-ac-CAP-gprsSSF-gsmSCF-AC(50)" );
- register_ber_oid_name("0.4.0.0.1.1.5.2","iitu-t(0) identified-organization(4) etsi(0) mobileDomain(0) gsm-Network(1) abstractSyntax(1) cap-GPRS-ReferenceNumber(5) version3(2)");
+ add_oid_str_name("0.4.0.0.1.1.5.2","iitu-t(0) identified-organization(4) etsi(0) mobileDomain(0) gsm-Network(1) abstractSyntax(1) cap-GPRS-ReferenceNumber(5) version3(2)");
offset = dissect_ber_object_identifier_str(implicit_tag, pinfo, tree, tvb, offset, hf_index, &obj_id);
if (obj_id) {
- const char *name = get_ber_oid_name (obj_id);
+ const char *name = get_oid_str_name (obj_id);
if (!name) {
name = obj_id;
#include <glib.h>
#include <epan/packet.h>
#include <epan/conversation.h>
+#include <epan/oid_resolv.h>
#include <stdio.h>
#include <string.h>
static int hf_cmip_ProtocolVersion_version2 = -1;
/*--- End of included file: packet-cmip-hf.c ---*/
-#line 62 "packet-cmip-template.c"
+#line 63 "packet-cmip-template.c"
/* Initialize the subtree pointers */
static gint ett_cmip = -1;
static gint ett_cmip_ProtocolVersion = -1;
/*--- End of included file: packet-cmip-ett.c ---*/
-#line 66 "packet-cmip-template.c"
+#line 67 "packet-cmip-template.c"
static guint32 opcode;
/*--- End of included file: packet-cmip-fn.c ---*/
-#line 90 "packet-cmip-template.c"
+#line 91 "packet-cmip-template.c"
static void
"", HFILL }},
/*--- End of included file: packet-cmip-hfarr.c ---*/
-#line 231 "packet-cmip-template.c"
+#line 232 "packet-cmip-template.c"
};
/* List of subtrees */
&ett_cmip_ProtocolVersion,
/*--- End of included file: packet-cmip-ettarr.c ---*/
-#line 237 "packet-cmip-template.c"
+#line 238 "packet-cmip-template.c"
};
/* Register protocol */
register_ber_oid_dissector("2.9.3.2.7.63", dissect_cmip_attribute_63, proto_cmip, "smi2AttributeID (7) nameBinding(63)");
register_ber_oid_dissector("2.9.3.2.7.65", dissect_cmip_attribute_65, proto_cmip, "smi2AttributeID (7) objectClass(65)");
- register_ber_oid_name("2.9.3.2.3.4","eventForwardingDiscriminator(4)");
- register_ber_oid_name("2.9.1.1.4","joint-iso-itu-t(2) ms(9) cmip(1) cmip-pci(1) abstractSyntax(4)");
+ add_oid_str_name("2.9.3.2.3.4","eventForwardingDiscriminator(4)");
+ add_oid_str_name("2.9.1.1.4","joint-iso-itu-t(2) ms(9) cmip(1) cmip-pci(1) abstractSyntax(4)");
}
if(object_identifier_id) {
- name = get_ber_oid_name(object_identifier_id);
+ name = get_oid_str_name(object_identifier_id);
proto_item_append_text(tree, " (%s)", name ? name : object_identifier_id);
}
static const ber_choice_t SignerIdentifier_choice[] = {
{ 0, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_issuerAndSerialNumber },
- { 1, BER_CLASS_CON, 0, 0, dissect_subjectKeyIdentifier_impl },
+ { 1, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_subjectKeyIdentifier_impl },
{ 0, 0, 0, 0, NULL }
};
static const ber_choice_t RecipientIdentifier_choice[] = {
{ 0, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_issuerAndSerialNumber },
- { 1, BER_CLASS_CON, 0, 0, dissect_subjectKeyIdentifier_impl },
+ { 1, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_subjectKeyIdentifier_impl },
{ 0, 0, 0, 0, NULL }
};
static const ber_choice_t OriginatorIdentifierOrKey_choice[] = {
{ 0, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_issuerAndSerialNumber },
- { 1, BER_CLASS_CON, 0, 0, dissect_subjectKeyIdentifier_impl },
- { 2, BER_CLASS_CON, 1, 0, dissect_originatorKey_impl },
+ { 1, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_subjectKeyIdentifier_impl },
+ { 2, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_originatorKey_impl },
{ 0, 0, 0, 0, NULL }
};
static const ber_choice_t RecipientInfo_choice[] = {
{ 0, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_ktri },
- { 1, BER_CLASS_CON, 1, 0, dissect_kari_impl },
- { 2, BER_CLASS_CON, 2, 0, dissect_kekri_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_kari_impl },
+ { 2, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_kekri_impl },
{ 0, 0, 0, 0, NULL }
};
#include <epan/packet.h>
#include <epan/prefs.h>
#include <epan/conversation.h>
+#include <epan/oid_resolv.h>
#include <stdio.h>
#include <string.h>
static int hf_dap_familySelect_item = -1; /* OBJECT_IDENTIFIER */
static int hf_dap_name = -1; /* Name */
static int hf_dap_fromEntry = -1; /* BOOLEAN */
-static int hf_dap_entry_information = -1; /* T_information */
+static int hf_dap_entry_information = -1; /* T_entry_information */
static int hf_dap_entry_information_item = -1; /* EntryInformationItem */
static int hf_dap_attributeType = -1; /* AttributeType */
static int hf_dap_attribute = -1; /* Attribute */
static int hf_dap_familyEntries_item = -1; /* FamilyEntry */
static int hf_dap_rdn = -1; /* RelativeDistinguishedName */
static int hf_dap_family_information = -1; /* FamilyInformation */
-static int hf_dap_information_item = -1; /* T_information_item */
+static int hf_dap_family_information_item = -1; /* T_family_information_item */
static int hf_dap_family_info = -1; /* SEQUENCE_OF_FamilyEntries */
static int hf_dap_family_info_item = -1; /* FamilyEntries */
static int hf_dap_filter_item = -1; /* FilterItem */
static int hf_dap_signedSearchResult = -1; /* T_signedSearchResult */
static int hf_dap_searchResult = -1; /* SearchResultData */
static int hf_dap_add_entry = -1; /* SET_OF_Attribute */
-static int hf_dap_entry_item = -1; /* Attribute */
+static int hf_dap_add_entry_item = -1; /* Attribute */
static int hf_dap_targetSystem = -1; /* AccessPoint */
static int hf_dap_unsignedAddEntryArgument = -1; /* AddEntryArgumentData */
static int hf_dap_signedAddEntryArgument = -1; /* T_signedAddEntryArgument */
static int hf_dap_SearchControlOptions_searchFamily = -1;
/*--- End of included file: packet-dap-hf.c ---*/
-#line 70 "packet-dap-template.c"
+#line 71 "packet-dap-template.c"
/* Initialize the subtree pointers */
static gint ett_dap = -1;
static gint ett_dap_FamilyReturn = -1;
static gint ett_dap_T_familySelect = -1;
static gint ett_dap_EntryInformation = -1;
-static gint ett_dap_T_information = -1;
+static gint ett_dap_T_entry_information = -1;
static gint ett_dap_EntryInformationItem = -1;
static gint ett_dap_FamilyEntries = -1;
static gint ett_dap_SEQUENCE_OF_FamilyEntry = -1;
static gint ett_dap_FamilyEntry = -1;
static gint ett_dap_FamilyInformation = -1;
-static gint ett_dap_T_information_item = -1;
+static gint ett_dap_T_family_information_item = -1;
static gint ett_dap_SEQUENCE_OF_FamilyEntries = -1;
static gint ett_dap_Filter = -1;
static gint ett_dap_SetOfFilter = -1;
static gint ett_dap_T_signedUpdateError = -1;
/*--- End of included file: packet-dap-ett.c ---*/
-#line 74 "packet-dap-template.c"
+#line 75 "packet-dap-template.c"
/*--- Included file: packet-dap-fn.c ---*/
static int dissect_joinAtt(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
return dissect_x509if_AttributeType(FALSE, tvb, offset, pinfo, tree, hf_dap_joinAtt);
}
-static int dissect_entry_item(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
- return dissect_x509if_Attribute(FALSE, tvb, offset, pinfo, tree, hf_dap_entry_item);
+static int dissect_add_entry_item(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
+ return dissect_x509if_Attribute(FALSE, tvb, offset, pinfo, tree, hf_dap_add_entry_item);
}
static int dissect_targetSystem(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
return dissect_dsp_AccessPoint(FALSE, tvb, offset, pinfo, tree, hf_dap_targetSystem);
}
-static const ber_sequence_t T_information_set_of[1] = {
+static const ber_sequence_t T_entry_information_set_of[1] = {
{ BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_entry_information_item },
};
static int
-dissect_dap_T_information(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+dissect_dap_T_entry_information(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
offset = dissect_ber_set_of(implicit_tag, pinfo, tree, tvb, offset,
- T_information_set_of, hf_index, ett_dap_T_information);
+ T_entry_information_set_of, hf_index, ett_dap_T_entry_information);
return offset;
}
static int dissect_entry_information(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
- return dissect_dap_T_information(FALSE, tvb, offset, pinfo, tree, hf_dap_entry_information);
+ return dissect_dap_T_entry_information(FALSE, tvb, offset, pinfo, tree, hf_dap_entry_information);
}
}
-static const value_string dap_T_information_item_vals[] = {
+static const value_string dap_T_family_information_item_vals[] = {
{ 0, "attributeType" },
{ 1, "attribute" },
{ 0, NULL }
};
-static const ber_choice_t T_information_item_choice[] = {
+static const ber_choice_t T_family_information_item_choice[] = {
{ 0, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_attributeType },
{ 1, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_attribute },
{ 0, 0, 0, 0, NULL }
};
static int
-dissect_dap_T_information_item(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+dissect_dap_T_family_information_item(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
offset = dissect_ber_choice(pinfo, tree, tvb, offset,
- T_information_item_choice, hf_index, ett_dap_T_information_item,
+ T_family_information_item_choice, hf_index, ett_dap_T_family_information_item,
NULL);
return offset;
}
-static int dissect_information_item(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
- return dissect_dap_T_information_item(FALSE, tvb, offset, pinfo, tree, hf_dap_information_item);
+static int dissect_family_information_item(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
+ return dissect_dap_T_family_information_item(FALSE, tvb, offset, pinfo, tree, hf_dap_family_information_item);
}
static const ber_sequence_t FamilyInformation_sequence_of[1] = {
- { BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_information_item },
+ { BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_family_information_item },
};
static int
static const ber_sequence_t SET_OF_Attribute_set_of[1] = {
- { BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_entry_item },
+ { BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_add_entry_item },
};
static int
/*--- End of included file: packet-dap-fn.c ---*/
-#line 76 "packet-dap-template.c"
+#line 77 "packet-dap-template.c"
/*
* Dissect DAP PDUs inside a ROS PDUs
{ "information", "dap.information",
FT_UINT32, BASE_DEC, NULL, 0,
"FamilyEntry/information", HFILL }},
- { &hf_dap_information_item,
+ { &hf_dap_family_information_item,
{ "Item", "dap.information_item",
- FT_UINT32, BASE_DEC, VALS(dap_T_information_item_vals), 0,
+ FT_UINT32, BASE_DEC, VALS(dap_T_family_information_item_vals), 0,
"FamilyEntry/information/_item", HFILL }},
{ &hf_dap_family_info,
{ "family-info", "dap.family_info",
{ "entry", "dap.entry",
FT_UINT32, BASE_DEC, NULL, 0,
"AddEntryArgumentData/entry", HFILL }},
- { &hf_dap_entry_item,
+ { &hf_dap_add_entry_item,
{ "Item", "dap.entry_item",
FT_NONE, BASE_NONE, NULL, 0,
"AddEntryArgumentData/entry/_item", HFILL }},
"", HFILL }},
/*--- End of included file: packet-dap-hfarr.c ---*/
-#line 278 "packet-dap-template.c"
+#line 279 "packet-dap-template.c"
};
/* List of subtrees */
&ett_dap_FamilyReturn,
&ett_dap_T_familySelect,
&ett_dap_EntryInformation,
- &ett_dap_T_information,
+ &ett_dap_T_entry_information,
&ett_dap_EntryInformationItem,
&ett_dap_FamilyEntries,
&ett_dap_SEQUENCE_OF_FamilyEntry,
&ett_dap_FamilyEntry,
&ett_dap_FamilyInformation,
- &ett_dap_T_information_item,
+ &ett_dap_T_family_information_item,
&ett_dap_SEQUENCE_OF_FamilyEntries,
&ett_dap_Filter,
&ett_dap_SetOfFilter,
&ett_dap_T_signedUpdateError,
/*--- End of included file: packet-dap-ettarr.c ---*/
-#line 284 "packet-dap-template.c"
+#line 285 "packet-dap-template.c"
};
module_t *dap_module;
/* APPLICATION CONTEXT */
- register_ber_oid_name("2.5.3.1", "id-ac-directory-access");
+ add_oid_str_name("2.5.3.1", "id-ac-directory-access");
/* ABSTRACT SYNTAXES */
#include <epan/packet.h>
#include <epan/prefs.h>
#include <epan/conversation.h>
+#include <epan/oid_resolv.h>
#include <stdio.h>
#include <string.h>
static int hf_disp_ModificationParameter_PDU = -1; /* ModificationParameter */
static int hf_disp_ShadowingAgreementInfo_PDU = -1; /* ShadowingAgreementInfo */
static int hf_disp_modifiedSecondaryShadows = -1; /* SET_OF_SupplierAndConsumers */
-static int hf_disp_secondaryShadows_item = -1; /* SupplierAndConsumers */
+static int hf_disp_modifiedSecondaryShadows_item = -1; /* SupplierAndConsumers */
static int hf_disp_shadowSubject = -1; /* UnitOfReplication */
static int hf_disp_updateMode = -1; /* UpdateMode */
static int hf_disp_master = -1; /* AccessPoint */
static int hf_disp_shadowError = -1; /* ShadowErrorData */
/*--- End of included file: packet-disp-hf.c ---*/
-#line 73 "packet-disp-template.c"
+#line 74 "packet-disp-template.c"
/* Initialize the subtree pointers */
static gint ett_disp = -1;
static gint ett_disp_T_signedShadowError = -1;
/*--- End of included file: packet-disp-ett.c ---*/
-#line 77 "packet-disp-template.c"
+#line 78 "packet-disp-template.c"
/*--- Included file: packet-disp-fn.c ---*/
/*--- Fields for imported types ---*/
-static int dissect_secondaryShadows_item(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
- return dissect_dop_SupplierAndConsumers(FALSE, tvb, offset, pinfo, tree, hf_disp_secondaryShadows_item);
+static int dissect_modifiedSecondaryShadows_item(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
+ return dissect_dop_SupplierAndConsumers(FALSE, tvb, offset, pinfo, tree, hf_disp_modifiedSecondaryShadows_item);
}
static int dissect_master(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
return dissect_dsp_AccessPoint(FALSE, tvb, offset, pinfo, tree, hf_disp_master);
static const ber_sequence_t SET_OF_SupplierAndConsumers_set_of[1] = {
- { BER_CLASS_UNI, BER_UNI_TAG_SET, BER_FLAGS_NOOWNTAG, dissect_secondaryShadows_item },
+ { BER_CLASS_UNI, BER_UNI_TAG_SET, BER_FLAGS_NOOWNTAG, dissect_modifiedSecondaryShadows_item },
};
static int
static const ber_choice_t ClassAttributes_choice[] = {
{ 0, BER_CLASS_UNI, BER_UNI_TAG_NULL, BER_FLAGS_NOOWNTAG, dissect_allAttributes },
- { 1, BER_CLASS_CON, 0, 0, dissect_include_impl },
- { 2, BER_CLASS_CON, 1, 0, dissect_exclude_impl },
+ { 1, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_include_impl },
+ { 2, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_exclude_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t UpdateMode_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_supplierInitiated_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_consumerInitiated_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_supplierInitiated_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_consumerInitiated_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t CoordinateShadowUpdateArgument_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_unsignedCoordinateShadowUpdateArgument_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_unsignedCoordinateShadowUpdateArgument_impl },
{ 1, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_signedCoordinateShadowUpdateArgument },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t Information_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_unsignedInformation_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_unsignedInformation_impl },
{ 1, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_signedInformation },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t RequestShadowUpdateArgument_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_unsignedRequestShadowUpdateArgument_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_unsignedRequestShadowUpdateArgument_impl },
{ 1, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_signedRequestShadowUpdateArgument },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t T_attributeChanges_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_replace_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_changes_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_replace_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_changes_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t T_sDSEChanges_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_add_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_add_impl },
{ 1, BER_CLASS_UNI, BER_UNI_TAG_NULL, BER_FLAGS_NOOWNTAG, dissect_remove },
- { 2, BER_CLASS_CON, 1, 0, dissect_modify_impl },
+ { 2, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_modify_impl },
{ 0, 0, 0, 0, NULL }
};
static const ber_choice_t RefreshInformation_choice[] = {
{ 0, BER_CLASS_UNI, BER_UNI_TAG_NULL, BER_FLAGS_NOOWNTAG, dissect_noRefresh },
- { 1, BER_CLASS_CON, 0, 0, dissect_total_impl },
- { 2, BER_CLASS_CON, 1, 0, dissect_incremental_impl },
+ { 1, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_total_impl },
+ { 2, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_incremental_impl },
{ 3, BER_CLASS_UNI, 8, BER_FLAGS_NOOWNTAG, dissect_otherStrategy },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t UpdateShadowArgument_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_unsignedUpdateShadowArgument_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_unsignedUpdateShadowArgument_impl },
{ 1, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_signedUpdateShadowArgument },
{ 0, 0, 0, 0, NULL }
};
static const ber_choice_t ShadowError_choice[] = {
{ 0, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_unsignedShadowError },
- { 1, BER_CLASS_CON, 0, 0, dissect_signedShadowError_impl },
+ { 1, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_signedShadowError_impl },
{ 0, 0, 0, 0, NULL }
};
/*--- End of included file: packet-disp-fn.c ---*/
-#line 79 "packet-disp-template.c"
+#line 80 "packet-disp-template.c"
/*
* Dissect DISP PDUs inside a ROS PDUs
{ "secondaryShadows", "disp.secondaryShadows",
FT_UINT32, BASE_DEC, NULL, 0,
"ModificationParameter/secondaryShadows", HFILL }},
- { &hf_disp_secondaryShadows_item,
+ { &hf_disp_modifiedSecondaryShadows_item,
{ "Item", "disp.secondaryShadows_item",
FT_NONE, BASE_NONE, NULL, 0,
"ModificationParameter/secondaryShadows/_item", HFILL }},
"ShadowError/signedShadowError/shadowError", HFILL }},
/*--- End of included file: packet-disp-hfarr.c ---*/
-#line 205 "packet-disp-template.c"
+#line 206 "packet-disp-template.c"
};
/* List of subtrees */
&ett_disp_T_signedShadowError,
/*--- End of included file: packet-disp-ettarr.c ---*/
-#line 211 "packet-disp-template.c"
+#line 212 "packet-disp-template.c"
};
module_t *disp_module;
/*--- End of included file: packet-disp-dis-tab.c ---*/
-#line 243 "packet-disp-template.c"
+#line 244 "packet-disp-template.c"
/* APPLICATION CONTEXT */
- register_ber_oid_name("2.5.3.4", "id-ac-shadow-consumer-initiated");
- register_ber_oid_name("2.5.3.5", "id-ac-shadow-supplier-initiated");
- register_ber_oid_name("2.5.3.6", "id-ac-reliable-shadow-consumer-initiated");
- register_ber_oid_name("2.5.3.7", "id-ac-reliable-shadow-supplier-initiated");
+ add_oid_str_name("2.5.3.4", "id-ac-shadow-consumer-initiated");
+ add_oid_str_name("2.5.3.5", "id-ac-shadow-supplier-initiated");
+ add_oid_str_name("2.5.3.6", "id-ac-reliable-shadow-consumer-initiated");
+ add_oid_str_name("2.5.3.7", "id-ac-reliable-shadow-supplier-initiated");
/* ABSTRACT SYNTAXES */
}
/* OPERATIONAL BINDING */
- register_ber_oid_name("2.5.1.0.5.1", "id-op-binding-shadow");
+ add_oid_str_name("2.5.1.0.5.1", "id-op-binding-shadow");
tpkt_handle = find_dissector("tpkt");
#include <epan/packet.h>
#include <epan/prefs.h>
#include <epan/conversation.h>
+#include <epan/oid_resolv.h>
#include <stdio.h>
#include <string.h>
static int hf_dop_GrantsAndDenials_denyInvoke = -1;
/*--- End of included file: packet-dop-hf.c ---*/
-#line 70 "packet-dop-template.c"
+#line 71 "packet-dop-template.c"
/* Initialize the subtree pointers */
static gint ett_dop = -1;
static gint ett_dop_GrantsAndDenials = -1;
/*--- End of included file: packet-dop-ett.c ---*/
-#line 74 "packet-dop-template.c"
+#line 75 "packet-dop-template.c"
/*--- Included file: packet-dop-fn.c ---*/
if(check_col(pinfo->cinfo, COL_INFO)) {
- name = get_ber_oid_name(binding_type);
+ name = get_oid_str_name(binding_type);
col_append_fstr(pinfo->cinfo, COL_INFO, " %s", name ? name : binding_type);
}
/*--- End of included file: packet-dop-fn.c ---*/
-#line 76 "packet-dop-template.c"
+#line 77 "packet-dop-template.c"
static int
call_dop_oid_callback(char *base_oid, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, char *col_info)
"", HFILL }},
/*--- End of included file: packet-dop-hfarr.c ---*/
-#line 219 "packet-dop-template.c"
+#line 220 "packet-dop-template.c"
};
/* List of subtrees */
&ett_dop_GrantsAndDenials,
/*--- End of included file: packet-dop-ettarr.c ---*/
-#line 225 "packet-dop-template.c"
+#line 226 "packet-dop-template.c"
};
module_t *dop_module;
/*--- End of included file: packet-dop-dis-tab.c ---*/
-#line 260 "packet-dop-template.c"
+#line 261 "packet-dop-template.c"
/* APPLICATION CONTEXT */
- register_ber_oid_name("2.5.3.3", "id-ac-directory-operational-binding-management");
+ add_oid_str_name("2.5.3.3", "id-ac-directory-operational-binding-management");
/* ABSTRACT SYNTAXES */
/* BINDING TYPES */
- register_ber_oid_name("2.5.19.1", "shadow-agreement");
- register_ber_oid_name("2.5.19.2", "hierarchical-agreement");
- register_ber_oid_name("2.5.19.3", "non-specific-hierarchical-agreement");
+ add_oid_str_name("2.5.19.1", "shadow-agreement");
+ add_oid_str_name("2.5.19.2", "hierarchical-agreement");
+ add_oid_str_name("2.5.19.3", "non-specific-hierarchical-agreement");
/* ACCESS CONTROL SCHEMES */
- register_ber_oid_name("2.5.28.1", "basic-ACS");
- register_ber_oid_name("2.5.28.2", "simplified-ACS");
- register_ber_oid_name("2.5.28.3", "ruleBased-ACS");
- register_ber_oid_name("2.5.28.4", "ruleAndBasic-ACS");
- register_ber_oid_name("2.5.28.5", "ruleAndSimple-ACS");
+ add_oid_str_name("2.5.28.1", "basic-ACS");
+ add_oid_str_name("2.5.28.2", "simplified-ACS");
+ add_oid_str_name("2.5.28.3", "ruleBased-ACS");
+ add_oid_str_name("2.5.28.4", "ruleAndBasic-ACS");
+ add_oid_str_name("2.5.28.5", "ruleAndSimple-ACS");
/* ADMINISTRATIVE ROLES */
- register_ber_oid_name("2.5.23.1", "id-ar-autonomousArea");
- register_ber_oid_name("2.5.23.2", "id-ar-accessControlSpecificArea");
- register_ber_oid_name("2.5.23.3", "id-ar-accessControlInnerArea");
- register_ber_oid_name("2.5.23.4", "id-ar-subschemaAdminSpecificArea");
- register_ber_oid_name("2.5.23.5", "id-ar-collectiveAttributeSpecificArea");
- register_ber_oid_name("2.5.23.6", "id-ar-collectiveAttributeInnerArea");
- register_ber_oid_name("2.5.23.7", "id-ar-contextDefaultSpecificArea");
- register_ber_oid_name("2.5.23.8", "id-ar-serviceSpecificArea");
+ add_oid_str_name("2.5.23.1", "id-ar-autonomousArea");
+ add_oid_str_name("2.5.23.2", "id-ar-accessControlSpecificArea");
+ add_oid_str_name("2.5.23.3", "id-ar-accessControlInnerArea");
+ add_oid_str_name("2.5.23.4", "id-ar-subschemaAdminSpecificArea");
+ add_oid_str_name("2.5.23.5", "id-ar-collectiveAttributeSpecificArea");
+ add_oid_str_name("2.5.23.6", "id-ar-collectiveAttributeInnerArea");
+ add_oid_str_name("2.5.23.7", "id-ar-contextDefaultSpecificArea");
+ add_oid_str_name("2.5.23.8", "id-ar-serviceSpecificArea");
/* remember the tpkt handler for change in preferences */
tpkt_handle = find_dissector("tpkt");
#include <epan/packet.h>
#include <epan/prefs.h>
#include <epan/conversation.h>
+#include <epan/oid_resolv.h>
#include <stdio.h>
#include <string.h>
static int hf_dsp_other = -1; /* EXTERNAL */
/*--- End of included file: packet-dsp-hf.c ---*/
-#line 66 "packet-dsp-template.c"
+#line 67 "packet-dsp-template.c"
/* Initialize the subtree pointers */
static gint ett_dsp = -1;
static gint ett_dsp_T_basicLevels = -1;
/*--- End of included file: packet-dsp-ett.c ---*/
-#line 70 "packet-dsp-template.c"
+#line 71 "packet-dsp-template.c"
/*--- Included file: packet-dsp-fn.c ---*/
/*--- End of included file: packet-dsp-fn.c ---*/
-#line 72 "packet-dsp-template.c"
+#line 73 "packet-dsp-template.c"
/*
* Dissect X518 PDUs inside a ROS PDUs
"AuthenticationLevel/other", HFILL }},
/*--- End of included file: packet-dsp-hfarr.c ---*/
-#line 278 "packet-dsp-template.c"
+#line 279 "packet-dsp-template.c"
};
/* List of subtrees */
&ett_dsp_T_basicLevels,
/*--- End of included file: packet-dsp-ettarr.c ---*/
-#line 284 "packet-dsp-template.c"
+#line 285 "packet-dsp-template.c"
};
module_t *dsp_module;
/*--- End of included file: packet-dsp-dis-tab.c ---*/
-#line 321 "packet-dsp-template.c"
+#line 322 "packet-dsp-template.c"
/* APPLICATION CONTEXT */
- register_ber_oid_name("2.5.3.2", "id-ac-directory-system");
+ add_oid_str_name("2.5.3.2", "id-ac-directory-system");
/* ABSTRACT SYNTAXES */
#include <glib.h>
#include <epan/packet.h>
#include <epan/conversation.h>
+#include <epan/oid_resolv.h>
#include <stdio.h>
#include <string.h>
static int hf_ftam_read_attributes = -1; /* Read_Attributes */
static int hf_ftam_attributes = -1; /* Change_Attributes */
static int hf_ftam_processing_mode = -1; /* T_processing_mode */
-static int hf_ftam_open_contents_type = -1; /* T_contents_type */
+static int hf_ftam_open_contents_type = -1; /* T_open_contents_type */
static int hf_ftam_unknown = -1; /* NULL */
static int hf_ftam_proposed = -1; /* Contents_Type_Attribute */
static int hf_ftam_enable_fadu_locking = -1; /* BOOLEAN */
static int hf_ftam_path_access_control = -1; /* Access_Control_Attribute */
static int hf_ftam_no_value_available = -1; /* NULL */
static int hf_ftam_actual_values3 = -1; /* SET_OF_Access_Control_Element */
-static int hf_ftam_actual_values_item = -1; /* Access_Control_Element */
+static int hf_ftam_actual_values3_item = -1; /* Access_Control_Element */
static int hf_ftam_actual_values1 = -1; /* T_actual_values1 */
static int hf_ftam_insert_values = -1; /* SET_OF_Access_Control_Element */
static int hf_ftam_insert_values_item = -1; /* Access_Control_Element */
static int hf_ftam_constraint_set_and_abstract_Syntax = -1; /* T_constraint_set_and_abstract_Syntax */
static int hf_ftam_constraint_set_name = -1; /* Constraint_Set_Name */
static int hf_ftam_actual_values5 = -1; /* GeneralizedTime */
-static int hf_ftam_actual_values8 = -1; /* T_actual_values */
+static int hf_ftam_actual_values8 = -1; /* T_actual_values8 */
static int hf_ftam_incomplete_pathname = -1; /* Pathname */
static int hf_ftam_complete_pathname = -1; /* Pathname */
static int hf_ftam_actual_values7 = -1; /* INTEGER */
static int hf_ftam_Attribute_Extensions_Pattern_item = -1; /* Attribute_Extensions_Pattern_item */
static int hf_ftam_extension_set_attribute_Patterns = -1; /* T_extension_set_attribute_Patterns */
static int hf_ftam_extension_set_attribute_Patterns_item = -1; /* T_extension_set_attribute_Patterns_item */
-static int hf_ftam_attribute_extension_attribute_identifier = -1; /* T_extension_attribute_identifier1 */
+static int hf_ftam_attribute_extension_attribute_identifier = -1; /* T_attribute_extension_attribute_identifier */
static int hf_ftam_extension_attribute_Pattern = -1; /* T_extension_attribute_Pattern */
static int hf_ftam_Objects_Attributes_List_item = -1; /* Read_Attributes */
static int hf_ftam_success_Object_count = -1; /* INTEGER */
static int hf_ftam_Attribute_Names_read_private_use = -1;
/*--- End of included file: packet-ftam-hf.c ---*/
-#line 58 "packet-ftam-template.c"
+#line 59 "packet-ftam-template.c"
/* Initialize the subtree pointers */
static gint ett_ftam = -1;
static gint ett_ftam_F_CHANGE_ATTRIB_response = -1;
static gint ett_ftam_F_OPEN_request = -1;
static gint ett_ftam_T_processing_mode = -1;
-static gint ett_ftam_T_contents_type = -1;
+static gint ett_ftam_T_open_contents_type = -1;
static gint ett_ftam_SET_OF_Abstract_Syntax_Name = -1;
static gint ett_ftam_F_OPEN_response = -1;
static gint ett_ftam_F_CLOSE_request = -1;
static gint ett_ftam_Attribute_Value_Assertions = -1;
/*--- End of included file: packet-ftam-ett.c ---*/
-#line 62 "packet-ftam-template.c"
+#line 63 "packet-ftam-template.c"
/*--- Included file: packet-ftam-fn.c ---*/
}
-static const value_string ftam_T_actual_values_vals[] = {
+static const value_string ftam_T_actual_values8_vals[] = {
{ 0, "immediate-availability" },
{ 1, "deferred-availability" },
{ 0, NULL }
static int
-dissect_ftam_T_actual_values(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+dissect_ftam_T_actual_values8(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
offset = dissect_ber_integer(implicit_tag, pinfo, tree, tvb, offset, hf_index,
NULL);
return offset;
}
static int dissect_actual_values8_impl(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
- return dissect_ftam_T_actual_values(TRUE, tvb, offset, pinfo, tree, hf_ftam_actual_values8);
+ return dissect_ftam_T_actual_values8(TRUE, tvb, offset, pinfo, tree, hf_ftam_actual_values8);
}
return offset;
}
-static int dissect_actual_values_item(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
- return dissect_ftam_Access_Control_Element(FALSE, tvb, offset, pinfo, tree, hf_ftam_actual_values_item);
+static int dissect_actual_values3_item(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
+ return dissect_ftam_Access_Control_Element(FALSE, tvb, offset, pinfo, tree, hf_ftam_actual_values3_item);
}
static int dissect_insert_values_item(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
return dissect_ftam_Access_Control_Element(FALSE, tvb, offset, pinfo, tree, hf_ftam_insert_values_item);
static const ber_sequence_t SET_OF_Access_Control_Element_set_of[1] = {
- { BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_actual_values_item },
+ { BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_actual_values3_item },
};
static int
}
-static const value_string ftam_T_contents_type_vals[] = {
+static const value_string ftam_T_open_contents_type_vals[] = {
{ 0, "unknown" },
{ 1, "proposed" },
{ 0, NULL }
};
-static const ber_choice_t T_contents_type_choice[] = {
+static const ber_choice_t T_open_contents_type_choice[] = {
{ 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_unknown_impl },
{ 1, BER_CLASS_CON, 1, 0, dissect_proposed },
{ 0, 0, 0, 0, NULL }
};
static int
-dissect_ftam_T_contents_type(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+dissect_ftam_T_open_contents_type(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
offset = dissect_ber_choice(pinfo, tree, tvb, offset,
- T_contents_type_choice, hf_index, ett_ftam_T_contents_type,
+ T_open_contents_type_choice, hf_index, ett_ftam_T_open_contents_type,
NULL);
return offset;
}
static int dissect_open_contents_type(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
- return dissect_ftam_T_contents_type(FALSE, tvb, offset, pinfo, tree, hf_ftam_open_contents_type);
+ return dissect_ftam_T_open_contents_type(FALSE, tvb, offset, pinfo, tree, hf_ftam_open_contents_type);
}
static int
-dissect_ftam_T_extension_attribute_identifier1(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+dissect_ftam_T_attribute_extension_attribute_identifier(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
offset = dissect_ber_object_identifier_str(implicit_tag, pinfo, tree, tvb, offset, hf_index, &object_identifier_id);
return offset;
}
static int dissect_attribute_extension_attribute_identifier(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
- return dissect_ftam_T_extension_attribute_identifier1(FALSE, tvb, offset, pinfo, tree, hf_ftam_attribute_extension_attribute_identifier);
+ return dissect_ftam_T_attribute_extension_attribute_identifier(FALSE, tvb, offset, pinfo, tree, hf_ftam_attribute_extension_attribute_identifier);
}
/*--- End of included file: packet-ftam-fn.c ---*/
-#line 64 "packet-ftam-template.c"
+#line 65 "packet-ftam-template.c"
/*
* Dissect FTAM PDUs inside a PPDU.
"F-OPEN-request/processing-mode", HFILL }},
{ &hf_ftam_open_contents_type,
{ "contents-type", "ftam.contents_type",
- FT_UINT32, BASE_DEC, VALS(ftam_T_contents_type_vals), 0,
+ FT_UINT32, BASE_DEC, VALS(ftam_T_open_contents_type_vals), 0,
"F-OPEN-request/contents-type", HFILL }},
{ &hf_ftam_unknown,
{ "unknown", "ftam.unknown",
{ "actual-values", "ftam.actual_values",
FT_UINT32, BASE_DEC, NULL, 0,
"Access-Control-Attribute/actual-values", HFILL }},
- { &hf_ftam_actual_values_item,
+ { &hf_ftam_actual_values3_item,
{ "Item", "ftam.actual_values_item",
FT_NONE, BASE_NONE, NULL, 0,
"Access-Control-Attribute/actual-values/_item", HFILL }},
"Date-and-Time-Attribute/actual-values", HFILL }},
{ &hf_ftam_actual_values8,
{ "actual-values", "ftam.actual_values",
- FT_INT32, BASE_DEC, VALS(ftam_T_actual_values_vals), 0,
+ FT_INT32, BASE_DEC, VALS(ftam_T_actual_values8_vals), 0,
"Object-Availability-Attribute/actual-values", HFILL }},
{ &hf_ftam_incomplete_pathname,
{ "incomplete-pathname", "ftam.incomplete_pathname",
"", HFILL }},
/*--- End of included file: packet-ftam-hfarr.c ---*/
-#line 104 "packet-ftam-template.c"
+#line 105 "packet-ftam-template.c"
};
/* List of subtrees */
&ett_ftam_F_CHANGE_ATTRIB_response,
&ett_ftam_F_OPEN_request,
&ett_ftam_T_processing_mode,
- &ett_ftam_T_contents_type,
+ &ett_ftam_T_open_contents_type,
&ett_ftam_SET_OF_Abstract_Syntax_Name,
&ett_ftam_F_OPEN_response,
&ett_ftam_F_CLOSE_request,
&ett_ftam_Attribute_Value_Assertions,
/*--- End of included file: packet-ftam-ettarr.c ---*/
-#line 110 "packet-ftam-template.c"
+#line 111 "packet-ftam-template.c"
};
/* Register protocol */
register_ber_oid_dissector("1.3.14.5.2.2", dissect_ftam, proto_ftam,"NIST file directory entry abstract syntax");
/* Unstructured text file document type FTAM-1 */
- register_ber_oid_name("1.0.8571.5.1","ISO FTAM unstructured text");
- register_ber_oid_name("1.0.8571.5.2","ISO FTAM sequential text");
- register_ber_oid_name("1.0.8571.2.3","FTAM unstructured text abstract syntax");
- register_ber_oid_name("1.0.8571.2.4","FTAM sequential text abstract syntax");
- register_ber_oid_name("1.0.8571.2.5","FTAM simple-hierarchy");
- register_ber_oid_name("1.0.8571.3.1","FTAM hierarchical file model");
- register_ber_oid_name("1.0.8571.4.1","FTAM unstructured constraint set");
+ add_oid_str_name("1.0.8571.5.1","ISO FTAM unstructured text");
+ add_oid_str_name("1.0.8571.5.2","ISO FTAM sequential text");
+ add_oid_str_name("1.0.8571.2.3","FTAM unstructured text abstract syntax");
+ add_oid_str_name("1.0.8571.2.4","FTAM sequential text abstract syntax");
+ add_oid_str_name("1.0.8571.2.5","FTAM simple-hierarchy");
+ add_oid_str_name("1.0.8571.3.1","FTAM hierarchical file model");
+ add_oid_str_name("1.0.8571.4.1","FTAM unstructured constraint set");
/* Unstructured text file document type FTAM-3 */
- register_ber_oid_name("1.0.8571.5.3","ISO FTAM unstructured binary");
- register_ber_oid_name("1.0.8571.2.4","FTAM unstructured binary abstract syntax");
+ add_oid_str_name("1.0.8571.5.3","ISO FTAM unstructured binary");
+ add_oid_str_name("1.0.8571.2.4","FTAM unstructured binary abstract syntax");
/* Filedirectory file document type NBS-9 */
- register_ber_oid_name("1.3.14.5.5.9","NBS-9 FTAM file directory file");
+ add_oid_str_name("1.3.14.5.5.9","NBS-9 FTAM file directory file");
/* Filedirectory file document type NBS-9 (WITH OLD NIST OIDs)*/
- register_ber_oid_name("1.3.9999.1.5.9","NBS-9-OLD FTAM file directory file");
- register_ber_oid_name("1.3.9999.1.2.2","NIST file directory entry abstract syntax");
+ add_oid_str_name("1.3.9999.1.5.9","NBS-9-OLD FTAM file directory file");
+ add_oid_str_name("1.3.9999.1.2.2","NIST file directory entry abstract syntax");
}
#include <epan/conversation.h>
#include <epan/tap.h>
#include <epan/emem.h>
+#include <epan/oid_resolv.h>
#include <stdio.h>
#include <string.h>
static int hf_gsm_map_SupportedGADShapes_ellipsoidArc = -1;
/*--- End of included file: packet-gsm_map-hf.c ---*/
-#line 136 "packet-gsm_map-template.c"
+#line 137 "packet-gsm_map-template.c"
/* Initialize the subtree pointers */
static gint ett_gsm_map = -1;
static gint ett_gsm_map_AccessTypePriv = -1;
/*--- End of included file: packet-gsm_map-ett.c ---*/
-#line 154 "packet-gsm_map-template.c"
+#line 155 "packet-gsm_map-template.c"
static dissector_table_t sms_dissector_table; /* SMS TPDU */
static dissector_handle_t data_handle;
/*--- End of included file: packet-gsm_map-fn.c ---*/
-#line 562 "packet-gsm_map-template.c"
+#line 563 "packet-gsm_map-template.c"
const value_string gsm_map_opr_code_strings[] = {
{ 2, "updateLocation" },
"", HFILL }},
/*--- End of included file: packet-gsm_map-hfarr.c ---*/
-#line 2205 "packet-gsm_map-template.c"
+#line 2206 "packet-gsm_map-template.c"
};
/* List of subtrees */
&ett_gsm_map_AccessTypePriv,
/*--- End of included file: packet-gsm_map-ettarr.c ---*/
-#line 2225 "packet-gsm_map-template.c"
+#line 2226 "packet-gsm_map-template.c"
};
/* Register protocol */
gsm_map_tap = register_tap("gsm_map");
/* #include "packet-gsm_map-dis-tab.c" */
- register_ber_oid_name("1.2.826.0.1249.58.1.0","iso(1) member-body(2) bsi(826) disc(0) ericsson(1249) gsmNetworkApplicationsDefinition(58) gsm-Map(1) gsm-Map-Ext(0)" );
- register_ber_oid_name("1.3.12.2.1107.3.66.1.2","accessTypeNotAllowed-id" );
- /*register_ber_oid_name("0.4.0.0.1.0.1.3","itu-t(0) identified-organization(4) etsi(0) mobileDomain(0) gsm-Network(1) map-ac(0) networkLocUp(1) version3(3)" );
+ add_oid_str_name("1.2.826.0.1249.58.1.0","iso(1) member-body(2) bsi(826) disc(0) ericsson(1249) gsmNetworkApplicationsDefinition(58) gsm-Map(1) gsm-Map-Ext(0)" );
+ add_oid_str_name("1.3.12.2.1107.3.66.1.2","accessTypeNotAllowed-id" );
+ /*add_oid_str_name("0.4.0.0.1.0.1.3","itu-t(0) identified-organization(4) etsi(0) mobileDomain(0) gsm-Network(1) map-ac(0) networkLocUp(1) version3(3)" );
*
* Register our configuration options, particularly our ssn:s
* Set default SSNs
/* Do not modify this file. */
/* It is created automatically by the ASN.1 to Wireshark dissector compiler */
-/* ./packet-ldap.c */
+/* .\packet-ldap.c */
/* ../../tools/asn2wrs.py -b -e -p ldap -c ldap.cnf -s packet-ldap-template Lightweight-Directory-Access-Protocol-V3.asn */
/* Input file: packet-ldap-template.c */
* display it as a string, othervise just display it in hex.
*/
static int
-dissect_ldap_AssertionValue(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index)
+dissect_ldap_AssertionValue(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index)
{
gint8 class;
gboolean pc, ind, is_ascii;
};
static const ber_choice_t AuthenticationChoice_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_simple_impl },
- { 3, BER_CLASS_CON, 3, 0, dissect_sasl_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_simple_impl },
+ { 3, BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_sasl_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t T_substringFilter_substrings_item_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_initial_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_any_impl },
- { 2, BER_CLASS_CON, 2, 0, dissect_final_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_initial_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_any_impl },
+ { 2, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_final_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t Filter_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_and_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_or_impl },
- { 2, BER_CLASS_CON, 2, 0, dissect_not_impl },
- { 3, BER_CLASS_CON, 3, 0, dissect_equalityMatch_impl },
- { 4, BER_CLASS_CON, 4, 0, dissect_substrings_impl },
- { 5, BER_CLASS_CON, 5, 0, dissect_greaterOrEqual_impl },
- { 6, BER_CLASS_CON, 6, 0, dissect_lessOrEqual_impl },
- { 7, BER_CLASS_CON, 7, 0, dissect_present_impl },
- { 8, BER_CLASS_CON, 8, 0, dissect_approxMatch_impl },
- { 9, BER_CLASS_CON, 9, 0, dissect_extensibleMatch_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_and_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_or_impl },
+ { 2, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_not_impl },
+ { 3, BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_equalityMatch_impl },
+ { 4, BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_substrings_impl },
+ { 5, BER_CLASS_CON, 5, BER_FLAGS_IMPLTAG, dissect_greaterOrEqual_impl },
+ { 6, BER_CLASS_CON, 6, BER_FLAGS_IMPLTAG, dissect_lessOrEqual_impl },
+ { 7, BER_CLASS_CON, 7, BER_FLAGS_IMPLTAG, dissect_present_impl },
+ { 8, BER_CLASS_CON, 8, BER_FLAGS_IMPLTAG, dissect_approxMatch_impl },
+ { 9, BER_CLASS_CON, 9, BER_FLAGS_IMPLTAG, dissect_extensibleMatch_impl },
{ 0, 0, 0, 0, NULL }
};
/*--- End of included file: packet-ldap-fn.c ---*/
-#line 465 "packet-ldap-template.c"
+#line 469 "packet-ldap-template.c"
static void
dissect_ldap_payload(tvbuff_t *tvb, packet_info *pinfo,
"ExtendedResponse/response", HFILL }},
/*--- End of included file: packet-ldap-hfarr.c ---*/
-#line 1358 "packet-ldap-template.c"
+#line 1362 "packet-ldap-template.c"
};
/* List of subtrees */
&ett_ldap_ExtendedResponse,
/*--- End of included file: packet-ldap-ettarr.c ---*/
-#line 1369 "packet-ldap-template.c"
+#line 1373 "packet-ldap-template.c"
};
module_t *ldap_module;
gssapi_wrap_handle = find_dissector("gssapi_verf");
/* http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dsml/dsml/ldap_controls_and_session_support.asp */
- register_ber_oid_name("1.2.840.113556.1.4.319","LDAP_PAGED_RESULT_OID_STRING");
- register_ber_oid_name("1.2.840.113556.1.4.417","LDAP_SERVER_SHOW_DELETED_OID");
- register_ber_oid_name("1.2.840.113556.1.4.473","LDAP_SERVER_SORT_OID");
- register_ber_oid_name("1.2.840.113556.1.4.521","LDAP_SERVER_CROSSDOM_MOVE_TARGET_OID");
- register_ber_oid_name("1.2.840.113556.1.4.528","LDAP_SERVER_NOTIFICATION_OID");
- register_ber_oid_name("1.2.840.113556.1.4.529","LDAP_SERVER_EXTENDED_DN_OID");
- register_ber_oid_name("1.2.840.113556.1.4.619","LDAP_SERVER_LAZY_COMMIT_OID");
- register_ber_oid_name("1.2.840.113556.1.4.801","LDAP_SERVER_SD_FLAGS_OID");
- register_ber_oid_name("1.2.840.113556.1.4.805","LDAP_SERVER_TREE_DELETE_OID");
- register_ber_oid_name("1.2.840.113556.1.4.841","LDAP_SERVER_DIRSYNC_OID");
- register_ber_oid_name("1.2.840.113556.1.4.970 ","None");
- register_ber_oid_name("1.2.840.113556.1.4.1338","LDAP_SERVER_VERIFY_NAME_OID");
- register_ber_oid_name("1.2.840.113556.1.4.1339","LDAP_SERVER_DOMAIN_SCOPE_OID");
- register_ber_oid_name("1.2.840.113556.1.4.1340","LDAP_SERVER_SEARCH_OPTIONS_OID");
- register_ber_oid_name("1.2.840.113556.1.4.1413","LDAP_SERVER_PERMISSIVE_MODIFY_OID");
- register_ber_oid_name("1.2.840.113556.1.4.1504","LDAP_SERVER_ASQ_OID");
- register_ber_oid_name("1.2.840.113556.1.4.1781","LDAP_SERVER_FAST_BIND_OID");
- register_ber_oid_name("1.3.6.1.4.1.1466.101.119.1","None");
- register_ber_oid_name("1.3.6.1.4.1.1466.20037","LDAP_START_TLS_OID");
- register_ber_oid_name("2.16.840.1.113730.3.4.9","LDAP_CONTROL_VLVREQUEST VLV");
+ add_oid_str_name("1.2.840.113556.1.4.319","LDAP_PAGED_RESULT_OID_STRING");
+ add_oid_str_name("1.2.840.113556.1.4.417","LDAP_SERVER_SHOW_DELETED_OID");
+ add_oid_str_name("1.2.840.113556.1.4.473","LDAP_SERVER_SORT_OID");
+ add_oid_str_name("1.2.840.113556.1.4.521","LDAP_SERVER_CROSSDOM_MOVE_TARGET_OID");
+ add_oid_str_name("1.2.840.113556.1.4.528","LDAP_SERVER_NOTIFICATION_OID");
+ add_oid_str_name("1.2.840.113556.1.4.529","LDAP_SERVER_EXTENDED_DN_OID");
+ add_oid_str_name("1.2.840.113556.1.4.619","LDAP_SERVER_LAZY_COMMIT_OID");
+ add_oid_str_name("1.2.840.113556.1.4.801","LDAP_SERVER_SD_FLAGS_OID");
+ add_oid_str_name("1.2.840.113556.1.4.805","LDAP_SERVER_TREE_DELETE_OID");
+ add_oid_str_name("1.2.840.113556.1.4.841","LDAP_SERVER_DIRSYNC_OID");
+ add_oid_str_name("1.2.840.113556.1.4.970 ","None");
+ add_oid_str_name("1.2.840.113556.1.4.1338","LDAP_SERVER_VERIFY_NAME_OID");
+ add_oid_str_name("1.2.840.113556.1.4.1339","LDAP_SERVER_DOMAIN_SCOPE_OID");
+ add_oid_str_name("1.2.840.113556.1.4.1340","LDAP_SERVER_SEARCH_OPTIONS_OID");
+ add_oid_str_name("1.2.840.113556.1.4.1413","LDAP_SERVER_PERMISSIVE_MODIFY_OID");
+ add_oid_str_name("1.2.840.113556.1.4.1504","LDAP_SERVER_ASQ_OID");
+ add_oid_str_name("1.2.840.113556.1.4.1781","LDAP_SERVER_FAST_BIND_OID");
+ add_oid_str_name("1.3.6.1.4.1.1466.101.119.1","None");
+ add_oid_str_name("1.3.6.1.4.1.1466.20037","LDAP_START_TLS_OID");
+ add_oid_str_name("2.16.840.1.113730.3.4.9","LDAP_CONTROL_VLVREQUEST VLV");
register_ldap_name_dissector("netlogon", dissect_NetLogon_PDU, proto_cldap);
/* Do not modify this file. */
/* It is created automatically by the ASN.1 to Wireshark dissector compiler */
-/* ./packet-ldap.h */
+/* .\packet-ldap.h */
/* ../../tools/asn2wrs.py -b -e -p ldap -c ldap.cnf -s packet-ldap-template Lightweight-Directory-Access-Protocol-V3.asn */
/* Input file: packet-ldap-template.h */
typedef struct _per_choice_t {
int value;
- const char *name;
+ const char *name_to_remove;
int extension;
per_callback func;
} per_choice_t;
#include <glib.h>
#include <epan/packet.h>
+#include <epan/oid_resolv.h>
#include <stdio.h>
#include <string.h>
static int hf_pkixproxy_policy = -1; /* OCTET_STRING */
/*--- End of included file: packet-pkixproxy-hf.c ---*/
-#line 46 "packet-pkixproxy-template.c"
+#line 47 "packet-pkixproxy-template.c"
/* Initialize the subtree pointers */
static gint ett_pkixproxy_ProxyPolicy = -1;
/*--- End of included file: packet-pkixproxy-ett.c ---*/
-#line 49 "packet-pkixproxy-template.c"
+#line 50 "packet-pkixproxy-template.c"
/*--- Included file: packet-pkixproxy-fn.c ---*/
/*--- End of included file: packet-pkixproxy-fn.c ---*/
-#line 51 "packet-pkixproxy-template.c"
+#line 52 "packet-pkixproxy-template.c"
/*--- proto_register_pkixproxy ----------------------------------------------*/
"ProxyPolicy/policy", HFILL }},
/*--- End of included file: packet-pkixproxy-hfarr.c ---*/
-#line 59 "packet-pkixproxy-template.c"
+#line 60 "packet-pkixproxy-template.c"
};
/* List of subtrees */
&ett_pkixproxy_ProxyPolicy,
/*--- End of included file: packet-pkixproxy-ettarr.c ---*/
-#line 64 "packet-pkixproxy-template.c"
+#line 65 "packet-pkixproxy-template.c"
};
/* Register protocol */
/*--- End of included file: packet-pkixproxy-dis-tab.c ---*/
-#line 79 "packet-pkixproxy-template.c"
- register_ber_oid_name("1.3.6.1.5.5.7.21.0", "id-ppl-anyLanguage");
- register_ber_oid_name("1.3.6.1.5.5.7.21.1", "id-ppl-inheritAll");
- register_ber_oid_name("1.3.6.1.5.5.7.21.2", "id-ppl-independent");
+#line 80 "packet-pkixproxy-template.c"
+ add_oid_str_name("1.3.6.1.5.5.7.21.0", "id-ppl-anyLanguage");
+ add_oid_str_name("1.3.6.1.5.5.7.21.1", "id-ppl-inheritAll");
+ add_oid_str_name("1.3.6.1.5.5.7.21.2", "id-ppl-independent");
}
#include <epan/packet.h>
#include <epan/prefs.h>
#include <epan/conversation.h>
+#include <epan/oid_resolv.h>
#include <stdio.h>
#include <string.h>
static int hf_tcap_T_protocol_version3_version1 = -1;
/*--- End of included file: packet-tcap-hf.c ---*/
-#line 53 "packet-tcap-template.c"
+#line 54 "packet-tcap-template.c"
/* Initialize the subtree pointers */
static gint ett_tcap = -1;
static gint ett_tcap_ErrorCode = -1;
/*--- End of included file: packet-tcap-ett.c ---*/
-#line 63 "packet-tcap-template.c"
+#line 64 "packet-tcap-template.c"
#define MAX_SSN 254
static range_t *global_ssn_range;
/*--- End of included file: packet-tcap-fn.c ---*/
-#line 115 "packet-tcap-template.c"
+#line 116 "packet-tcap-template.c"
prefs_initialized = TRUE;
}
- register_ber_oid_name("0.0.17.773.1.1.1",
+ add_oid_str_name("0.0.17.773.1.1.1",
"itu-t(0) recommendation(0) q(17) 773 as(1) dialogue-as(1) version1(1)");
data_handle = find_dissector("data");
"", HFILL }},
/*--- End of included file: packet-tcap-hfarr.c ---*/
-#line 199 "packet-tcap-template.c"
+#line 200 "packet-tcap-template.c"
};
/* Setup protocol subtree array */
&ett_tcap_ErrorCode,
/*--- End of included file: packet-tcap-ettarr.c ---*/
-#line 208 "packet-tcap-template.c"
+#line 209 "packet-tcap-template.c"
};
/*static enum_val_t tcap_options[] = {
#include <glib.h>
#include <epan/packet.h>
#include <epan/conversation.h>
+#include <epan/oid_resolv.h>
#include <stdio.h>
#include <string.h>
static int hf_wlancertextn_SSIDList_item = -1; /* SSID */
/*--- End of included file: packet-wlancertextn-hf.c ---*/
-#line 50 "packet-wlancertextn-template.c"
+#line 51 "packet-wlancertextn-template.c"
/* Initialize the subtree pointers */
static gint ett_wlancertextn_SSIDList = -1;
/*--- End of included file: packet-wlancertextn-ett.c ---*/
-#line 53 "packet-wlancertextn-template.c"
+#line 54 "packet-wlancertextn-template.c"
/*--- Included file: packet-wlancertextn-fn.c ---*/
/*--- End of included file: packet-wlancertextn-fn.c ---*/
-#line 55 "packet-wlancertextn-template.c"
+#line 56 "packet-wlancertextn-template.c"
/*--- proto_register_wlancertextn ----------------------------------------------*/
"SSIDList/_item", HFILL }},
/*--- End of included file: packet-wlancertextn-hfarr.c ---*/
-#line 63 "packet-wlancertextn-template.c"
+#line 64 "packet-wlancertextn-template.c"
};
/* List of subtrees */
&ett_wlancertextn_SSIDList,
/*--- End of included file: packet-wlancertextn-ettarr.c ---*/
-#line 68 "packet-wlancertextn-template.c"
+#line 69 "packet-wlancertextn-template.c"
};
/* Register protocol */
/*--- End of included file: packet-wlancertextn-dis-tab.c ---*/
-#line 83 "packet-wlancertextn-template.c"
- register_ber_oid_name("1.3.6.1.5.5.7.3.13","id-kp-eapOverPPP");
- register_ber_oid_name("1.3.6.1.5.5.7.3.14","id-kp-eapOverLAN");
+#line 84 "packet-wlancertextn-template.c"
+ add_oid_str_name("1.3.6.1.5.5.7.3.13","id-kp-eapOverPPP");
+ add_oid_str_name("1.3.6.1.5.5.7.3.14","id-kp-eapOverLAN");
}
#include <glib.h>
#include <epan/packet.h>
#include <epan/conversation.h>
+#include <epan/oid_resolv.h>
#include <stdio.h>
#include <string.h>
static int hf_x411_G3FacsimileNonBasicParameters_processable_mode_26 = -1;
/*--- End of included file: packet-x411-hf.c ---*/
-#line 74 "packet-x411-template.c"
+#line 75 "packet-x411-template.c"
/* Initialize the subtree pointers */
static gint ett_x411 = -1;
static gint ett_x411_SecurityCategory = -1;
/*--- End of included file: packet-x411-ett.c ---*/
-#line 78 "packet-x411-template.c"
+#line 79 "packet-x411-template.c"
/*--- Included file: packet-x411-fn.c ---*/
static const ber_choice_t Credentials_choice[] = {
{ 0, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG, dissect_simple },
- { 1, BER_CLASS_CON, 0, 0, dissect_strong_impl },
- { 2, BER_CLASS_CON, 1, 0, dissect_protected_impl },
+ { 1, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_strong_impl },
+ { 2, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_protected_impl },
{ 0, 0, 0, 0, NULL }
};
static const ber_choice_t MTABindArgument_choice[] = {
{ 0, BER_CLASS_UNI, BER_UNI_TAG_NULL, BER_FLAGS_NOOWNTAG, dissect_unauthenticated },
- { 1, BER_CLASS_CON, 1, 0, dissect_authenticated_argument_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_authenticated_argument_impl },
{ 0, 0, 0, 0, NULL }
};
static const ber_choice_t MTABindResult_choice[] = {
{ 0, BER_CLASS_UNI, BER_UNI_TAG_NULL, BER_FLAGS_NOOWNTAG, dissect_unauthenticated },
- { 1, BER_CLASS_CON, 1, 0, dissect_authenticated_result_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_authenticated_result_impl },
{ 0, 0, 0, 0, NULL }
};
if(content_type_id) {
- name = get_ber_oid_name(content_type_id);
+ name = get_oid_str_name(content_type_id);
if(!name) name = content_type_id;
};
static const ber_choice_t ExtensionType_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_standard_extension_impl },
- { 3, BER_CLASS_CON, 3, 0, dissect_private_extension_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_standard_extension_impl },
+ { 3, BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_private_extension_impl },
{ 0, 0, 0, 0, NULL }
};
offset=call_x411_oid_callback("x411.extension", tvb, offset, pinfo, tree);
else if(object_identifier_id) {
call_ber_oid_callback(object_identifier_id, tvb, offset, pinfo, tree);
- name = get_ber_oid_name(object_identifier_id);
+ name = get_oid_str_name(object_identifier_id);
proto_item_append_text(tree, " (%s)", name ? name : object_identifier_id);
}
};
static const ber_choice_t ReportType_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_delivery_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_non_delivery_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_delivery_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_non_delivery_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t MTS_APDU_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_message_impl },
- { 2, BER_CLASS_CON, 2, 0, dissect_probe_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_report_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_message_impl },
+ { 2, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_probe_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_report_impl },
{ 0, 0, 0, 0, NULL }
};
static const ber_choice_t ObjectName_choice[] = {
{ 0, BER_CLASS_APP, 0, BER_FLAGS_NOOWNTAG, dissect_user_agent },
- { 1, BER_CLASS_CON, 0, 0, dissect_mTA_impl },
- { 2, BER_CLASS_CON, 4, 0, dissect_message_store_impl },
+ { 1, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_mTA_impl },
+ { 2, BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_message_store_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t DeliveredContentType_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_built_in_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_built_in_impl },
{ 1, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_extended },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t T_refused_argument_choice[] = {
- { 0, BER_CLASS_CON, 1, 0, dissect_built_in_argument_impl },
+ { 0, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_built_in_argument_impl },
{ 1, BER_CLASS_ANY, 0, BER_FLAGS_NOOWNTAG, dissect_refused_extension },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t UserAddress_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_x121_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_presentation_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_x121_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_presentation_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t ExactOrPattern_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_exact_match_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_pattern_match_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_exact_match_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_pattern_match_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t T_report_type_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_report_type_delivery_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_non_delivery_report_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_report_type_delivery_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_non_delivery_report_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t ExtendedCertificate_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_directory_entry_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_certificate_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_directory_entry_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_certificate_impl },
{ 0, 0, 0, 0, NULL }
};
static const ber_choice_t ExtendedNetworkAddress_choice[] = {
{ 0, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_e163_4_address },
- { 1, BER_CLASS_CON, 0, 0, dissect_psap_address_impl },
+ { 1, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_psap_address_impl },
{ 0, 0, 0, 0, NULL }
};
static const ber_choice_t T_name_choice[] = {
{ 0, BER_CLASS_APP, 0, BER_FLAGS_NOOWNTAG, dissect_token_recipient_name },
- { 1, BER_CLASS_CON, 3, 0, dissect_token_mta_impl },
+ { 1, BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_token_mta_impl },
{ 0, 0, 0, 0, NULL }
};
/*--- End of included file: packet-x411-fn.c ---*/
-#line 80 "packet-x411-template.c"
+#line 81 "packet-x411-template.c"
static int
call_x411_oid_callback(char *base_oid, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree)
sprintf(extension_oid, "%s.%d", base_oid, extension_id);
- name = get_ber_oid_name(extension_oid);
+ name = get_oid_str_name(extension_oid);
proto_item_append_text(tree, " (%s)", name ? name : extension_oid);
return call_ber_oid_callback(extension_oid, tvb, offset, pinfo, tree);
"", HFILL }},
/*--- End of included file: packet-x411-hfarr.c ---*/
-#line 207 "packet-x411-template.c"
+#line 208 "packet-x411-template.c"
};
/* List of subtrees */
&ett_x411_SecurityCategory,
/*--- End of included file: packet-x411-ettarr.c ---*/
-#line 213 "packet-x411-template.c"
+#line 214 "packet-x411-template.c"
};
/* Register protocol */
/*--- End of included file: packet-x411-dis-tab.c ---*/
-#line 230 "packet-x411-template.c"
+#line 231 "packet-x411-template.c"
/* APPLICATION CONTEXT */
- register_ber_oid_name("2.6.0.1.6", "id-ac-mts-transfer");
+ add_oid_str_name("2.6.0.1.6", "id-ac-mts-transfer");
/* ABSTRACT SYNTAXES */
offset = dissect_ber_object_identifier_str(implicit_tag, pinfo, tree, tvb, offset, hf_index, &object_identifier_id);
- name = get_ber_oid_name(object_identifier_id);
+ name = get_oid_str_name(object_identifier_id);
proto_item_append_text(tree, " (%s)", name ? name : object_identifier_id);
};
static const ber_choice_t BodyPart_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_ia5_text_impl },
- { 3, BER_CLASS_CON, 3, 0, dissect_g3_facsimile_impl },
- { 4, BER_CLASS_CON, 4, 0, dissect_g4_class1_impl },
- { 5, BER_CLASS_CON, 5, 0, dissect_teletex_impl },
- { 6, BER_CLASS_CON, 6, 0, dissect_videotex_impl },
- { 8, BER_CLASS_CON, 8, 0, dissect_encrypted_bp_impl },
- { 9, BER_CLASS_CON, 9, 0, dissect_message_impl },
- { 11, BER_CLASS_CON, 11, 0, dissect_mixed_mode_impl },
- { 14, BER_CLASS_CON, 14, 0, dissect_bilaterally_defined_impl },
- { 7, BER_CLASS_CON, 7, 0, dissect_nationally_defined_impl },
- { 15, BER_CLASS_CON, 15, 0, dissect_extended_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_ia5_text_impl },
+ { 3, BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_g3_facsimile_impl },
+ { 4, BER_CLASS_CON, 4, BER_FLAGS_IMPLTAG, dissect_g4_class1_impl },
+ { 5, BER_CLASS_CON, 5, BER_FLAGS_IMPLTAG, dissect_teletex_impl },
+ { 6, BER_CLASS_CON, 6, BER_FLAGS_IMPLTAG, dissect_videotex_impl },
+ { 8, BER_CLASS_CON, 8, BER_FLAGS_IMPLTAG, dissect_encrypted_bp_impl },
+ { 9, BER_CLASS_CON, 9, BER_FLAGS_IMPLTAG, dissect_message_impl },
+ { 11, BER_CLASS_CON, 11, BER_FLAGS_IMPLTAG, dissect_mixed_mode_impl },
+ { 14, BER_CLASS_CON, 14, BER_FLAGS_IMPLTAG, dissect_bilaterally_defined_impl },
+ { 7, BER_CLASS_CON, 7, BER_FLAGS_IMPLTAG, dissect_nationally_defined_impl },
+ { 15, BER_CLASS_CON, 15, BER_FLAGS_IMPLTAG, dissect_extended_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t T_choice_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_non_receipt_fields_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_receipt_fields_impl },
- { 2, BER_CLASS_CON, 2, 0, dissect_other_notification_type_fields_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_non_receipt_fields_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_receipt_fields_impl },
+ { 2, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_other_notification_type_fields_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t InformationObject_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_ipm_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_ipn_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_ipm_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_ipn_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t BodyPartReference_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_stored_entry_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_stored_content_impl },
- { 2, BER_CLASS_CON, 2, 0, dissect_submitted_body_part_impl },
- { 3, BER_CLASS_CON, 3, 0, dissect_stored_body_part_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_stored_entry_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_stored_content_impl },
+ { 2, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_submitted_body_part_impl },
+ { 3, BER_CLASS_CON, 3, BER_FLAGS_IMPLTAG, dissect_stored_body_part_impl },
{ 0, 0, 0, 0, NULL }
};
};
static const ber_choice_t BodyPartSecurityLabel_choice[] = {
- { 0, BER_CLASS_CON, 0, 0, dissect_body_part_unlabelled_impl },
- { 1, BER_CLASS_CON, 1, 0, dissect_body_part_security_label_impl },
+ { 0, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_body_part_unlabelled_impl },
+ { 1, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_body_part_security_label_impl },
{ 0, 0, 0, 0, NULL }
};
if(algorithm_id) {
- name = get_ber_oid_name(algorithm_id);
+ name = get_oid_str_name(algorithm_id);
proto_item_append_text(tree, " (%s)", name ? name : algorithm_id);
}
if(extension_id) {
- name = get_ber_oid_name(extension_id);
+ name = get_oid_str_name(extension_id);
proto_item_append_text(tree, " (%s)", name ? name : extension_id);
}
static int hf_x509if_ca_contextValues = -1; /* SET_OF_ContextValue */
static int hf_x509if_ca_contextValues_item = -1; /* ContextValue */
static int hf_x509if_ata_assertedContexts = -1; /* SEQUENCE_OF_ContextAssertion */
-static int hf_x509if_assertedContexts_item = -1; /* ContextAssertion */
+static int hf_x509if_ata_assertedContexts_item = -1; /* ContextAssertion */
static int hf_x509if_rdnSequence = -1; /* RDNSequence */
static int hf_x509if_RDNSequence_item = -1; /* RDNSequence_item */
static int hf_x509if_RelativeDistinguishedName_item = -1; /* RelativeDistinguishedName_item */
if(object_identifier_id) {
/* see if we can find a nice name */
- name = get_ber_oid_name(object_identifier_id);
+ name = get_oid_str_name(object_identifier_id);
if(!name) name = object_identifier_id;
if(doing_dn) { /* append it to the RDN */
if((fmt = val_to_str(ava_hf_index, fmt_vals, "")) && *fmt) {
/* we have a format */
- if(!(name = get_ber_oid_name(object_identifier_id)))
+ if(!(name = get_oid_str_name(object_identifier_id)))
name = object_identifier_id;
g_snprintf(last_ava, MAX_AVA_STR_LEN, "%s %s %s", name, fmt, value);
static int dissect_selectedContexts_item(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
return dissect_x509if_ContextAssertion(FALSE, tvb, offset, pinfo, tree, hf_x509if_selectedContexts_item);
}
-static int dissect_assertedContexts_item(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
- return dissect_x509if_ContextAssertion(FALSE, tvb, offset, pinfo, tree, hf_x509if_assertedContexts_item);
+static int dissect_ata_assertedContexts_item(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
+ return dissect_x509if_ContextAssertion(FALSE, tvb, offset, pinfo, tree, hf_x509if_ata_assertedContexts_item);
}
static const ber_sequence_t SEQUENCE_OF_ContextAssertion_sequence_of[1] = {
- { BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_assertedContexts_item },
+ { BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_ata_assertedContexts_item },
};
static int
{ "assertedContexts", "x509if.assertedContexts",
FT_UINT32, BASE_DEC, NULL, 0,
"AttributeTypeAssertion/assertedContexts", HFILL }},
- { &hf_x509if_assertedContexts_item,
+ { &hf_x509if_ata_assertedContexts_item,
{ "Item", "x509if.assertedContexts_item",
FT_NONE, BASE_NONE, NULL, 0,
"AttributeTypeAssertion/assertedContexts/_item", HFILL }},
#include <glib.h>
#include <epan/packet.h>
#include <epan/conversation.h>
+#include <epan/oid_resolv.h>
#include <stdio.h>
#include <string.h>
static int hf_x509sat_T_bitNamedDays_saturday = -1;
/*--- End of included file: packet-x509sat-hf.c ---*/
-#line 48 "packet-x509sat-template.c"
+#line 49 "packet-x509sat-template.c"
/* Initialize the subtree pointers */
static gint ett_x509sat_LocaleContextSyntax = -1;
/*--- End of included file: packet-x509sat-ett.c ---*/
-#line 51 "packet-x509sat-template.c"
+#line 52 "packet-x509sat-template.c"
/*--- Included file: packet-x509sat-fn.c ---*/
/*--- End of included file: packet-x509sat-fn.c ---*/
-#line 53 "packet-x509sat-template.c"
+#line 54 "packet-x509sat-template.c"
/*--- proto_register_x509sat ----------------------------------------------*/
"", HFILL }},
/*--- End of included file: packet-x509sat-hfarr.c ---*/
-#line 61 "packet-x509sat-template.c"
+#line 62 "packet-x509sat-template.c"
};
/* List of subtrees */
&ett_x509sat_LocaleContextSyntax,
/*--- End of included file: packet-x509sat-ettarr.c ---*/
-#line 66 "packet-x509sat-template.c"
+#line 67 "packet-x509sat-template.c"
};
/* Register protocol */
/*--- End of included file: packet-x509sat-dis-tab.c ---*/
-#line 81 "packet-x509sat-template.c"
+#line 82 "packet-x509sat-template.c"
/* OBJECT CLASSES */
- register_ber_oid_name("2.5.6.0", "top");
- register_ber_oid_name("2.5.6.1", "alias");
- register_ber_oid_name("2.5.6.2", "country");
- register_ber_oid_name("2.5.6.3", "locality");
- register_ber_oid_name("2.5.6.4", "organization");
- register_ber_oid_name("2.5.6.1", "organizationalUnit");
- register_ber_oid_name("2.5.6.6", "person");
- register_ber_oid_name("2.5.6.7", "organizationalPerson");
- register_ber_oid_name("2.5.6.8", "organizationalRole");
- register_ber_oid_name("2.5.6.9", "groupOfNames");
- register_ber_oid_name("2.5.6.10", "residentialPerson");
- register_ber_oid_name("2.5.6.11", "applicationProcess");
- register_ber_oid_name("2.5.6.12", "applicationEntity");
- register_ber_oid_name("2.5.6.13", "dSA");
- register_ber_oid_name("2.5.6.14", "device");
- register_ber_oid_name("2.5.6.15", "strongAuthenticationUser");
- register_ber_oid_name("2.5.6.16", "certificationAuthority");
- register_ber_oid_name("2.5.6.16.2", "certificationAuthorityV2");
- register_ber_oid_name("2.5.6.17", "groupOfUniqueNames");
- register_ber_oid_name("2.5.6.18", "userSecurityInformation");
- register_ber_oid_name("2.5.6.19", "cRLDistributionPoint");
- register_ber_oid_name("2.5.6.20", "dmd");
- register_ber_oid_name("2.5.6.21", "pkiUser");
- register_ber_oid_name("2.5.6.22", "pkiCA");
+ add_oid_str_name("2.5.6.0", "top");
+ add_oid_str_name("2.5.6.1", "alias");
+ add_oid_str_name("2.5.6.2", "country");
+ add_oid_str_name("2.5.6.3", "locality");
+ add_oid_str_name("2.5.6.4", "organization");
+ add_oid_str_name("2.5.6.1", "organizationalUnit");
+ add_oid_str_name("2.5.6.6", "person");
+ add_oid_str_name("2.5.6.7", "organizationalPerson");
+ add_oid_str_name("2.5.6.8", "organizationalRole");
+ add_oid_str_name("2.5.6.9", "groupOfNames");
+ add_oid_str_name("2.5.6.10", "residentialPerson");
+ add_oid_str_name("2.5.6.11", "applicationProcess");
+ add_oid_str_name("2.5.6.12", "applicationEntity");
+ add_oid_str_name("2.5.6.13", "dSA");
+ add_oid_str_name("2.5.6.14", "device");
+ add_oid_str_name("2.5.6.15", "strongAuthenticationUser");
+ add_oid_str_name("2.5.6.16", "certificationAuthority");
+ add_oid_str_name("2.5.6.16.2", "certificationAuthorityV2");
+ add_oid_str_name("2.5.6.17", "groupOfUniqueNames");
+ add_oid_str_name("2.5.6.18", "userSecurityInformation");
+ add_oid_str_name("2.5.6.19", "cRLDistributionPoint");
+ add_oid_str_name("2.5.6.20", "dmd");
+ add_oid_str_name("2.5.6.21", "pkiUser");
+ add_oid_str_name("2.5.6.22", "pkiCA");
- register_ber_oid_name("2.5.6.28", "parent");
- register_ber_oid_name("2.5.6.29", "child");
+ add_oid_str_name("2.5.6.28", "parent");
+ add_oid_str_name("2.5.6.29", "child");
}