2013-04-11 18:14:53 +00:00
|
|
|
/* Do not modify this file. Changes will be overwritten. */
|
|
|
|
/* Generated automatically by the ASN.1 to Wireshark dissector compiler */
|
2011-02-20 17:03:29 +00:00
|
|
|
/* packet-p772.c */
|
2011-10-15 19:27:27 +00:00
|
|
|
/* ../../tools/asn2wrs.py -b -C -p p772 -c ./p772.cnf -s ./packet-p772-template -D . -O ../../epan/dissectors MMSAbstractService.asn MMSInformationObjects.asn MMSOtherNotificationTypeExtensions.asn MMSObjectIdentifiers.asn MMSHeadingExtensions.asn MMSUpperBounds.asn MMSExtendedBodyPartTypes.asn MMSPerRecipientSpecifierExtensions.asn */
|
2005-09-04 20:30:31 +00:00
|
|
|
|
2011-02-20 17:03:29 +00:00
|
|
|
/* Input file: packet-p772-template.c */
|
2005-09-04 20:30:31 +00:00
|
|
|
|
2011-05-13 08:12:27 +00:00
|
|
|
#line 1 "../../asn1/p772/packet-p772-template.c"
|
2011-02-20 17:03:29 +00:00
|
|
|
/* packet-p772.c
|
2005-09-04 20:30:31 +00:00
|
|
|
* Routines for STANAG 4406 (X.400 Military Message Extensions) packet dissection
|
|
|
|
* Graeme Lunt 2005
|
|
|
|
*
|
2006-05-21 04:49:01 +00:00
|
|
|
* Wireshark - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
2005-09-04 20:30:31 +00:00
|
|
|
* Copyright 1998 Gerald Combs
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
2012-06-28 22:56:06 +00:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2005-09-04 20:30:31 +00:00
|
|
|
*/
|
|
|
|
|
2012-09-20 02:03:38 +00:00
|
|
|
#include "config.h"
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
#include <epan/packet.h>
|
2007-05-13 20:58:29 +00:00
|
|
|
#include <epan/asn1.h>
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
#include "packet-ber.h"
|
|
|
|
|
|
|
|
#include "packet-x509if.h"
|
|
|
|
|
2011-02-20 17:03:29 +00:00
|
|
|
#include "packet-p772.h"
|
2014-02-26 19:29:17 +00:00
|
|
|
#include "packet-p1.h"
|
|
|
|
#include "packet-p22.h"
|
2005-09-04 20:30:31 +00:00
|
|
|
|
2009-10-30 10:55:43 +00:00
|
|
|
#define PNAME "STANAG 4406 Message"
|
2011-02-20 17:03:29 +00:00
|
|
|
#define PSNAME "P772"
|
|
|
|
#define PFNAME "p772"
|
2005-09-04 20:30:31 +00:00
|
|
|
|
2013-12-07 11:37:58 +00:00
|
|
|
void proto_register_p772(void);
|
|
|
|
void proto_reg_handoff_p772(void);
|
|
|
|
|
|
|
|
|
2005-09-04 20:30:31 +00:00
|
|
|
/* Initialize the protocol and registered fields */
|
2011-02-20 17:03:29 +00:00
|
|
|
static int proto_p772 = -1;
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
|
2011-02-20 17:03:29 +00:00
|
|
|
/*--- Included file: packet-p772-val.h ---*/
|
2011-05-13 08:12:27 +00:00
|
|
|
#line 1 "../../asn1/p772/packet-p772-val.h"
|
2010-01-09 20:52:47 +00:00
|
|
|
#define id_mmhs "1.3.26.0.4406.0"
|
|
|
|
#define id_mod id_mmhs".0"
|
|
|
|
#define id_mm id_mmhs".2"
|
|
|
|
#define id_hat id_mmhs".3"
|
|
|
|
#define id_mcont id_mmhs".4"
|
|
|
|
#define id_policy id_mmhs".5"
|
|
|
|
#define id_cat id_mmhs".6"
|
|
|
|
#define id_et id_mmhs".7"
|
|
|
|
#define id_mmts id_mmhs".8"
|
|
|
|
#define id_nat id_mmhs".9"
|
|
|
|
#define id_mot id_mmhs".10"
|
|
|
|
#define id_mpt id_mmhs".11"
|
|
|
|
#define id_ref id_mmhs".12"
|
|
|
|
#define id_informationlabel id_mmhs".13"
|
|
|
|
#define id_mod_upper_bounds id_mod".0"
|
|
|
|
#define id_mod_mms id_mod".1"
|
|
|
|
#define id_mod_functional_objects id_mod".2"
|
|
|
|
#define id_mod_abstract_service id_mod".3"
|
|
|
|
#define id_mod_heading_extension id_mod".6"
|
|
|
|
#define id_mod_extended_body_part_types id_mod".7"
|
|
|
|
#define id_mod_message_store_attributes id_mod".8"
|
|
|
|
#define id_mod_per_recipient_specifier_extensions id_mod".11"
|
|
|
|
#define id_mod_other_notification_type_extensions id_mod".12"
|
|
|
|
#define id_mot_mmme id_mot".0"
|
|
|
|
#define id_mot_mms_user id_mot".1"
|
|
|
|
#define id_mot_mms id_mot".2"
|
|
|
|
#define id_mot_mms_ua id_mot".3"
|
|
|
|
#define id_mot_mms_ms id_mot".4"
|
|
|
|
#define id_mot_acp127au id_mot".5"
|
|
|
|
#define id_mot_pdau id_mot".6"
|
|
|
|
#define id_mpt_origination id_mpt".0"
|
|
|
|
#define id_mpt_reception id_mpt".1"
|
|
|
|
#define id_mpt_management id_mpt".2"
|
|
|
|
#define id_ref_primary id_ref".0"
|
|
|
|
#define id_ref_secondary id_ref".1"
|
|
|
|
#define id_nato_mmhs_et_adatp3 id_et".0"
|
|
|
|
#define id_nato_mmhs_et_corrections id_et".1"
|
|
|
|
#define id_nato_mmhs_et_adatp3_parameters id_et".2"
|
|
|
|
#define id_nato_mmhs_et_corrections_parameters id_et".3"
|
|
|
|
#define id_nato_mmhs_et_forwarded_encrypted id_et".6"
|
|
|
|
#define id_nato_mmhs_et_forwarded_encrypted_parameters id_et".7"
|
|
|
|
#define id_nato_mmhs_et_mm_message id_et".9"
|
|
|
|
#define id_nato_mmhs_et_mm_message_parameters id_et".10"
|
|
|
|
#define id_nato_mmhs_et_mm_acp127data id_et".12"
|
|
|
|
#define id_nato_mmhs_et_mm_acp127data_parameters id_et".13"
|
|
|
|
#define id_nato_mmhs_mm_primary_precedence id_mm".0"
|
|
|
|
#define id_nato_mmhs_mm_copy_precedence id_mm".1"
|
|
|
|
#define id_nato_mmhs_mm_message_type id_mm".2"
|
|
|
|
#define id_nato_mmhs_mm_address_list_indicator id_mm".3"
|
|
|
|
#define id_nato_mmhs_mm_exempted_address id_mm".4"
|
|
|
|
#define id_nato_mmhs_mm_extended_authorisation_info id_mm".5"
|
|
|
|
#define id_nato_mmhs_mm_distribution_codes id_mm".6"
|
|
|
|
#define id_nato_mmhs_mm_handling_instructions id_mm".7"
|
|
|
|
#define id_nato_mmhs_mm_message_instructions id_mm".8"
|
|
|
|
#define id_nato_mmhs_mm_codress_message id_mm".9"
|
|
|
|
#define id_nato_mmhs_mm_originator_reference id_mm".10"
|
|
|
|
#define id_nato_mmhs_mm_other_recipients_indicator id_mm".11"
|
|
|
|
#define id_nato_mmhs_mm_pilot_forwarding_info id_mm".12"
|
|
|
|
#define id_nato_mmhs_mm_acp127_message_identifier id_mm".13"
|
|
|
|
#define id_nato_mmhs_mm_originator_plad id_mm".14"
|
|
|
|
#define id_nato_mmhs_mm_information_labels id_mm".17"
|
|
|
|
#define id_nato_mmhs_mm_acp127_notification_request id_mm".15"
|
|
|
|
#define id_nato_mmhs_mm_acp127_notification_response id_mm".16"
|
|
|
|
#define id_nato_mmhs_hat_primary_precedence id_hat".0"
|
|
|
|
#define id_nato_mmhs_hat_copy_precedence id_hat".1"
|
|
|
|
#define id_nato_mmhs_hat_message_type id_hat".2"
|
|
|
|
#define id_nato_mmhs_hat_address_list_indicator id_hat".3"
|
|
|
|
#define id_nato_mmhs_hat_exempted_address id_hat".4"
|
|
|
|
#define id_nato_mmhs_hat_extended_authorisation_info id_hat".5"
|
|
|
|
#define id_nato_mmhs_hat_distribution_codes id_hat".6"
|
|
|
|
#define id_nato_mmhs_hat_handling_instructions id_hat".7"
|
|
|
|
#define id_nato_mmhs_hat_message_instructions id_hat".8"
|
|
|
|
#define id_nato_mmhs_hat_codress_message id_hat".9"
|
|
|
|
#define id_nato_mmhs_hat_originator_reference id_hat".10"
|
|
|
|
#define id_nato_mmhs_hat_other_recipients_indicator id_hat".11"
|
|
|
|
#define id_nato_mmhs_hat_pilot_forwarding_info id_hat".12"
|
|
|
|
#define id_nato_mmhs_hat_acp127_message_identifier id_hat".13"
|
|
|
|
#define id_nato_mmhs_hat_originator_plad id_hat".14"
|
|
|
|
#define id_nato_mmhs_hat_acp127_notification_request id_hat".15"
|
|
|
|
#define id_nato_mmhs_hat_sic_codes id_hat".16"
|
|
|
|
#define id_nato_mmhs_hat_distribution_extensions id_hat".17"
|
|
|
|
#define id_nato_mmhs_hat_body_part_information_label id_hat".18"
|
|
|
|
#define id_nato_mmhs_hat_security_information_labels id_hat".19"
|
|
|
|
#define id_nato_mmhs_cat id_cat".0"
|
|
|
|
#define id_nato_mmhs_cat_atomal id_cat".1"
|
|
|
|
#define id_nato_mmhs_cat_cryptosecurity id_cat".2"
|
|
|
|
#define id_nato_mmhs_cat_specialhandlingintel id_cat".3"
|
|
|
|
#define id_nato_mmhs_cat_ussiopesi id_cat".4"
|
|
|
|
#define id_nato_mmhs_cat_eyesonly id_cat".5"
|
|
|
|
#define id_nato_mmhs_cat_exclusive id_cat".6"
|
|
|
|
#define id_nato_mmhs_cat_information_label id_cat".7"
|
|
|
|
#define id_nato_mmhs_informationlabel_atomal id_informationlabel".1"
|
|
|
|
#define id_nato_mmhs_informationlabel_cryptosecurity id_informationlabel".2"
|
|
|
|
#define id_nato_mmhs_informationlabel_specialhandlingintel id_informationlabel".3"
|
|
|
|
#define id_nato_mmhs_informationlabel_ussiopesi id_informationlabel".4"
|
|
|
|
#define id_nato_mmhs_informationlabel_eyesonly id_informationlabel".5"
|
|
|
|
#define id_nato_mmhs_informationlabel_exclusive id_informationlabel".6"
|
|
|
|
#define id_nato_mmhs_nat_acp127_notification_response id_nat".0"
|
|
|
|
#define id_mct_p772 id_mcont".1"
|
2009-12-18 15:24:18 +00:00
|
|
|
#define ub_military_string 69
|
|
|
|
#define ub_military_number_of_sics 8
|
|
|
|
#define lb_military_sic 3
|
|
|
|
#define ub_military_sic 8
|
|
|
|
#define ub_military_bigstring 128
|
|
|
|
#define ub_data_size 65535
|
|
|
|
|
2011-02-20 17:03:29 +00:00
|
|
|
/*--- End of included file: packet-p772-val.h ---*/
|
2014-12-23 05:32:58 +00:00
|
|
|
#line 49 "../../asn1/p772/packet-p772-template.c"
|
2011-02-20 17:03:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
/*--- Included file: packet-p772-hf.c ---*/
|
2011-05-13 08:12:27 +00:00
|
|
|
#line 1 "../../asn1/p772/packet-p772-hf.c"
|
2011-02-20 17:03:29 +00:00
|
|
|
static int hf_p772_InformationObject_PDU = -1; /* InformationObject */
|
|
|
|
static int hf_p772_Acp127NotificationResponse_PDU = -1; /* Acp127NotificationResponse */
|
|
|
|
static int hf_p772_ExemptedAddressSeq_PDU = -1; /* ExemptedAddressSeq */
|
|
|
|
static int hf_p772_ExtendedAuthorisationInfo_PDU = -1; /* ExtendedAuthorisationInfo */
|
|
|
|
static int hf_p772_DistributionCodes_PDU = -1; /* DistributionCodes */
|
|
|
|
static int hf_p772_HandlingInstructions_PDU = -1; /* HandlingInstructions */
|
|
|
|
static int hf_p772_MessageInstructions_PDU = -1; /* MessageInstructions */
|
|
|
|
static int hf_p772_CodressMessage_PDU = -1; /* CodressMessage */
|
|
|
|
static int hf_p772_OriginatorReference_PDU = -1; /* OriginatorReference */
|
|
|
|
static int hf_p772_PrimaryPrecedence_PDU = -1; /* PrimaryPrecedence */
|
|
|
|
static int hf_p772_CopyPrecedence_PDU = -1; /* CopyPrecedence */
|
|
|
|
static int hf_p772_MessageType_PDU = -1; /* MessageType */
|
|
|
|
static int hf_p772_AddressListDesignatorSeq_PDU = -1; /* AddressListDesignatorSeq */
|
|
|
|
static int hf_p772_OtherRecipientDesignatorSeq_PDU = -1; /* OtherRecipientDesignatorSeq */
|
|
|
|
static int hf_p772_PilotInformationSeq_PDU = -1; /* PilotInformationSeq */
|
|
|
|
static int hf_p772_Acp127MessageIdentifier_PDU = -1; /* Acp127MessageIdentifier */
|
|
|
|
static int hf_p772_OriginatorPlad_PDU = -1; /* OriginatorPlad */
|
|
|
|
static int hf_p772_SecurityInformationLabels_PDU = -1; /* SecurityInformationLabels */
|
|
|
|
static int hf_p772_PriorityLevelQualifier_PDU = -1; /* PriorityLevelQualifier */
|
|
|
|
static int hf_p772_ADatP3Parameters_PDU = -1; /* ADatP3Parameters */
|
|
|
|
static int hf_p772_ADatP3Data_PDU = -1; /* ADatP3Data */
|
|
|
|
static int hf_p772_CorrectionsParameters_PDU = -1; /* CorrectionsParameters */
|
|
|
|
static int hf_p772_CorrectionsData_PDU = -1; /* CorrectionsData */
|
|
|
|
static int hf_p772_ForwardedEncryptedParameters_PDU = -1; /* ForwardedEncryptedParameters */
|
|
|
|
static int hf_p772_ForwardedEncryptedData_PDU = -1; /* ForwardedEncryptedData */
|
|
|
|
static int hf_p772_MMMessageParameters_PDU = -1; /* MMMessageParameters */
|
|
|
|
static int hf_p772_MMMessageData_PDU = -1; /* MMMessageData */
|
|
|
|
static int hf_p772_ACP127DataParameters_PDU = -1; /* ACP127DataParameters */
|
|
|
|
static int hf_p772_ACP127DataData_PDU = -1; /* ACP127DataData */
|
|
|
|
static int hf_p772_Acp127NotificationType_PDU = -1; /* Acp127NotificationType */
|
|
|
|
static int hf_p772_mm = -1; /* IPM */
|
|
|
|
static int hf_p772_mn = -1; /* IPN */
|
|
|
|
static int hf_p772_acp127_notification_type = -1; /* Acp127NotificationType */
|
|
|
|
static int hf_p772_receipt_time = -1; /* ReceiptTimeField */
|
|
|
|
static int hf_p772_addressListIndicator = -1; /* AddressListIndicator */
|
|
|
|
static int hf_p772_acp127_recipient = -1; /* Acp127Recipient */
|
|
|
|
static int hf_p772_acp127_supp_info = -1; /* Acp127SuppInfo */
|
|
|
|
static int hf_p772_AddressListIndicator_item = -1; /* AddressListDesignator */
|
|
|
|
static int hf_p772_ExemptedAddressSeq_item = -1; /* ExemptedAddress */
|
|
|
|
static int hf_p772_sics = -1; /* SEQUENCE_SIZE_1_ub_military_number_of_sics_OF_Sic */
|
|
|
|
static int hf_p772_sics_item = -1; /* Sic */
|
|
|
|
static int hf_p772_dist_Extensions = -1; /* SEQUENCE_OF_DistributionExtensionField */
|
|
|
|
static int hf_p772_dist_Extensions_item = -1; /* DistributionExtensionField */
|
|
|
|
static int hf_p772_dist_type = -1; /* OBJECT_IDENTIFIER */
|
|
|
|
static int hf_p772_dist_value = -1; /* T_dist_value */
|
|
|
|
static int hf_p772_HandlingInstructions_item = -1; /* MilitaryString */
|
|
|
|
static int hf_p772_MessageInstructions_item = -1; /* MilitaryString */
|
|
|
|
static int hf_p772_message_type_type = -1; /* TypeMessage */
|
|
|
|
static int hf_p772_identifier = -1; /* MessageIdentifier */
|
|
|
|
static int hf_p772_AddressListDesignatorSeq_item = -1; /* AddressListDesignator */
|
|
|
|
static int hf_p772_address_list_type = -1; /* AddressListType */
|
|
|
|
static int hf_p772_listName = -1; /* ORDescriptor */
|
|
|
|
static int hf_p772_notificationRequest = -1; /* AddressListRequest */
|
|
|
|
static int hf_p772_replyRequest = -1; /* AddressListRequest */
|
|
|
|
static int hf_p772_OtherRecipientDesignatorSeq_item = -1; /* OtherRecipientDesignator */
|
|
|
|
static int hf_p772_other_recipient_type = -1; /* OtherRecipientType */
|
|
|
|
static int hf_p772_designator = -1; /* MilitaryString */
|
|
|
|
static int hf_p772_PilotInformationSeq_item = -1; /* PilotInformation */
|
|
|
|
static int hf_p772_pilotPrecedence = -1; /* MMHSPrecedence */
|
|
|
|
static int hf_p772_pilotRecipient = -1; /* SEQUENCE_OF_ORDescriptor */
|
|
|
|
static int hf_p772_pilotRecipient_item = -1; /* ORDescriptor */
|
|
|
|
static int hf_p772_pilotSecurity = -1; /* SecurityLabel */
|
|
|
|
static int hf_p772_pilotHandling = -1; /* SEQUENCE_OF_MilitaryString */
|
|
|
|
static int hf_p772_pilotHandling_item = -1; /* MilitaryString */
|
|
|
|
static int hf_p772_content_security_label = -1; /* SecurityLabel */
|
|
|
|
static int hf_p772_heading_security_label = -1; /* SecurityLabel */
|
|
|
|
static int hf_p772_body_part_security_labels = -1; /* SEQUENCE_OF_BodyPartSecurityLabel */
|
|
|
|
static int hf_p772_body_part_security_labels_item = -1; /* BodyPartSecurityLabel */
|
|
|
|
static int hf_p772_body_part_security_label = -1; /* SecurityLabel */
|
|
|
|
static int hf_p772_body_part_sequence_number = -1; /* BodyPartSequenceNumber */
|
|
|
|
static int hf_p772_lineOriented = -1; /* IA5String */
|
|
|
|
static int hf_p772_setOriented = -1; /* T_setOriented */
|
|
|
|
static int hf_p772_setOriented_item = -1; /* IA5String */
|
|
|
|
static int hf_p772_delivery_time = -1; /* MessageDeliveryTime */
|
|
|
|
static int hf_p772_delivery_envelope = -1; /* OtherMessageDeliveryFields */
|
2006-06-28 19:31:49 +00:00
|
|
|
/* named bits */
|
2011-02-20 17:03:29 +00:00
|
|
|
static int hf_p772_Acp127NotificationType_acp127_nn = -1;
|
|
|
|
static int hf_p772_Acp127NotificationType_acp127_pn = -1;
|
|
|
|
static int hf_p772_Acp127NotificationType_acp127_tn = -1;
|
2005-09-04 20:30:31 +00:00
|
|
|
|
2011-02-20 17:03:29 +00:00
|
|
|
/*--- End of included file: packet-p772-hf.c ---*/
|
2014-12-23 05:32:58 +00:00
|
|
|
#line 51 "../../asn1/p772/packet-p772-template.c"
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
/* Initialize the subtree pointers */
|
2011-02-20 17:03:29 +00:00
|
|
|
static gint ett_p772 = -1;
|
|
|
|
|
|
|
|
/*--- Included file: packet-p772-ett.c ---*/
|
2011-05-13 08:12:27 +00:00
|
|
|
#line 1 "../../asn1/p772/packet-p772-ett.c"
|
2011-02-20 17:03:29 +00:00
|
|
|
static gint ett_p772_InformationObject = -1;
|
|
|
|
static gint ett_p772_Acp127NotificationResponse = -1;
|
|
|
|
static gint ett_p772_AddressListIndicator = -1;
|
|
|
|
static gint ett_p772_ExemptedAddressSeq = -1;
|
|
|
|
static gint ett_p772_DistributionCodes = -1;
|
|
|
|
static gint ett_p772_SEQUENCE_SIZE_1_ub_military_number_of_sics_OF_Sic = -1;
|
|
|
|
static gint ett_p772_SEQUENCE_OF_DistributionExtensionField = -1;
|
|
|
|
static gint ett_p772_DistributionExtensionField = -1;
|
|
|
|
static gint ett_p772_HandlingInstructions = -1;
|
|
|
|
static gint ett_p772_MessageInstructions = -1;
|
|
|
|
static gint ett_p772_MessageType = -1;
|
|
|
|
static gint ett_p772_AddressListDesignatorSeq = -1;
|
|
|
|
static gint ett_p772_AddressListDesignator = -1;
|
|
|
|
static gint ett_p772_OtherRecipientDesignatorSeq = -1;
|
|
|
|
static gint ett_p772_OtherRecipientDesignator = -1;
|
|
|
|
static gint ett_p772_PilotInformationSeq = -1;
|
|
|
|
static gint ett_p772_PilotInformation = -1;
|
|
|
|
static gint ett_p772_SEQUENCE_OF_ORDescriptor = -1;
|
|
|
|
static gint ett_p772_SEQUENCE_OF_MilitaryString = -1;
|
|
|
|
static gint ett_p772_SecurityInformationLabels = -1;
|
|
|
|
static gint ett_p772_SEQUENCE_OF_BodyPartSecurityLabel = -1;
|
|
|
|
static gint ett_p772_BodyPartSecurityLabel = -1;
|
|
|
|
static gint ett_p772_ADatP3Data = -1;
|
|
|
|
static gint ett_p772_T_setOriented = -1;
|
|
|
|
static gint ett_p772_ForwardedEncryptedParameters = -1;
|
|
|
|
static gint ett_p772_MMMessageParameters = -1;
|
|
|
|
static gint ett_p772_Acp127NotificationType = -1;
|
|
|
|
|
|
|
|
/*--- End of included file: packet-p772-ett.c ---*/
|
2014-12-23 05:32:58 +00:00
|
|
|
#line 55 "../../asn1/p772/packet-p772-template.c"
|
2011-02-20 17:03:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
/*--- Included file: packet-p772-fn.c ---*/
|
2011-05-13 08:12:27 +00:00
|
|
|
#line 1 "../../asn1/p772/packet-p772-fn.c"
|
2011-02-20 17:03:29 +00:00
|
|
|
|
2007-10-22 17:16:15 +00:00
|
|
|
static const ber_choice_t InformationObject_choice[] = {
|
2011-02-20 17:03:29 +00:00
|
|
|
{ 0, &hf_p772_mm , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_p22_IPM },
|
|
|
|
{ 1, &hf_p772_mn , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_p22_IPN },
|
2007-10-22 17:16:15 +00:00
|
|
|
{ 0, NULL, 0, 0, 0, NULL }
|
2006-05-08 17:46:58 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_InformationObject(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2007-10-22 17:16:15 +00:00
|
|
|
offset = dissect_ber_choice(actx, tree, tvb, offset,
|
2011-02-20 17:03:29 +00:00
|
|
|
InformationObject_choice, hf_index, ett_p772_InformationObject,
|
2007-10-22 17:16:15 +00:00
|
|
|
NULL);
|
2006-05-08 17:46:58 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-01-09 20:52:47 +00:00
|
|
|
static const asn_namedbit Acp127NotificationType_bits[] = {
|
2011-02-20 17:03:29 +00:00
|
|
|
{ 0, &hf_p772_Acp127NotificationType_acp127_nn, -1, -1, "acp127-nn", NULL },
|
|
|
|
{ 1, &hf_p772_Acp127NotificationType_acp127_pn, -1, -1, "acp127-pn", NULL },
|
|
|
|
{ 2, &hf_p772_Acp127NotificationType_acp127_tn, -1, -1, "acp127-tn", NULL },
|
2010-01-09 20:52:47 +00:00
|
|
|
{ 0, NULL, 0, 0, NULL, NULL }
|
|
|
|
};
|
2006-05-08 17:46:58 +00:00
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_Acp127NotificationType(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2010-01-09 20:52:47 +00:00
|
|
|
offset = dissect_ber_bitstring(implicit_tag, actx, tree, tvb, offset,
|
2011-02-20 17:03:29 +00:00
|
|
|
Acp127NotificationType_bits, hf_index, ett_p772_Acp127NotificationType,
|
2010-01-09 20:52:47 +00:00
|
|
|
NULL);
|
2006-05-08 17:46:58 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2011-02-20 17:03:29 +00:00
|
|
|
static const value_string p772_AddressListType_vals[] = {
|
2010-01-09 20:52:47 +00:00
|
|
|
{ 0, "primaryAddressList" },
|
|
|
|
{ 1, "copyAddressList" },
|
|
|
|
{ 0, NULL }
|
|
|
|
};
|
|
|
|
|
2006-05-08 17:46:58 +00:00
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_AddressListType(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2010-01-09 20:52:47 +00:00
|
|
|
offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
|
|
|
|
NULL);
|
2006-05-08 17:46:58 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2011-02-20 17:03:29 +00:00
|
|
|
static const value_string p772_AddressListRequest_vals[] = {
|
2010-01-09 20:52:47 +00:00
|
|
|
{ 0, "action" },
|
|
|
|
{ 1, "info" },
|
|
|
|
{ 2, "both" },
|
|
|
|
{ 0, NULL }
|
|
|
|
};
|
|
|
|
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_AddressListRequest(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2010-01-09 20:52:47 +00:00
|
|
|
offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
|
|
|
|
NULL);
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-01-09 20:52:47 +00:00
|
|
|
static const ber_sequence_t AddressListDesignator_set[] = {
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_address_list_type, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_p772_AddressListType },
|
|
|
|
{ &hf_p772_listName , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_p22_ORDescriptor },
|
|
|
|
{ &hf_p772_notificationRequest, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_p772_AddressListRequest },
|
|
|
|
{ &hf_p772_replyRequest , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_p772_AddressListRequest },
|
2010-01-09 20:52:47 +00:00
|
|
|
{ NULL, 0, 0, 0, NULL }
|
2007-06-27 17:42:41 +00:00
|
|
|
};
|
2005-09-04 20:30:31 +00:00
|
|
|
|
2006-05-08 17:46:58 +00:00
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_AddressListDesignator(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2010-01-09 20:52:47 +00:00
|
|
|
offset = dissect_ber_set(implicit_tag, actx, tree, tvb, offset,
|
2011-02-20 17:03:29 +00:00
|
|
|
AddressListDesignator_set, hf_index, ett_p772_AddressListDesignator);
|
2010-01-09 20:52:47 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static const ber_sequence_t AddressListIndicator_sequence_of[1] = {
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_AddressListIndicator_item, BER_CLASS_UNI, BER_UNI_TAG_SET, BER_FLAGS_NOOWNTAG, dissect_p772_AddressListDesignator },
|
2010-01-09 20:52:47 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_AddressListIndicator(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2007-10-22 17:16:15 +00:00
|
|
|
offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
|
2011-02-20 17:03:29 +00:00
|
|
|
AddressListIndicator_sequence_of, hf_index, ett_p772_AddressListIndicator);
|
2006-05-08 17:46:58 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-09-04 20:30:31 +00:00
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_Acp127Recipient(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2010-01-09 20:52:47 +00:00
|
|
|
offset = dissect_ber_constrained_restricted_string(implicit_tag, BER_UNI_TAG_PrintableString,
|
|
|
|
actx, tree, tvb, offset,
|
|
|
|
1, ub_military_bigstring, hf_index, NULL);
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_Acp127SuppInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2009-12-18 15:24:18 +00:00
|
|
|
offset = dissect_ber_constrained_restricted_string(implicit_tag, BER_UNI_TAG_PrintableString,
|
|
|
|
actx, tree, tvb, offset,
|
2010-01-09 20:52:47 +00:00
|
|
|
1, ub_military_bigstring, hf_index, NULL);
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-01-09 20:52:47 +00:00
|
|
|
static const ber_sequence_t Acp127NotificationResponse_set[] = {
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_acp127_notification_type, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_p772_Acp127NotificationType },
|
|
|
|
{ &hf_p772_receipt_time , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_p22_ReceiptTimeField },
|
|
|
|
{ &hf_p772_addressListIndicator, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_p772_AddressListIndicator },
|
|
|
|
{ &hf_p772_acp127_recipient, BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_p772_Acp127Recipient },
|
|
|
|
{ &hf_p772_acp127_supp_info, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_p772_Acp127SuppInfo },
|
2010-01-09 20:52:47 +00:00
|
|
|
{ NULL, 0, 0, 0, NULL }
|
2005-09-04 20:30:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_Acp127NotificationResponse(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2010-01-09 20:52:47 +00:00
|
|
|
offset = dissect_ber_set(implicit_tag, actx, tree, tvb, offset,
|
2011-02-20 17:03:29 +00:00
|
|
|
Acp127NotificationResponse_set, hf_index, ett_p772_Acp127NotificationResponse);
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_ExemptedAddress(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
offset = dissect_p22_ORDescriptor(implicit_tag, tvb, offset, actx, tree, hf_index);
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-01-09 20:52:47 +00:00
|
|
|
static const ber_sequence_t ExemptedAddressSeq_sequence_of[1] = {
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_ExemptedAddressSeq_item, BER_CLASS_UNI, BER_UNI_TAG_SET, BER_FLAGS_NOOWNTAG, dissect_p772_ExemptedAddress },
|
2010-01-09 20:52:47 +00:00
|
|
|
};
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_ExemptedAddressSeq(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2010-01-09 20:52:47 +00:00
|
|
|
offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
|
2011-02-20 17:03:29 +00:00
|
|
|
ExemptedAddressSeq_sequence_of, hf_index, ett_p772_ExemptedAddressSeq);
|
2010-01-09 20:52:47 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
2005-10-24 21:42:19 +00:00
|
|
|
|
2005-11-16 07:13:12 +00:00
|
|
|
|
2010-01-09 20:52:47 +00:00
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_ExtendedAuthorisationInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2010-01-09 20:52:47 +00:00
|
|
|
offset = dissect_ber_UTCTime(implicit_tag, actx, tree, tvb, offset, hf_index);
|
2005-12-08 23:29:21 +00:00
|
|
|
|
2005-09-04 20:30:31 +00:00
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-01-09 20:52:47 +00:00
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_Sic(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2010-01-09 20:52:47 +00:00
|
|
|
offset = dissect_ber_constrained_restricted_string(implicit_tag, BER_UNI_TAG_PrintableString,
|
|
|
|
actx, tree, tvb, offset,
|
|
|
|
lb_military_sic, ub_military_sic, hf_index, NULL);
|
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static const ber_sequence_t SEQUENCE_SIZE_1_ub_military_number_of_sics_OF_Sic_sequence_of[1] = {
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_sics_item , BER_CLASS_UNI, BER_UNI_TAG_PrintableString, BER_FLAGS_NOOWNTAG, dissect_p772_Sic },
|
2005-09-04 20:30:31 +00:00
|
|
|
};
|
|
|
|
|
2010-01-09 20:52:47 +00:00
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_SEQUENCE_SIZE_1_ub_military_number_of_sics_OF_Sic(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2010-01-09 20:52:47 +00:00
|
|
|
offset = dissect_ber_constrained_sequence_of(implicit_tag, actx, tree, tvb, offset,
|
2011-02-20 17:03:29 +00:00
|
|
|
1, ub_military_number_of_sics, SEQUENCE_SIZE_1_ub_military_number_of_sics_OF_Sic_sequence_of, hf_index, ett_p772_SEQUENCE_SIZE_1_ub_military_number_of_sics_OF_Sic);
|
2010-01-09 20:52:47 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-02-23 08:04:48 +00:00
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_OBJECT_IDENTIFIER(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2010-02-23 08:04:48 +00:00
|
|
|
offset = dissect_ber_object_identifier(implicit_tag, actx, tree, tvb, offset, hf_index, NULL);
|
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_T_dist_value(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2014-03-15 13:31:14 +00:00
|
|
|
#line 100 "../../asn1/p772/p772.cnf"
|
2010-02-23 08:04:48 +00:00
|
|
|
/* XXX: not implemented */
|
|
|
|
offset = dissect_unknown_ber(actx->pinfo, tvb, offset, tree);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static const ber_sequence_t DistributionExtensionField_sequence[] = {
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_dist_type , BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_p772_OBJECT_IDENTIFIER },
|
|
|
|
{ &hf_p772_dist_value , BER_CLASS_ANY, 0, BER_FLAGS_NOOWNTAG, dissect_p772_T_dist_value },
|
2010-02-23 08:04:48 +00:00
|
|
|
{ NULL, 0, 0, 0, NULL }
|
|
|
|
};
|
|
|
|
|
2005-09-04 20:30:31 +00:00
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_DistributionExtensionField(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2010-02-23 08:04:48 +00:00
|
|
|
offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
|
2011-02-20 17:03:29 +00:00
|
|
|
DistributionExtensionField_sequence, hf_index, ett_p772_DistributionExtensionField);
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-10-22 17:16:15 +00:00
|
|
|
static const ber_sequence_t SEQUENCE_OF_DistributionExtensionField_sequence_of[1] = {
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_dist_Extensions_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_p772_DistributionExtensionField },
|
2005-09-04 20:30:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_SEQUENCE_OF_DistributionExtensionField(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2007-10-22 17:16:15 +00:00
|
|
|
offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
|
2011-02-20 17:03:29 +00:00
|
|
|
SEQUENCE_OF_DistributionExtensionField_sequence_of, hf_index, ett_p772_SEQUENCE_OF_DistributionExtensionField);
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-10-22 17:16:15 +00:00
|
|
|
static const ber_sequence_t DistributionCodes_set[] = {
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_sics , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_p772_SEQUENCE_SIZE_1_ub_military_number_of_sics_OF_Sic },
|
|
|
|
{ &hf_p772_dist_Extensions, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_p772_SEQUENCE_OF_DistributionExtensionField },
|
2007-10-22 17:16:15 +00:00
|
|
|
{ NULL, 0, 0, 0, NULL }
|
2005-09-04 20:30:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_DistributionCodes(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2007-10-22 17:16:15 +00:00
|
|
|
offset = dissect_ber_set(implicit_tag, actx, tree, tvb, offset,
|
2011-02-20 17:03:29 +00:00
|
|
|
DistributionCodes_set, hf_index, ett_p772_DistributionCodes);
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_MilitaryString(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2009-12-18 15:24:18 +00:00
|
|
|
offset = dissect_ber_constrained_restricted_string(implicit_tag, BER_UNI_TAG_PrintableString,
|
|
|
|
actx, tree, tvb, offset,
|
|
|
|
1, ub_military_string, hf_index, NULL);
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-10-22 17:16:15 +00:00
|
|
|
static const ber_sequence_t HandlingInstructions_sequence_of[1] = {
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_HandlingInstructions_item, BER_CLASS_UNI, BER_UNI_TAG_PrintableString, BER_FLAGS_NOOWNTAG, dissect_p772_MilitaryString },
|
2005-09-04 20:30:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_HandlingInstructions(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2007-10-22 17:16:15 +00:00
|
|
|
offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
|
2011-02-20 17:03:29 +00:00
|
|
|
HandlingInstructions_sequence_of, hf_index, ett_p772_HandlingInstructions);
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-10-22 17:16:15 +00:00
|
|
|
static const ber_sequence_t MessageInstructions_sequence_of[1] = {
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_MessageInstructions_item, BER_CLASS_UNI, BER_UNI_TAG_PrintableString, BER_FLAGS_NOOWNTAG, dissect_p772_MilitaryString },
|
2005-09-04 20:30:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_MessageInstructions(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2007-10-22 17:16:15 +00:00
|
|
|
offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
|
2011-02-20 17:03:29 +00:00
|
|
|
MessageInstructions_sequence_of, hf_index, ett_p772_MessageInstructions);
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_CodressMessage(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2007-05-15 05:49:43 +00:00
|
|
|
offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
|
2008-07-21 20:26:37 +00:00
|
|
|
NULL);
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_OriginatorReference(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
offset = dissect_p772_MilitaryString(implicit_tag, tvb, offset, actx, tree, hf_index);
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2011-02-20 17:03:29 +00:00
|
|
|
static const value_string p772_MMHSPrecedence_vals[] = {
|
2010-01-09 20:52:47 +00:00
|
|
|
{ 0, "deferred" },
|
|
|
|
{ 1, "routine" },
|
|
|
|
{ 2, "priority" },
|
|
|
|
{ 3, "immediate" },
|
|
|
|
{ 4, "flash" },
|
|
|
|
{ 5, "override" },
|
|
|
|
{ 16, "ecp" },
|
|
|
|
{ 17, "critic" },
|
|
|
|
{ 18, "override" },
|
|
|
|
{ 0, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_MMHSPrecedence(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2010-01-09 20:52:47 +00:00
|
|
|
offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
|
|
|
|
NULL);
|
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2011-02-20 17:03:29 +00:00
|
|
|
static const value_string p772_PrimaryPrecedence_vals[] = {
|
2005-09-04 20:30:31 +00:00
|
|
|
{ 0, "deferred" },
|
|
|
|
{ 1, "routine" },
|
|
|
|
{ 2, "priority" },
|
|
|
|
{ 3, "immediate" },
|
|
|
|
{ 4, "flash" },
|
|
|
|
{ 5, "override" },
|
|
|
|
{ 16, "ecp" },
|
|
|
|
{ 17, "critic" },
|
|
|
|
{ 18, "override" },
|
|
|
|
{ 0, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_PrimaryPrecedence(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2014-03-15 13:31:14 +00:00
|
|
|
#line 106 "../../asn1/p772/p772.cnf"
|
2005-11-16 07:13:12 +00:00
|
|
|
int precedence = -1;
|
2007-05-15 05:49:43 +00:00
|
|
|
offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
|
2008-07-21 20:26:37 +00:00
|
|
|
&precedence);
|
2005-11-16 07:13:12 +00:00
|
|
|
|
2013-06-14 12:44:50 +00:00
|
|
|
if(precedence != -1)
|
2011-02-20 17:03:29 +00:00
|
|
|
col_append_fstr(actx->pinfo->cinfo, COL_INFO, " (primary=%s)", val_to_str(precedence, p772_PrimaryPrecedence_vals, "precedence(%d)"));
|
2005-11-16 07:13:12 +00:00
|
|
|
|
2005-09-04 20:30:31 +00:00
|
|
|
|
2005-12-08 23:29:21 +00:00
|
|
|
|
2005-09-04 20:30:31 +00:00
|
|
|
return offset;
|
|
|
|
}
|
2005-11-16 07:13:12 +00:00
|
|
|
|
|
|
|
|
2011-02-20 17:03:29 +00:00
|
|
|
static const value_string p772_CopyPrecedence_vals[] = {
|
2005-11-16 07:13:12 +00:00
|
|
|
{ 0, "deferred" },
|
|
|
|
{ 1, "routine" },
|
|
|
|
{ 2, "priority" },
|
|
|
|
{ 3, "immediate" },
|
|
|
|
{ 4, "flash" },
|
|
|
|
{ 5, "override" },
|
|
|
|
{ 16, "ecp" },
|
|
|
|
{ 17, "critic" },
|
|
|
|
{ 18, "override" },
|
|
|
|
{ 0, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_CopyPrecedence(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2014-03-15 13:31:14 +00:00
|
|
|
#line 114 "../../asn1/p772/p772.cnf"
|
2005-11-16 07:13:12 +00:00
|
|
|
int precedence = -1;
|
2007-05-15 05:49:43 +00:00
|
|
|
offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
|
2008-07-21 20:26:37 +00:00
|
|
|
&precedence);
|
2005-11-16 07:13:12 +00:00
|
|
|
|
2013-06-14 12:44:50 +00:00
|
|
|
if(precedence != -1)
|
2011-02-20 17:03:29 +00:00
|
|
|
col_append_fstr(actx->pinfo->cinfo, COL_INFO, " (copy=%s)", val_to_str(precedence, p772_CopyPrecedence_vals, "precedence(%d)"));
|
2005-11-16 07:13:12 +00:00
|
|
|
|
2005-12-08 23:29:21 +00:00
|
|
|
|
2005-11-16 07:13:12 +00:00
|
|
|
return offset;
|
2005-09-04 20:30:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2011-02-20 17:03:29 +00:00
|
|
|
static const value_string p772_TypeMessage_vals[] = {
|
2005-09-04 20:30:31 +00:00
|
|
|
{ 0, "exercise" },
|
|
|
|
{ 1, "operation" },
|
|
|
|
{ 2, "project" },
|
|
|
|
{ 3, "drill" },
|
|
|
|
{ 0, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_TypeMessage(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2007-05-15 05:49:43 +00:00
|
|
|
offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
|
2008-07-21 20:26:37 +00:00
|
|
|
NULL);
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_MessageIdentifier(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
offset = dissect_p772_MilitaryString(implicit_tag, tvb, offset, actx, tree, hf_index);
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-10-22 17:16:15 +00:00
|
|
|
static const ber_sequence_t MessageType_set[] = {
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_message_type_type, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_p772_TypeMessage },
|
|
|
|
{ &hf_p772_identifier , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_p772_MessageIdentifier },
|
2007-10-22 17:16:15 +00:00
|
|
|
{ NULL, 0, 0, 0, NULL }
|
2005-09-04 20:30:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_MessageType(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2007-10-22 17:16:15 +00:00
|
|
|
offset = dissect_ber_set(implicit_tag, actx, tree, tvb, offset,
|
2011-02-20 17:03:29 +00:00
|
|
|
MessageType_set, hf_index, ett_p772_MessageType);
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-10-22 17:16:15 +00:00
|
|
|
static const ber_sequence_t AddressListDesignatorSeq_sequence_of[1] = {
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_AddressListDesignatorSeq_item, BER_CLASS_UNI, BER_UNI_TAG_SET, BER_FLAGS_NOOWNTAG, dissect_p772_AddressListDesignator },
|
2006-05-08 17:46:58 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_AddressListDesignatorSeq(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2007-10-22 17:16:15 +00:00
|
|
|
offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
|
2011-02-20 17:03:29 +00:00
|
|
|
AddressListDesignatorSeq_sequence_of, hf_index, ett_p772_AddressListDesignatorSeq);
|
2006-05-08 17:46:58 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
|
2011-02-20 17:03:29 +00:00
|
|
|
static const value_string p772_OtherRecipientType_vals[] = {
|
2005-09-04 20:30:31 +00:00
|
|
|
{ 0, "primary" },
|
|
|
|
{ 1, "copy" },
|
|
|
|
{ 0, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_OtherRecipientType(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2007-05-15 05:49:43 +00:00
|
|
|
offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
|
2008-07-21 20:26:37 +00:00
|
|
|
NULL);
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-10-22 17:16:15 +00:00
|
|
|
static const ber_sequence_t OtherRecipientDesignator_set[] = {
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_other_recipient_type, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_p772_OtherRecipientType },
|
|
|
|
{ &hf_p772_designator , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_p772_MilitaryString },
|
2007-10-22 17:16:15 +00:00
|
|
|
{ NULL, 0, 0, 0, NULL }
|
2005-09-04 20:30:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_OtherRecipientDesignator(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2007-10-22 17:16:15 +00:00
|
|
|
offset = dissect_ber_set(implicit_tag, actx, tree, tvb, offset,
|
2011-02-20 17:03:29 +00:00
|
|
|
OtherRecipientDesignator_set, hf_index, ett_p772_OtherRecipientDesignator);
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
2006-05-08 17:46:58 +00:00
|
|
|
|
|
|
|
|
2007-10-22 17:16:15 +00:00
|
|
|
static const ber_sequence_t OtherRecipientDesignatorSeq_sequence_of[1] = {
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_OtherRecipientDesignatorSeq_item, BER_CLASS_UNI, BER_UNI_TAG_SET, BER_FLAGS_NOOWNTAG, dissect_p772_OtherRecipientDesignator },
|
2006-05-08 17:46:58 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_OtherRecipientDesignatorSeq(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2007-10-22 17:16:15 +00:00
|
|
|
offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
|
2011-02-20 17:03:29 +00:00
|
|
|
OtherRecipientDesignatorSeq_sequence_of, hf_index, ett_p772_OtherRecipientDesignatorSeq);
|
2006-05-08 17:46:58 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
|
2007-10-22 17:16:15 +00:00
|
|
|
static const ber_sequence_t SEQUENCE_OF_ORDescriptor_sequence_of[1] = {
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_pilotRecipient_item, BER_CLASS_UNI, BER_UNI_TAG_SET, BER_FLAGS_NOOWNTAG, dissect_p22_ORDescriptor },
|
2005-09-04 20:30:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_SEQUENCE_OF_ORDescriptor(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2007-10-22 17:16:15 +00:00
|
|
|
offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
|
2011-02-20 17:03:29 +00:00
|
|
|
SEQUENCE_OF_ORDescriptor_sequence_of, hf_index, ett_p772_SEQUENCE_OF_ORDescriptor);
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-10-22 17:16:15 +00:00
|
|
|
static const ber_sequence_t SEQUENCE_OF_MilitaryString_sequence_of[1] = {
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_pilotHandling_item, BER_CLASS_UNI, BER_UNI_TAG_PrintableString, BER_FLAGS_NOOWNTAG, dissect_p772_MilitaryString },
|
2005-09-04 20:30:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_SEQUENCE_OF_MilitaryString(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2007-10-22 17:16:15 +00:00
|
|
|
offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
|
2011-02-20 17:03:29 +00:00
|
|
|
SEQUENCE_OF_MilitaryString_sequence_of, hf_index, ett_p772_SEQUENCE_OF_MilitaryString);
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-10-22 17:16:15 +00:00
|
|
|
static const ber_sequence_t PilotInformation_sequence[] = {
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_pilotPrecedence, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_p772_MMHSPrecedence },
|
|
|
|
{ &hf_p772_pilotRecipient , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_p772_SEQUENCE_OF_ORDescriptor },
|
|
|
|
{ &hf_p772_pilotSecurity , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_p1_SecurityLabel },
|
|
|
|
{ &hf_p772_pilotHandling , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_p772_SEQUENCE_OF_MilitaryString },
|
2007-10-22 17:16:15 +00:00
|
|
|
{ NULL, 0, 0, 0, NULL }
|
2005-09-04 20:30:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_PilotInformation(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2007-10-22 17:16:15 +00:00
|
|
|
offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
|
2011-02-20 17:03:29 +00:00
|
|
|
PilotInformation_sequence, hf_index, ett_p772_PilotInformation);
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
2006-05-08 17:46:58 +00:00
|
|
|
|
|
|
|
|
2007-10-22 17:16:15 +00:00
|
|
|
static const ber_sequence_t PilotInformationSeq_sequence_of[1] = {
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_PilotInformationSeq_item, BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_p772_PilotInformation },
|
2006-05-08 17:46:58 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_PilotInformationSeq(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2007-10-22 17:16:15 +00:00
|
|
|
offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
|
2011-02-20 17:03:29 +00:00
|
|
|
PilotInformationSeq_sequence_of, hf_index, ett_p772_PilotInformationSeq);
|
2006-05-08 17:46:58 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_Acp127MessageIdentifier(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
offset = dissect_p772_MilitaryString(implicit_tag, tvb, offset, actx, tree, hf_index);
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_OriginatorPlad(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
offset = dissect_p772_MilitaryString(implicit_tag, tvb, offset, actx, tree, hf_index);
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_BodyPartSequenceNumber(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2007-05-15 05:49:43 +00:00
|
|
|
offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
|
2008-07-21 20:26:37 +00:00
|
|
|
NULL);
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-10-22 17:16:15 +00:00
|
|
|
static const ber_sequence_t BodyPartSecurityLabel_set[] = {
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_body_part_security_label, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_p1_SecurityLabel },
|
|
|
|
{ &hf_p772_body_part_sequence_number, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_p772_BodyPartSequenceNumber },
|
2007-10-22 17:16:15 +00:00
|
|
|
{ NULL, 0, 0, 0, NULL }
|
2005-09-04 20:30:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_BodyPartSecurityLabel(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2007-10-22 17:16:15 +00:00
|
|
|
offset = dissect_ber_set(implicit_tag, actx, tree, tvb, offset,
|
2011-02-20 17:03:29 +00:00
|
|
|
BodyPartSecurityLabel_set, hf_index, ett_p772_BodyPartSecurityLabel);
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-10-22 17:16:15 +00:00
|
|
|
static const ber_sequence_t SEQUENCE_OF_BodyPartSecurityLabel_sequence_of[1] = {
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_body_part_security_labels_item, BER_CLASS_UNI, BER_UNI_TAG_SET, BER_FLAGS_NOOWNTAG, dissect_p772_BodyPartSecurityLabel },
|
2005-09-04 20:30:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_SEQUENCE_OF_BodyPartSecurityLabel(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2007-10-22 17:16:15 +00:00
|
|
|
offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
|
2011-02-20 17:03:29 +00:00
|
|
|
SEQUENCE_OF_BodyPartSecurityLabel_sequence_of, hf_index, ett_p772_SEQUENCE_OF_BodyPartSecurityLabel);
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-10-22 17:16:15 +00:00
|
|
|
static const ber_sequence_t SecurityInformationLabels_sequence[] = {
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_content_security_label, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_p1_SecurityLabel },
|
|
|
|
{ &hf_p772_heading_security_label, BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_p1_SecurityLabel },
|
|
|
|
{ &hf_p772_body_part_security_labels, BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_p772_SEQUENCE_OF_BodyPartSecurityLabel },
|
2007-10-22 17:16:15 +00:00
|
|
|
{ NULL, 0, 0, 0, NULL }
|
2005-09-04 20:30:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_SecurityInformationLabels(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2007-10-22 17:16:15 +00:00
|
|
|
offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
|
2011-02-20 17:03:29 +00:00
|
|
|
SecurityInformationLabels_sequence, hf_index, ett_p772_SecurityInformationLabels);
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
2005-11-16 07:13:12 +00:00
|
|
|
|
2011-02-20 17:03:29 +00:00
|
|
|
static const value_string p772_PriorityLevelQualifier_vals[] = {
|
2005-11-16 07:13:12 +00:00
|
|
|
{ 0, "low" },
|
|
|
|
{ 1, "high" },
|
|
|
|
{ 0, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_PriorityLevelQualifier(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2007-05-15 05:49:43 +00:00
|
|
|
offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
|
2005-11-16 07:13:12 +00:00
|
|
|
NULL);
|
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
2010-01-09 20:52:47 +00:00
|
|
|
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_ADatP3Parameters(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2010-01-09 20:52:47 +00:00
|
|
|
offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
|
|
|
|
NULL);
|
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_IA5String(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2010-01-09 20:52:47 +00:00
|
|
|
offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_IA5String,
|
|
|
|
actx, tree, tvb, offset, hf_index,
|
|
|
|
NULL);
|
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static const ber_sequence_t T_setOriented_sequence_of[1] = {
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_setOriented_item, BER_CLASS_UNI, BER_UNI_TAG_IA5String, BER_FLAGS_NOOWNTAG, dissect_p772_IA5String },
|
2010-01-09 20:52:47 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_T_setOriented(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2010-01-09 20:52:47 +00:00
|
|
|
offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset,
|
2011-02-20 17:03:29 +00:00
|
|
|
T_setOriented_sequence_of, hf_index, ett_p772_T_setOriented);
|
2010-01-09 20:52:47 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2011-02-20 17:03:29 +00:00
|
|
|
static const value_string p772_ADatP3Data_vals[] = {
|
2010-01-09 20:52:47 +00:00
|
|
|
{ 0, "lineOriented" },
|
|
|
|
{ 1, "setOriented" },
|
|
|
|
{ 0, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
static const ber_choice_t ADatP3Data_choice[] = {
|
2011-02-20 17:03:29 +00:00
|
|
|
{ 0, &hf_p772_lineOriented , BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_p772_IA5String },
|
|
|
|
{ 1, &hf_p772_setOriented , BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_p772_T_setOriented },
|
2010-01-09 20:52:47 +00:00
|
|
|
{ 0, NULL, 0, 0, 0, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_ADatP3Data(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2010-01-09 20:52:47 +00:00
|
|
|
offset = dissect_ber_choice(actx, tree, tvb, offset,
|
2011-02-20 17:03:29 +00:00
|
|
|
ADatP3Data_choice, hf_index, ett_p772_ADatP3Data,
|
2010-01-09 20:52:47 +00:00
|
|
|
NULL);
|
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_CorrectionsParameters(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2010-01-09 20:52:47 +00:00
|
|
|
offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
|
|
|
|
NULL);
|
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_CorrectionsData(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2010-01-09 20:52:47 +00:00
|
|
|
offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_IA5String,
|
|
|
|
actx, tree, tvb, offset, hf_index,
|
|
|
|
NULL);
|
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static const ber_sequence_t ForwardedEncryptedParameters_set[] = {
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_delivery_time , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_p1_MessageDeliveryTime },
|
|
|
|
{ &hf_p772_delivery_envelope, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_p1_OtherMessageDeliveryFields },
|
2010-01-09 20:52:47 +00:00
|
|
|
{ NULL, 0, 0, 0, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_ForwardedEncryptedParameters(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2010-01-09 20:52:47 +00:00
|
|
|
offset = dissect_ber_set(implicit_tag, actx, tree, tvb, offset,
|
2011-02-20 17:03:29 +00:00
|
|
|
ForwardedEncryptedParameters_set, hf_index, ett_p772_ForwardedEncryptedParameters);
|
2010-01-09 20:52:47 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_ForwardedEncryptedData(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2010-01-09 20:52:47 +00:00
|
|
|
offset = dissect_ber_bitstring(implicit_tag, actx, tree, tvb, offset,
|
|
|
|
NULL, hf_index, -1,
|
|
|
|
NULL);
|
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static const ber_sequence_t MMMessageParameters_set[] = {
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_delivery_time , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_p1_MessageDeliveryTime },
|
|
|
|
{ &hf_p772_delivery_envelope, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_p1_OtherMessageDeliveryFields },
|
2010-01-09 20:52:47 +00:00
|
|
|
{ NULL, 0, 0, 0, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_MMMessageParameters(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2010-01-09 20:52:47 +00:00
|
|
|
offset = dissect_ber_set(implicit_tag, actx, tree, tvb, offset,
|
2011-02-20 17:03:29 +00:00
|
|
|
MMMessageParameters_set, hf_index, ett_p772_MMMessageParameters);
|
2010-01-09 20:52:47 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_MMMessageData(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
offset = dissect_p22_IPM(implicit_tag, tvb, offset, actx, tree, hf_index);
|
2010-01-09 20:52:47 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_ACP127DataParameters(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2010-01-09 20:52:47 +00:00
|
|
|
offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
|
|
|
|
NULL);
|
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static int
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_ACP127DataData(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2010-01-09 20:52:47 +00:00
|
|
|
offset = dissect_ber_constrained_restricted_string(implicit_tag, BER_UNI_TAG_IA5String,
|
|
|
|
actx, tree, tvb, offset,
|
|
|
|
1, ub_data_size, hf_index, NULL);
|
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
2005-09-04 20:30:31 +00:00
|
|
|
/*--- PDUs ---*/
|
|
|
|
|
2014-10-06 13:31:47 +00:00
|
|
|
static int dissect_InformationObject_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
|
|
|
|
int offset = 0;
|
2007-05-13 20:58:29 +00:00
|
|
|
asn1_ctx_t asn1_ctx;
|
|
|
|
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
|
2014-10-06 13:31:47 +00:00
|
|
|
offset = dissect_p772_InformationObject(FALSE, tvb, offset, &asn1_ctx, tree, hf_p772_InformationObject_PDU);
|
|
|
|
return offset;
|
2006-05-08 17:46:58 +00:00
|
|
|
}
|
2014-10-06 13:31:47 +00:00
|
|
|
static int dissect_Acp127NotificationResponse_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
|
|
|
|
int offset = 0;
|
2007-05-13 20:58:29 +00:00
|
|
|
asn1_ctx_t asn1_ctx;
|
|
|
|
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
|
2014-10-06 13:31:47 +00:00
|
|
|
offset = dissect_p772_Acp127NotificationResponse(FALSE, tvb, offset, &asn1_ctx, tree, hf_p772_Acp127NotificationResponse_PDU);
|
|
|
|
return offset;
|
2006-05-08 17:46:58 +00:00
|
|
|
}
|
2014-10-06 13:31:47 +00:00
|
|
|
static int dissect_ExemptedAddressSeq_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
|
|
|
|
int offset = 0;
|
2007-05-13 20:58:29 +00:00
|
|
|
asn1_ctx_t asn1_ctx;
|
|
|
|
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
|
2014-10-06 13:31:47 +00:00
|
|
|
offset = dissect_p772_ExemptedAddressSeq(FALSE, tvb, offset, &asn1_ctx, tree, hf_p772_ExemptedAddressSeq_PDU);
|
|
|
|
return offset;
|
2006-05-08 17:46:58 +00:00
|
|
|
}
|
2014-10-06 13:31:47 +00:00
|
|
|
static int dissect_ExtendedAuthorisationInfo_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
|
|
|
|
int offset = 0;
|
2007-05-13 20:58:29 +00:00
|
|
|
asn1_ctx_t asn1_ctx;
|
|
|
|
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
|
2014-10-06 13:31:47 +00:00
|
|
|
offset = dissect_p772_ExtendedAuthorisationInfo(FALSE, tvb, offset, &asn1_ctx, tree, hf_p772_ExtendedAuthorisationInfo_PDU);
|
|
|
|
return offset;
|
2005-09-04 20:30:31 +00:00
|
|
|
}
|
2014-10-06 13:31:47 +00:00
|
|
|
static int dissect_DistributionCodes_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
|
|
|
|
int offset = 0;
|
2007-05-13 20:58:29 +00:00
|
|
|
asn1_ctx_t asn1_ctx;
|
|
|
|
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
|
2014-10-06 13:31:47 +00:00
|
|
|
offset = dissect_p772_DistributionCodes(FALSE, tvb, offset, &asn1_ctx, tree, hf_p772_DistributionCodes_PDU);
|
|
|
|
return offset;
|
2005-09-04 20:30:31 +00:00
|
|
|
}
|
2014-10-06 13:31:47 +00:00
|
|
|
static int dissect_HandlingInstructions_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
|
|
|
|
int offset = 0;
|
2007-05-13 20:58:29 +00:00
|
|
|
asn1_ctx_t asn1_ctx;
|
|
|
|
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
|
2014-10-06 13:31:47 +00:00
|
|
|
offset = dissect_p772_HandlingInstructions(FALSE, tvb, offset, &asn1_ctx, tree, hf_p772_HandlingInstructions_PDU);
|
|
|
|
return offset;
|
2005-09-04 20:30:31 +00:00
|
|
|
}
|
2014-10-06 13:31:47 +00:00
|
|
|
static int dissect_MessageInstructions_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
|
|
|
|
int offset = 0;
|
2007-05-13 20:58:29 +00:00
|
|
|
asn1_ctx_t asn1_ctx;
|
|
|
|
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
|
2014-10-06 13:31:47 +00:00
|
|
|
offset = dissect_p772_MessageInstructions(FALSE, tvb, offset, &asn1_ctx, tree, hf_p772_MessageInstructions_PDU);
|
|
|
|
return offset;
|
2005-09-04 20:30:31 +00:00
|
|
|
}
|
2014-10-06 13:31:47 +00:00
|
|
|
static int dissect_CodressMessage_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
|
|
|
|
int offset = 0;
|
2007-05-13 20:58:29 +00:00
|
|
|
asn1_ctx_t asn1_ctx;
|
|
|
|
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
|
2014-10-06 13:31:47 +00:00
|
|
|
offset = dissect_p772_CodressMessage(FALSE, tvb, offset, &asn1_ctx, tree, hf_p772_CodressMessage_PDU);
|
|
|
|
return offset;
|
2005-09-04 20:30:31 +00:00
|
|
|
}
|
2014-10-06 13:31:47 +00:00
|
|
|
static int dissect_OriginatorReference_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
|
|
|
|
int offset = 0;
|
2007-05-13 20:58:29 +00:00
|
|
|
asn1_ctx_t asn1_ctx;
|
|
|
|
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
|
2014-10-06 13:31:47 +00:00
|
|
|
offset = dissect_p772_OriginatorReference(FALSE, tvb, offset, &asn1_ctx, tree, hf_p772_OriginatorReference_PDU);
|
|
|
|
return offset;
|
2005-09-04 20:30:31 +00:00
|
|
|
}
|
2014-10-06 13:31:47 +00:00
|
|
|
static int dissect_PrimaryPrecedence_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
|
|
|
|
int offset = 0;
|
2007-05-13 20:58:29 +00:00
|
|
|
asn1_ctx_t asn1_ctx;
|
|
|
|
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
|
2014-10-06 13:31:47 +00:00
|
|
|
offset = dissect_p772_PrimaryPrecedence(FALSE, tvb, offset, &asn1_ctx, tree, hf_p772_PrimaryPrecedence_PDU);
|
|
|
|
return offset;
|
2005-11-16 07:13:12 +00:00
|
|
|
}
|
2014-10-06 13:31:47 +00:00
|
|
|
static int dissect_CopyPrecedence_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
|
|
|
|
int offset = 0;
|
2007-05-13 20:58:29 +00:00
|
|
|
asn1_ctx_t asn1_ctx;
|
|
|
|
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
|
2014-10-06 13:31:47 +00:00
|
|
|
offset = dissect_p772_CopyPrecedence(FALSE, tvb, offset, &asn1_ctx, tree, hf_p772_CopyPrecedence_PDU);
|
|
|
|
return offset;
|
2005-09-04 20:30:31 +00:00
|
|
|
}
|
2014-10-06 13:31:47 +00:00
|
|
|
static int dissect_MessageType_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
|
|
|
|
int offset = 0;
|
2007-05-13 20:58:29 +00:00
|
|
|
asn1_ctx_t asn1_ctx;
|
|
|
|
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
|
2014-10-06 13:31:47 +00:00
|
|
|
offset = dissect_p772_MessageType(FALSE, tvb, offset, &asn1_ctx, tree, hf_p772_MessageType_PDU);
|
|
|
|
return offset;
|
2005-09-04 20:30:31 +00:00
|
|
|
}
|
2014-10-06 13:31:47 +00:00
|
|
|
static int dissect_AddressListDesignatorSeq_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
|
|
|
|
int offset = 0;
|
2007-05-13 20:58:29 +00:00
|
|
|
asn1_ctx_t asn1_ctx;
|
|
|
|
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
|
2014-10-06 13:31:47 +00:00
|
|
|
offset = dissect_p772_AddressListDesignatorSeq(FALSE, tvb, offset, &asn1_ctx, tree, hf_p772_AddressListDesignatorSeq_PDU);
|
|
|
|
return offset;
|
2006-05-08 17:46:58 +00:00
|
|
|
}
|
2014-10-06 13:31:47 +00:00
|
|
|
static int dissect_OtherRecipientDesignatorSeq_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
|
|
|
|
int offset = 0;
|
2007-05-13 20:58:29 +00:00
|
|
|
asn1_ctx_t asn1_ctx;
|
|
|
|
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
|
2014-10-06 13:31:47 +00:00
|
|
|
offset = dissect_p772_OtherRecipientDesignatorSeq(FALSE, tvb, offset, &asn1_ctx, tree, hf_p772_OtherRecipientDesignatorSeq_PDU);
|
|
|
|
return offset;
|
2006-05-08 17:46:58 +00:00
|
|
|
}
|
2014-10-06 13:31:47 +00:00
|
|
|
static int dissect_PilotInformationSeq_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
|
|
|
|
int offset = 0;
|
2007-05-13 20:58:29 +00:00
|
|
|
asn1_ctx_t asn1_ctx;
|
|
|
|
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
|
2014-10-06 13:31:47 +00:00
|
|
|
offset = dissect_p772_PilotInformationSeq(FALSE, tvb, offset, &asn1_ctx, tree, hf_p772_PilotInformationSeq_PDU);
|
|
|
|
return offset;
|
2006-05-08 17:46:58 +00:00
|
|
|
}
|
2014-10-06 13:31:47 +00:00
|
|
|
static int dissect_Acp127MessageIdentifier_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
|
|
|
|
int offset = 0;
|
2007-05-13 20:58:29 +00:00
|
|
|
asn1_ctx_t asn1_ctx;
|
|
|
|
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
|
2014-10-06 13:31:47 +00:00
|
|
|
offset = dissect_p772_Acp127MessageIdentifier(FALSE, tvb, offset, &asn1_ctx, tree, hf_p772_Acp127MessageIdentifier_PDU);
|
|
|
|
return offset;
|
2005-09-04 20:30:31 +00:00
|
|
|
}
|
2014-10-06 13:31:47 +00:00
|
|
|
static int dissect_OriginatorPlad_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
|
|
|
|
int offset = 0;
|
2007-05-13 20:58:29 +00:00
|
|
|
asn1_ctx_t asn1_ctx;
|
|
|
|
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
|
2014-10-06 13:31:47 +00:00
|
|
|
offset = dissect_p772_OriginatorPlad(FALSE, tvb, offset, &asn1_ctx, tree, hf_p772_OriginatorPlad_PDU);
|
|
|
|
return offset;
|
2005-09-04 20:30:31 +00:00
|
|
|
}
|
2014-10-06 13:31:47 +00:00
|
|
|
static int dissect_SecurityInformationLabels_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
|
|
|
|
int offset = 0;
|
2007-05-13 20:58:29 +00:00
|
|
|
asn1_ctx_t asn1_ctx;
|
|
|
|
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
|
2014-10-06 13:31:47 +00:00
|
|
|
offset = dissect_p772_SecurityInformationLabels(FALSE, tvb, offset, &asn1_ctx, tree, hf_p772_SecurityInformationLabels_PDU);
|
|
|
|
return offset;
|
2005-09-04 20:30:31 +00:00
|
|
|
}
|
2014-10-06 13:31:47 +00:00
|
|
|
static int dissect_PriorityLevelQualifier_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
|
|
|
|
int offset = 0;
|
2007-05-13 20:58:29 +00:00
|
|
|
asn1_ctx_t asn1_ctx;
|
|
|
|
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
|
2014-10-06 13:31:47 +00:00
|
|
|
offset = dissect_p772_PriorityLevelQualifier(FALSE, tvb, offset, &asn1_ctx, tree, hf_p772_PriorityLevelQualifier_PDU);
|
|
|
|
return offset;
|
2005-11-16 07:13:12 +00:00
|
|
|
}
|
2014-10-06 13:31:47 +00:00
|
|
|
static int dissect_ADatP3Parameters_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
|
|
|
|
int offset = 0;
|
2010-01-09 20:52:47 +00:00
|
|
|
asn1_ctx_t asn1_ctx;
|
|
|
|
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
|
2014-10-06 13:31:47 +00:00
|
|
|
offset = dissect_p772_ADatP3Parameters(FALSE, tvb, offset, &asn1_ctx, tree, hf_p772_ADatP3Parameters_PDU);
|
|
|
|
return offset;
|
2010-01-09 20:52:47 +00:00
|
|
|
}
|
2014-10-06 13:31:47 +00:00
|
|
|
static int dissect_ADatP3Data_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
|
|
|
|
int offset = 0;
|
2010-01-09 20:52:47 +00:00
|
|
|
asn1_ctx_t asn1_ctx;
|
|
|
|
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
|
2014-10-06 13:31:47 +00:00
|
|
|
offset = dissect_p772_ADatP3Data(FALSE, tvb, offset, &asn1_ctx, tree, hf_p772_ADatP3Data_PDU);
|
|
|
|
return offset;
|
2010-01-09 20:52:47 +00:00
|
|
|
}
|
2014-10-06 13:31:47 +00:00
|
|
|
static int dissect_CorrectionsParameters_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
|
|
|
|
int offset = 0;
|
2010-01-09 20:52:47 +00:00
|
|
|
asn1_ctx_t asn1_ctx;
|
|
|
|
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
|
2014-10-06 13:31:47 +00:00
|
|
|
offset = dissect_p772_CorrectionsParameters(FALSE, tvb, offset, &asn1_ctx, tree, hf_p772_CorrectionsParameters_PDU);
|
|
|
|
return offset;
|
2010-01-09 20:52:47 +00:00
|
|
|
}
|
2014-10-06 13:31:47 +00:00
|
|
|
static int dissect_CorrectionsData_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
|
|
|
|
int offset = 0;
|
2010-01-09 20:52:47 +00:00
|
|
|
asn1_ctx_t asn1_ctx;
|
|
|
|
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
|
2014-10-06 13:31:47 +00:00
|
|
|
offset = dissect_p772_CorrectionsData(FALSE, tvb, offset, &asn1_ctx, tree, hf_p772_CorrectionsData_PDU);
|
|
|
|
return offset;
|
2010-01-09 20:52:47 +00:00
|
|
|
}
|
2014-10-06 13:31:47 +00:00
|
|
|
static int dissect_ForwardedEncryptedParameters_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
|
|
|
|
int offset = 0;
|
2010-01-09 20:52:47 +00:00
|
|
|
asn1_ctx_t asn1_ctx;
|
|
|
|
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
|
2014-10-06 13:31:47 +00:00
|
|
|
offset = dissect_p772_ForwardedEncryptedParameters(FALSE, tvb, offset, &asn1_ctx, tree, hf_p772_ForwardedEncryptedParameters_PDU);
|
|
|
|
return offset;
|
2010-01-09 20:52:47 +00:00
|
|
|
}
|
2014-10-06 13:31:47 +00:00
|
|
|
static int dissect_ForwardedEncryptedData_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
|
|
|
|
int offset = 0;
|
2010-01-09 20:52:47 +00:00
|
|
|
asn1_ctx_t asn1_ctx;
|
|
|
|
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
|
2014-10-06 13:31:47 +00:00
|
|
|
offset = dissect_p772_ForwardedEncryptedData(FALSE, tvb, offset, &asn1_ctx, tree, hf_p772_ForwardedEncryptedData_PDU);
|
|
|
|
return offset;
|
2010-01-09 20:52:47 +00:00
|
|
|
}
|
2014-10-06 13:31:47 +00:00
|
|
|
static int dissect_MMMessageParameters_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
|
|
|
|
int offset = 0;
|
2010-01-09 20:52:47 +00:00
|
|
|
asn1_ctx_t asn1_ctx;
|
|
|
|
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
|
2014-10-06 13:31:47 +00:00
|
|
|
offset = dissect_p772_MMMessageParameters(FALSE, tvb, offset, &asn1_ctx, tree, hf_p772_MMMessageParameters_PDU);
|
|
|
|
return offset;
|
2010-01-09 20:52:47 +00:00
|
|
|
}
|
2014-10-06 13:31:47 +00:00
|
|
|
static int dissect_MMMessageData_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
|
|
|
|
int offset = 0;
|
2010-01-09 20:52:47 +00:00
|
|
|
asn1_ctx_t asn1_ctx;
|
|
|
|
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
|
2014-10-06 13:31:47 +00:00
|
|
|
offset = dissect_p772_MMMessageData(FALSE, tvb, offset, &asn1_ctx, tree, hf_p772_MMMessageData_PDU);
|
|
|
|
return offset;
|
2010-01-09 20:52:47 +00:00
|
|
|
}
|
2014-10-06 13:31:47 +00:00
|
|
|
static int dissect_ACP127DataParameters_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
|
|
|
|
int offset = 0;
|
2010-01-09 20:52:47 +00:00
|
|
|
asn1_ctx_t asn1_ctx;
|
|
|
|
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
|
2014-10-06 13:31:47 +00:00
|
|
|
offset = dissect_p772_ACP127DataParameters(FALSE, tvb, offset, &asn1_ctx, tree, hf_p772_ACP127DataParameters_PDU);
|
|
|
|
return offset;
|
2010-01-09 20:52:47 +00:00
|
|
|
}
|
2014-10-06 13:31:47 +00:00
|
|
|
static int dissect_ACP127DataData_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
|
|
|
|
int offset = 0;
|
2010-01-09 20:52:47 +00:00
|
|
|
asn1_ctx_t asn1_ctx;
|
|
|
|
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
|
2014-10-06 13:31:47 +00:00
|
|
|
offset = dissect_p772_ACP127DataData(FALSE, tvb, offset, &asn1_ctx, tree, hf_p772_ACP127DataData_PDU);
|
|
|
|
return offset;
|
2010-01-09 20:52:47 +00:00
|
|
|
}
|
2014-10-06 13:31:47 +00:00
|
|
|
static int dissect_Acp127NotificationType_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
|
|
|
|
int offset = 0;
|
2010-01-09 20:52:47 +00:00
|
|
|
asn1_ctx_t asn1_ctx;
|
|
|
|
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
|
2014-10-06 13:31:47 +00:00
|
|
|
offset = dissect_p772_Acp127NotificationType(FALSE, tvb, offset, &asn1_ctx, tree, hf_p772_Acp127NotificationType_PDU);
|
|
|
|
return offset;
|
2010-01-09 20:52:47 +00:00
|
|
|
}
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
|
2011-02-20 17:03:29 +00:00
|
|
|
/*--- End of included file: packet-p772-fn.c ---*/
|
2014-12-23 05:32:58 +00:00
|
|
|
#line 57 "../../asn1/p772/packet-p772-template.c"
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
|
2005-10-24 21:42:19 +00:00
|
|
|
/*
|
|
|
|
* Dissect STANAG 4406 PDUs inside a PPDU.
|
|
|
|
*/
|
|
|
|
static void
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
|
2005-10-24 21:42:19 +00:00
|
|
|
{
|
|
|
|
int offset = 0;
|
|
|
|
proto_item *item=NULL;
|
|
|
|
proto_tree *tree=NULL;
|
2007-05-13 20:58:29 +00:00
|
|
|
asn1_ctx_t asn1_ctx;
|
|
|
|
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
|
2005-10-24 21:42:19 +00:00
|
|
|
|
|
|
|
if(parent_tree){
|
2011-07-19 18:48:31 +00:00
|
|
|
item = proto_tree_add_item(parent_tree, proto_p772, tvb, 0, -1, ENC_NA);
|
2011-02-20 17:03:29 +00:00
|
|
|
tree = proto_item_add_subtree(item, ett_p772);
|
2005-10-24 21:42:19 +00:00
|
|
|
}
|
|
|
|
|
2011-02-20 17:03:29 +00:00
|
|
|
col_set_str(pinfo->cinfo, COL_PROTOCOL, "P772");
|
2009-08-09 07:01:26 +00:00
|
|
|
col_set_str(pinfo->cinfo, COL_INFO, "Military");
|
2005-10-24 21:42:19 +00:00
|
|
|
|
2011-02-20 17:03:29 +00:00
|
|
|
dissect_p772_InformationObject(TRUE, tvb, offset, &asn1_ctx , tree, -1);
|
2005-10-24 21:42:19 +00:00
|
|
|
}
|
|
|
|
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
|
2011-02-20 17:03:29 +00:00
|
|
|
/*--- proto_register_p772 -------------------------------------------*/
|
|
|
|
void proto_register_p772(void) {
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
/* List of fields */
|
|
|
|
static hf_register_info hf[] =
|
|
|
|
{
|
|
|
|
|
2011-02-20 17:03:29 +00:00
|
|
|
/*--- Included file: packet-p772-hfarr.c ---*/
|
2011-05-13 08:12:27 +00:00
|
|
|
#line 1 "../../asn1/p772/packet-p772-hfarr.c"
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_InformationObject_PDU,
|
|
|
|
{ "InformationObject", "p772.InformationObject",
|
|
|
|
FT_UINT32, BASE_DEC, VALS(p22_InformationObject_vals), 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_Acp127NotificationResponse_PDU,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "Acp127NotificationResponse", "p772.Acp127NotificationResponse_element",
|
2006-05-08 17:46:58 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_ExemptedAddressSeq_PDU,
|
|
|
|
{ "ExemptedAddressSeq", "p772.ExemptedAddressSeq",
|
2007-06-27 17:42:41 +00:00
|
|
|
FT_UINT32, BASE_DEC, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_ExtendedAuthorisationInfo_PDU,
|
|
|
|
{ "ExtendedAuthorisationInfo", "p772.ExtendedAuthorisationInfo",
|
2005-09-04 20:30:31 +00:00
|
|
|
FT_STRING, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_DistributionCodes_PDU,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "DistributionCodes", "p772.DistributionCodes_element",
|
2005-09-04 20:30:31 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_HandlingInstructions_PDU,
|
|
|
|
{ "HandlingInstructions", "p772.HandlingInstructions",
|
2005-09-04 20:30:31 +00:00
|
|
|
FT_UINT32, BASE_DEC, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_MessageInstructions_PDU,
|
|
|
|
{ "MessageInstructions", "p772.MessageInstructions",
|
2005-09-04 20:30:31 +00:00
|
|
|
FT_UINT32, BASE_DEC, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_CodressMessage_PDU,
|
|
|
|
{ "CodressMessage", "p772.CodressMessage",
|
2005-09-04 20:30:31 +00:00
|
|
|
FT_INT32, BASE_DEC, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_OriginatorReference_PDU,
|
|
|
|
{ "OriginatorReference", "p772.OriginatorReference",
|
2005-09-04 20:30:31 +00:00
|
|
|
FT_STRING, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_PrimaryPrecedence_PDU,
|
|
|
|
{ "PrimaryPrecedence", "p772.PrimaryPrecedence",
|
|
|
|
FT_INT32, BASE_DEC, VALS(p772_PrimaryPrecedence_vals), 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_CopyPrecedence_PDU,
|
|
|
|
{ "CopyPrecedence", "p772.CopyPrecedence",
|
|
|
|
FT_INT32, BASE_DEC, VALS(p772_CopyPrecedence_vals), 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_MessageType_PDU,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "MessageType", "p772.MessageType_element",
|
2005-09-04 20:30:31 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_AddressListDesignatorSeq_PDU,
|
|
|
|
{ "AddressListDesignatorSeq", "p772.AddressListDesignatorSeq",
|
2006-05-08 17:46:58 +00:00
|
|
|
FT_UINT32, BASE_DEC, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_OtherRecipientDesignatorSeq_PDU,
|
|
|
|
{ "OtherRecipientDesignatorSeq", "p772.OtherRecipientDesignatorSeq",
|
2006-05-08 17:46:58 +00:00
|
|
|
FT_UINT32, BASE_DEC, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_PilotInformationSeq_PDU,
|
|
|
|
{ "PilotInformationSeq", "p772.PilotInformationSeq",
|
2006-05-08 17:46:58 +00:00
|
|
|
FT_UINT32, BASE_DEC, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_Acp127MessageIdentifier_PDU,
|
|
|
|
{ "Acp127MessageIdentifier", "p772.Acp127MessageIdentifier",
|
2005-09-04 20:30:31 +00:00
|
|
|
FT_STRING, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_OriginatorPlad_PDU,
|
|
|
|
{ "OriginatorPlad", "p772.OriginatorPlad",
|
2005-09-04 20:30:31 +00:00
|
|
|
FT_STRING, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_SecurityInformationLabels_PDU,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "SecurityInformationLabels", "p772.SecurityInformationLabels_element",
|
2005-09-04 20:30:31 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_PriorityLevelQualifier_PDU,
|
|
|
|
{ "PriorityLevelQualifier", "p772.PriorityLevelQualifier",
|
|
|
|
FT_UINT32, BASE_DEC, VALS(p772_PriorityLevelQualifier_vals), 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_ADatP3Parameters_PDU,
|
|
|
|
{ "ADatP3Parameters", "p772.ADatP3Parameters",
|
2010-01-09 20:52:47 +00:00
|
|
|
FT_INT32, BASE_DEC, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_ADatP3Data_PDU,
|
|
|
|
{ "ADatP3Data", "p772.ADatP3Data",
|
|
|
|
FT_UINT32, BASE_DEC, VALS(p772_ADatP3Data_vals), 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_CorrectionsParameters_PDU,
|
|
|
|
{ "CorrectionsParameters", "p772.CorrectionsParameters",
|
2010-01-09 20:52:47 +00:00
|
|
|
FT_INT32, BASE_DEC, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_CorrectionsData_PDU,
|
|
|
|
{ "CorrectionsData", "p772.CorrectionsData",
|
2010-01-09 20:52:47 +00:00
|
|
|
FT_STRING, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_ForwardedEncryptedParameters_PDU,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "ForwardedEncryptedParameters", "p772.ForwardedEncryptedParameters_element",
|
2010-01-09 20:52:47 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_ForwardedEncryptedData_PDU,
|
|
|
|
{ "ForwardedEncryptedData", "p772.ForwardedEncryptedData",
|
2010-01-09 20:52:47 +00:00
|
|
|
FT_BYTES, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_MMMessageParameters_PDU,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "MMMessageParameters", "p772.MMMessageParameters_element",
|
2010-01-09 20:52:47 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_MMMessageData_PDU,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "MMMessageData", "p772.MMMessageData_element",
|
2010-01-09 20:52:47 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_ACP127DataParameters_PDU,
|
|
|
|
{ "ACP127DataParameters", "p772.ACP127DataParameters",
|
2010-01-09 20:52:47 +00:00
|
|
|
FT_INT32, BASE_DEC, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_ACP127DataData_PDU,
|
|
|
|
{ "ACP127DataData", "p772.ACP127DataData",
|
2010-01-09 20:52:47 +00:00
|
|
|
FT_STRING, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_Acp127NotificationType_PDU,
|
|
|
|
{ "Acp127NotificationType", "p772.Acp127NotificationType",
|
2010-01-09 20:52:47 +00:00
|
|
|
FT_BYTES, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_mm,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "mm", "p772.mm_element",
|
2006-05-08 17:46:58 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
"IPM", HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_mn,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "mn", "p772.mn_element",
|
2006-05-08 17:46:58 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
"IPN", HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_acp127_notification_type,
|
|
|
|
{ "acp127-notification-type", "p772.acp127_notification_type",
|
2010-01-09 20:52:47 +00:00
|
|
|
FT_BYTES, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
"Acp127NotificationType", HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_receipt_time,
|
|
|
|
{ "receipt-time", "p772.receipt_time",
|
2010-01-09 20:52:47 +00:00
|
|
|
FT_STRING, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
"ReceiptTimeField", HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_addressListIndicator,
|
|
|
|
{ "addressListIndicator", "p772.addressListIndicator",
|
2010-01-09 20:52:47 +00:00
|
|
|
FT_UINT32, BASE_DEC, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_acp127_recipient,
|
|
|
|
{ "acp127-recipient", "p772.acp127_recipient",
|
2010-01-09 20:52:47 +00:00
|
|
|
FT_STRING, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
"Acp127Recipient", HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_acp127_supp_info,
|
|
|
|
{ "acp127-supp-info", "p772.acp127_supp_info",
|
2010-01-09 20:52:47 +00:00
|
|
|
FT_STRING, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
"Acp127SuppInfo", HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_AddressListIndicator_item,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "AddressListDesignator", "p772.AddressListDesignator_element",
|
2010-01-09 20:52:47 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_ExemptedAddressSeq_item,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "ExemptedAddress", "p772.ExemptedAddress_element",
|
2007-06-27 17:42:41 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_sics,
|
|
|
|
{ "sics", "p772.sics",
|
2005-09-04 20:30:31 +00:00
|
|
|
FT_UINT32, BASE_DEC, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
"SEQUENCE_SIZE_1_ub_military_number_of_sics_OF_Sic", HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_sics_item,
|
|
|
|
{ "Sic", "p772.Sic",
|
2005-09-04 20:30:31 +00:00
|
|
|
FT_STRING, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_dist_Extensions,
|
|
|
|
{ "dist-Extensions", "p772.dist_Extensions",
|
2005-09-04 20:30:31 +00:00
|
|
|
FT_UINT32, BASE_DEC, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
"SEQUENCE_OF_DistributionExtensionField", HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_dist_Extensions_item,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "DistributionExtensionField", "p772.DistributionExtensionField_element",
|
2005-09-04 20:30:31 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_dist_type,
|
|
|
|
{ "dist-type", "p772.dist_type",
|
2010-02-23 08:04:48 +00:00
|
|
|
FT_OID, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
"OBJECT_IDENTIFIER", HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_dist_value,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "dist-value", "p772.dist_value_element",
|
2010-02-23 08:04:48 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
"T_dist_value", HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_HandlingInstructions_item,
|
|
|
|
{ "MilitaryString", "p772.MilitaryString",
|
2005-09-04 20:30:31 +00:00
|
|
|
FT_STRING, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_MessageInstructions_item,
|
|
|
|
{ "MilitaryString", "p772.MilitaryString",
|
2005-09-04 20:30:31 +00:00
|
|
|
FT_STRING, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_message_type_type,
|
|
|
|
{ "type", "p772.type",
|
|
|
|
FT_INT32, BASE_DEC, VALS(p772_TypeMessage_vals), 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
"TypeMessage", HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_identifier,
|
|
|
|
{ "identifier", "p772.identifier",
|
2005-09-04 20:30:31 +00:00
|
|
|
FT_STRING, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
"MessageIdentifier", HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_AddressListDesignatorSeq_item,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "AddressListDesignator", "p772.AddressListDesignator_element",
|
2006-05-08 17:46:58 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_address_list_type,
|
|
|
|
{ "type", "p772.type",
|
|
|
|
FT_INT32, BASE_DEC, VALS(p772_AddressListType_vals), 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
"AddressListType", HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_listName,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "listName", "p772.listName_element",
|
2005-09-04 20:30:31 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
"ORDescriptor", HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_notificationRequest,
|
|
|
|
{ "notificationRequest", "p772.notificationRequest",
|
|
|
|
FT_INT32, BASE_DEC, VALS(p772_AddressListRequest_vals), 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
"AddressListRequest", HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_replyRequest,
|
|
|
|
{ "replyRequest", "p772.replyRequest",
|
|
|
|
FT_INT32, BASE_DEC, VALS(p772_AddressListRequest_vals), 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
"AddressListRequest", HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_OtherRecipientDesignatorSeq_item,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "OtherRecipientDesignator", "p772.OtherRecipientDesignator_element",
|
2006-05-08 17:46:58 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_other_recipient_type,
|
|
|
|
{ "type", "p772.type",
|
|
|
|
FT_INT32, BASE_DEC, VALS(p772_OtherRecipientType_vals), 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
"OtherRecipientType", HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_designator,
|
|
|
|
{ "designator", "p772.designator",
|
2005-09-04 20:30:31 +00:00
|
|
|
FT_STRING, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
"MilitaryString", HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_PilotInformationSeq_item,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "PilotInformation", "p772.PilotInformation_element",
|
2006-05-08 17:46:58 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_pilotPrecedence,
|
|
|
|
{ "pilotPrecedence", "p772.pilotPrecedence",
|
|
|
|
FT_INT32, BASE_DEC, VALS(p772_MMHSPrecedence_vals), 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
"MMHSPrecedence", HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_pilotRecipient,
|
|
|
|
{ "pilotRecipient", "p772.pilotRecipient",
|
2005-09-04 20:30:31 +00:00
|
|
|
FT_UINT32, BASE_DEC, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
"SEQUENCE_OF_ORDescriptor", HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_pilotRecipient_item,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "ORDescriptor", "p772.ORDescriptor_element",
|
2005-09-04 20:30:31 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_pilotSecurity,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "pilotSecurity", "p772.pilotSecurity_element",
|
2005-09-04 20:30:31 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
"SecurityLabel", HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_pilotHandling,
|
|
|
|
{ "pilotHandling", "p772.pilotHandling",
|
2005-09-04 20:30:31 +00:00
|
|
|
FT_UINT32, BASE_DEC, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
"SEQUENCE_OF_MilitaryString", HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_pilotHandling_item,
|
|
|
|
{ "MilitaryString", "p772.MilitaryString",
|
2005-09-04 20:30:31 +00:00
|
|
|
FT_STRING, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_content_security_label,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "content-security-label", "p772.content_security_label_element",
|
2005-09-04 20:30:31 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
"SecurityLabel", HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_heading_security_label,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "heading-security-label", "p772.heading_security_label_element",
|
2005-09-04 20:30:31 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
"SecurityLabel", HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_body_part_security_labels,
|
|
|
|
{ "body-part-security-labels", "p772.body_part_security_labels",
|
2005-09-04 20:30:31 +00:00
|
|
|
FT_UINT32, BASE_DEC, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
"SEQUENCE_OF_BodyPartSecurityLabel", HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_body_part_security_labels_item,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "BodyPartSecurityLabel", "p772.BodyPartSecurityLabel_element",
|
2005-09-04 20:30:31 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_body_part_security_label,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "body-part-security-label", "p772.body_part_security_label_element",
|
2005-09-04 20:30:31 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
"SecurityLabel", HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_body_part_sequence_number,
|
|
|
|
{ "body-part-sequence-number", "p772.body_part_sequence_number",
|
2005-09-04 20:30:31 +00:00
|
|
|
FT_INT32, BASE_DEC, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
"BodyPartSequenceNumber", HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_lineOriented,
|
|
|
|
{ "lineOriented", "p772.lineOriented",
|
2010-01-09 20:52:47 +00:00
|
|
|
FT_STRING, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
"IA5String", HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_setOriented,
|
|
|
|
{ "setOriented", "p772.setOriented",
|
2010-01-09 20:52:47 +00:00
|
|
|
FT_UINT32, BASE_DEC, NULL, 0,
|
2010-05-11 03:53:31 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_setOriented_item,
|
|
|
|
{ "setOriented item", "p772.setOriented_item",
|
2010-01-09 20:52:47 +00:00
|
|
|
FT_STRING, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
"IA5String", HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_delivery_time,
|
|
|
|
{ "delivery-time", "p772.delivery_time",
|
2010-01-09 20:52:47 +00:00
|
|
|
FT_STRING, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
"MessageDeliveryTime", HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_delivery_envelope,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "delivery-envelope", "p772.delivery_envelope_element",
|
2010-01-09 20:52:47 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:51:39 +00:00
|
|
|
"OtherMessageDeliveryFields", HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_Acp127NotificationType_acp127_nn,
|
|
|
|
{ "acp127-nn", "p772.acp127-nn",
|
2006-06-28 19:31:49 +00:00
|
|
|
FT_BOOLEAN, 8, NULL, 0x80,
|
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_Acp127NotificationType_acp127_pn,
|
|
|
|
{ "acp127-pn", "p772.acp127-pn",
|
2006-06-28 19:31:49 +00:00
|
|
|
FT_BOOLEAN, 8, NULL, 0x40,
|
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
|
|
|
NULL, HFILL }},
|
2011-02-20 17:03:29 +00:00
|
|
|
{ &hf_p772_Acp127NotificationType_acp127_tn,
|
|
|
|
{ "acp127-tn", "p772.acp127-tn",
|
2006-06-28 19:31:49 +00:00
|
|
|
FT_BOOLEAN, 8, NULL, 0x20,
|
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
|
|
|
NULL, HFILL }},
|
2005-09-04 20:30:31 +00:00
|
|
|
|
2011-02-20 17:03:29 +00:00
|
|
|
/*--- End of included file: packet-p772-hfarr.c ---*/
|
2014-12-23 05:32:58 +00:00
|
|
|
#line 91 "../../asn1/p772/packet-p772-template.c"
|
2005-09-04 20:30:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/* List of subtrees */
|
|
|
|
static gint *ett[] = {
|
2011-02-20 17:03:29 +00:00
|
|
|
&ett_p772,
|
|
|
|
|
|
|
|
/*--- Included file: packet-p772-ettarr.c ---*/
|
2011-05-13 08:12:27 +00:00
|
|
|
#line 1 "../../asn1/p772/packet-p772-ettarr.c"
|
2011-02-20 17:03:29 +00:00
|
|
|
&ett_p772_InformationObject,
|
|
|
|
&ett_p772_Acp127NotificationResponse,
|
|
|
|
&ett_p772_AddressListIndicator,
|
|
|
|
&ett_p772_ExemptedAddressSeq,
|
|
|
|
&ett_p772_DistributionCodes,
|
|
|
|
&ett_p772_SEQUENCE_SIZE_1_ub_military_number_of_sics_OF_Sic,
|
|
|
|
&ett_p772_SEQUENCE_OF_DistributionExtensionField,
|
|
|
|
&ett_p772_DistributionExtensionField,
|
|
|
|
&ett_p772_HandlingInstructions,
|
|
|
|
&ett_p772_MessageInstructions,
|
|
|
|
&ett_p772_MessageType,
|
|
|
|
&ett_p772_AddressListDesignatorSeq,
|
|
|
|
&ett_p772_AddressListDesignator,
|
|
|
|
&ett_p772_OtherRecipientDesignatorSeq,
|
|
|
|
&ett_p772_OtherRecipientDesignator,
|
|
|
|
&ett_p772_PilotInformationSeq,
|
|
|
|
&ett_p772_PilotInformation,
|
|
|
|
&ett_p772_SEQUENCE_OF_ORDescriptor,
|
|
|
|
&ett_p772_SEQUENCE_OF_MilitaryString,
|
|
|
|
&ett_p772_SecurityInformationLabels,
|
|
|
|
&ett_p772_SEQUENCE_OF_BodyPartSecurityLabel,
|
|
|
|
&ett_p772_BodyPartSecurityLabel,
|
|
|
|
&ett_p772_ADatP3Data,
|
|
|
|
&ett_p772_T_setOriented,
|
|
|
|
&ett_p772_ForwardedEncryptedParameters,
|
|
|
|
&ett_p772_MMMessageParameters,
|
|
|
|
&ett_p772_Acp127NotificationType,
|
|
|
|
|
|
|
|
/*--- End of included file: packet-p772-ettarr.c ---*/
|
2014-12-23 05:32:58 +00:00
|
|
|
#line 97 "../../asn1/p772/packet-p772-template.c"
|
2005-09-04 20:30:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/* Register protocol */
|
2011-02-20 17:03:29 +00:00
|
|
|
proto_p772 = proto_register_protocol(PNAME, PSNAME, PFNAME);
|
2012-02-16 09:18:33 +00:00
|
|
|
register_dissector("p772", dissect_p772, proto_p772);
|
2005-09-04 20:30:31 +00:00
|
|
|
|
|
|
|
/* Register fields and subtrees */
|
2011-02-20 17:03:29 +00:00
|
|
|
proto_register_field_array(proto_p772, hf, array_length(hf));
|
2005-09-04 20:30:31 +00:00
|
|
|
proto_register_subtree_array(ett, array_length(ett));
|
|
|
|
|
2014-02-26 19:29:17 +00:00
|
|
|
register_ber_syntax_dissector("STANAG 4406", proto_p772, dissect_p772);
|
2010-06-28 10:34:15 +00:00
|
|
|
register_ber_oid_syntax(".p772", NULL, "STANAG 4406");
|
2005-09-04 20:30:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2011-02-20 17:03:29 +00:00
|
|
|
/*--- proto_reg_handoff_p772 --- */
|
|
|
|
void proto_reg_handoff_p772(void) {
|
|
|
|
|
|
|
|
/*--- Included file: packet-p772-dis-tab.c ---*/
|
2011-05-13 08:12:27 +00:00
|
|
|
#line 1 "../../asn1/p772/packet-p772-dis-tab.c"
|
2014-10-06 13:31:47 +00:00
|
|
|
new_register_ber_oid_dissector("1.3.26.0.4406.0.2.0", dissect_PrimaryPrecedence_PDU, proto_p772, "primary-precedence");
|
|
|
|
new_register_ber_oid_dissector("1.3.26.0.4406.0.2.1", dissect_CopyPrecedence_PDU, proto_p772, "copy-precedence");
|
|
|
|
new_register_ber_oid_dissector("1.3.26.0.4406.0.2.2", dissect_MessageType_PDU, proto_p772, "message-type");
|
|
|
|
new_register_ber_oid_dissector("1.3.26.0.4406.0.2.3", dissect_AddressListDesignatorSeq_PDU, proto_p772, "address-list-indicator");
|
|
|
|
new_register_ber_oid_dissector("1.3.26.0.4406.0.2.4", dissect_ExemptedAddressSeq_PDU, proto_p772, "exempted-address");
|
|
|
|
new_register_ber_oid_dissector("1.3.26.0.4406.0.2.5", dissect_ExtendedAuthorisationInfo_PDU, proto_p772, "extended-authorisation-info");
|
|
|
|
new_register_ber_oid_dissector("1.3.26.0.4406.0.2.6", dissect_DistributionCodes_PDU, proto_p772, "distribution-codes");
|
|
|
|
new_register_ber_oid_dissector("1.3.26.0.4406.0.2.7", dissect_HandlingInstructions_PDU, proto_p772, "handling-instructions");
|
|
|
|
new_register_ber_oid_dissector("1.3.26.0.4406.0.2.8", dissect_MessageInstructions_PDU, proto_p772, "message-instructions");
|
|
|
|
new_register_ber_oid_dissector("1.3.26.0.4406.0.2.9", dissect_CodressMessage_PDU, proto_p772, "codress-message");
|
|
|
|
new_register_ber_oid_dissector("1.3.26.0.4406.0.2.10", dissect_OriginatorReference_PDU, proto_p772, "originator-reference");
|
|
|
|
new_register_ber_oid_dissector("1.3.26.0.4406.0.2.11", dissect_OtherRecipientDesignatorSeq_PDU, proto_p772, "other-recipients-indicator");
|
|
|
|
new_register_ber_oid_dissector("1.3.26.0.4406.0.2.12", dissect_PilotInformationSeq_PDU, proto_p772, "pilot-forwarding-info");
|
|
|
|
new_register_ber_oid_dissector("1.3.26.0.4406.0.2.13", dissect_Acp127MessageIdentifier_PDU, proto_p772, "acp127-message-identifier");
|
|
|
|
new_register_ber_oid_dissector("1.3.26.0.4406.0.2.14", dissect_OriginatorPlad_PDU, proto_p772, "originator-plad");
|
|
|
|
new_register_ber_oid_dissector("1.3.26.0.4406.0.2.15", dissect_Acp127NotificationType_PDU, proto_p772, "acp127-notification-request");
|
|
|
|
new_register_ber_oid_dissector("1.3.26.0.4406.0.2.16", dissect_Acp127NotificationResponse_PDU, proto_p772, "acp127-notification-response");
|
|
|
|
new_register_ber_oid_dissector("1.3.26.0.4406.0.2.17", dissect_SecurityInformationLabels_PDU, proto_p772, "information-labels");
|
|
|
|
new_register_ber_oid_dissector("1.3.26.0.4406.0.8.0", dissect_PriorityLevelQualifier_PDU, proto_p772, "priority-level-qualifier");
|
|
|
|
new_register_ber_oid_dissector(id_nato_mmhs_et_adatp3, dissect_ADatP3Data_PDU, proto_p772, "adatp3");
|
|
|
|
new_register_ber_oid_dissector(id_nato_mmhs_et_adatp3_parameters, dissect_ADatP3Parameters_PDU, proto_p772, "adatp3-parameters");
|
|
|
|
new_register_ber_oid_dissector(id_nato_mmhs_et_corrections, dissect_CorrectionsData_PDU, proto_p772, "corrections");
|
|
|
|
new_register_ber_oid_dissector(id_nato_mmhs_et_corrections_parameters, dissect_CorrectionsParameters_PDU, proto_p772, "corrections-parameters");
|
|
|
|
new_register_ber_oid_dissector(id_nato_mmhs_et_forwarded_encrypted, dissect_ForwardedEncryptedData_PDU, proto_p772, "forwarded-encrypted");
|
|
|
|
new_register_ber_oid_dissector(id_nato_mmhs_et_forwarded_encrypted_parameters, dissect_ForwardedEncryptedParameters_PDU, proto_p772, "forwarded-encrypted-parameters");
|
|
|
|
new_register_ber_oid_dissector(id_nato_mmhs_et_mm_message, dissect_MMMessageData_PDU, proto_p772, "mm-message");
|
|
|
|
new_register_ber_oid_dissector(id_nato_mmhs_et_mm_message_parameters, dissect_MMMessageParameters_PDU, proto_p772, "mm-message-parameters");
|
|
|
|
new_register_ber_oid_dissector(id_nato_mmhs_et_mm_acp127data, dissect_ACP127DataData_PDU, proto_p772, "acp127-data");
|
|
|
|
new_register_ber_oid_dissector(id_nato_mmhs_et_mm_acp127data_parameters, dissect_ACP127DataParameters_PDU, proto_p772, "acp127-data-parameters");
|
|
|
|
new_register_ber_oid_dissector("2.6.1.4.17.1.3.26.0.4406.0.4.1", dissect_InformationObject_PDU, proto_p772, "id-et-content-p772");
|
2011-02-20 17:03:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
/*--- End of included file: packet-p772-dis-tab.c ---*/
|
2014-12-23 05:32:58 +00:00
|
|
|
#line 115 "../../asn1/p772/packet-p772-template.c"
|
2011-02-20 17:03:29 +00:00
|
|
|
|
|
|
|
register_ber_oid_dissector("1.3.26.0.4406.0.4.1", dissect_p772, proto_p772, "STANAG 4406");
|
2005-09-04 20:30:31 +00:00
|
|
|
}
|