summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ieee1609dot2.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:53 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:53 +0000
commita86c5f7cae7ec9a3398300555a0b644689d946a1 (patch)
tree39fe4b107c71174fd1e8a8ceb9a4d2aa14116248 /epan/dissectors/packet-ieee1609dot2.c
parentReleasing progress-linux version 4.2.6-1~progress7.99u1. (diff)
downloadwireshark-a86c5f7cae7ec9a3398300555a0b644689d946a1.tar.xz
wireshark-a86c5f7cae7ec9a3398300555a0b644689d946a1.zip
Merging upstream version 4.4.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'epan/dissectors/packet-ieee1609dot2.c')
-rw-r--r--epan/dissectors/packet-ieee1609dot2.c861
1 files changed, 431 insertions, 430 deletions
diff --git a/epan/dissectors/packet-ieee1609dot2.c b/epan/dissectors/packet-ieee1609dot2.c
index 2c06c97e..edf587be 100644
--- a/epan/dissectors/packet-ieee1609dot2.c
+++ b/epan/dissectors/packet-ieee1609dot2.c
@@ -1,7 +1,7 @@
/* Do not modify this file. Changes will be overwritten. */
/* Generated automatically by the ASN.1 to Wireshark dissector compiler */
/* packet-ieee1609dot2.c */
-/* asn2wrs.py -L -p ieee1609dot2 -c ./ieee1609dot2.cnf -s ./packet-ieee1609dot2-template -D . -O ../.. IEEE1609dot2BaseTypes.asn Ieee1609Dot2CrlBaseTypes.asn Ieee1609Dot2Crl.asn Ieee1609Dot2.asn IEEE1609dot12.asn */
+/* asn2wrs.py -q -L -p ieee1609dot2 -c ./ieee1609dot2.cnf -s ./packet-ieee1609dot2-template -D . -O ../.. IEEE1609dot2BaseTypes.asn Ieee1609Dot2CrlBaseTypes.asn Ieee1609Dot2Crl.asn Ieee1609Dot2.asn IEEE1609dot12.asn */
/* packet-IEEE1609dot2.c
* Routines for IEEE 1609.2
@@ -28,6 +28,7 @@
#include <epan/oids.h>
#include <epan/asn1.h>
#include <epan/proto_data.h>
+#include <wsutil/array.h>
#include "packet-oer.h"
#include "packet-ieee1609dot2.h"
@@ -40,383 +41,383 @@ void proto_register_ieee1609dot2(void);
void proto_reg_handoff_ieee1609dot2(void);
/* Initialize the protocol and registered fields */
-int proto_ieee1609dot2 = -1;
-dissector_handle_t proto_ieee1609dot2_handle = NULL;
-static int hf_ieee1609dot2_SecuredCrl_PDU = -1; /* SecuredCrl */
-static int hf_ieee1609dot2_Ieee1609Dot2Data_PDU = -1; /* Ieee1609Dot2Data */
-static int hf_ieee1609dot2_SequenceOfUint8_item = -1; /* Uint8 */
-static int hf_ieee1609dot2_SequenceOfUint16_item = -1; /* Uint16 */
-static int hf_ieee1609dot2_SequenceOfHashedId3_item = -1; /* HashedId3 */
-static int hf_ieee1609dot2_start = -1; /* Time32 */
-static int hf_ieee1609dot2_duration = -1; /* Duration */
-static int hf_ieee1609dot2_microseconds = -1; /* Uint16 */
-static int hf_ieee1609dot2_milliseconds = -1; /* Uint16 */
-static int hf_ieee1609dot2_seconds = -1; /* Uint16 */
-static int hf_ieee1609dot2_minutes = -1; /* Uint16 */
-static int hf_ieee1609dot2_hours = -1; /* Uint16 */
-static int hf_ieee1609dot2_sixtyHours = -1; /* Uint16 */
-static int hf_ieee1609dot2_years = -1; /* Uint16 */
-static int hf_ieee1609dot2_circularRegion = -1; /* CircularRegion */
-static int hf_ieee1609dot2_rectangularRegion = -1; /* SequenceOfRectangularRegion */
-static int hf_ieee1609dot2_polygonalRegion = -1; /* PolygonalRegion */
-static int hf_ieee1609dot2_identifiedRegion = -1; /* SequenceOfIdentifiedRegion */
-static int hf_ieee1609dot2_center = -1; /* TwoDLocation */
-static int hf_ieee1609dot2_radius = -1; /* Uint16 */
-static int hf_ieee1609dot2_northWest = -1; /* TwoDLocation */
-static int hf_ieee1609dot2_southEast = -1; /* TwoDLocation */
-static int hf_ieee1609dot2_SequenceOfRectangularRegion_item = -1; /* RectangularRegion */
-static int hf_ieee1609dot2_PolygonalRegion_item = -1; /* TwoDLocation */
-static int hf_ieee1609dot2_latitude = -1; /* Latitude */
-static int hf_ieee1609dot2_longitude = -1; /* Longitude */
-static int hf_ieee1609dot2_countryOnly = -1; /* UnCountryId */
-static int hf_ieee1609dot2_countryAndRegions = -1; /* CountryAndRegions */
-static int hf_ieee1609dot2_countryAndSubregions = -1; /* CountryAndSubregions */
-static int hf_ieee1609dot2_SequenceOfIdentifiedRegion_item = -1; /* IdentifiedRegion */
-static int hf_ieee1609dot2_regions = -1; /* SequenceOfUint8 */
-static int hf_ieee1609dot2_regionAndSubregions = -1; /* SequenceOfRegionAndSubregions */
-static int hf_ieee1609dot2_rasRegion = -1; /* Uint8 */
-static int hf_ieee1609dot2_subregions = -1; /* SequenceOfUint16 */
-static int hf_ieee1609dot2_SequenceOfRegionAndSubregions_item = -1; /* RegionAndSubregions */
-static int hf_ieee1609dot2_elevation = -1; /* Elevation */
-static int hf_ieee1609dot2_ecdsaNistP256Signature = -1; /* EcdsaP256Signature */
-static int hf_ieee1609dot2_ecdsaBrainpoolP256r1Signature = -1; /* EcdsaP256Signature */
-static int hf_ieee1609dot2_ecdsaBrainpoolP384r1Signature = -1; /* EcdsaP384Signature */
-static int hf_ieee1609dot2_ecdsaNistP384Signature = -1; /* EcdsaP384Signature */
-static int hf_ieee1609dot2_sm2Signature = -1; /* EcsigP256Signature */
-static int hf_ieee1609dot2_rSig = -1; /* EccP256CurvePoint */
-static int hf_ieee1609dot2_sSig = -1; /* OCTET_STRING_SIZE_32 */
-static int hf_ieee1609dot2_ecdsap384RSig = -1; /* EccP384CurvePoint */
-static int hf_ieee1609dot2_ecdsap384SSig = -1; /* OCTET_STRING_SIZE_48 */
-static int hf_ieee1609dot2_rSig_01 = -1; /* OCTET_STRING_SIZE_32 */
-static int hf_ieee1609dot2_x_only = -1; /* OCTET_STRING_SIZE_32 */
-static int hf_ieee1609dot2_fill = -1; /* NULL */
-static int hf_ieee1609dot2_compressed_y_0 = -1; /* OCTET_STRING_SIZE_32 */
-static int hf_ieee1609dot2_compressed_y_1 = -1; /* OCTET_STRING_SIZE_32 */
-static int hf_ieee1609dot2_uncompressedP256 = -1; /* T_uncompressedP256 */
-static int hf_ieee1609dot2_x = -1; /* OCTET_STRING_SIZE_32 */
-static int hf_ieee1609dot2_y = -1; /* OCTET_STRING_SIZE_32 */
-static int hf_ieee1609dot2_eccp384cpXOnly = -1; /* OCTET_STRING_SIZE_48 */
-static int hf_ieee1609dot2_eccp384cpCompressed_y_0 = -1; /* OCTET_STRING_SIZE_48 */
-static int hf_ieee1609dot2_eccp384cpCompressed_y_1 = -1; /* OCTET_STRING_SIZE_48 */
-static int hf_ieee1609dot2_uncompressedP384 = -1; /* T_uncompressedP384 */
-static int hf_ieee1609dot2_eccp384cpX = -1; /* OCTET_STRING_SIZE_48 */
-static int hf_ieee1609dot2_eccp384cpY = -1; /* OCTET_STRING_SIZE_48 */
-static int hf_ieee1609dot2_v = -1; /* EccP256CurvePoint */
-static int hf_ieee1609dot2_c = -1; /* OCTET_STRING_SIZE_16 */
-static int hf_ieee1609dot2_t = -1; /* OCTET_STRING_SIZE_16 */
-static int hf_ieee1609dot2_t_01 = -1; /* OCTET_STRING_SIZE_32 */
-static int hf_ieee1609dot2_public = -1; /* PublicEncryptionKey */
-static int hf_ieee1609dot2_symmetric = -1; /* SymmetricEncryptionKey */
-static int hf_ieee1609dot2_supportedSymmAlg = -1; /* SymmAlgorithm */
-static int hf_ieee1609dot2_publicKey = -1; /* BasePublicEncryptionKey */
-static int hf_ieee1609dot2_eciesNistP256 = -1; /* EccP256CurvePoint */
-static int hf_ieee1609dot2_eciesBrainpoolP256r1 = -1; /* EccP256CurvePoint */
-static int hf_ieee1609dot2_ecencSm2 = -1; /* EccP256CurvePoint */
-static int hf_ieee1609dot2_ecdsaNistP256 = -1; /* EccP256CurvePoint */
-static int hf_ieee1609dot2_ecdsaBrainpoolP256r1 = -1; /* EccP256CurvePoint */
-static int hf_ieee1609dot2_ecdsaBrainpoolP384r1 = -1; /* EccP384CurvePoint */
-static int hf_ieee1609dot2_ecdsaNistP384 = -1; /* EccP384CurvePoint */
-static int hf_ieee1609dot2_ecsigSm2 = -1; /* EccP256CurvePoint */
-static int hf_ieee1609dot2_aes128Ccm = -1; /* OCTET_STRING_SIZE_16 */
-static int hf_ieee1609dot2_sm4Ccm = -1; /* OCTET_STRING_SIZE_16 */
-static int hf_ieee1609dot2_psPsid = -1; /* T_psPsid */
-static int hf_ieee1609dot2_ssp = -1; /* ServiceSpecificPermissions */
-static int hf_ieee1609dot2_SequenceOfPsidSsp_item = -1; /* PsidSsp */
-static int hf_ieee1609dot2_opaque = -1; /* T_opaque */
-static int hf_ieee1609dot2_bitmapSsp = -1; /* BitmapSsp */
-static int hf_ieee1609dot2_psid = -1; /* Psid */
-static int hf_ieee1609dot2_sspRange = -1; /* SspRange */
-static int hf_ieee1609dot2_SequenceOfPsidSspRange_item = -1; /* PsidSspRange */
-static int hf_ieee1609dot2_srRange = -1; /* SequenceOfOctetString */
-static int hf_ieee1609dot2_all = -1; /* NULL */
-static int hf_ieee1609dot2_bitmapSspRange = -1; /* BitmapSspRange */
-static int hf_ieee1609dot2_sspValue = -1; /* OCTET_STRING_SIZE_1_32 */
-static int hf_ieee1609dot2_sspBitmask = -1; /* OCTET_STRING_SIZE_1_32 */
-static int hf_ieee1609dot2_SequenceOfOctetString_item = -1; /* OCTET_STRING_SIZE_0_MAX */
-static int hf_ieee1609dot2_jValue = -1; /* OCTET_STRING_SIZE_4 */
-static int hf_ieee1609dot2_value = -1; /* OCTET_STRING_SIZE_9 */
-static int hf_ieee1609dot2_SequenceOfLinkageSeed_item = -1; /* LinkageSeed */
-static int hf_ieee1609dot2_version = -1; /* Uint8 */
-static int hf_ieee1609dot2_crlSeries = -1; /* CrlSeries */
-static int hf_ieee1609dot2_crlCraca = -1; /* HashedId8 */
-static int hf_ieee1609dot2_issueDate = -1; /* Time32 */
-static int hf_ieee1609dot2_nextCrl = -1; /* Time32 */
-static int hf_ieee1609dot2_priorityInfo = -1; /* CrlPriorityInfo */
-static int hf_ieee1609dot2_typeSpecific = -1; /* TypeSpecificCrlContents */
-static int hf_ieee1609dot2_priority = -1; /* Uint8 */
-static int hf_ieee1609dot2_fullHashCrl = -1; /* ToBeSignedHashIdCrl */
-static int hf_ieee1609dot2_deltaHashCrl = -1; /* ToBeSignedHashIdCrl */
-static int hf_ieee1609dot2_fullLinkedCrl = -1; /* ToBeSignedLinkageValueCrl */
-static int hf_ieee1609dot2_deltaLinkedCrl = -1; /* ToBeSignedLinkageValueCrl */
-static int hf_ieee1609dot2_fullLinkedCrlWithAlg = -1; /* ToBeSignedLinkageValueCrlWithAlgIdentifier */
-static int hf_ieee1609dot2_deltaLinkedCrlWithAlg = -1; /* ToBeSignedLinkageValueCrlWithAlgIdentifier */
-static int hf_ieee1609dot2_crlSerial = -1; /* Uint32 */
-static int hf_ieee1609dot2_entries = -1; /* SequenceOfHashBasedRevocationInfo */
-static int hf_ieee1609dot2_SequenceOfHashBasedRevocationInfo_item = -1; /* HashBasedRevocationInfo */
-static int hf_ieee1609dot2_id = -1; /* HashedId10 */
-static int hf_ieee1609dot2_expiry = -1; /* Time32 */
-static int hf_ieee1609dot2_iRev = -1; /* IValue */
-static int hf_ieee1609dot2_indexWithinI = -1; /* Uint8 */
-static int hf_ieee1609dot2_individual = -1; /* SequenceOfJMaxGroup */
-static int hf_ieee1609dot2_groups = -1; /* SequenceOfGroupCrlEntry */
-static int hf_ieee1609dot2_groupsSingleSeed = -1; /* SequenceOfGroupSingleSeedCrlEntry */
-static int hf_ieee1609dot2_SequenceOfJMaxGroup_item = -1; /* JMaxGroup */
-static int hf_ieee1609dot2_jmax = -1; /* Uint8 */
-static int hf_ieee1609dot2_contents = -1; /* SequenceOfLAGroup */
-static int hf_ieee1609dot2_SequenceOfLAGroup_item = -1; /* LAGroup */
-static int hf_ieee1609dot2_la1Id = -1; /* LaId */
-static int hf_ieee1609dot2_la2Id = -1; /* LaId */
-static int hf_ieee1609dot2_contents_01 = -1; /* SequenceOfIMaxGroup */
-static int hf_ieee1609dot2_SequenceOfIMaxGroup_item = -1; /* IMaxGroup */
-static int hf_ieee1609dot2_iMax = -1; /* Uint16 */
-static int hf_ieee1609dot2_contents_02 = -1; /* SequenceOfIndividualRevocation */
-static int hf_ieee1609dot2_singleSeed = -1; /* SequenceOfLinkageSeed */
-static int hf_ieee1609dot2_SequenceOfIndividualRevocation_item = -1; /* IndividualRevocation */
-static int hf_ieee1609dot2_linkageSeed1 = -1; /* LinkageSeed */
-static int hf_ieee1609dot2_linkageSeed2 = -1; /* LinkageSeed */
-static int hf_ieee1609dot2_SequenceOfGroupCrlEntry_item = -1; /* GroupCrlEntry */
-static int hf_ieee1609dot2_seedEvolution = -1; /* SeedEvolutionFunctionIdentifier */
-static int hf_ieee1609dot2_lvGeneration = -1; /* LvGenerationFunctionIdentifier */
-static int hf_ieee1609dot2_SequenceOfGroupSingleSeedCrlEntry_item = -1; /* GroupSingleSeedCrlEntry */
-static int hf_ieee1609dot2_laId = -1; /* LaId */
-static int hf_ieee1609dot2_linkageSeed = -1; /* LinkageSeed */
-static int hf_ieee1609dot2_content = -1; /* SecuredCrlContent */
-static int hf_ieee1609dot2_signedData = -1; /* CrlSignedData */
-static int hf_ieee1609dot2_tbsData = -1; /* CrlToBeSignedData */
-static int hf_ieee1609dot2_payload = -1; /* CrlSignedDataPayload */
-static int hf_ieee1609dot2_headerInfo = -1; /* HeaderInfo */
-static int hf_ieee1609dot2_data = -1; /* Ieee1609Dot2CrlData */
-static int hf_ieee1609dot2_content_01 = -1; /* Ieee1609Dot2CrlContent */
-static int hf_ieee1609dot2_unsecuredData = -1; /* CrlContents */
-static int hf_ieee1609dot2_protocolVersion = -1; /* Uint8 */
-static int hf_ieee1609dot2_content_02 = -1; /* Ieee1609Dot2Content */
-static int hf_ieee1609dot2_unsecuredData_01 = -1; /* T_unsecuredData */
-static int hf_ieee1609dot2_signedData_01 = -1; /* SignedData */
-static int hf_ieee1609dot2_encryptedData = -1; /* EncryptedData */
-static int hf_ieee1609dot2_signedCertificateRequest = -1; /* Opaque */
-static int hf_ieee1609dot2_signedX509CertificateRequest = -1; /* Opaque */
-static int hf_ieee1609dot2_hashId = -1; /* HashAlgorithm */
-static int hf_ieee1609dot2_tbsData_01 = -1; /* ToBeSignedData */
-static int hf_ieee1609dot2_signer = -1; /* SignerIdentifier */
-static int hf_ieee1609dot2_signature = -1; /* Signature */
-static int hf_ieee1609dot2_payload_01 = -1; /* SignedDataPayload */
-static int hf_ieee1609dot2_data_01 = -1; /* Ieee1609Dot2Data */
-static int hf_ieee1609dot2_extDataHash = -1; /* HashedData */
-static int hf_ieee1609dot2_omitted = -1; /* NULL */
-static int hf_ieee1609dot2_sha256HashedData = -1; /* HashedId32 */
-static int hf_ieee1609dot2_sha384HashedData = -1; /* HashedId48 */
-static int hf_ieee1609dot2_sm3HashedData = -1; /* HashedId32 */
-static int hf_ieee1609dot2_hiPsid = -1; /* T_hiPsid */
-static int hf_ieee1609dot2_generationTime = -1; /* Time64 */
-static int hf_ieee1609dot2_expiryTime = -1; /* Time64 */
-static int hf_ieee1609dot2_generationLocation = -1; /* ThreeDLocation */
-static int hf_ieee1609dot2_p2pcdLearningRequest = -1; /* HashedId3 */
-static int hf_ieee1609dot2_missingCrlIdentifier = -1; /* MissingCrlIdentifier */
-static int hf_ieee1609dot2_encryptionKey = -1; /* EncryptionKey */
-static int hf_ieee1609dot2_inlineP2pcdRequest = -1; /* SequenceOfHashedId3 */
-static int hf_ieee1609dot2_requestedCertificate = -1; /* Certificate */
-static int hf_ieee1609dot2_pduFunctionalType = -1; /* PduFunctionalType */
-static int hf_ieee1609dot2_contributedExtensions = -1; /* ContributedExtensionBlocks */
-static int hf_ieee1609dot2_cracaId = -1; /* HashedId3 */
-static int hf_ieee1609dot2_ContributedExtensionBlocks_item = -1; /* ContributedExtensionBlock */
-static int hf_ieee1609dot2_contributorId = -1; /* HeaderInfoContributorId */
-static int hf_ieee1609dot2_extns = -1; /* T_extns */
-static int hf_ieee1609dot2_extns_item = -1; /* T_extns_item */
-static int hf_ieee1609dot2_digest = -1; /* HashedId8 */
-static int hf_ieee1609dot2_certificate = -1; /* SequenceOfCertificate */
-static int hf_ieee1609dot2_siSelf = -1; /* NULL */
-static int hf_ieee1609dot2_recipients = -1; /* SequenceOfRecipientInfo */
-static int hf_ieee1609dot2_ciphertext = -1; /* SymmetricCiphertext */
-static int hf_ieee1609dot2_pskRecipInfo = -1; /* PreSharedKeyRecipientInfo */
-static int hf_ieee1609dot2_symmRecipInfo = -1; /* SymmRecipientInfo */
-static int hf_ieee1609dot2_certRecipInfo = -1; /* PKRecipientInfo */
-static int hf_ieee1609dot2_signedDataRecipInfo = -1; /* PKRecipientInfo */
-static int hf_ieee1609dot2_rekRecipInfo = -1; /* PKRecipientInfo */
-static int hf_ieee1609dot2_SequenceOfRecipientInfo_item = -1; /* RecipientInfo */
-static int hf_ieee1609dot2_recipientId = -1; /* HashedId8 */
-static int hf_ieee1609dot2_sriEncKey = -1; /* SymmetricCiphertext */
-static int hf_ieee1609dot2_encKey = -1; /* EncryptedDataEncryptionKey */
-static int hf_ieee1609dot2_edeEciesNistP256 = -1; /* EciesP256EncryptedKey */
-static int hf_ieee1609dot2_edekEciesBrainpoolP256r1 = -1; /* EciesP256EncryptedKey */
-static int hf_ieee1609dot2_ecencSm2256 = -1; /* EcencP256EncryptedKey */
-static int hf_ieee1609dot2_aes128ccm = -1; /* One28BitCcmCiphertext */
-static int hf_ieee1609dot2_sm4Ccm_01 = -1; /* One28BitCcmCiphertext */
-static int hf_ieee1609dot2_nonce = -1; /* OCTET_STRING_SIZE_12 */
-static int hf_ieee1609dot2_ccmCiphertext = -1; /* Opaque */
-static int hf_ieee1609dot2_SequenceOfCertificate_item = -1; /* Certificate */
-static int hf_ieee1609dot2_type = -1; /* CertificateType */
-static int hf_ieee1609dot2_issuer = -1; /* IssuerIdentifier */
-static int hf_ieee1609dot2_toBeSigned = -1; /* ToBeSignedCertificate */
-static int hf_ieee1609dot2_sha256AndDigest = -1; /* HashedId8 */
-static int hf_ieee1609dot2_iiSelf = -1; /* HashAlgorithm */
-static int hf_ieee1609dot2_sha384AndDigest = -1; /* HashedId8 */
-static int hf_ieee1609dot2_sm3AndDigest = -1; /* HashedId8 */
-static int hf_ieee1609dot2_id_01 = -1; /* CertificateId */
-static int hf_ieee1609dot2_validityPeriod = -1; /* ValidityPeriod */
-static int hf_ieee1609dot2_region = -1; /* GeographicRegion */
-static int hf_ieee1609dot2_assuranceLevel = -1; /* SubjectAssurance */
-static int hf_ieee1609dot2_appPermissions = -1; /* SequenceOfPsidSsp */
-static int hf_ieee1609dot2_certIssuePermissions = -1; /* SequenceOfPsidGroupPermissions */
-static int hf_ieee1609dot2_certRequestPermissions = -1; /* SequenceOfPsidGroupPermissions */
-static int hf_ieee1609dot2_canRequestRollover = -1; /* NULL */
-static int hf_ieee1609dot2_tbscEncryptionKey = -1; /* PublicEncryptionKey */
-static int hf_ieee1609dot2_verifyKeyIndicator = -1; /* VerificationKeyIndicator */
-static int hf_ieee1609dot2_flags = -1; /* T_flags */
-static int hf_ieee1609dot2_appExtensions = -1; /* SequenceOfAppExtensions */
-static int hf_ieee1609dot2_certIssueExtensions = -1; /* SequenceOfCertIssueExtensions */
-static int hf_ieee1609dot2_certRequestExtension = -1; /* SequenceOfCertRequestExtensions */
-static int hf_ieee1609dot2_linkageData = -1; /* LinkageData */
-static int hf_ieee1609dot2_name = -1; /* Hostname */
-static int hf_ieee1609dot2_binaryId = -1; /* OCTET_STRING_SIZE_1_64 */
-static int hf_ieee1609dot2_none = -1; /* NULL */
-static int hf_ieee1609dot2_iCert = -1; /* IValue */
-static int hf_ieee1609dot2_linkage_value = -1; /* LinkageValue */
-static int hf_ieee1609dot2_group_linkage_value = -1; /* GroupLinkageValue */
-static int hf_ieee1609dot2_subjectPermissions = -1; /* SubjectPermissions */
-static int hf_ieee1609dot2_minChainLength = -1; /* INTEGER */
-static int hf_ieee1609dot2_chainLengthRange = -1; /* INTEGER */
-static int hf_ieee1609dot2_eeType = -1; /* EndEntityType */
-static int hf_ieee1609dot2_SequenceOfPsidGroupPermissions_item = -1; /* PsidGroupPermissions */
-static int hf_ieee1609dot2_explicit = -1; /* SequenceOfPsidSspRange */
-static int hf_ieee1609dot2_verificationKey = -1; /* PublicVerificationKey */
-static int hf_ieee1609dot2_reconstructionValue = -1; /* EccP256CurvePoint */
-static int hf_ieee1609dot2_SequenceOfAppExtensions_item = -1; /* AppExtension */
-static int hf_ieee1609dot2_id_02 = -1; /* ExtId */
-static int hf_ieee1609dot2_content_03 = -1; /* T_content */
-static int hf_ieee1609dot2_SequenceOfCertIssueExtensions_item = -1; /* CertIssueExtension */
-static int hf_ieee1609dot2_permissions = -1; /* T_permissions */
-static int hf_ieee1609dot2_specific = -1; /* T_specific */
-static int hf_ieee1609dot2_SequenceOfCertRequestExtensions_item = -1; /* CertRequestExtension */
-static int hf_ieee1609dot2_permissions_01 = -1; /* T_permissions_01 */
-static int hf_ieee1609dot2_content_04 = -1; /* T_content_01 */
+int proto_ieee1609dot2;
+dissector_handle_t proto_ieee1609dot2_handle;
+static int hf_ieee1609dot2_SecuredCrl_PDU; /* SecuredCrl */
+static int hf_ieee1609dot2_Ieee1609Dot2Data_PDU; /* Ieee1609Dot2Data */
+static int hf_ieee1609dot2_SequenceOfUint8_item; /* Uint8 */
+static int hf_ieee1609dot2_SequenceOfUint16_item; /* Uint16 */
+static int hf_ieee1609dot2_SequenceOfHashedId3_item; /* HashedId3 */
+static int hf_ieee1609dot2_start; /* Time32 */
+static int hf_ieee1609dot2_duration; /* Duration */
+static int hf_ieee1609dot2_microseconds; /* Uint16 */
+static int hf_ieee1609dot2_milliseconds; /* Uint16 */
+static int hf_ieee1609dot2_seconds; /* Uint16 */
+static int hf_ieee1609dot2_minutes; /* Uint16 */
+static int hf_ieee1609dot2_hours; /* Uint16 */
+static int hf_ieee1609dot2_sixtyHours; /* Uint16 */
+static int hf_ieee1609dot2_years; /* Uint16 */
+static int hf_ieee1609dot2_circularRegion; /* CircularRegion */
+static int hf_ieee1609dot2_rectangularRegion; /* SequenceOfRectangularRegion */
+static int hf_ieee1609dot2_polygonalRegion; /* PolygonalRegion */
+static int hf_ieee1609dot2_identifiedRegion; /* SequenceOfIdentifiedRegion */
+static int hf_ieee1609dot2_center; /* TwoDLocation */
+static int hf_ieee1609dot2_radius; /* Uint16 */
+static int hf_ieee1609dot2_northWest; /* TwoDLocation */
+static int hf_ieee1609dot2_southEast; /* TwoDLocation */
+static int hf_ieee1609dot2_SequenceOfRectangularRegion_item; /* RectangularRegion */
+static int hf_ieee1609dot2_PolygonalRegion_item; /* TwoDLocation */
+static int hf_ieee1609dot2_latitude; /* Latitude */
+static int hf_ieee1609dot2_longitude; /* Longitude */
+static int hf_ieee1609dot2_countryOnly; /* UnCountryId */
+static int hf_ieee1609dot2_countryAndRegions; /* CountryAndRegions */
+static int hf_ieee1609dot2_countryAndSubregions; /* CountryAndSubregions */
+static int hf_ieee1609dot2_SequenceOfIdentifiedRegion_item; /* IdentifiedRegion */
+static int hf_ieee1609dot2_regions; /* SequenceOfUint8 */
+static int hf_ieee1609dot2_regionAndSubregions; /* SequenceOfRegionAndSubregions */
+static int hf_ieee1609dot2_rasRegion; /* Uint8 */
+static int hf_ieee1609dot2_subregions; /* SequenceOfUint16 */
+static int hf_ieee1609dot2_SequenceOfRegionAndSubregions_item; /* RegionAndSubregions */
+static int hf_ieee1609dot2_elevation; /* Elevation */
+static int hf_ieee1609dot2_ecdsaNistP256Signature; /* EcdsaP256Signature */
+static int hf_ieee1609dot2_ecdsaBrainpoolP256r1Signature; /* EcdsaP256Signature */
+static int hf_ieee1609dot2_ecdsaBrainpoolP384r1Signature; /* EcdsaP384Signature */
+static int hf_ieee1609dot2_ecdsaNistP384Signature; /* EcdsaP384Signature */
+static int hf_ieee1609dot2_sm2Signature; /* EcsigP256Signature */
+static int hf_ieee1609dot2_rSig; /* EccP256CurvePoint */
+static int hf_ieee1609dot2_sSig; /* OCTET_STRING_SIZE_32 */
+static int hf_ieee1609dot2_ecdsap384RSig; /* EccP384CurvePoint */
+static int hf_ieee1609dot2_ecdsap384SSig; /* OCTET_STRING_SIZE_48 */
+static int hf_ieee1609dot2_rSig_01; /* OCTET_STRING_SIZE_32 */
+static int hf_ieee1609dot2_x_only; /* OCTET_STRING_SIZE_32 */
+static int hf_ieee1609dot2_fill; /* NULL */
+static int hf_ieee1609dot2_compressed_y_0; /* OCTET_STRING_SIZE_32 */
+static int hf_ieee1609dot2_compressed_y_1; /* OCTET_STRING_SIZE_32 */
+static int hf_ieee1609dot2_uncompressedP256; /* T_uncompressedP256 */
+static int hf_ieee1609dot2_x; /* OCTET_STRING_SIZE_32 */
+static int hf_ieee1609dot2_y; /* OCTET_STRING_SIZE_32 */
+static int hf_ieee1609dot2_eccp384cpXOnly; /* OCTET_STRING_SIZE_48 */
+static int hf_ieee1609dot2_eccp384cpCompressed_y_0; /* OCTET_STRING_SIZE_48 */
+static int hf_ieee1609dot2_eccp384cpCompressed_y_1; /* OCTET_STRING_SIZE_48 */
+static int hf_ieee1609dot2_uncompressedP384; /* T_uncompressedP384 */
+static int hf_ieee1609dot2_eccp384cpX; /* OCTET_STRING_SIZE_48 */
+static int hf_ieee1609dot2_eccp384cpY; /* OCTET_STRING_SIZE_48 */
+static int hf_ieee1609dot2_v; /* EccP256CurvePoint */
+static int hf_ieee1609dot2_c; /* OCTET_STRING_SIZE_16 */
+static int hf_ieee1609dot2_t; /* OCTET_STRING_SIZE_16 */
+static int hf_ieee1609dot2_t_01; /* OCTET_STRING_SIZE_32 */
+static int hf_ieee1609dot2_public; /* PublicEncryptionKey */
+static int hf_ieee1609dot2_symmetric; /* SymmetricEncryptionKey */
+static int hf_ieee1609dot2_supportedSymmAlg; /* SymmAlgorithm */
+static int hf_ieee1609dot2_publicKey; /* BasePublicEncryptionKey */
+static int hf_ieee1609dot2_eciesNistP256; /* EccP256CurvePoint */
+static int hf_ieee1609dot2_eciesBrainpoolP256r1; /* EccP256CurvePoint */
+static int hf_ieee1609dot2_ecencSm2; /* EccP256CurvePoint */
+static int hf_ieee1609dot2_ecdsaNistP256; /* EccP256CurvePoint */
+static int hf_ieee1609dot2_ecdsaBrainpoolP256r1; /* EccP256CurvePoint */
+static int hf_ieee1609dot2_ecdsaBrainpoolP384r1; /* EccP384CurvePoint */
+static int hf_ieee1609dot2_ecdsaNistP384; /* EccP384CurvePoint */
+static int hf_ieee1609dot2_ecsigSm2; /* EccP256CurvePoint */
+static int hf_ieee1609dot2_aes128Ccm; /* OCTET_STRING_SIZE_16 */
+static int hf_ieee1609dot2_sm4Ccm; /* OCTET_STRING_SIZE_16 */
+static int hf_ieee1609dot2_psPsid; /* T_psPsid */
+static int hf_ieee1609dot2_ssp; /* ServiceSpecificPermissions */
+static int hf_ieee1609dot2_SequenceOfPsidSsp_item; /* PsidSsp */
+static int hf_ieee1609dot2_opaque; /* T_opaque */
+static int hf_ieee1609dot2_bitmapSsp; /* BitmapSsp */
+static int hf_ieee1609dot2_psid; /* Psid */
+static int hf_ieee1609dot2_sspRange; /* SspRange */
+static int hf_ieee1609dot2_SequenceOfPsidSspRange_item; /* PsidSspRange */
+static int hf_ieee1609dot2_srRange; /* SequenceOfOctetString */
+static int hf_ieee1609dot2_all; /* NULL */
+static int hf_ieee1609dot2_bitmapSspRange; /* BitmapSspRange */
+static int hf_ieee1609dot2_sspValue; /* OCTET_STRING_SIZE_1_32 */
+static int hf_ieee1609dot2_sspBitmask; /* OCTET_STRING_SIZE_1_32 */
+static int hf_ieee1609dot2_SequenceOfOctetString_item; /* OCTET_STRING_SIZE_0_MAX */
+static int hf_ieee1609dot2_jValue; /* OCTET_STRING_SIZE_4 */
+static int hf_ieee1609dot2_value; /* OCTET_STRING_SIZE_9 */
+static int hf_ieee1609dot2_SequenceOfLinkageSeed_item; /* LinkageSeed */
+static int hf_ieee1609dot2_version; /* Uint8 */
+static int hf_ieee1609dot2_crlSeries; /* CrlSeries */
+static int hf_ieee1609dot2_crlCraca; /* HashedId8 */
+static int hf_ieee1609dot2_issueDate; /* Time32 */
+static int hf_ieee1609dot2_nextCrl; /* Time32 */
+static int hf_ieee1609dot2_priorityInfo; /* CrlPriorityInfo */
+static int hf_ieee1609dot2_typeSpecific; /* TypeSpecificCrlContents */
+static int hf_ieee1609dot2_priority; /* Uint8 */
+static int hf_ieee1609dot2_fullHashCrl; /* ToBeSignedHashIdCrl */
+static int hf_ieee1609dot2_deltaHashCrl; /* ToBeSignedHashIdCrl */
+static int hf_ieee1609dot2_fullLinkedCrl; /* ToBeSignedLinkageValueCrl */
+static int hf_ieee1609dot2_deltaLinkedCrl; /* ToBeSignedLinkageValueCrl */
+static int hf_ieee1609dot2_fullLinkedCrlWithAlg; /* ToBeSignedLinkageValueCrlWithAlgIdentifier */
+static int hf_ieee1609dot2_deltaLinkedCrlWithAlg; /* ToBeSignedLinkageValueCrlWithAlgIdentifier */
+static int hf_ieee1609dot2_crlSerial; /* Uint32 */
+static int hf_ieee1609dot2_entries; /* SequenceOfHashBasedRevocationInfo */
+static int hf_ieee1609dot2_SequenceOfHashBasedRevocationInfo_item; /* HashBasedRevocationInfo */
+static int hf_ieee1609dot2_id; /* HashedId10 */
+static int hf_ieee1609dot2_expiry; /* Time32 */
+static int hf_ieee1609dot2_iRev; /* IValue */
+static int hf_ieee1609dot2_indexWithinI; /* Uint8 */
+static int hf_ieee1609dot2_individual; /* SequenceOfJMaxGroup */
+static int hf_ieee1609dot2_groups; /* SequenceOfGroupCrlEntry */
+static int hf_ieee1609dot2_groupsSingleSeed; /* SequenceOfGroupSingleSeedCrlEntry */
+static int hf_ieee1609dot2_SequenceOfJMaxGroup_item; /* JMaxGroup */
+static int hf_ieee1609dot2_jmax; /* Uint8 */
+static int hf_ieee1609dot2_contents; /* SequenceOfLAGroup */
+static int hf_ieee1609dot2_SequenceOfLAGroup_item; /* LAGroup */
+static int hf_ieee1609dot2_la1Id; /* LaId */
+static int hf_ieee1609dot2_la2Id; /* LaId */
+static int hf_ieee1609dot2_contents_01; /* SequenceOfIMaxGroup */
+static int hf_ieee1609dot2_SequenceOfIMaxGroup_item; /* IMaxGroup */
+static int hf_ieee1609dot2_iMax; /* Uint16 */
+static int hf_ieee1609dot2_contents_02; /* SequenceOfIndividualRevocation */
+static int hf_ieee1609dot2_singleSeed; /* SequenceOfLinkageSeed */
+static int hf_ieee1609dot2_SequenceOfIndividualRevocation_item; /* IndividualRevocation */
+static int hf_ieee1609dot2_linkageSeed1; /* LinkageSeed */
+static int hf_ieee1609dot2_linkageSeed2; /* LinkageSeed */
+static int hf_ieee1609dot2_SequenceOfGroupCrlEntry_item; /* GroupCrlEntry */
+static int hf_ieee1609dot2_seedEvolution; /* SeedEvolutionFunctionIdentifier */
+static int hf_ieee1609dot2_lvGeneration; /* LvGenerationFunctionIdentifier */
+static int hf_ieee1609dot2_SequenceOfGroupSingleSeedCrlEntry_item; /* GroupSingleSeedCrlEntry */
+static int hf_ieee1609dot2_laId; /* LaId */
+static int hf_ieee1609dot2_linkageSeed; /* LinkageSeed */
+static int hf_ieee1609dot2_content; /* SecuredCrlContent */
+static int hf_ieee1609dot2_signedData; /* CrlSignedData */
+static int hf_ieee1609dot2_tbsData; /* CrlToBeSignedData */
+static int hf_ieee1609dot2_payload; /* CrlSignedDataPayload */
+static int hf_ieee1609dot2_headerInfo; /* HeaderInfo */
+static int hf_ieee1609dot2_data; /* Ieee1609Dot2CrlData */
+static int hf_ieee1609dot2_content_01; /* Ieee1609Dot2CrlContent */
+static int hf_ieee1609dot2_unsecuredData; /* CrlContents */
+static int hf_ieee1609dot2_protocolVersion; /* Uint8 */
+static int hf_ieee1609dot2_content_02; /* Ieee1609Dot2Content */
+static int hf_ieee1609dot2_unsecuredData_01; /* T_unsecuredData */
+static int hf_ieee1609dot2_signedData_01; /* SignedData */
+static int hf_ieee1609dot2_encryptedData; /* EncryptedData */
+static int hf_ieee1609dot2_signedCertificateRequest; /* Opaque */
+static int hf_ieee1609dot2_signedX509CertificateRequest; /* Opaque */
+static int hf_ieee1609dot2_hashId; /* HashAlgorithm */
+static int hf_ieee1609dot2_tbsData_01; /* ToBeSignedData */
+static int hf_ieee1609dot2_signer; /* SignerIdentifier */
+static int hf_ieee1609dot2_signature; /* Signature */
+static int hf_ieee1609dot2_payload_01; /* SignedDataPayload */
+static int hf_ieee1609dot2_data_01; /* Ieee1609Dot2Data */
+static int hf_ieee1609dot2_extDataHash; /* HashedData */
+static int hf_ieee1609dot2_omitted; /* NULL */
+static int hf_ieee1609dot2_sha256HashedData; /* HashedId32 */
+static int hf_ieee1609dot2_sha384HashedData; /* HashedId48 */
+static int hf_ieee1609dot2_sm3HashedData; /* HashedId32 */
+static int hf_ieee1609dot2_hiPsid; /* T_hiPsid */
+static int hf_ieee1609dot2_generationTime; /* Time64 */
+static int hf_ieee1609dot2_expiryTime; /* Time64 */
+static int hf_ieee1609dot2_generationLocation; /* ThreeDLocation */
+static int hf_ieee1609dot2_p2pcdLearningRequest; /* HashedId3 */
+static int hf_ieee1609dot2_missingCrlIdentifier; /* MissingCrlIdentifier */
+static int hf_ieee1609dot2_encryptionKey; /* EncryptionKey */
+static int hf_ieee1609dot2_inlineP2pcdRequest; /* SequenceOfHashedId3 */
+static int hf_ieee1609dot2_requestedCertificate; /* Certificate */
+static int hf_ieee1609dot2_pduFunctionalType; /* PduFunctionalType */
+static int hf_ieee1609dot2_contributedExtensions; /* ContributedExtensionBlocks */
+static int hf_ieee1609dot2_cracaId; /* HashedId3 */
+static int hf_ieee1609dot2_ContributedExtensionBlocks_item; /* ContributedExtensionBlock */
+static int hf_ieee1609dot2_contributorId; /* HeaderInfoContributorId */
+static int hf_ieee1609dot2_extns; /* T_extns */
+static int hf_ieee1609dot2_extns_item; /* T_extns_item */
+static int hf_ieee1609dot2_digest; /* HashedId8 */
+static int hf_ieee1609dot2_certificate; /* SequenceOfCertificate */
+static int hf_ieee1609dot2_siSelf; /* NULL */
+static int hf_ieee1609dot2_recipients; /* SequenceOfRecipientInfo */
+static int hf_ieee1609dot2_ciphertext; /* SymmetricCiphertext */
+static int hf_ieee1609dot2_pskRecipInfo; /* PreSharedKeyRecipientInfo */
+static int hf_ieee1609dot2_symmRecipInfo; /* SymmRecipientInfo */
+static int hf_ieee1609dot2_certRecipInfo; /* PKRecipientInfo */
+static int hf_ieee1609dot2_signedDataRecipInfo; /* PKRecipientInfo */
+static int hf_ieee1609dot2_rekRecipInfo; /* PKRecipientInfo */
+static int hf_ieee1609dot2_SequenceOfRecipientInfo_item; /* RecipientInfo */
+static int hf_ieee1609dot2_recipientId; /* HashedId8 */
+static int hf_ieee1609dot2_sriEncKey; /* SymmetricCiphertext */
+static int hf_ieee1609dot2_encKey; /* EncryptedDataEncryptionKey */
+static int hf_ieee1609dot2_edeEciesNistP256; /* EciesP256EncryptedKey */
+static int hf_ieee1609dot2_edekEciesBrainpoolP256r1; /* EciesP256EncryptedKey */
+static int hf_ieee1609dot2_ecencSm2256; /* EcencP256EncryptedKey */
+static int hf_ieee1609dot2_aes128ccm; /* One28BitCcmCiphertext */
+static int hf_ieee1609dot2_sm4Ccm_01; /* One28BitCcmCiphertext */
+static int hf_ieee1609dot2_nonce; /* OCTET_STRING_SIZE_12 */
+static int hf_ieee1609dot2_ccmCiphertext; /* Opaque */
+static int hf_ieee1609dot2_SequenceOfCertificate_item; /* Certificate */
+static int hf_ieee1609dot2_type; /* CertificateType */
+static int hf_ieee1609dot2_issuer; /* IssuerIdentifier */
+static int hf_ieee1609dot2_toBeSigned; /* ToBeSignedCertificate */
+static int hf_ieee1609dot2_sha256AndDigest; /* HashedId8 */
+static int hf_ieee1609dot2_iiSelf; /* HashAlgorithm */
+static int hf_ieee1609dot2_sha384AndDigest; /* HashedId8 */
+static int hf_ieee1609dot2_sm3AndDigest; /* HashedId8 */
+static int hf_ieee1609dot2_id_01; /* CertificateId */
+static int hf_ieee1609dot2_validityPeriod; /* ValidityPeriod */
+static int hf_ieee1609dot2_region; /* GeographicRegion */
+static int hf_ieee1609dot2_assuranceLevel; /* SubjectAssurance */
+static int hf_ieee1609dot2_appPermissions; /* SequenceOfPsidSsp */
+static int hf_ieee1609dot2_certIssuePermissions; /* SequenceOfPsidGroupPermissions */
+static int hf_ieee1609dot2_certRequestPermissions; /* SequenceOfPsidGroupPermissions */
+static int hf_ieee1609dot2_canRequestRollover; /* NULL */
+static int hf_ieee1609dot2_tbscEncryptionKey; /* PublicEncryptionKey */
+static int hf_ieee1609dot2_verifyKeyIndicator; /* VerificationKeyIndicator */
+static int hf_ieee1609dot2_flags; /* T_flags */
+static int hf_ieee1609dot2_appExtensions; /* SequenceOfAppExtensions */
+static int hf_ieee1609dot2_certIssueExtensions; /* SequenceOfCertIssueExtensions */
+static int hf_ieee1609dot2_certRequestExtension; /* SequenceOfCertRequestExtensions */
+static int hf_ieee1609dot2_linkageData; /* LinkageData */
+static int hf_ieee1609dot2_name; /* Hostname */
+static int hf_ieee1609dot2_binaryId; /* OCTET_STRING_SIZE_1_64 */
+static int hf_ieee1609dot2_none; /* NULL */
+static int hf_ieee1609dot2_iCert; /* IValue */
+static int hf_ieee1609dot2_linkage_value; /* LinkageValue */
+static int hf_ieee1609dot2_group_linkage_value; /* GroupLinkageValue */
+static int hf_ieee1609dot2_subjectPermissions; /* SubjectPermissions */
+static int hf_ieee1609dot2_minChainLength; /* INTEGER */
+static int hf_ieee1609dot2_chainLengthRange; /* INTEGER */
+static int hf_ieee1609dot2_eeType; /* EndEntityType */
+static int hf_ieee1609dot2_SequenceOfPsidGroupPermissions_item; /* PsidGroupPermissions */
+static int hf_ieee1609dot2_explicit; /* SequenceOfPsidSspRange */
+static int hf_ieee1609dot2_verificationKey; /* PublicVerificationKey */
+static int hf_ieee1609dot2_reconstructionValue; /* EccP256CurvePoint */
+static int hf_ieee1609dot2_SequenceOfAppExtensions_item; /* AppExtension */
+static int hf_ieee1609dot2_id_02; /* ExtId */
+static int hf_ieee1609dot2_content_03; /* T_content */
+static int hf_ieee1609dot2_SequenceOfCertIssueExtensions_item; /* CertIssueExtension */
+static int hf_ieee1609dot2_permissions; /* T_permissions */
+static int hf_ieee1609dot2_specific; /* T_specific */
+static int hf_ieee1609dot2_SequenceOfCertRequestExtensions_item; /* CertRequestExtension */
+static int hf_ieee1609dot2_permissions_01; /* T_permissions_01 */
+static int hf_ieee1609dot2_content_04; /* T_content_01 */
/* named bits */
-static int hf_ieee1609dot2_T_flags_usesCubk = -1;
-static int hf_ieee1609dot2_EndEntityType_app = -1;
-static int hf_ieee1609dot2_EndEntityType_enrol = -1;
+static int hf_ieee1609dot2_T_flags_usesCubk;
+static int hf_ieee1609dot2_EndEntityType_app;
+static int hf_ieee1609dot2_EndEntityType_enrol;
/* Initialize the subtree pointers */
-static int ett_ieee1609dot2_ssp = -1;
-static gint ett_ieee1609dot2_SequenceOfUint8 = -1;
-static gint ett_ieee1609dot2_SequenceOfUint16 = -1;
-static gint ett_ieee1609dot2_SequenceOfHashedId3 = -1;
-static gint ett_ieee1609dot2_ValidityPeriod = -1;
-static gint ett_ieee1609dot2_Duration = -1;
-static gint ett_ieee1609dot2_GeographicRegion = -1;
-static gint ett_ieee1609dot2_CircularRegion = -1;
-static gint ett_ieee1609dot2_RectangularRegion = -1;
-static gint ett_ieee1609dot2_SequenceOfRectangularRegion = -1;
-static gint ett_ieee1609dot2_PolygonalRegion = -1;
-static gint ett_ieee1609dot2_TwoDLocation = -1;
-static gint ett_ieee1609dot2_IdentifiedRegion = -1;
-static gint ett_ieee1609dot2_SequenceOfIdentifiedRegion = -1;
-static gint ett_ieee1609dot2_CountryAndRegions = -1;
-static gint ett_ieee1609dot2_CountryAndSubregions = -1;
-static gint ett_ieee1609dot2_RegionAndSubregions = -1;
-static gint ett_ieee1609dot2_SequenceOfRegionAndSubregions = -1;
-static gint ett_ieee1609dot2_ThreeDLocation = -1;
-static gint ett_ieee1609dot2_Signature = -1;
-static gint ett_ieee1609dot2_EcdsaP256Signature = -1;
-static gint ett_ieee1609dot2_EcdsaP384Signature = -1;
-static gint ett_ieee1609dot2_EcsigP256Signature = -1;
-static gint ett_ieee1609dot2_EccP256CurvePoint = -1;
-static gint ett_ieee1609dot2_T_uncompressedP256 = -1;
-static gint ett_ieee1609dot2_EccP384CurvePoint = -1;
-static gint ett_ieee1609dot2_T_uncompressedP384 = -1;
-static gint ett_ieee1609dot2_EciesP256EncryptedKey = -1;
-static gint ett_ieee1609dot2_EcencP256EncryptedKey = -1;
-static gint ett_ieee1609dot2_EncryptionKey = -1;
-static gint ett_ieee1609dot2_PublicEncryptionKey = -1;
-static gint ett_ieee1609dot2_BasePublicEncryptionKey = -1;
-static gint ett_ieee1609dot2_PublicVerificationKey = -1;
-static gint ett_ieee1609dot2_SymmetricEncryptionKey = -1;
-static gint ett_ieee1609dot2_PsidSsp = -1;
-static gint ett_ieee1609dot2_SequenceOfPsidSsp = -1;
-static gint ett_ieee1609dot2_ServiceSpecificPermissions = -1;
-static gint ett_ieee1609dot2_PsidSspRange = -1;
-static gint ett_ieee1609dot2_SequenceOfPsidSspRange = -1;
-static gint ett_ieee1609dot2_SspRange = -1;
-static gint ett_ieee1609dot2_BitmapSspRange = -1;
-static gint ett_ieee1609dot2_SequenceOfOctetString = -1;
-static gint ett_ieee1609dot2_GroupLinkageValue = -1;
-static gint ett_ieee1609dot2_SequenceOfLinkageSeed = -1;
-static gint ett_ieee1609dot2_CrlContents = -1;
-static gint ett_ieee1609dot2_CrlPriorityInfo = -1;
-static gint ett_ieee1609dot2_TypeSpecificCrlContents = -1;
-static gint ett_ieee1609dot2_ToBeSignedHashIdCrl = -1;
-static gint ett_ieee1609dot2_SequenceOfHashBasedRevocationInfo = -1;
-static gint ett_ieee1609dot2_HashBasedRevocationInfo = -1;
-static gint ett_ieee1609dot2_ToBeSignedLinkageValueCrl = -1;
-static gint ett_ieee1609dot2_SequenceOfJMaxGroup = -1;
-static gint ett_ieee1609dot2_JMaxGroup = -1;
-static gint ett_ieee1609dot2_SequenceOfLAGroup = -1;
-static gint ett_ieee1609dot2_LAGroup = -1;
-static gint ett_ieee1609dot2_SequenceOfIMaxGroup = -1;
-static gint ett_ieee1609dot2_IMaxGroup = -1;
-static gint ett_ieee1609dot2_SequenceOfIndividualRevocation = -1;
-static gint ett_ieee1609dot2_IndividualRevocation = -1;
-static gint ett_ieee1609dot2_SequenceOfGroupCrlEntry = -1;
-static gint ett_ieee1609dot2_GroupCrlEntry = -1;
-static gint ett_ieee1609dot2_ToBeSignedLinkageValueCrlWithAlgIdentifier = -1;
-static gint ett_ieee1609dot2_SequenceOfGroupSingleSeedCrlEntry = -1;
-static gint ett_ieee1609dot2_GroupSingleSeedCrlEntry = -1;
-static gint ett_ieee1609dot2_SecuredCrl = -1;
-static gint ett_ieee1609dot2_SecuredCrlContent = -1;
-static gint ett_ieee1609dot2_CrlSignedData = -1;
-static gint ett_ieee1609dot2_CrlToBeSignedData = -1;
-static gint ett_ieee1609dot2_CrlSignedDataPayload = -1;
-static gint ett_ieee1609dot2_Ieee1609Dot2CrlData = -1;
-static gint ett_ieee1609dot2_Ieee1609Dot2CrlContent = -1;
-static gint ett_ieee1609dot2_Ieee1609Dot2Data = -1;
-static gint ett_ieee1609dot2_Ieee1609Dot2Content = -1;
-static gint ett_ieee1609dot2_SignedData = -1;
-static gint ett_ieee1609dot2_ToBeSignedData = -1;
-static gint ett_ieee1609dot2_SignedDataPayload = -1;
-static gint ett_ieee1609dot2_HashedData = -1;
-static gint ett_ieee1609dot2_HeaderInfo = -1;
-static gint ett_ieee1609dot2_MissingCrlIdentifier = -1;
-static gint ett_ieee1609dot2_ContributedExtensionBlocks = -1;
-static gint ett_ieee1609dot2_ContributedExtensionBlock = -1;
-static gint ett_ieee1609dot2_T_extns = -1;
-static gint ett_ieee1609dot2_SignerIdentifier = -1;
-static gint ett_ieee1609dot2_EncryptedData = -1;
-static gint ett_ieee1609dot2_RecipientInfo = -1;
-static gint ett_ieee1609dot2_SequenceOfRecipientInfo = -1;
-static gint ett_ieee1609dot2_SymmRecipientInfo = -1;
-static gint ett_ieee1609dot2_PKRecipientInfo = -1;
-static gint ett_ieee1609dot2_EncryptedDataEncryptionKey = -1;
-static gint ett_ieee1609dot2_SymmetricCiphertext = -1;
-static gint ett_ieee1609dot2_One28BitCcmCiphertext = -1;
-static gint ett_ieee1609dot2_SequenceOfCertificate = -1;
-static gint ett_ieee1609dot2_CertificateBase = -1;
-static gint ett_ieee1609dot2_IssuerIdentifier = -1;
-static gint ett_ieee1609dot2_ToBeSignedCertificate = -1;
-static gint ett_ieee1609dot2_T_flags = -1;
-static gint ett_ieee1609dot2_CertificateId = -1;
-static gint ett_ieee1609dot2_LinkageData = -1;
-static gint ett_ieee1609dot2_EndEntityType = -1;
-static gint ett_ieee1609dot2_PsidGroupPermissions = -1;
-static gint ett_ieee1609dot2_SequenceOfPsidGroupPermissions = -1;
-static gint ett_ieee1609dot2_SubjectPermissions = -1;
-static gint ett_ieee1609dot2_VerificationKeyIndicator = -1;
-static gint ett_ieee1609dot2_SequenceOfAppExtensions = -1;
-static gint ett_ieee1609dot2_AppExtension = -1;
-static gint ett_ieee1609dot2_SequenceOfCertIssueExtensions = -1;
-static gint ett_ieee1609dot2_CertIssueExtension = -1;
-static gint ett_ieee1609dot2_T_permissions = -1;
-static gint ett_ieee1609dot2_SequenceOfCertRequestExtensions = -1;
-static gint ett_ieee1609dot2_CertRequestExtension = -1;
-static gint ett_ieee1609dot2_T_permissions_01 = -1;
+static int ett_ieee1609dot2_ssp;
+static int ett_ieee1609dot2_SequenceOfUint8;
+static int ett_ieee1609dot2_SequenceOfUint16;
+static int ett_ieee1609dot2_SequenceOfHashedId3;
+static int ett_ieee1609dot2_ValidityPeriod;
+static int ett_ieee1609dot2_Duration;
+static int ett_ieee1609dot2_GeographicRegion;
+static int ett_ieee1609dot2_CircularRegion;
+static int ett_ieee1609dot2_RectangularRegion;
+static int ett_ieee1609dot2_SequenceOfRectangularRegion;
+static int ett_ieee1609dot2_PolygonalRegion;
+static int ett_ieee1609dot2_TwoDLocation;
+static int ett_ieee1609dot2_IdentifiedRegion;
+static int ett_ieee1609dot2_SequenceOfIdentifiedRegion;
+static int ett_ieee1609dot2_CountryAndRegions;
+static int ett_ieee1609dot2_CountryAndSubregions;
+static int ett_ieee1609dot2_RegionAndSubregions;
+static int ett_ieee1609dot2_SequenceOfRegionAndSubregions;
+static int ett_ieee1609dot2_ThreeDLocation;
+static int ett_ieee1609dot2_Signature;
+static int ett_ieee1609dot2_EcdsaP256Signature;
+static int ett_ieee1609dot2_EcdsaP384Signature;
+static int ett_ieee1609dot2_EcsigP256Signature;
+static int ett_ieee1609dot2_EccP256CurvePoint;
+static int ett_ieee1609dot2_T_uncompressedP256;
+static int ett_ieee1609dot2_EccP384CurvePoint;
+static int ett_ieee1609dot2_T_uncompressedP384;
+static int ett_ieee1609dot2_EciesP256EncryptedKey;
+static int ett_ieee1609dot2_EcencP256EncryptedKey;
+static int ett_ieee1609dot2_EncryptionKey;
+static int ett_ieee1609dot2_PublicEncryptionKey;
+static int ett_ieee1609dot2_BasePublicEncryptionKey;
+static int ett_ieee1609dot2_PublicVerificationKey;
+static int ett_ieee1609dot2_SymmetricEncryptionKey;
+static int ett_ieee1609dot2_PsidSsp;
+static int ett_ieee1609dot2_SequenceOfPsidSsp;
+static int ett_ieee1609dot2_ServiceSpecificPermissions;
+static int ett_ieee1609dot2_PsidSspRange;
+static int ett_ieee1609dot2_SequenceOfPsidSspRange;
+static int ett_ieee1609dot2_SspRange;
+static int ett_ieee1609dot2_BitmapSspRange;
+static int ett_ieee1609dot2_SequenceOfOctetString;
+static int ett_ieee1609dot2_GroupLinkageValue;
+static int ett_ieee1609dot2_SequenceOfLinkageSeed;
+static int ett_ieee1609dot2_CrlContents;
+static int ett_ieee1609dot2_CrlPriorityInfo;
+static int ett_ieee1609dot2_TypeSpecificCrlContents;
+static int ett_ieee1609dot2_ToBeSignedHashIdCrl;
+static int ett_ieee1609dot2_SequenceOfHashBasedRevocationInfo;
+static int ett_ieee1609dot2_HashBasedRevocationInfo;
+static int ett_ieee1609dot2_ToBeSignedLinkageValueCrl;
+static int ett_ieee1609dot2_SequenceOfJMaxGroup;
+static int ett_ieee1609dot2_JMaxGroup;
+static int ett_ieee1609dot2_SequenceOfLAGroup;
+static int ett_ieee1609dot2_LAGroup;
+static int ett_ieee1609dot2_SequenceOfIMaxGroup;
+static int ett_ieee1609dot2_IMaxGroup;
+static int ett_ieee1609dot2_SequenceOfIndividualRevocation;
+static int ett_ieee1609dot2_IndividualRevocation;
+static int ett_ieee1609dot2_SequenceOfGroupCrlEntry;
+static int ett_ieee1609dot2_GroupCrlEntry;
+static int ett_ieee1609dot2_ToBeSignedLinkageValueCrlWithAlgIdentifier;
+static int ett_ieee1609dot2_SequenceOfGroupSingleSeedCrlEntry;
+static int ett_ieee1609dot2_GroupSingleSeedCrlEntry;
+static int ett_ieee1609dot2_SecuredCrl;
+static int ett_ieee1609dot2_SecuredCrlContent;
+static int ett_ieee1609dot2_CrlSignedData;
+static int ett_ieee1609dot2_CrlToBeSignedData;
+static int ett_ieee1609dot2_CrlSignedDataPayload;
+static int ett_ieee1609dot2_Ieee1609Dot2CrlData;
+static int ett_ieee1609dot2_Ieee1609Dot2CrlContent;
+static int ett_ieee1609dot2_Ieee1609Dot2Data;
+static int ett_ieee1609dot2_Ieee1609Dot2Content;
+static int ett_ieee1609dot2_SignedData;
+static int ett_ieee1609dot2_ToBeSignedData;
+static int ett_ieee1609dot2_SignedDataPayload;
+static int ett_ieee1609dot2_HashedData;
+static int ett_ieee1609dot2_HeaderInfo;
+static int ett_ieee1609dot2_MissingCrlIdentifier;
+static int ett_ieee1609dot2_ContributedExtensionBlocks;
+static int ett_ieee1609dot2_ContributedExtensionBlock;
+static int ett_ieee1609dot2_T_extns;
+static int ett_ieee1609dot2_SignerIdentifier;
+static int ett_ieee1609dot2_EncryptedData;
+static int ett_ieee1609dot2_RecipientInfo;
+static int ett_ieee1609dot2_SequenceOfRecipientInfo;
+static int ett_ieee1609dot2_SymmRecipientInfo;
+static int ett_ieee1609dot2_PKRecipientInfo;
+static int ett_ieee1609dot2_EncryptedDataEncryptionKey;
+static int ett_ieee1609dot2_SymmetricCiphertext;
+static int ett_ieee1609dot2_One28BitCcmCiphertext;
+static int ett_ieee1609dot2_SequenceOfCertificate;
+static int ett_ieee1609dot2_CertificateBase;
+static int ett_ieee1609dot2_IssuerIdentifier;
+static int ett_ieee1609dot2_ToBeSignedCertificate;
+static int ett_ieee1609dot2_T_flags;
+static int ett_ieee1609dot2_CertificateId;
+static int ett_ieee1609dot2_LinkageData;
+static int ett_ieee1609dot2_EndEntityType;
+static int ett_ieee1609dot2_PsidGroupPermissions;
+static int ett_ieee1609dot2_SequenceOfPsidGroupPermissions;
+static int ett_ieee1609dot2_SubjectPermissions;
+static int ett_ieee1609dot2_VerificationKeyIndicator;
+static int ett_ieee1609dot2_SequenceOfAppExtensions;
+static int ett_ieee1609dot2_AppExtension;
+static int ett_ieee1609dot2_SequenceOfCertIssueExtensions;
+static int ett_ieee1609dot2_CertIssueExtension;
+static int ett_ieee1609dot2_T_permissions;
+static int ett_ieee1609dot2_SequenceOfCertRequestExtensions;
+static int ett_ieee1609dot2_CertRequestExtension;
+static int ett_ieee1609dot2_T_permissions_01;
static dissector_table_t unsecured_data_subdissector_table;
static dissector_table_t ssp_subdissector_table;
typedef struct ieee1609_private_data {
tvbuff_t *unsecured_data;
- guint64 psidssp; // psid for Service Specific Permissions
+ uint64_t psidssp; // psid for Service Specific Permissions
} ieee1609_private_data_t;
void
-ieee1609dot2_set_next_default_psid(packet_info *pinfo, guint32 psid)
+ieee1609dot2_set_next_default_psid(packet_info *pinfo, uint32_t psid)
{
p_add_proto_data(wmem_file_scope(), pinfo, proto_ieee1609dot2, 0, GUINT_TO_POINTER(psid));
}
@@ -432,7 +433,7 @@ static int dissect_ieee1609dot2_Ieee1609Dot2Data(tvbuff_t *tvb _U_, int offset _
static int
dissect_ieee1609dot2_Uint8(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_constrained_integer(tvb, offset, actx, tree, hf_index,
- 0U, 255U, NULL, FALSE);
+ 0U, 255U, NULL, false);
return offset;
}
@@ -442,7 +443,7 @@ dissect_ieee1609dot2_Uint8(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _
static int
dissect_ieee1609dot2_Uint16(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_constrained_integer(tvb, offset, actx, tree, hf_index,
- 0U, 65535U, NULL, FALSE);
+ 0U, 65535U, NULL, false);
return offset;
}
@@ -452,7 +453,7 @@ dissect_ieee1609dot2_Uint16(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx
static int
dissect_ieee1609dot2_Uint32(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_constrained_integer(tvb, offset, actx, tree, hf_index,
- 0U, 4294967295U, NULL, FALSE);
+ 0U, 4294967295U, NULL, false);
return offset;
}
@@ -462,7 +463,7 @@ dissect_ieee1609dot2_Uint32(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx
static int
dissect_ieee1609dot2_Uint64(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_constrained_integer_64b(tvb, offset, actx, tree, hf_index,
- 0U, G_GUINT64_CONSTANT(18446744073709551615), NULL, FALSE);
+ 0U, UINT64_C(18446744073709551615), NULL, false);
return offset;
}
@@ -498,7 +499,7 @@ dissect_ieee1609dot2_SequenceOfUint16(tvbuff_t *tvb _U_, int offset _U_, asn1_ct
static int
dissect_ieee1609dot2_Opaque(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_octet_string(tvb, offset, actx, tree, hf_index,
- NO_BOUND, NO_BOUND, FALSE, NULL);
+ NO_BOUND, NO_BOUND, false, NULL);
return offset;
}
@@ -508,7 +509,7 @@ dissect_ieee1609dot2_Opaque(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx
static int
dissect_ieee1609dot2_HashedId3(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_octet_string(tvb, offset, actx, tree, hf_index,
- 3, 3, FALSE, NULL);
+ 3, 3, false, NULL);
return offset;
}
@@ -531,7 +532,7 @@ dissect_ieee1609dot2_SequenceOfHashedId3(tvbuff_t *tvb _U_, int offset _U_, asn1
static int
dissect_ieee1609dot2_HashedId8(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_octet_string(tvb, offset, actx, tree, hf_index,
- 8, 8, FALSE, NULL);
+ 8, 8, false, NULL);
return offset;
}
@@ -541,7 +542,7 @@ dissect_ieee1609dot2_HashedId8(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *ac
static int
dissect_ieee1609dot2_HashedId10(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_octet_string(tvb, offset, actx, tree, hf_index,
- 10, 10, FALSE, NULL);
+ 10, 10, false, NULL);
return offset;
}
@@ -551,7 +552,7 @@ dissect_ieee1609dot2_HashedId10(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *a
static int
dissect_ieee1609dot2_HashedId32(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_octet_string(tvb, offset, actx, tree, hf_index,
- 32, 32, FALSE, NULL);
+ 32, 32, false, NULL);
return offset;
}
@@ -561,7 +562,7 @@ dissect_ieee1609dot2_HashedId32(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *a
static int
dissect_ieee1609dot2_HashedId48(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_octet_string(tvb, offset, actx, tree, hf_index,
- 48, 48, FALSE, NULL);
+ 48, 48, false, NULL);
return offset;
}
@@ -636,7 +637,7 @@ dissect_ieee1609dot2_ValidityPeriod(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_
static int
dissect_ieee1609dot2_NinetyDegreeInt(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_constrained_integer(tvb, offset, actx, tree, hf_index,
- -900000000, 900000001U, NULL, FALSE);
+ -900000000, 900000001U, NULL, false);
return offset;
}
@@ -655,7 +656,7 @@ dissect_ieee1609dot2_Latitude(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *act
static int
dissect_ieee1609dot2_OneEightyDegreeInt(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_constrained_integer(tvb, offset, actx, tree, hf_index,
- -1799999999, 1800000001U, NULL, FALSE);
+ -1799999999, 1800000001U, NULL, false);
return offset;
}
@@ -736,7 +737,7 @@ static int
dissect_ieee1609dot2_PolygonalRegion(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_constrained_sequence_of(tvb, offset, actx, tree, hf_index,
ett_ieee1609dot2_PolygonalRegion, PolygonalRegion_sequence_of,
- 3, NO_BOUND, FALSE);
+ 3, NO_BOUND, false);
return offset;
}
@@ -901,7 +902,7 @@ dissect_ieee1609dot2_ThreeDLocation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_
static int
dissect_ieee1609dot2_OCTET_STRING_SIZE_32(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_octet_string(tvb, offset, actx, tree, hf_index,
- 32, 32, FALSE, NULL);
+ 32, 32, false, NULL);
return offset;
}
@@ -978,7 +979,7 @@ dissect_ieee1609dot2_EcdsaP256Signature(tvbuff_t *tvb _U_, int offset _U_, asn1_
static int
dissect_ieee1609dot2_OCTET_STRING_SIZE_48(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_octet_string(tvb, offset, actx, tree, hf_index,
- 48, 48, FALSE, NULL);
+ 48, 48, false, NULL);
return offset;
}
@@ -1095,7 +1096,7 @@ static const value_string ieee1609dot2_SymmAlgorithm_vals[] = {
static int
dissect_ieee1609dot2_SymmAlgorithm(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_enumerated(tvb, offset, actx, tree, hf_index,
- 1, NULL, TRUE, 1, NULL);
+ 1, NULL, true, 1, NULL);
return offset;
}
@@ -1112,7 +1113,7 @@ static const value_string ieee1609dot2_HashAlgorithm_vals[] = {
static int
dissect_ieee1609dot2_HashAlgorithm(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_enumerated(tvb, offset, actx, tree, hf_index,
- 1, NULL, TRUE, 2, NULL);
+ 1, NULL, true, 2, NULL);
return offset;
}
@@ -1122,7 +1123,7 @@ dissect_ieee1609dot2_HashAlgorithm(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t
static int
dissect_ieee1609dot2_OCTET_STRING_SIZE_16(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_octet_string(tvb, offset, actx, tree, hf_index,
- 16, 16, FALSE, NULL);
+ 16, 16, false, NULL);
return offset;
}
@@ -1347,7 +1348,7 @@ const val64_string ieee1609dot2_Psid_vals[] = {
static int
dissect_ieee1609dot2_Psid(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_constrained_integer_64b_no_ub(tvb, offset, actx, tree, hf_index,
- 0U, NO_BOUND, NULL, FALSE);
+ 0U, NO_BOUND, NULL, false);
return offset;
}
@@ -1357,7 +1358,7 @@ dissect_ieee1609dot2_Psid(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U
static int
dissect_ieee1609dot2_T_psPsid(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_constrained_integer_64b_no_ub(tvb, offset, actx, tree, hf_index,
- 0U, NO_BOUND, &((ieee1609_private_data_t*)actx->private_data)->psidssp, FALSE);
+ 0U, NO_BOUND, &((ieee1609_private_data_t*)actx->private_data)->psidssp, false);
return offset;
@@ -1371,12 +1372,12 @@ dissect_ieee1609dot2_T_opaque(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *act
ieee1609_private_data_t *my_private_data = (ieee1609_private_data_t*)actx->private_data;
offset = dissect_oer_octet_string(tvb, offset, actx, tree, hf_index,
- 0, NO_BOUND, FALSE, &ssp);
+ 0, NO_BOUND, false, &ssp);
if (ssp) {
// Create subtree
proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_ieee1609dot2_ssp);
/* Call next dissector here */
- dissector_try_uint(ssp_subdissector_table, (guint32) my_private_data->psidssp, ssp, actx->pinfo, subtree);
+ dissector_try_uint(ssp_subdissector_table, (uint32_t) my_private_data->psidssp, ssp, actx->pinfo, subtree);
}
return offset;
@@ -1387,7 +1388,7 @@ dissect_ieee1609dot2_T_opaque(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *act
static int
dissect_ieee1609dot2_BitmapSsp(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_octet_string(tvb, offset, actx, tree, hf_index,
- 0, 31, FALSE, NULL);
+ 0, 31, false, NULL);
return offset;
}
@@ -1447,7 +1448,7 @@ dissect_ieee1609dot2_SequenceOfPsidSsp(tvbuff_t *tvb _U_, int offset _U_, asn1_c
static int
dissect_ieee1609dot2_OCTET_STRING_SIZE_0_MAX(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_octet_string(tvb, offset, actx, tree, hf_index,
- 0, NO_BOUND, FALSE, NULL);
+ 0, NO_BOUND, false, NULL);
return offset;
}
@@ -1461,7 +1462,7 @@ static int
dissect_ieee1609dot2_SequenceOfOctetString(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_constrained_sequence_of(tvb, offset, actx, tree, hf_index,
ett_ieee1609dot2_SequenceOfOctetString, SequenceOfOctetString_sequence_of,
- 0, NO_BOUND, FALSE);
+ 0, NO_BOUND, false);
return offset;
}
@@ -1471,7 +1472,7 @@ dissect_ieee1609dot2_SequenceOfOctetString(tvbuff_t *tvb _U_, int offset _U_, as
static int
dissect_ieee1609dot2_OCTET_STRING_SIZE_1_32(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_octet_string(tvb, offset, actx, tree, hf_index,
- 1, 32, FALSE, NULL);
+ 1, 32, false, NULL);
return offset;
}
@@ -1548,7 +1549,7 @@ dissect_ieee1609dot2_SequenceOfPsidSspRange(tvbuff_t *tvb _U_, int offset _U_, a
static int
dissect_ieee1609dot2_SubjectAssurance(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_octet_string(tvb, offset, actx, tree, hf_index,
- 1, 1, FALSE, NULL);
+ 1, 1, false, NULL);
return offset;
}
@@ -1576,7 +1577,7 @@ dissect_ieee1609dot2_IValue(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx
static int
dissect_ieee1609dot2_Hostname(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_UTF8String(tvb, offset, actx, tree, hf_index,
- 0, 255, FALSE);
+ 0, 255, false);
return offset;
}
@@ -1586,7 +1587,7 @@ dissect_ieee1609dot2_Hostname(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *act
static int
dissect_ieee1609dot2_LinkageValue(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_octet_string(tvb, offset, actx, tree, hf_index,
- 9, 9, FALSE, NULL);
+ 9, 9, false, NULL);
return offset;
}
@@ -1596,7 +1597,7 @@ dissect_ieee1609dot2_LinkageValue(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t
static int
dissect_ieee1609dot2_OCTET_STRING_SIZE_4(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_octet_string(tvb, offset, actx, tree, hf_index,
- 4, 4, FALSE, NULL);
+ 4, 4, false, NULL);
return offset;
}
@@ -1606,7 +1607,7 @@ dissect_ieee1609dot2_OCTET_STRING_SIZE_4(tvbuff_t *tvb _U_, int offset _U_, asn1
static int
dissect_ieee1609dot2_OCTET_STRING_SIZE_9(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_octet_string(tvb, offset, actx, tree, hf_index,
- 9, 9, FALSE, NULL);
+ 9, 9, false, NULL);
return offset;
}
@@ -1631,7 +1632,7 @@ dissect_ieee1609dot2_GroupLinkageValue(tvbuff_t *tvb _U_, int offset _U_, asn1_c
static int
dissect_ieee1609dot2_LaId(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_octet_string(tvb, offset, actx, tree, hf_index,
- 2, 2, FALSE, NULL);
+ 2, 2, false, NULL);
return offset;
}
@@ -1641,7 +1642,7 @@ dissect_ieee1609dot2_LaId(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U
static int
dissect_ieee1609dot2_LinkageSeed(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_octet_string(tvb, offset, actx, tree, hf_index,
- 16, 16, FALSE, NULL);
+ 16, 16, false, NULL);
return offset;
}
@@ -1669,7 +1670,7 @@ static const value_string ieee1609dot2_ExtId_vals[] = {
static int
dissect_ieee1609dot2_ExtId(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_constrained_integer(tvb, offset, actx, tree, hf_index,
- 0U, 255U, NULL, FALSE);
+ 0U, 255U, NULL, false);
return offset;
}
@@ -1755,7 +1756,7 @@ static int
dissect_ieee1609dot2_SequenceOfIndividualRevocation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_constrained_sequence_of(tvb, offset, actx, tree, hf_index,
ett_ieee1609dot2_SequenceOfIndividualRevocation, SequenceOfIndividualRevocation_sequence_of,
- 0, NO_BOUND, FALSE);
+ 0, NO_BOUND, false);
return offset;
}
@@ -2064,15 +2065,15 @@ dissect_ieee1609dot2_CrlSignedDataPayload(tvbuff_t *tvb _U_, int offset _U_, asn
static int
dissect_ieee1609dot2_T_hiPsid(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
- guint64 psid;
+ uint64_t psid;
ieee1609_private_data_t *my_private_data = (ieee1609_private_data_t*)actx->private_data;
offset = dissect_oer_constrained_integer_64b_no_ub(tvb, offset, actx, tree, hf_index,
- 0U, NO_BOUND, &psid, FALSE);
+ 0U, NO_BOUND, &psid, false);
if ((my_private_data != NULL) && (my_private_data->unsecured_data != NULL)) {
/* Call next dissector here */
- ieee1609dot2_set_next_default_psid(actx->pinfo, (guint32)psid);
- dissector_try_uint(unsecured_data_subdissector_table, (guint32) psid, my_private_data->unsecured_data, actx->pinfo, tree);
+ ieee1609dot2_set_next_default_psid(actx->pinfo, (uint32_t)psid);
+ dissector_try_uint(unsecured_data_subdissector_table, (uint32_t) psid, my_private_data->unsecured_data, actx->pinfo, tree);
my_private_data->unsecured_data = NULL;
}
@@ -2106,7 +2107,7 @@ static const value_string ieee1609dot2_CertificateType_vals[] = {
static int
dissect_ieee1609dot2_CertificateType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_enumerated(tvb, offset, actx, tree, hf_index,
- 2, NULL, TRUE, 0, NULL);
+ 2, NULL, true, 0, NULL);
return offset;
}
@@ -2158,7 +2159,7 @@ dissect_ieee1609dot2_LinkageData(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *
static int
dissect_ieee1609dot2_OCTET_STRING_SIZE_1_64(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_octet_string(tvb, offset, actx, tree, hf_index,
- 1, 64, FALSE, NULL);
+ 1, 64, false, NULL);
return offset;
}
@@ -2230,7 +2231,7 @@ static int * const EndEntityType_bits[] = {
static int
dissect_ieee1609dot2_EndEntityType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_bit_string(tvb, offset, actx, tree, hf_index,
- 8, 8, FALSE, EndEntityType_bits, 2, NULL, NULL);
+ 8, 8, false, EndEntityType_bits, 2, NULL, NULL);
return offset;
}
@@ -2296,7 +2297,7 @@ static int * const T_flags_bits[] = {
static int
dissect_ieee1609dot2_T_flags(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_bit_string(tvb, offset, actx, tree, hf_index,
- 8, 8, FALSE, T_flags_bits, 1, NULL, NULL);
+ 8, 8, false, T_flags_bits, 1, NULL, NULL);
return offset;
}
@@ -2334,7 +2335,7 @@ static int
dissect_ieee1609dot2_SequenceOfAppExtensions(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_constrained_sequence_of(tvb, offset, actx, tree, hf_index,
ett_ieee1609dot2_SequenceOfAppExtensions, SequenceOfAppExtensions_sequence_of,
- 1, NO_BOUND, FALSE);
+ 1, NO_BOUND, false);
return offset;
}
@@ -2394,7 +2395,7 @@ static int
dissect_ieee1609dot2_SequenceOfCertIssueExtensions(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_constrained_sequence_of(tvb, offset, actx, tree, hf_index,
ett_ieee1609dot2_SequenceOfCertIssueExtensions, SequenceOfCertIssueExtensions_sequence_of,
- 1, NO_BOUND, FALSE);
+ 1, NO_BOUND, false);
return offset;
}
@@ -2454,7 +2455,7 @@ static int
dissect_ieee1609dot2_SequenceOfCertRequestExtensions(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_constrained_sequence_of(tvb, offset, actx, tree, hf_index,
ett_ieee1609dot2_SequenceOfCertRequestExtensions, SequenceOfCertRequestExtensions_sequence_of,
- 1, NO_BOUND, FALSE);
+ 1, NO_BOUND, false);
return offset;
}
@@ -2527,7 +2528,7 @@ static const value_string ieee1609dot2_PduFunctionalType_vals[] = {
static int
dissect_ieee1609dot2_PduFunctionalType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_constrained_integer(tvb, offset, actx, tree, hf_index,
- 0U, 255U, NULL, FALSE);
+ 0U, 255U, NULL, false);
return offset;
}
@@ -2543,7 +2544,7 @@ static const value_string ieee1609dot2_HeaderInfoContributorId_vals[] = {
static int
dissect_ieee1609dot2_HeaderInfoContributorId(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_constrained_integer(tvb, offset, actx, tree, hf_index,
- 0U, 255U, NULL, FALSE);
+ 0U, 255U, NULL, false);
return offset;
}
@@ -2566,7 +2567,7 @@ static int
dissect_ieee1609dot2_T_extns(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_constrained_sequence_of(tvb, offset, actx, tree, hf_index,
ett_ieee1609dot2_T_extns, T_extns_sequence_of,
- 1, NO_BOUND, FALSE);
+ 1, NO_BOUND, false);
return offset;
}
@@ -2595,7 +2596,7 @@ static int
dissect_ieee1609dot2_ContributedExtensionBlocks(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_constrained_sequence_of(tvb, offset, actx, tree, hf_index,
ett_ieee1609dot2_ContributedExtensionBlocks, ContributedExtensionBlocks_sequence_of,
- 1, NO_BOUND, FALSE);
+ 1, NO_BOUND, false);
return offset;
}
@@ -2694,11 +2695,11 @@ dissect_ieee1609dot2_T_unsecuredData(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx
ieee1609_private_data_t *my_private_data = (ieee1609_private_data_t*)actx->private_data;
offset = dissect_oer_octet_string(tvb, offset, actx, tree, hf_index,
- NO_BOUND, NO_BOUND, FALSE, &my_private_data->unsecured_data);
+ NO_BOUND, NO_BOUND, false, &my_private_data->unsecured_data);
if (my_private_data->unsecured_data) {
// psid may also be provided in HeaderInfo
- guint32 psid = GPOINTER_TO_UINT(p_get_proto_data(wmem_file_scope(), actx->pinfo, proto_ieee1609dot2, 0));
+ uint32_t psid = GPOINTER_TO_UINT(p_get_proto_data(wmem_file_scope(), actx->pinfo, proto_ieee1609dot2, 0));
if (psid) {
/* Call next dissector here */
dissector_try_uint(unsecured_data_subdissector_table, psid, my_private_data->unsecured_data, actx->pinfo, tree);
@@ -2834,7 +2835,7 @@ dissect_ieee1609dot2_PreSharedKeyRecipientInfo(tvbuff_t *tvb _U_, int offset _U_
static int
dissect_ieee1609dot2_OCTET_STRING_SIZE_12(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_oer_octet_string(tvb, offset, actx, tree, hf_index,
- 12, 12, FALSE, NULL);
+ 12, 12, false, NULL);
return offset;
}
@@ -3023,7 +3024,7 @@ static const oer_sequence_t Ieee1609Dot2Data_sequence[] = {
static int
dissect_ieee1609dot2_Ieee1609Dot2Data(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
- // Ieee1609Dot2Data → Ieee1609Dot2Content → SignedData → ToBeSignedData → SignedDataPayload → Ieee1609Dot2Data
+ // Ieee1609Dot2Data -> Ieee1609Dot2Content -> SignedData -> ToBeSignedData -> SignedDataPayload -> Ieee1609Dot2Data
actx->pinfo->dissection_depth += 5;
increment_dissection_depth(actx->pinfo);
actx->private_data = (void*)wmem_new0(actx->pinfo->pool, ieee1609_private_data_t);
@@ -3040,14 +3041,14 @@ dissect_ieee1609dot2_Ieee1609Dot2Data(tvbuff_t *tvb _U_, int offset _U_, asn1_ct
static int dissect_SecuredCrl_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_OER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_OER, true, pinfo);
offset = dissect_ieee1609dot2_SecuredCrl(tvb, offset, &asn1_ctx, tree, hf_ieee1609dot2_SecuredCrl_PDU);
return offset;
}
static int dissect_Ieee1609Dot2Data_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_OER, TRUE, pinfo);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_OER, true, pinfo);
offset = dissect_ieee1609dot2_Ieee1609Dot2Data(tvb, offset, &asn1_ctx, tree, hf_ieee1609dot2_Ieee1609Dot2Data_PDU);
return offset;
}
@@ -3055,9 +3056,9 @@ static int dissect_Ieee1609Dot2Data_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U
static void
-ieee1609dot2_NinetyDegreeInt_fmt(gchar *s, guint32 v)
+ieee1609dot2_NinetyDegreeInt_fmt(char *s, uint32_t v)
{
- gint32 lat = (gint32)v;
+ int32_t lat = (int32_t)v;
if (lat == 900000001) {
snprintf(s, ITEM_LABEL_LENGTH, "unavailable(%d)", lat);
} else {
@@ -3071,9 +3072,9 @@ ieee1609dot2_NinetyDegreeInt_fmt(gchar *s, guint32 v)
}
static void
-ieee1609dot2_OneEightyDegreeInt_fmt(gchar *s, guint32 v)
+ieee1609dot2_OneEightyDegreeInt_fmt(char *s, uint32_t v)
{
- gint32 lng = (gint32)v;
+ int32_t lng = (int32_t)v;
if (lng == 1800000001) {
snprintf(s, ITEM_LABEL_LENGTH, "unavailable(%d)", lng);
} else {
@@ -3088,7 +3089,7 @@ ieee1609dot2_OneEightyDegreeInt_fmt(gchar *s, guint32 v)
static void
-ieee1609dot2_Time32_fmt(gchar *s, guint32 v)
+ieee1609dot2_Time32_fmt(char *s, uint32_t v)
{
time_t secs = v + 1072915200 - 5;
struct tm *tm = gmtime(&secs);
@@ -3098,10 +3099,10 @@ ieee1609dot2_Time32_fmt(gchar *s, guint32 v)
}
static void
-ieee1609dot2_Time64_fmt(gchar *s, guint64 v)
+ieee1609dot2_Time64_fmt(char *s, uint64_t v)
{
time_t secs = v / 1000000 + 1072915200 - 5;
- guint32 usecs = v % 1000000;
+ uint32_t usecs = v % 1000000;
struct tm *tm = gmtime(&secs);
snprintf(s, ITEM_LABEL_LENGTH, "%u-%02u-%02u %02u:%02u:%02u.%06u (%" PRIu64 ")",
tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec, usecs, v
@@ -4116,7 +4117,7 @@ void proto_register_ieee1609dot2(void) {
};
/* List of subtrees */
- static gint *ett[] = {
+ static int *ett[] = {
&ett_ieee1609dot2_SequenceOfUint8,
&ett_ieee1609dot2_SequenceOfUint16,
&ett_ieee1609dot2_SequenceOfHashedId3,