summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dis.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:34:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:34:10 +0000
commite4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc (patch)
tree68cb5ef9081156392f1dd62a00c6ccc1451b93df /epan/dissectors/packet-dis.c
parentInitial commit. (diff)
downloadwireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.tar.xz
wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.zip
Adding upstream version 4.2.2.upstream/4.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'epan/dissectors/packet-dis.c')
-rw-r--r--epan/dissectors/packet-dis.c11074
1 files changed, 11074 insertions, 0 deletions
diff --git a/epan/dissectors/packet-dis.c b/epan/dissectors/packet-dis.c
new file mode 100644
index 00000000..f0fb0826
--- /dev/null
+++ b/epan/dissectors/packet-dis.c
@@ -0,0 +1,11074 @@
+/* packet-dis.c
+ * Routines for Distributed Interactive Simulation packet
+ * disassembly (IEEE-1278).
+ * Copyright 2005, Scientific Research Corporation
+ * Initial implementation by Jeremy Ouellette <jouellet@scires.com>
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 1998 Gerald Combs
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+
+/* TODO / NOTES:
+ * Lots more PDUs to implement. Most of the basic field types are
+ * complete, however, so declaring new PDUs should be fairly simple.
+ *
+ * Lots more enumerations to implement.
+ */
+
+#include "config.h"
+
+#include <epan/packet.h>
+#include "packet-link16.h"
+
+#define DEFAULT_DIS_UDP_PORT 3000 /* Not IANA registered */
+
+/* Encoding type the last 14 bits */
+#define DIS_ENCODING_TYPE(word) ((word) & 0x3FFF)
+
+/* SISO-REF-010 [UID 3] */
+typedef enum
+{
+ DIS_VERSION_OTHER = 0,
+ DIS_VERSION_1_0 = 1,
+ DIS_VERSION_IEEE_1278_1993 = 2,
+ DIS_VERSION_2_0_3RD_DRAFT = 3,
+ DIS_VERSION_2_0_4TH_DRAFT = 4,
+ DIS_VERSION_IEEE_1278_1_1995 = 5,
+ DIS_VERSION_IEEE_1278_1A_1998 = 6,
+ DIS_VERSION_IEEE_1278_1_2012 = 7
+} DIS_PDU_ProtocolVersion;
+
+static const value_string DIS_PDU_ProtocolVersion_Strings[] =
+{
+ { DIS_VERSION_OTHER, "Other" },
+ { DIS_VERSION_1_0, "DIS PDU version 1.0 (May 92)" },
+ { DIS_VERSION_IEEE_1278_1993, "IEEE 1278-1993" },
+ { DIS_VERSION_2_0_3RD_DRAFT, "DIS PDU version 2.0 - third draft (May 93)" },
+ { DIS_VERSION_2_0_4TH_DRAFT, "DIS PDU version 2.0 - fourth draft (revised) March 16, 1994" },
+ { DIS_VERSION_IEEE_1278_1_1995, "IEEE 1278.1-1995" },
+ { DIS_VERSION_IEEE_1278_1A_1998, "IEEE 1278.1A-1998" },
+ { DIS_VERSION_IEEE_1278_1_2012, "IEEE 1278.1-2012" },
+ { 0, NULL }
+};
+
+/* SISO-REF-010 [UID 5] */
+typedef enum
+{
+ DIS_PROTOCOLFAMILY_OTHER = 0,
+ DIS_PROTOCOLFAMILY_ENTITY_INFORMATION_INTERACTION = 1,
+ DIS_PROTOCOLFAMILY_WARFARE = 2,
+ DIS_PROTOCOLFAMILY_LOGISTICS = 3,
+ DIS_PROTOCOLFAMILY_RADIO_COMMUNICATIONS = 4,
+ DIS_PROTOCOLFAMILY_SIMULATION_MANAGEMENT = 5,
+ DIS_PROTOCOLFAMILY_DISTRIBUTED_EMISSION_REGENERATION = 6,
+ DIS_PROTOCOLFAMILY_ENTITY_MANAGEMENT = 7,
+ DIS_PROTOCOLFAMILY_MINEFIELD = 8,
+ DIS_PROTOCOLFAMILY_SYNTHETIC_ENVIRONMENT = 9,
+ DIS_PROTOCOLFAMILY_SIMULATION_MANAGEMENT_WITH_RELIABILITY = 10,
+ DIS_PROTOCOLFAMILY_LIVE_ENTITY = 11,
+ DIS_PROTOCOLFAMILY_NON_REAL_TIME = 12,
+ DIS_PROTOCOLFAMILY_INFORMATION_OPERATIONS = 13,
+ DIS_PROTOCOLFAMILY_EXPERIMENTAL_COMPUTER_GENERATED_FORCES = 129,
+ DIS_PROTOCOLFAMILY_EXPERIMENTAL_VDIS = 130,
+ DIS_PROTOCOLFAMILY_PERSISTENT_OBJECT = 140,
+ DIS_PROTOCOLFAMILY_EXPERIMENTAL = 150
+} DIS_PDU_ProtocolFamily;
+
+static const value_string DIS_PDU_ProtocolFamily_Strings[] =
+{
+ { DIS_PROTOCOLFAMILY_OTHER, "Other" },
+ { DIS_PROTOCOLFAMILY_ENTITY_INFORMATION_INTERACTION, "Entity information / interaction" },
+ { DIS_PROTOCOLFAMILY_WARFARE, "Warfare" },
+ { DIS_PROTOCOLFAMILY_LOGISTICS, "Logistics" },
+ { DIS_PROTOCOLFAMILY_RADIO_COMMUNICATIONS, "Radio communications" },
+ { DIS_PROTOCOLFAMILY_SIMULATION_MANAGEMENT, "Simulation management" },
+ { DIS_PROTOCOLFAMILY_DISTRIBUTED_EMISSION_REGENERATION, "Distributed emission regeneration" },
+ { DIS_PROTOCOLFAMILY_ENTITY_MANAGEMENT, "Entity management" },
+ { DIS_PROTOCOLFAMILY_MINEFIELD, "Minefield" },
+ { DIS_PROTOCOLFAMILY_SYNTHETIC_ENVIRONMENT, "Synthetic environment" },
+ { DIS_PROTOCOLFAMILY_SIMULATION_MANAGEMENT_WITH_RELIABILITY, "Simulation management with reliability" },
+ { DIS_PROTOCOLFAMILY_LIVE_ENTITY, "Live entity" },
+ { DIS_PROTOCOLFAMILY_NON_REAL_TIME, "Non-real time" },
+ { DIS_PROTOCOLFAMILY_INFORMATION_OPERATIONS, "Information Operations" },
+ { DIS_PROTOCOLFAMILY_EXPERIMENTAL_COMPUTER_GENERATED_FORCES, "Experimental - Computer Generated Forces" },
+ { DIS_PROTOCOLFAMILY_EXPERIMENTAL_VDIS, "Experimental - V-DIS" },
+ { DIS_PROTOCOLFAMILY_PERSISTENT_OBJECT, "Persistent object" },
+ { DIS_PROTOCOLFAMILY_EXPERIMENTAL, "Experimental" },
+ { 0, NULL }
+};
+
+/* SISO-REF-010 [UID 4] */
+typedef enum
+{
+ DIS_PDUTYPE_OTHER = 0,
+ DIS_PDUTYPE_ENTITY_STATE = 1,
+ DIS_PDUTYPE_FIRE = 2,
+ DIS_PDUTYPE_DETONATION = 3,
+ DIS_PDUTYPE_COLLISION = 4,
+ DIS_PDUTYPE_SERVICE_REQUEST = 5,
+ DIS_PDUTYPE_RESUPPLY_OFFER = 6,
+ DIS_PDUTYPE_RESUPPLY_RECEIVED = 7,
+ DIS_PDUTYPE_RESUPPLY_CANCEL = 8,
+ DIS_PDUTYPE_REPAIR_COMPLETE = 9,
+ DIS_PDUTYPE_REPAIR_RESPONSE = 10,
+ DIS_PDUTYPE_CREATE_ENTITY = 11,
+ DIS_PDUTYPE_REMOVE_ENTITY = 12,
+ DIS_PDUTYPE_START_RESUME = 13,
+ DIS_PDUTYPE_STOP_FREEZE = 14,
+ DIS_PDUTYPE_ACKNOWLEDGE = 15,
+ DIS_PDUTYPE_ACTION_REQUEST = 16,
+ DIS_PDUTYPE_ACTION_RESPONSE = 17,
+ DIS_PDUTYPE_DATA_QUERY = 18,
+ DIS_PDUTYPE_SET_DATA = 19,
+ DIS_PDUTYPE_DATA = 20,
+ DIS_PDUTYPE_EVENT_REPORT = 21,
+ DIS_PDUTYPE_COMMENT = 22,
+ DIS_PDUTYPE_ELECTROMAGNETIC_EMISSION = 23,
+ DIS_PDUTYPE_DESIGNATOR = 24,
+ DIS_PDUTYPE_TRANSMITTER = 25,
+ DIS_PDUTYPE_SIGNAL = 26,
+ DIS_PDUTYPE_RECEIVER = 27,
+ DIS_PDUTYPE_IFF = 28,
+ DIS_PDUTYPE_UNDERWATER_ACOUSTIC = 29,
+ DIS_PDUTYPE_SUPPLEMENTAL_EMISSION_ENTITY_STATE = 30,
+ DIS_PDUTYPE_INTERCOM_SIGNAL = 31,
+ DIS_PDUTYPE_INTERCOM_CONTROL = 32,
+ DIS_PDUTYPE_AGGREGATE_STATE = 33,
+ DIS_PDUTYPE_IS_GROUP_OF = 34,
+ DIS_PDUTYPE_TRANSFER_OWNERSHIP = 35,
+ DIS_PDUTYPE_IS_PART_OF = 36,
+ DIS_PDUTYPE_MINEFIELD_STATE = 37,
+ DIS_PDUTYPE_MINEFIELD_QUERY = 38,
+ DIS_PDUTYPE_MINEFIELD_DATA = 39,
+ DIS_PDUTYPE_MINEFIELD_RESPONSE_NACK = 40,
+ DIS_PDUTYPE_ENVIRONMENTAL_PROCESS = 41,
+ DIS_PDUTYPE_GRIDDED_DATA = 42,
+ DIS_PDUTYPE_POINT_OBJECT_STATE = 43,
+ DIS_PDUTYPE_LINEAR_OBJECT_STATE = 44,
+ DIS_PDUTYPE_AREAL_OBJECT_STATE = 45,
+ DIS_PDUTYPE_TSPI = 46,
+ DIS_PDUTYPE_APPEARANCE = 47,
+ DIS_PDUTYPE_ARTICULATED_PARTS = 48,
+ DIS_PDUTYPE_LE_FIRE = 49,
+ DIS_PDUTYPE_LE_DETONATION = 50,
+ DIS_PDUTYPE_CREATE_ENTITY_R = 51,
+ DIS_PDUTYPE_REMOVE_ENTITY_R = 52,
+ DIS_PDUTYPE_START_RESUME_R = 53,
+ DIS_PDUTYPE_STOP_FREEZE_R = 54,
+ DIS_PDUTYPE_ACKNOWLEDGE_R = 55,
+ DIS_PDUTYPE_ACTION_REQUEST_R = 56,
+ DIS_PDUTYPE_ACTION_RESPONSE_R = 57,
+ DIS_PDUTYPE_DATA_QUERY_R = 58,
+ DIS_PDUTYPE_SET_DATA_R = 59,
+ DIS_PDUTYPE_DATA_R = 60,
+ DIS_PDUTYPE_EVENT_REPORT_R = 61,
+ DIS_PDUTYPE_COMMENT_R = 62,
+ DIS_PDUTYPE_RECORD_R = 63,
+ DIS_PDUTYPE_SET_RECORD_R = 64,
+ DIS_PDUTYPE_RECORD_QUERY_R = 65,
+ DIS_PDUTYPE_COLLISION_ELASTIC = 66,
+ DIS_PDUTYPE_ENTITY_STATE_UPDATE = 67,
+ DIS_PDUTYPE_DIRECTED_ENERGY_FIRE = 68,
+ DIS_PDUTYPE_ENTITY_DAMAGE_STATUS = 69,
+ DIS_PDUTYPE_INFORMATION_OPERATIONS_ACTION = 70,
+ DIS_PDUTYPE_INFORMATION_OPERATIONS_REPORT = 71,
+ DIS_PDUTYPE_ATTRIBUTE = 72,
+ DIS_PDUTYPE_ANNOUNCE_OBJECT = 129,
+ DIS_PDUTYPE_DELETE_OBJECT = 130,
+ DIS_PDUTYPE_DESCRIBE_APPLICATION = 131,
+ DIS_PDUTYPE_DESCRIBE_EVENT = 132,
+ DIS_PDUTYPE_DESCRIBE_OBJECT = 133,
+ DIS_PDUTYPE_REQUEST_EVENT = 134,
+ DIS_PDUTYPE_REQUEST_OBJECT = 135,
+ DIS_PDUTYPE_APPLICATION_CONTROL = 200,
+ DIS_PDUTYPE_STEALTH_STATE = 201
+} DIS_PDU_Type;
+
+static const value_string DIS_PDU_Type_Strings[] =
+{
+ { DIS_PDUTYPE_OTHER, "Other" },
+ { DIS_PDUTYPE_ENTITY_STATE, "Entity State" },
+ { DIS_PDUTYPE_FIRE, "Fire" },
+ { DIS_PDUTYPE_DETONATION, "Detonation" },
+ { DIS_PDUTYPE_COLLISION, "Collision" },
+ { DIS_PDUTYPE_SERVICE_REQUEST, "Service Request" },
+ { DIS_PDUTYPE_RESUPPLY_OFFER, "Resupply Offer" },
+ { DIS_PDUTYPE_RESUPPLY_RECEIVED, "Resupply Received" },
+ { DIS_PDUTYPE_RESUPPLY_CANCEL, "Resupply Cancel" },
+ { DIS_PDUTYPE_REPAIR_COMPLETE, "Repair Complete" },
+ { DIS_PDUTYPE_REPAIR_RESPONSE, "Repair Response" },
+ { DIS_PDUTYPE_CREATE_ENTITY, "Create Entity" },
+ { DIS_PDUTYPE_REMOVE_ENTITY, "Remove Entity" },
+ { DIS_PDUTYPE_START_RESUME, "Start / Resume" },
+ { DIS_PDUTYPE_STOP_FREEZE, "Stop / Freeze" },
+ { DIS_PDUTYPE_ACKNOWLEDGE, "Acknowledge" },
+ { DIS_PDUTYPE_ACTION_REQUEST, "Action Request" },
+ { DIS_PDUTYPE_ACTION_RESPONSE, "Action Response" },
+ { DIS_PDUTYPE_DATA_QUERY, "Data Query" },
+ { DIS_PDUTYPE_SET_DATA, "Set Data" },
+ { DIS_PDUTYPE_DATA, "Data" },
+ { DIS_PDUTYPE_EVENT_REPORT, "Event Report" },
+ { DIS_PDUTYPE_COMMENT, "Comment" },
+ { DIS_PDUTYPE_ELECTROMAGNETIC_EMISSION, "Electromagnetic Emission" },
+ { DIS_PDUTYPE_DESIGNATOR, "Designator" },
+ { DIS_PDUTYPE_TRANSMITTER, "Transmitter" },
+ { DIS_PDUTYPE_SIGNAL, "Signal" },
+ { DIS_PDUTYPE_RECEIVER, "Receiver" },
+ { DIS_PDUTYPE_IFF, "IFF" },
+ { DIS_PDUTYPE_UNDERWATER_ACOUSTIC, "Underwater Acoustic" },
+ { DIS_PDUTYPE_SUPPLEMENTAL_EMISSION_ENTITY_STATE, "Supplemental Emission Entity State" },
+ { DIS_PDUTYPE_INTERCOM_SIGNAL, "Intercom Signal" },
+ { DIS_PDUTYPE_INTERCOM_CONTROL, "Intercom Control" },
+ { DIS_PDUTYPE_AGGREGATE_STATE, "Aggregate State" },
+ { DIS_PDUTYPE_IS_GROUP_OF, "IsGroupOf" },
+ { DIS_PDUTYPE_TRANSFER_OWNERSHIP, "Transfer Ownership" },
+ { DIS_PDUTYPE_IS_PART_OF, "IsPartOf" },
+ { DIS_PDUTYPE_MINEFIELD_STATE, "Minefield State" },
+ { DIS_PDUTYPE_MINEFIELD_QUERY, "Minefield Query" },
+ { DIS_PDUTYPE_MINEFIELD_DATA, "Minefield Data" },
+ { DIS_PDUTYPE_MINEFIELD_RESPONSE_NACK, "Minefield Response NACK" },
+ { DIS_PDUTYPE_ENVIRONMENTAL_PROCESS, "Environmental Process" },
+ { DIS_PDUTYPE_GRIDDED_DATA, "Gridded Data" },
+ { DIS_PDUTYPE_POINT_OBJECT_STATE, "Point Object State" },
+ { DIS_PDUTYPE_LINEAR_OBJECT_STATE, "Linear Object State" },
+ { DIS_PDUTYPE_AREAL_OBJECT_STATE, "Areal Object State" },
+ { DIS_PDUTYPE_TSPI, "TSPI" },
+ { DIS_PDUTYPE_APPEARANCE, "Appearance" },
+ { DIS_PDUTYPE_ARTICULATED_PARTS, "Articulated Parts" },
+ { DIS_PDUTYPE_LE_FIRE, "LE Fire" },
+ { DIS_PDUTYPE_LE_DETONATION, "LE Detonation" },
+ { DIS_PDUTYPE_CREATE_ENTITY_R, "Create Entity-R" },
+ { DIS_PDUTYPE_REMOVE_ENTITY_R, "Remove Entity-R" },
+ { DIS_PDUTYPE_START_RESUME_R, "Start / Resume-R" },
+ { DIS_PDUTYPE_STOP_FREEZE_R, "Stop / Freeze-R" },
+ { DIS_PDUTYPE_ACKNOWLEDGE_R, "Acknowledge-R" },
+ { DIS_PDUTYPE_ACTION_REQUEST_R, "Action Request-R" },
+ { DIS_PDUTYPE_ACTION_RESPONSE_R, "Action Response-R" },
+ { DIS_PDUTYPE_DATA_QUERY_R, "Data Query-R" },
+ { DIS_PDUTYPE_SET_DATA_R, "Set Data-R" },
+ { DIS_PDUTYPE_DATA_R, "Data-R" },
+ { DIS_PDUTYPE_EVENT_REPORT_R, "Event Report-R" },
+ { DIS_PDUTYPE_COMMENT_R, "Comment-R" },
+ { DIS_PDUTYPE_RECORD_R, "Record-R" },
+ { DIS_PDUTYPE_SET_RECORD_R, "Set Record-R" },
+ { DIS_PDUTYPE_RECORD_QUERY_R, "Record Query-R" },
+ { DIS_PDUTYPE_COLLISION_ELASTIC, "Collision Elastic" },
+ { DIS_PDUTYPE_ENTITY_STATE_UPDATE, "Entity State Update" },
+ { DIS_PDUTYPE_DIRECTED_ENERGY_FIRE, "Directed Energy Fire" },
+ { DIS_PDUTYPE_ENTITY_DAMAGE_STATUS, "Entity Damage Status" },
+ { DIS_PDUTYPE_INFORMATION_OPERATIONS_ACTION, "Info Operations Action" },
+ { DIS_PDUTYPE_INFORMATION_OPERATIONS_REPORT, "Info Operations Report" },
+ { DIS_PDUTYPE_ATTRIBUTE, "Attribute" },
+ { DIS_PDUTYPE_ANNOUNCE_OBJECT, "Announce Object" },
+ { DIS_PDUTYPE_DELETE_OBJECT, "Delete Object" },
+ { DIS_PDUTYPE_DESCRIBE_APPLICATION, "Describe Application" },
+ { DIS_PDUTYPE_DESCRIBE_EVENT, "Describe Event" },
+ { DIS_PDUTYPE_DESCRIBE_OBJECT, "Describe Object" },
+ { DIS_PDUTYPE_REQUEST_EVENT, "Request Event" },
+ { DIS_PDUTYPE_REQUEST_OBJECT, "Request Object" },
+ { DIS_PDUTYPE_APPLICATION_CONTROL, "Application Control" },
+ { DIS_PDUTYPE_STEALTH_STATE, "Stealth State" },
+ { 0, NULL }
+};
+
+static value_string_ext DIS_PDU_Type_Strings_Ext = VALUE_STRING_EXT_INIT(DIS_PDU_Type_Strings);
+
+/* SISO-REF-010 [UID 7] */
+typedef enum
+{
+ DIS_ENTITYKIND_OTHER = 0,
+ DIS_ENTITYKIND_PLATFORM = 1,
+ DIS_ENTITYKIND_MUNITION = 2,
+ DIS_ENTITYKIND_LIFE_FORM = 3,
+ DIS_ENTITYKIND_ENVIRONMENTAL = 4,
+ DIS_ENTITYKIND_CULTURAL_FEATURE = 5,
+ DIS_ENTITYKIND_SUPPLY = 6,
+ DIS_ENTITYKIND_RADIO = 7,
+ DIS_ENTITYKIND_EXPENDABLE = 8,
+ DIS_ENTITYKIND_SENSOR_EMITTER = 9
+} DIS_PDU_EntityKind;
+
+static const value_string DIS_PDU_EntityKind_Strings[] =
+{
+ { DIS_ENTITYKIND_OTHER, "Other" },
+ { DIS_ENTITYKIND_PLATFORM, "Platform" },
+ { DIS_ENTITYKIND_MUNITION, "Munition" },
+ { DIS_ENTITYKIND_LIFE_FORM, "Life form" },
+ { DIS_ENTITYKIND_ENVIRONMENTAL, "Environmental" },
+ { DIS_ENTITYKIND_CULTURAL_FEATURE, "Cultural feature" },
+ { DIS_ENTITYKIND_SUPPLY, "Supply" },
+ { DIS_ENTITYKIND_RADIO, "Radio" },
+ { DIS_ENTITYKIND_EXPENDABLE, "Expendable" },
+ { DIS_ENTITYKIND_SENSOR_EMITTER, "Sensor/Emitter" },
+ { 0, NULL }
+};
+
+/* SISO-REF-010 [UID 8] */
+typedef enum
+{
+ DIS_DOMAIN_OTHER = 0,
+ DIS_DOMAIN_LAND = 1,
+ DIS_DOMAIN_AIR = 2,
+ DIS_DOMAIN_SURFACE = 3,
+ DIS_DOMAIN_SUBSURFACE = 4,
+ DIS_DOMAIN_SPACE = 5
+} DIS_PDU_Domain;
+
+static const value_string DIS_PDU_Domain_Strings[] =
+{
+ { DIS_DOMAIN_OTHER, "Other" },
+ { DIS_DOMAIN_LAND, "Land" },
+ { DIS_DOMAIN_AIR, "Air" },
+ { DIS_DOMAIN_SURFACE, "Surface" },
+ { DIS_DOMAIN_SUBSURFACE, "Subsurface" },
+ { DIS_DOMAIN_SPACE, "Space" },
+ { 0, NULL }
+};
+
+/* SISO-REF-010 [UID 9] */
+static const value_string DIS_PDU_Category_LandPlatform_Strings[] =
+{
+ { 0, "Other" },
+ { 1, "Tank" },
+ { 2, "Armored Fighting Vehicle" },
+ { 3, "Armored Utility Vehicle" },
+ { 4, "Self-propelled Artillery" },
+ { 5, "Towed Artillery" },
+ { 6, "Small Wheeled Utility Vehicle" },
+ { 7, "Large Wheeled Utility Vehicle" },
+ { 8, "Small Tracked Utility Vehicle" },
+ { 9, "Large Tracked Utility Vehicle" },
+ { 10, "Mortar" },
+ { 11, "Mine Plow" },
+ { 12, "Mine Rake" },
+ { 13, "Mine Roller" },
+ { 14, "Cargo Trailer" },
+ { 15, "Fuel Trailer" },
+ { 16, "Generator Trailer" },
+ { 17, "Water Trailer" },
+ { 18, "Engineer Equipment" },
+ { 19, "Heavy Equipment Transport Trailer" },
+ { 20, "Maintenance Equipment Trailer" },
+ { 21, "Limber" },
+ { 22, "Chemical Decontamination Trailer" },
+ { 23, "Warning System" },
+ { 24, "Train - Engine" },
+ { 25, "Train - Car" },
+ { 26, "Train - Caboose" },
+ { 27, "Civilian Vehicle" },
+ { 28, "Air Defense / Missile Defense Unit Equipment" },
+ { 29, "Command, Control, Communications, and Intelligence (C3I) System" },
+ { 30, "Operations Facility" },
+ { 31, "Intelligence Facility" },
+ { 32, "Surveillance Facility" },
+ { 33, "Communications Facility" },
+ { 34, "Command Facility" },
+ { 35, "C4I Facility" },
+ { 36, "Control Facility" },
+ { 37, "Fire Control Facility" },
+ { 38, "Missile Defense Facility" },
+ { 39, "Field Command Post" },
+ { 40, "Observation Post" },
+ { 50, "Unmanned" },
+ { 80, "Motorcycle" },
+ { 81, "Car" },
+ { 82, "Bus" },
+ { 83, "Single Unit Cargo Truck" },
+ { 84, "Single Unit Utility/Emergency Truck" },
+ { 85, "Multiple Unit Cargo Truck" },
+ { 86, "Multiple Unit Utility/Emergency Truck" },
+ { 87, "Construction Specialty Vehicle" },
+ { 88, "Farm Specialty Vehicle" },
+ { 89, "Trailer" },
+ { 90, "Recreational" },
+ { 91, "Non-motorized" },
+ { 92, "Trains" },
+ { 93, "Utility/Emergency Car" },
+ { 0, NULL }
+};
+
+static value_string_ext DIS_PDU_Category_LandPlatform_Strings_Ext = VALUE_STRING_EXT_INIT(DIS_PDU_Category_LandPlatform_Strings);
+
+/* SISO-REF-010 [UID 10] */
+static const value_string DIS_PDU_Category_AirPlatform_Strings[] =
+{
+ { 0, "Other" },
+ { 1, "Fighter/Air Defense" },
+ { 2, "Attack/Strike" },
+ { 3, "Bomber" },
+ { 4, "Cargo/Tanker" },
+ { 5, "ASW/Patrol/Observation" },
+ { 6, "Electronic Warfare (EW)" },
+ { 7, "Reconnaissance" },
+ { 8, "Surveillance/C2 (Airborne Early Warning)" },
+ { 9, "Air-Sea Rescue (ASR)" },
+ { 20, "Attack Helicopter" },
+ { 21, "Utility Helicopter" },
+ { 22, "Antisubmarine Warfare/Patrol Helicopter" },
+ { 23, "Cargo Helicopter" },
+ { 24, "Observation Helicopter" },
+ { 25, "Special Operations Helicopter" },
+ { 40, "Trainer" },
+ { 50, "Unmanned" },
+ { 57, "Non-Combatant Commercial Aircraft" },
+ { 80, "Civilian Ultralight Aircraft, Non-rigid Wing" },
+ { 81, "Civilian Ultralight Aircraft, Rigid Wing" },
+ { 83, "Civilian Fixed Wing Aircraft, Glider" },
+ { 84, "Civilian Fixed Wing Aircraft, Light Sport (up to 1320 lbs / 600 kg)" },
+ { 85, "Civilian Fixed Wing Aircraft, Small (up to 12,500 lbs / 5,670 kg)" },
+ { 86, "Civilian Fixed Wing Aircraft, Medium (up to 41,000 lbs / 18,597 kg)" },
+ { 87, "Civilian Fixed Wing Aircraft, Large (up to 255,000 lbs / 115,666 kg)" },
+ { 88, "Civilian Fixed Wing Aircraft, Heavy (above 255,000 lbs / 115,666 kg)" },
+ { 90, "Civilian Helicopter, Small (up to 7,000 lbs / 3,175 kg)" },
+ { 91, "Civilian Helicopter, Medium (up to 20,000 lbs / 9,072 kg)" },
+ { 92, "Civilian Helicopter, Large (above 20,000 lbs / 9,072 kg)" },
+ { 93, "Civilian Autogyro" },
+ { 100, "Civilian Lighter than Air, Balloon" },
+ { 101, "Civilian Lighter than Air, Airship" },
+ { 0, NULL }
+};
+
+/* SISO-REF-010 [UID 11] */
+static const value_string DIS_PDU_Category_SurfacePlatform_Strings[] =
+{
+ { 0, "Other" },
+ { 1, "Carrier" },
+ { 2, "Command Ship/Cruiser" },
+ { 3, "Guided Missile Cruiser" },
+ { 4, "Guided Missile Destroyer (DDG)" },
+ { 5, "Destroyer (DD)" },
+ { 6, "Guided Missile Frigate (FFG)" },
+ { 7, "Light/Patrol Craft" },
+ { 8, "Mine Countermeasure Ship/Craft" },
+ { 9, "Dock Landing Ship" },
+ { 10, "Tank Landing Ship" },
+ { 11, "Landing Craft" },
+ { 12, "Light Carrier" },
+ { 13, "Cruiser/Helicopter Carrier" },
+ { 14, "Hydrofoil" },
+ { 15, "Air Cushion/Surface Effect" },
+ { 16, "Auxiliary" },
+ { 17, "Auxiliary, Merchant Marine" },
+ { 18, "Utility" },
+ { 50, "Frigate (including Corvette)" },
+ { 51, "Battleship" },
+ { 52, "Heavy Cruiser" },
+ { 53, "Destroyer Tender" },
+ { 54, "Amphibious Assault Ship" },
+ { 55, "Amphibious Cargo Ship" },
+ { 56, "Amphibious Transport Dock" },
+ { 57, "Ammunition Ship" },
+ { 58, "Combat Stores Ship" },
+ { 59, "Surveillance Towed Array Sonar System (SURTASS)" },
+ { 60, "Fast Combat Support Ship" },
+ { 61, "Non-Combatant Ship" },
+ { 62, "Coast Guard Cutters" },
+ { 63, "Coast Guard Boats" },
+ { 64, "Fast Attack Craft" },
+ { 80, "Passenger Vessel (Group 1 Merchant)" },
+ { 81, "Dry Cargo Ship (Group 2 Merchant)" },
+ { 82, "Tanker (Group 3 Merchant)" },
+ { 83, "Support Vessel" },
+ { 84, "Private Motorboat" },
+ { 85, "Private Sailboat" },
+ { 86, "Fishing Vessel" },
+ { 87, "Other Vessels" },
+ { 100, "Search and Rescue Vessels" },
+ { 101, "Life-Saving Equipment" },
+ { 0, NULL }
+};
+
+/* SISO-REF-010 [UID 12] */
+static const value_string DIS_PDU_Category_SubsurfacePlatform_Strings[] =
+{
+ { 0, "Other" },
+ { 1, "SSBN (Nuclear Ballistic Missile)" },
+ { 2, "SSGN (Nuclear Guided Missile)" },
+ { 3, "SSN (Nuclear Attack - Torpedo)" },
+ { 4, "SSG (Conventional Guided Missile)" },
+ { 5, "SS (Conventional Attack - Torpedo, Patrol)" },
+ { 6, "SSAN (Nuclear Auxiliary)" },
+ { 7, "SSA (Conventional Auxiliary)" },
+ { 8, "Unmanned Underwater Vehicle (UUV)" },
+ { 9, "SSB (Submarine Ballistic, Ballistic Missile Submarine)" },
+ { 10, "SSC (Coastal Submarine, over 150 tons)" },
+ { 11, "SSP (Attack Submarine - Diesel Air-Independent Propulsion)" },
+ { 12, "SSM (Midget Submarine, under 150 tons)" },
+ { 13, "SSNR (Special Attack Submarine)" },
+ { 14, "SSNR (Special Attack Submarine)" },
+ { 15, "AGSS (Auxiliary Submarine)" },
+ { 16, "Semi-Submersible Boats" },
+ { 80, "Civilian Submarines" },
+ { 81, "Civilian Submersibles" },
+ { 82, "Civilian Semi-Submersible Boats" },
+ { 0, NULL }
+};
+
+/* SISO-REF-010 [UID 13] */
+static const value_string DIS_PDU_Category_SpacePlatform_Strings[] =
+{
+ { 0, "Other" },
+ { 1, "Manned" },
+ { 2, "Unmanned" },
+ { 3, "Booster" },
+ { 0, NULL }
+};
+
+/* SISO-REF-010 [UID 270] */
+typedef enum
+{
+ DIS_ENCODING_CLASS_ENCODED_AUDIO = 0,
+ DIS_ENCODING_CLASS_RAW_BINARY_DATA = 1,
+ DIS_ENCODING_CLASS_APPL_SPEC_DATA = 2,
+ DIS_ENCODING_CLASS_DB_INDEX = 3
+} DIS_PDU_Encoding_Class;
+
+/* SISO-REF-010 [UID 271] */
+static const value_string DIS_PDU_Encoding_Class_Strings[] =
+{
+ { DIS_ENCODING_CLASS_ENCODED_AUDIO, "Encoded Audio" },
+ { DIS_ENCODING_CLASS_RAW_BINARY_DATA, "Raw Binary Data" },
+ { DIS_ENCODING_CLASS_APPL_SPEC_DATA, "Application-Specific Data" },
+ { DIS_ENCODING_CLASS_DB_INDEX, "Database index" },
+ { 0, NULL }
+};
+
+static const value_string DIS_PDU_Encoding_Type_Strings[] =
+{
+ { 1, "8-bit mu-law (ITU-T G.711)" },
+ { 2, "CVSD (MIL-STD-188-113)" },
+ { 3, "ADPCM (ITU-T G.726)" },
+ { 4, "16-bit Linear PCM 2's complement, Big Endian" },
+ { 5, "8-bit Linear PCM, unsigned" },
+ { 6, "VQ (Vector Quantization)" },
+ { 7, "(unavailable for use)" },
+ { 8, "GSM Full-Rate (ETSI 06.10)" },
+ { 9, "GSM Half-Rate (ETSI 06.20)" },
+ { 10, "Speex Narrow Band" },
+ {100, "16-bit Linear PCM 2's complement, Little Endian" },
+ {255, "(unavailable for use)" },
+ { 0, NULL }
+};
+
+/* SISO-REF-010 [UID 178] */
+typedef enum
+{
+ DIS_TDL_TYPE_OTHER = 0,
+ DIS_TDL_TYPE_PADIL = 1,
+ DIS_TDL_TYPE_NATO_LINK1 = 2,
+ DIS_TDL_TYPE_ATDL1 = 3,
+ DIS_TDL_TYPE_LINK_11B = 4,
+ DIS_TDL_TYPE_SADL = 5,
+ DIS_TDL_TYPE_JTIDS_TADIL_J = 6,
+ DIS_TDL_TYPE_JTIDS_FDL_TADIL_J = 7,
+ DIS_TDL_TYPE_LINK_11A = 8,
+ DIS_TDL_TYPE_IJMS = 9,
+ DIS_TDL_TYPE_LINK_4A = 10,
+ DIS_TDL_TYPE_LINK_4C = 11,
+ DIS_TDL_TYPE_TIBS = 12,
+ DIS_TDL_TYPE_ATL = 13,
+ DIS_TDL_TYPE_CONSTANT_SRC = 14,
+ DIS_TDL_TYPE_ABBRV_CC = 15,
+ DIS_TDL_TYPE_MILSTAR = 16,
+ DIS_TDL_TYPE_ATHS = 17,
+ DIS_TDL_TYPE_OTHGOLD = 18,
+ DIS_TDL_TYPE_TACELINT = 19,
+ DIS_TDL_TYPE_AWW13 = 20,
+ DIS_TDL_TYPE_ABBRV_CC_2 = 21,
+ DIS_TDL_TYPE_EPLRS = 22,
+ DIS_TDL_TYPE_PLRS = 23,
+ DIS_TDL_TYPE_SINCGARS = 24,
+ DIS_TDL_TYPE_HAVE_QUICK_I = 25,
+ DIS_TDL_TYPE_HAVE_QUICK_II = 26,
+ DIS_TDL_TYPE_HAVE_QUICK_IIA = 27,
+ DIS_TDL_TYPE_IFDL1 = 28,
+ DIS_TDL_TYPE_IFDL2 = 29,
+ DIS_TDL_TYPE_IDM = 30,
+ DIS_TDL_TYPE_AFAPD = 31,
+ DIS_TDL_TYPE_CEC = 32,
+ DIS_TDL_TYPE_FAAD_FDL = 33,
+ DIS_TDL_TYPE_GBDL = 34,
+ DIS_TDL_TYPE_IVIS = 35,
+ DIS_TDL_TYPE_MTS = 36,
+ DIS_TDL_TYPE_TACFIRE = 37,
+ DIS_TDL_TYPE_IBS = 38,
+ DIS_TDL_TYPE_ABIT = 39,
+ DIS_TDL_TYPE_ATARS = 40,
+ DIS_TDL_TYPE_BGPHES = 41,
+ DIS_TDL_TYPE_CHBDL = 42,
+ DIS_TDL_TYPE_GUARDRAIL_IDL = 43,
+ DIS_TDL_TYPE_GUARDRAIL_CSS1 = 44,
+ DIS_TDL_TYPE_GUARDRAIL_CSS2 = 45,
+ DIS_TDL_TYPE_GUARDRAIL_CSS2_MRDL = 46,
+ DIS_TDL_TYPE_GUARDRAIL_CSS2_DASR = 47,
+ DIS_TDL_TYPE_LOS_TETHER = 48,
+ DIS_TDL_TYPE_LWCDL = 49,
+ DIS_TDL_TYPE_L_52M = 50,
+ DIS_TDL_TYPE_RR_ROWL_DL = 51,
+ DIS_TDL_TYPE_SENIOR_SPAN = 52,
+ DIS_TDL_TYPE_SENIOR_SPUR = 53,
+ DIS_TDL_TYPE_SENIOR_STRETCH = 54,
+ DIS_TDL_TYPE_SENIOR_YEAR_IDL = 55,
+ DIS_TDL_TYPE_SPACE_CDL = 56,
+ DIS_TDL_TYPE_TR_1_MIST_ADL = 57,
+ DIS_TDL_TYPE_KU_BAND_SATCOM = 58,
+ DIS_TDL_TYPE_MECDL = 59,
+ DIS_TDL_TYPE_RADAR_DATA_TSDL = 60,
+ DIS_TDL_TYPE_SCDL = 61,
+ DIS_TDL_TYPE_TACTICAL_UAV_VIDEO = 62,
+ DIS_TDL_TYPE_UHF_SATCOM = 63,
+ DIS_TDL_TYPE_TCDL = 64,
+ DIS_TDL_TYPE_LLAPI = 65,
+ DIS_TDL_TYPE_WEAPONS_DL = 66,
+ DIS_TDL_TYPE_AIS = 67,
+ DIS_TDL_TYPE_GC3 = 99,
+ DIS_TDL_TYPE_LINK16_STD = 100,
+ DIS_TDL_TYPE_LINK16_EDR = 101,
+ DIS_TDL_TYPE_JTIDS_NET_DATA_LOAD = 102,
+ DIS_TDL_TYPE_LINK22 = 103,
+ DIS_TDL_TYPE_AFIWC_IADS = 104,
+ DIS_TDL_TYPE_IFDL = 105,
+ DIS_TDL_TYPE_L_BAND_SATCOM = 106,
+ DIS_TDL_TYPE_TSAF = 107,
+ DIS_TDL_TYPE_ENHANCED_SINCGARS_7_3 = 108,
+ DIS_TDL_TYPE_MADL = 109,
+ DIS_TDL_TYPE_CURSOR_ON_TARGET = 110,
+ DIS_TDL_TYPE_ASTERIX = 111,
+ DIS_TDL_TYPE_VMF_OVER_CNR = 112,
+ DIS_TDL_TYPE_LINK16_TDL = 113,
+ DIS_TDL_TYPE_C_BAND_LOS_UPLINK = 114,
+ DIS_TDL_TYPE_C_BAND_LOS_DOWNLINK = 115,
+ DIS_TDL_TYPE_KU_BAND_SAT_UPLINK = 116,
+ DIS_TDL_TYPE_KU_BAND_SAT_DOWNLINK = 117,
+ DIS_TDL_TYPE_WEAPONS_SDB_II = 118,
+ DIS_TDL_TYPE_CIB = 120,
+ DIS_TDL_TYPE_JREAP_A = 121,
+ DIS_TDL_TYPE_JPALS_DL = 125,
+ DIS_TDL_TYPE_IADS_COMM_LINK = 126
+} DIS_PDU_TDL_Type;
+
+static const value_string DIS_PDU_TDL_Type_Strings[] =
+{
+ {DIS_TDL_TYPE_OTHER, "Other" },
+ {DIS_TDL_TYPE_PADIL, "PADIL" },
+ {DIS_TDL_TYPE_NATO_LINK1, "NATO Link-1" },
+ {DIS_TDL_TYPE_ATDL1, "ATDL-1" },
+ {DIS_TDL_TYPE_LINK_11B, "Link 11B (TADIL B)" },
+ {DIS_TDL_TYPE_SADL, "Situational Awareness Data Link (SADL)" },
+ {DIS_TDL_TYPE_JTIDS_TADIL_J, "Link 16 Legacy Format (JTIDS/TADIL-J)" },
+ {DIS_TDL_TYPE_JTIDS_FDL_TADIL_J, "Link 16 Legacy Format (JTIDS/FDL/TADIL-J)" },
+ {DIS_TDL_TYPE_LINK_11A, "Link 11A (TADIL A)" },
+ {DIS_TDL_TYPE_IJMS, "IJMS" },
+ {DIS_TDL_TYPE_LINK_4A, "Link 4A (TADIL C)" },
+ {DIS_TDL_TYPE_LINK_4C, "Link 4C" },
+ {DIS_TDL_TYPE_TIBS, "TIBS" },
+ {DIS_TDL_TYPE_ATL, "ATL" },
+ {DIS_TDL_TYPE_CONSTANT_SRC, "Constant Source" },
+ {DIS_TDL_TYPE_ABBRV_CC, "Abbreviated Command and Control" },
+ {DIS_TDL_TYPE_MILSTAR, "MILSTAR" },
+ {DIS_TDL_TYPE_ATHS, "ATHS" },
+ {DIS_TDL_TYPE_OTHGOLD, "OTHGOLD" },
+ {DIS_TDL_TYPE_TACELINT, "TACELINT" },
+ {DIS_TDL_TYPE_AWW13, "Weapons Data Link (AWW-13)" },
+ {DIS_TDL_TYPE_ABBRV_CC_2, "Abbreviated Command and Control" },
+ {DIS_TDL_TYPE_EPLRS, "Enhanced Position Location Reporting System (EPLRS)" },
+ {DIS_TDL_TYPE_PLRS, "Position Location Reporting System (PLRS)" },
+ {DIS_TDL_TYPE_SINCGARS, "SINCGARS" },
+ {DIS_TDL_TYPE_HAVE_QUICK_I, "Have Quick I" },
+ {DIS_TDL_TYPE_HAVE_QUICK_II, "Have Quick II" },
+ {DIS_TDL_TYPE_HAVE_QUICK_IIA, "Have Quick IIA (Saturn)" },
+ {DIS_TDL_TYPE_IFDL1, "Intra-Flight Data Link 1" },
+ {DIS_TDL_TYPE_IFDL2, "Intra-Flight Data Link 2" },
+ {DIS_TDL_TYPE_IDM, "Improved Data Modem (IDM)" },
+ {DIS_TDL_TYPE_AFAPD, "Air Force Application Program Development (AFAPD)" },
+ {DIS_TDL_TYPE_CEC, "Cooperative Engagement Capability (CEC)" },
+ {DIS_TDL_TYPE_FAAD_FDL, "Forward Area Air Defense (FAAD) Data Link (FDL)" },
+ {DIS_TDL_TYPE_GBDL, "Ground Based Data Link (GBDL)" },
+ {DIS_TDL_TYPE_IVIS, "Intra Vehicular Info System (IVIS)" },
+ {DIS_TDL_TYPE_MTS, "Marine Tactical System (MTS)" },
+ {DIS_TDL_TYPE_TACFIRE, "Tactical Fire Direction System (TACFIRE)" },
+ {DIS_TDL_TYPE_IBS, "Integrated Broadcast Service (IBS)" },
+ {DIS_TDL_TYPE_ABIT, "Airborne Information Transfer (ABIT)" },
+ {DIS_TDL_TYPE_ATARS, "Advanced Tactical Airborne Reconnaissance System (ATARS) Data Link" },
+ {DIS_TDL_TYPE_BGPHES, "Battle Group Passive Horizon Extension System (BGPHES) Data Link" },
+ {DIS_TDL_TYPE_CHBDL, "Common High Bandwidth Data Link (CHBDL)" },
+ {DIS_TDL_TYPE_GUARDRAIL_IDL, "Guardrail Interoperable Data Link (IDL)" },
+ {DIS_TDL_TYPE_GUARDRAIL_CSS1, "Guardrail Common Sensor System One (CSS1) Data Link" },
+ {DIS_TDL_TYPE_GUARDRAIL_CSS2, "Guardrail Common Sensor System Two (CSS2) Data Link" },
+ {DIS_TDL_TYPE_GUARDRAIL_CSS2_MRDL, "Guardrail CSS2 Multi-Role Data Link (MRDL)" },
+ {DIS_TDL_TYPE_GUARDRAIL_CSS2_DASR, "Guardrail CSS2 Direct Air to Satellite Relay (DASR) Data Link" },
+ {DIS_TDL_TYPE_LOS_TETHER, "Line of Sight (LOS) Data Link Implementation (LOS tether)" },
+ {DIS_TDL_TYPE_LWCDL, "Lightweight CDL (LWCDL)" },
+ {DIS_TDL_TYPE_L_52M, "L-52M (SR-71)" },
+ {DIS_TDL_TYPE_RR_ROWL_DL, "Rivet Reach/Rivet Owl Data Link" },
+ {DIS_TDL_TYPE_SENIOR_SPAN, "Senior Span" },
+ {DIS_TDL_TYPE_SENIOR_SPUR, "Senior Spur" },
+ {DIS_TDL_TYPE_SENIOR_STRETCH, "Senior Stretch." },
+ {DIS_TDL_TYPE_SENIOR_YEAR_IDL, "Senior Year Interoperable Data Link (IDL)" },
+ {DIS_TDL_TYPE_SPACE_CDL, "Space CDL" },
+ {DIS_TDL_TYPE_TR_1_MIST_ADL, "TR-1 mode MIST Airborne Data Link" },
+ {DIS_TDL_TYPE_KU_BAND_SATCOM, "Ku-band SATCOM Data Link Implementation (UAV)" },
+ {DIS_TDL_TYPE_MECDL, "Mission Equipment Control Data link (MECDL)" },
+ {DIS_TDL_TYPE_RADAR_DATA_TSDL, "Radar Data Transmitting Set Data Link" },
+ {DIS_TDL_TYPE_SCDL, "Surveillance and Control Data Link (SCDL)" },
+ {DIS_TDL_TYPE_TACTICAL_UAV_VIDEO, "Tactical UAV Video" },
+ {DIS_TDL_TYPE_UHF_SATCOM, "UHF SATCOM Data Link Implementation (UAV)" },
+ {DIS_TDL_TYPE_TCDL, "Tactical Common Data Link (TCDL)" },
+ {DIS_TDL_TYPE_LLAPI, "Low Level Air Picture Interface (LLAPI)" },
+ {DIS_TDL_TYPE_WEAPONS_DL, "Weapons Data Link (AGM-130)" },
+ {DIS_TDL_TYPE_AIS, "Sutomatic Identification System (AIS)" },
+ {DIS_TDL_TYPE_GC3, "GC3" },
+ {DIS_TDL_TYPE_LINK16_STD, "Link 16 Standardized Format (JTIDS/MIDS/TADIL J)" },
+ {DIS_TDL_TYPE_LINK16_EDR, "Link 16 Enhanced Data Rate (EDR JTIDS/MIDS/TADIL-J)" },
+ {DIS_TDL_TYPE_JTIDS_NET_DATA_LOAD, "JTIDS/MIDS Net Data Load (TIMS/TOMS)" },
+ {DIS_TDL_TYPE_LINK22, "Link 22" },
+ {DIS_TDL_TYPE_AFIWC_IADS, "AFIWC IADS Communications Links" },
+ {DIS_TDL_TYPE_IFDL, "F-22 Intra-Flight Data Link (IFDL)" },
+ {DIS_TDL_TYPE_L_BAND_SATCOM, "L-Band SATCOM" },
+ {DIS_TDL_TYPE_TSAF, "TSAF Communications Link" },
+ {DIS_TDL_TYPE_ENHANCED_SINCGARS_7_3, "Enhanced SINCGARS 7.3" },
+ {DIS_TDL_TYPE_MADL, "F-35 Multifunction Advanced Data Link (MADL)" },
+ {DIS_TDL_TYPE_CURSOR_ON_TARGET, "Cursor on Target" },
+ {DIS_TDL_TYPE_ASTERIX, "All Purpose Structured Eurocontrol Surveillance Information Exchange (ASTERIX)" },
+ {DIS_TDL_TYPE_VMF_OVER_CNR, "Variable Message Format (VMF) over Combat Net Radio (VMF over CNR)" },
+ {DIS_TDL_TYPE_LINK16_TDL, "Link 16 Surrogate for Non-NATO TDL" },
+ {DIS_TDL_TYPE_C_BAND_LOS_UPLINK, "MQ-1/9 C-Band LOS Uplink" },
+ {DIS_TDL_TYPE_C_BAND_LOS_DOWNLINK, "MQ-1/9 C-Band LOS Downlink" },
+ {DIS_TDL_TYPE_KU_BAND_SAT_UPLINK, "MQ-1/9 Ku-Band SATCOM Uplink" },
+ {DIS_TDL_TYPE_KU_BAND_SAT_DOWNLINK, "MQ-1/9 Ku-Band SATCOM Downlink" },
+ {DIS_TDL_TYPE_WEAPONS_SDB_II, "Weapons Datalink (SDB II)" },
+ {DIS_TDL_TYPE_CIB, "Common Interactive Broadcast (CIB)" },
+ {DIS_TDL_TYPE_JREAP_A, "Joint Range Extension Application Protocol A (JREAP A)" },
+ {DIS_TDL_TYPE_JPALS_DL, "JPALS Data Link" },
+ {DIS_TDL_TYPE_IADS_COMM_LINK, "OneSAF IADS Communications LInk" },
+ { 0, NULL }
+};
+
+static value_string_ext DIS_PDU_TDL_Type_Strings_Ext = VALUE_STRING_EXT_INIT(DIS_PDU_TDL_Type_Strings);
+
+/* SISO-REF-010 [UID 22] */
+static const value_string DIS_PDU_RadioCategory_Strings[] =
+{
+ {0, "Other" },
+ {1, "Voice Transmission/Reception" },
+ {2, "Data Link Transmission/Reception" },
+ {3, "Voice and Data Link Transmission/Reception" },
+ {4, "Instrumented Landing System (ILS) Glideslope Transmitter" },
+ {5, "Instrumented Landing System (ILS) Localizer Transmitter" },
+ {6, "Instrumented Landing System (ILS) Outer Marker Beacon" },
+ {7, "Instrumented Landing System (ILS) Middle Marker Beacon" },
+ {8, "Instrumented Landing System (ILS) Inner Marker Beacon" },
+ {9, "Instrumented Landing System (ILS) Receiver (Platform Radio)" },
+ {10, "Tactical Air Navigation (TACAN) Transmitter (Ground Fixed Equipment)" },
+ {11, "Tactical Air Navigation (TACAN) Receiver (Moving Platform Equipment)" },
+ {12, "Tactical Air Navigation (TACAN) Transmitter/Receiver (Moving Platform Equipment)" },
+ {13, "Variable Omni-Ranging (VOR) Transmitter (Ground Fixed Equipment)" },
+ {14, "Variable Omni-Ranging (VOR) with Distance Measuring Equipment (DME) Transmitter (Ground Fixed Equipment)" },
+ {15, "Combined VOR/ILS Receiver (Moving Platform Equipment)" },
+ {16, "Combined VOR & TACAN (VORTAC) Transmitter" },
+ {17, "Non-Directional Beacon (NDB) Transmitter" },
+ {18, "Non-Directional Beacon (NDB) Receiver" },
+ {19, "Non-Directional Beacon (NDB) with Distance Measuring Equipment (DME) Transmitter" },
+ {20, "Distance Measuring Equipment (DME)" },
+ {21, "Link 16 Terminal" },
+ {22, "Link 11 Terminal" },
+ {23, "Link 11B Terminal" },
+ {24, "EPLRS/SADL Terminal" },
+ {25, "F-22 Intra-Flight Data Link (IFDL)" },
+ {26, "F-35 Multifunction Advanced Data Link (MADL)" },
+ {27, "SINCGARS Terminal" },
+ {28, "L-Band SATCOM Terminal" },
+ {29, "IBS-I/S Terminal" },
+ {30, "GPS" },
+ {31, "Tactical Video" },
+ {32, "Air-to-Air Missile Datalink" },
+ {33, "Link 16 Surrogate for Non-NATO TDL Terminal" },
+ {34, "MQ-1/9 C-Band LOS Datalink" },
+ {35, "MQ-1/9 Ku-Band SATCOM Datalink" },
+ {36, "MQ-1/9 Ku-Band SATCOM Datalink" },
+ {37, "Automatic Identification System (AIS)" },
+ {38, "JPALS Data Link" },
+ {40, "Combat Search and Rescue (CSAR) Radio" },
+ {41, "Counter Unmanned Aircraft System (C-UAS) Radio" },
+ {50, "Electronic Attack Systems" },
+ {0, NULL }
+};
+
+/* SISO-REF-010 [UID 23] */
+static const value_string DIS_PDU_NomenclatureVersion_Strings[] =
+{
+ {0, "Other" },
+ {1, "Joint Electronics Type Designation System (JETDS) Nomenclature (AN/ per Mil-STD-196)" },
+ {2, "Manufacturer Designation" },
+ {3, "National Designation" },
+ {11, "JETDS ARC Set 1" },
+ {12, "JETDS ARC Set 2" },
+ {13, "JETDS ARC Set 3" },
+ {14, "JETDS ARC Set 4" },
+ {15, "JETDS BRC Set 1" },
+ {16, "JETDS BRC Set 2" },
+ {17, "JETDS BRC Set 3" },
+ {18, "JETDS BRC Set 4" },
+ {19, "JETDS CRC Set 1" },
+ {20, "JETDS CRC Set 2" },
+ {21, "JETDS CRC Set 3" },
+ {22, "JETDS CRC Set 4" },
+ {23, "JETDS DRC Set 1" },
+ {24, "JETDS DRC Set 2" },
+ {25, "JETDS DRC Set 3" },
+ {26, "JETDS DRC Set 4" },
+ {27, "JETDS FRC Set 1" },
+ {28, "JETDS FRC Set 2" },
+ {29, "JETDS FRC Set 3" },
+ {30, "JETDS FRC Set 4" },
+ {31, "JETDS GRC Set 1" },
+ {32, "JETDS GRC Set 2" },
+ {33, "JETDS GRC Set 3" },
+ {34, "JETDS GRC Set 4" },
+ {35, "JETDS KRC Set 1" },
+ {36, "JETDS KRC Set 2" },
+ {37, "JETDS KRC Set 3" },
+ {38, "JETDS KRC Set 4" },
+ {39, "JETDS MRC Set 1" },
+ {40, "JETDS MRC Set 2" },
+ {41, "JETDS MRC Set 3" },
+ {42, "JETDS MRC Set 4" },
+ {43, "JETDS PRC Set 1" },
+ {44, "JETDS PRC Set 2" },
+ {45, "JETDS PRC Set 3" },
+ {46, "JETDS PRC Set 4" },
+ {47, "JETDS SRC Set 1" },
+ {48, "JETDS SRC Set 2" },
+ {49, "JETDS SRC Set 3" },
+ {50, "JETDS SRC Set 4" },
+ {51, "JETDS TRC Set 1" },
+ {52, "JETDS TRC Set 2" },
+ {53, "JETDS TRC Set 3" },
+ {54, "JETDS TRC Set 4" },
+ {55, "JETDS VRC Set 1" },
+ {56, "JETDS VRC Set 2" },
+ {57, "JETDS VRC Set 3" },
+ {58, "JETDS VRC Set 4" },
+ {59, "JETDS WRC Set 1" },
+ {60, "JETDS WRC Set 2" },
+ {61, "JETDS WRC Set 3" },
+ {62, "JETDS WRC Set 4" },
+ {63, "JETDS ZRC Set 1" },
+ {64, "JETDS ZRC Set 2" },
+ {65, "JETDS ZRC Set 3" },
+ {66, "JETDS ZRC Set 4" },
+ {0, NULL }
+};
+
+/* SISO-REF-010 [UID 24] */
+static const value_string DIS_PDU_Nomenclature_Strings[] =
+{
+ {0, "Other" },
+ {1, "AN/ARN-118" },
+ {2, "AN/ARN-139" },
+ {3, "Generic Ground Fixed Transmitter" },
+ {4, "Generic Ground Mobile Transmitter" },
+ {0, NULL }
+};
+
+static const value_string DIS_PDU_RadioTransmitState_Strings[] =
+{
+ {0, "Off" },
+ {1, "On but not transmitting" },
+ {2, "On and transmitting" },
+ {0, NULL }
+};
+
+static const value_string DIS_PDU_RadioReceiveState_Strings[] =
+{
+ {0, "Off" },
+ {1, "On but not receiving" },
+ {2, "On and receiving" },
+ {0, NULL }
+};
+
+/* SISO-REF-010 [UID 165] */
+static const value_string DIS_PDU_RadioInputSource_Strings[] =
+{
+ {0, "Other" },
+ {1, "Pilot" },
+ {2, "Copilot" },
+ {3, "First Officer" },
+ {4, "Driver" },
+ {5, "Loader" },
+ {6, "Gunner" },
+ {7, "Commander" },
+ {8, "Digital Data Device" },
+ {9, "Intercom" },
+ {10, "Audio Jammer" },
+ {11, "Data Jammer" },
+ {12, "GPS Jammer" },
+ {13, "GPS Meaconer" },
+ {14, "SATCOM Uplink Jammer" },
+ {0, NULL }
+};
+
+/* SISO-REF-010 [UID 167] */
+typedef enum
+{
+ DIS_PATTERN_OMNI_DIRECTIONAL = 0,
+ DIS_PATTERN_BEAM = 1,
+ DIS_PATTERN_SPHERICAL_HARMONIC = 2
+} DIS_PDU_AntennaPattern_Type;
+
+static const value_string DIS_PDU_AntennaPatternType_Strings[] =
+{
+ {DIS_PATTERN_OMNI_DIRECTIONAL, "Omni-directional" },
+ {DIS_PATTERN_BEAM, "Beam" },
+ {DIS_PATTERN_SPHERICAL_HARMONIC, "Spherical harmonic" },
+ {0, NULL }
+};
+
+/* SISO-REF-010 [UID 155] */
+typedef enum
+{
+ DIS_MAJOR_MOD_OTHER = 0,
+ DIS_MAJOR_MOD_AMPLITUDE = 1,
+ DIS_MAJOR_MOD_AMPLITUDE_AND_ANGLE = 2,
+ DIS_MAJOR_MOD_ANGLE = 3,
+ DIS_MAJOR_MOD_COMBINATION = 4,
+ DIS_MAJOR_MOD_PULSE = 5,
+ DIS_MAJOR_MOD_UNMODULATED = 6,
+ DIS_MAJOR_MOD_CPSM = 7,
+ DIS_MAJOR_MOD_SATCOM = 8
+} DIS_PDU_MAJOR_MODULATION_TYPE;
+
+static const value_string DIS_PDU_MajorModulation_Strings[] =
+{
+ {DIS_MAJOR_MOD_OTHER, "Other" },
+ {DIS_MAJOR_MOD_AMPLITUDE, "Amplitude" },
+ {DIS_MAJOR_MOD_AMPLITUDE_AND_ANGLE, "Amplitude and Angle" },
+ {DIS_MAJOR_MOD_ANGLE, "Angle" },
+ {DIS_MAJOR_MOD_COMBINATION, "Combination" },
+ {DIS_MAJOR_MOD_PULSE, "Pulse" },
+ {DIS_MAJOR_MOD_UNMODULATED, "Unmodulated" },
+ {DIS_MAJOR_MOD_CPSM, "Carrier Phase Shift Modulation (CPSM)" },
+ {0, NULL }
+};
+
+static const range_string DIS_PDU_Link16_CVLL_Strings[] = {
+ { 0, 127, "Crypto Variable" },
+ { 255, 255, "NO STATEMENT" },
+ { 0, 0, NULL }
+};
+
+typedef enum
+{
+ DIS_MESSAGE_TYPE_JTIDS_HEADER_MESSAGES = 0,
+ DIS_MESSAGE_TYPE_RTT_A_B,
+ DIS_MESSAGE_TYPE_RTT_REPLY,
+ DIS_MESSAGE_TYPE_JTIDS_VOICE_CVSD,
+ DIS_MESSAGE_TYPE_JTIDS_VOICE_LPC10,
+ DIS_MESSAGE_TYPE_JTIDS_VOICE_LPC12,
+ DIS_MESSAGE_TYPE_JTIDS_LET,
+ DIS_MESSAGE_TYPE_VMF
+} DIS_PDU_MessageType;
+
+static const value_string DIS_PDU_Link16_MessageType_Strings[] =
+{
+ { DIS_MESSAGE_TYPE_JTIDS_HEADER_MESSAGES, "JTIDS Header/Messages" },
+ { DIS_MESSAGE_TYPE_RTT_A_B, "RTT A/B" },
+ { DIS_MESSAGE_TYPE_RTT_REPLY, "RTT Reply" },
+ { DIS_MESSAGE_TYPE_JTIDS_VOICE_CVSD, "JTIDS Voice CVSD" },
+ { DIS_MESSAGE_TYPE_JTIDS_VOICE_LPC10, "JTIDS Voice LPC10" },
+ { DIS_MESSAGE_TYPE_JTIDS_VOICE_LPC12, "JTIDS Voice LPC12" },
+ { DIS_MESSAGE_TYPE_JTIDS_LET, "JTIDS LET" },
+ { DIS_MESSAGE_TYPE_VMF, "VMF" },
+ { 0, NULL }
+};
+
+/* SISO-REF-010 [UID 76] */
+typedef enum
+{
+ DIS_EMISSION_FUNCTION_OTHER = 0,
+ DIS_EMISSION_FUNCTION_MULTI_FUNCTION = 1,
+ DIS_EMISSION_FUNCTION_EARLY_WARNING_SURVEILLANCE = 2,
+ DIS_EMISSION_FUNCTION_HEIGHT_FINDING = 3,
+ DIS_EMISSION_FUNCTION_FIRE_CONTROL = 4,
+ DIS_EMISSION_FUNCTION_ACQUISITION_DETECTION = 5,
+ DIS_EMISSION_FUNCTION_TRACKING = 6,
+ DIS_EMISSION_FUNCTION_GUIDANCE_ILLUMINATION = 7,
+ DIS_EMISSION_FUNCTION_FIRING_POINT_LAUNCH_POINT_LOCATION = 8,
+ DIS_EMISSION_FUNCTION_RANGING = 9,
+ DIS_EMISSION_FUNCTION_RADAR_ALTIMETER = 10,
+ DIS_EMISSION_FUNCTION_IMAGING = 11,
+ DIS_EMISSION_FUNCTION_MOTION_DETECTION = 12,
+ DIS_EMISSION_FUNCTION_NAVIGATION = 13,
+ DIS_EMISSION_FUNCTION_WEATHER_METEOROLOGICAL = 14,
+ DIS_EMISSION_FUNCTION_INSTRUMENTATION = 15,
+ DIS_EMISSION_FUNCTION_IDENTIFICATION_CLASSIFICATION_INCLUDING_IFF = 16,
+ DIS_EMISSION_FUNCTION_AAA_FIRE_CONTROL = 17,
+ DIS_EMISSION_FUNCTION_AIR_SEARCH_BOMB = 18,
+ DIS_EMISSION_FUNCTION_AIR_INTERCEPT = 19,
+ DIS_EMISSION_FUNCTION_ALTIMETER = 20,
+ DIS_EMISSION_FUNCTION_AIR_MAPPING = 21,
+ DIS_EMISSION_FUNCTION_AIR_TRAFFIC_CONTROL = 22,
+ DIS_EMISSION_FUNCTION_BEACON = 23,
+ DIS_EMISSION_FUNCTION_BATTLEFIELD_SURVEILLANCE = 24,
+ DIS_EMISSION_FUNCTION_GROUND_CONTROL_APPROACH = 25,
+ DIS_EMISSION_FUNCTION_GROUND_CONTROL_INTERCEPT = 26,
+ DIS_EMISSION_FUNCTION_COASTAL_SURVEILLANCE = 27,
+ DIS_EMISSION_FUNCTION_DECOY_MIMIC = 28,
+ DIS_EMISSION_FUNCTION_DATA_TRANSMISSION = 29,
+ DIS_EMISSION_FUNCTION_EARTH_SURVEILLANCE = 30,
+ DIS_EMISSION_FUNCTION_GUN_LAY_BEACON = 31,
+ DIS_EMISSION_FUNCTION_GROUND_MAPPING = 32,
+ DIS_EMISSION_FUNCTION_HARBOR_SURVEILLANCE = 33,
+ /* enum 34 deleted */
+ DIS_EMISSION_FUNCTION_ILS = 35,
+ DIS_EMISSION_FUNCTION_IONOSPHERIC_SOUND = 36,
+ DIS_EMISSION_FUNCTION_INTERROGATOR = 37,
+ DIS_EMISSION_FUNCTION_BARRAGE_JAMMING = 38,
+ DIS_EMISSION_FUNCTION_CLICK_JAMMING = 39,
+ /* enum 40 deleted */
+ DIS_EMISSION_FUNCTION_FREQUENCY_SWEPT_JAMMING = 41,
+ DIS_EMISSION_FUNCTION_JAMMING = 42,
+ /* enum 43 deleted */
+ DIS_EMISSION_FUNCTION_PULSED_JAMMING = 44,
+ DIS_EMISSION_FUNCTION_REPEATER_JAMMING = 45,
+ DIS_EMISSION_FUNCTION_SPOT_NOISE_JAMMING = 46,
+ DIS_EMISSION_FUNCTION_MISSILE_ACQUISITION = 47,
+ DIS_EMISSION_FUNCTION_MISSILE_DOWNLINK = 48,
+ /* enum 49 deleted */
+ DIS_EMISSION_FUNCTION_SPACE = 50,
+ DIS_EMISSION_FUNCTION_SURFACE_SEARCH = 51,
+ DIS_EMISSION_FUNCTION_SHELL_TRACKING = 52,
+ /* enums 52-55 unassigned */
+ DIS_EMISSION_FUNCTION_TELEVISION = 56,
+ DIS_EMISSION_FUNCTION_UNKNOWN = 57,
+ DIS_EMISSION_FUNCTION_VIDEO_REMOTING = 58,
+ DIS_EMISSION_FUNCTION_EXPERIMENTAL_OR_TRAINING = 59,
+ DIS_EMISSION_FUNCTION_MISSILE_GUIDANCE = 60,
+ DIS_EMISSION_FUNCTION_MISSILE_HOMING = 61,
+ DIS_EMISSION_FUNCTION_MISSILE_TRACKING = 62,
+ /* enum 63 unassigned */
+ DIS_EMISSION_FUNCTION_JAMMING_NOISE = 64,
+ DIS_EMISSION_FUNCTION_JAMMING_DECEPTION = 65,
+ /* enum 66 deleted */
+ /* enums 67-70 unassigned */
+ DIS_EMISSION_FUNCTION_NAVIGATION_DISTANCE_MEASURING_EQUIPMENT = 71,
+ DIS_EMISSION_FUNCTION_TERRAIN_FOLLOWING = 72,
+ DIS_EMISSION_FUNCTION_WEATHER_AVOIDANCE = 73,
+ DIS_EMISSION_FUNCTION_PROXIMITY_FUSE = 74,
+ /* enum 75 deleted */
+ DIS_EMISSION_FUNCTION_RADIOSONDE = 76,
+ DIS_EMISSION_FUNCTION_SONOBUOY = 77,
+ DIS_EMISSION_FUNCTION_BATHYTHERMAL_SENSOR = 78,
+ DIS_EMISSION_FUNCTION_TOWED_COUNTER_MEASURE = 79,
+ DIS_EMISSION_FUNCTION_DIPPING_SONAR = 80,
+ DIS_EMISSION_FUNCTION_TOWED_ACOUSTIC_SENSOR = 81,
+ /* enums 82-95 unassigned */
+ DIS_EMISSION_FUNCTION_WEAPON_NON_LETHAL = 96,
+ DIS_EMISSION_FUNCTION_WEAPON_LETHAL = 97,
+ DIS_EMISSION_FUNCTION_TEST_EQUIPMENT = 98,
+ DIS_EMISSION_FUNCTION_ACQUISITION_TRACK = 99,
+ DIS_EMISSION_FUNCTION_TRACK_GUIDANCE = 100,
+ DIS_EMISSION_FUNCTION_GUIDANCE_ILLUMINATION_TRACK_ACQUISITION = 101,
+ DIS_EMISSION_FUNCTION_SEARCH_ACQUISITION = 102
+} DIS_PDU_Emission_Function;
+
+static const value_string DIS_PDU_EmissionFunction_Strings[] =
+{
+ {DIS_EMISSION_FUNCTION_OTHER, "Other" },
+ {DIS_EMISSION_FUNCTION_MULTI_FUNCTION, "Multi-Function" },
+ {DIS_EMISSION_FUNCTION_EARLY_WARNING_SURVEILLANCE,
+ "Early Warning/Surveillance" },
+ {DIS_EMISSION_FUNCTION_HEIGHT_FINDING, "Height Finding" },
+ {DIS_EMISSION_FUNCTION_FIRE_CONTROL, "Fire Control" },
+ {DIS_EMISSION_FUNCTION_ACQUISITION_DETECTION, "Acquisition/Detection" },
+ {DIS_EMISSION_FUNCTION_TRACKING, "Tracking" },
+ {DIS_EMISSION_FUNCTION_GUIDANCE_ILLUMINATION, "Guidance/Illumination" },
+ {DIS_EMISSION_FUNCTION_FIRING_POINT_LAUNCH_POINT_LOCATION,
+ "Firing point/launch point location" },
+ {DIS_EMISSION_FUNCTION_RANGING, "Ranging" },
+ {DIS_EMISSION_FUNCTION_RADAR_ALTIMETER, "Radar Altimeter" },
+ {DIS_EMISSION_FUNCTION_IMAGING, "Imaging" },
+ {DIS_EMISSION_FUNCTION_MOTION_DETECTION, "Motion Detection" },
+ {DIS_EMISSION_FUNCTION_NAVIGATION, "Navigation" },
+ {DIS_EMISSION_FUNCTION_WEATHER_METEOROLOGICAL, "Weather / Meteorological"},
+ {DIS_EMISSION_FUNCTION_INSTRUMENTATION, "Instrumentation" },
+ {DIS_EMISSION_FUNCTION_IDENTIFICATION_CLASSIFICATION_INCLUDING_IFF,
+ "Identification/Classification (including IFF)" },
+ {DIS_EMISSION_FUNCTION_AAA_FIRE_CONTROL,
+ "AAA (Anti-Aircraft Artillery) Fire Control" },
+ {DIS_EMISSION_FUNCTION_AIR_SEARCH_BOMB, "Air Search/Bomb" },
+ {DIS_EMISSION_FUNCTION_AIR_INTERCEPT, "Air Intercept" },
+ {DIS_EMISSION_FUNCTION_ALTIMETER, "Altimeter" },
+ {DIS_EMISSION_FUNCTION_AIR_MAPPING, "Air Mapping" },
+ {DIS_EMISSION_FUNCTION_AIR_TRAFFIC_CONTROL, "Air Traffic Control" },
+ {DIS_EMISSION_FUNCTION_BEACON, "Beacon" },
+ {DIS_EMISSION_FUNCTION_BATTLEFIELD_SURVEILLANCE,
+ "Battlefield Surveillance" },
+ {DIS_EMISSION_FUNCTION_GROUND_CONTROL_APPROACH,
+ "Ground Control Approach" },
+ {DIS_EMISSION_FUNCTION_GROUND_CONTROL_INTERCEPT,
+ "Ground Control Intercept" },
+ {DIS_EMISSION_FUNCTION_COASTAL_SURVEILLANCE, "Coastal Surveillance" },
+ {DIS_EMISSION_FUNCTION_DECOY_MIMIC, "Decoy/Mimic" },
+ {DIS_EMISSION_FUNCTION_DATA_TRANSMISSION, "Data Transmission" },
+ {DIS_EMISSION_FUNCTION_EARTH_SURVEILLANCE, "Earth Surveillance" },
+ {DIS_EMISSION_FUNCTION_GUN_LAY_BEACON, "Gun Lay Beacon" },
+ {DIS_EMISSION_FUNCTION_GROUND_MAPPING, "Ground Mapping" },
+ {DIS_EMISSION_FUNCTION_HARBOR_SURVEILLANCE, "Harbor Surveillance" },
+ {DIS_EMISSION_FUNCTION_ILS,
+ "ILS (Instrument Landing System)" },
+ {DIS_EMISSION_FUNCTION_IONOSPHERIC_SOUND, "Ionospheric Sound" },
+ {DIS_EMISSION_FUNCTION_INTERROGATOR, "Interrogator" },
+ {DIS_EMISSION_FUNCTION_BARRAGE_JAMMING, "Barrage Jamming" },
+ {DIS_EMISSION_FUNCTION_CLICK_JAMMING, "Click Jamming" },
+ {DIS_EMISSION_FUNCTION_FREQUENCY_SWEPT_JAMMING,
+ "Frequency Swept Jamming" },
+ {DIS_EMISSION_FUNCTION_JAMMING, "Jamming" },
+ {DIS_EMISSION_FUNCTION_PULSED_JAMMING, "Pulsed Jamming" },
+ {DIS_EMISSION_FUNCTION_REPEATER_JAMMING, "Repeater Jamming" },
+ {DIS_EMISSION_FUNCTION_SPOT_NOISE_JAMMING, "Spot Noise Jamming" },
+ {DIS_EMISSION_FUNCTION_MISSILE_ACQUISITION, "Missile Acquisition" },
+ {DIS_EMISSION_FUNCTION_MISSILE_DOWNLINK, "Missile Downlink" },
+ {DIS_EMISSION_FUNCTION_SPACE, "Space" },
+ {DIS_EMISSION_FUNCTION_SURFACE_SEARCH, "Surface Search" },
+ {DIS_EMISSION_FUNCTION_SHELL_TRACKING, "Shell Tracking" },
+ {DIS_EMISSION_FUNCTION_TELEVISION, "Television" },
+ {DIS_EMISSION_FUNCTION_UNKNOWN, "Unknown" },
+ {DIS_EMISSION_FUNCTION_VIDEO_REMOTING, "Video Remoting" },
+ {DIS_EMISSION_FUNCTION_EXPERIMENTAL_OR_TRAINING,
+ "Experimental or training" },
+ {DIS_EMISSION_FUNCTION_MISSILE_GUIDANCE, "Missile Guidance" },
+ {DIS_EMISSION_FUNCTION_MISSILE_HOMING, "Missile Homing" },
+ {DIS_EMISSION_FUNCTION_MISSILE_TRACKING, "Missile Tracking" },
+ {DIS_EMISSION_FUNCTION_JAMMING_NOISE, "Jamming, noise" },
+ {DIS_EMISSION_FUNCTION_JAMMING_DECEPTION, "Jamming, deception" },
+ {DIS_EMISSION_FUNCTION_NAVIGATION_DISTANCE_MEASURING_EQUIPMENT,
+ "Navigation/Distance Measuring Equipment" },
+ {DIS_EMISSION_FUNCTION_TERRAIN_FOLLOWING, "Terrain Following" },
+ {DIS_EMISSION_FUNCTION_WEATHER_AVOIDANCE, "Weather Avoidance" },
+ {DIS_EMISSION_FUNCTION_PROXIMITY_FUSE, "Proximity Fuse" },
+ {DIS_EMISSION_FUNCTION_RADIOSONDE, "Radiosonde" },
+ {DIS_EMISSION_FUNCTION_SONOBUOY, "Sonobuoy" },
+ {DIS_EMISSION_FUNCTION_BATHYTHERMAL_SENSOR, "Bathythermal Sensor" },
+ {DIS_EMISSION_FUNCTION_TOWED_COUNTER_MEASURE, "Towed Counter Measure" },
+ {DIS_EMISSION_FUNCTION_DIPPING_SONAR, "Dipping Sonar" },
+ {DIS_EMISSION_FUNCTION_TOWED_ACOUSTIC_SENSOR, "Towed Acoustic Sensor" },
+ {DIS_EMISSION_FUNCTION_WEAPON_NON_LETHAL, "Weapon, non-lethal" },
+ {DIS_EMISSION_FUNCTION_WEAPON_LETHAL, "Weapon, lethal" },
+ {DIS_EMISSION_FUNCTION_TEST_EQUIPMENT, "Test Equipment" },
+ {DIS_EMISSION_FUNCTION_ACQUISITION_TRACK, "Acquisition Track" },
+ {DIS_EMISSION_FUNCTION_TRACK_GUIDANCE, "Track Guidance" },
+ {DIS_EMISSION_FUNCTION_GUIDANCE_ILLUMINATION_TRACK_ACQUISITION,
+ "Guidance Illumination Track Acquisition" },
+ {DIS_EMISSION_FUNCTION_SEARCH_ACQUISITION, "Search Acquisition" },
+ {0, NULL }
+};
+
+static value_string_ext DIS_PDU_EmissionFunction_Strings_Ext = VALUE_STRING_EXT_INIT(DIS_PDU_EmissionFunction_Strings);
+
+/* SISO-REF-010 [UID 78] */
+typedef enum
+{
+ DIS_BEAM_FUNCTION_OTHER = 0,
+ DIS_BEAM_FUNCTION_SEARCH = 1,
+ DIS_BEAM_FUNCTION_HEIGHT_FINDER = 2,
+ DIS_BEAM_FUNCTION_ACQUISITION = 3,
+ DIS_BEAM_FUNCTION_TRACKING = 4,
+ DIS_BEAM_FUNCTION_ACQUISITION_TRACKING = 5,
+ DIS_BEAM_FUNCTION_COMMAND_GUIDANCE = 6,
+ DIS_BEAM_FUNCTION_ILLUMINATION = 7,
+ DIS_BEAM_FUNCTION_RANGE_ONLY_RADAR = 8,
+ DIS_BEAM_FUNCTION_MISSILE_BEACON = 9,
+ DIS_BEAM_FUNCTION_MISSILE_FUZE = 10,
+ DIS_BEAM_FUNCTION_ACTIVE_RADAR_MISSILE_SEEKER = 11,
+ DIS_BEAM_FUNCTION_JAMMER = 12,
+ DIS_BEAM_FUNCTION_IFF = 13,
+ DIS_BEAM_FUNCTION_NAVIGATIONAL_WEATHER = 14,
+ DIS_BEAM_FUNCTION_METEOROLOGICAL = 15,
+ DIS_BEAM_FUNCTION_DATA_TRANSMISSION = 16,
+ DIS_BEAM_FUNCTION_NAVIGATIONAL_DIRECTIONAL_BEACON = 17,
+ /* enums 18 & 19 unused */
+ DIS_BEAM_FUNCTION_TIME_SHARED_SEARCH = 20,
+ DIS_BEAM_FUNCTION_TIME_SHARED_ACQUISITION = 21,
+ DIS_BEAM_FUNCTION_TIME_SHARED_TRACK = 22,
+ DIS_BEAM_FUNCTION_TIME_SHARED_COMMAND_GUIDANCE = 23,
+ DIS_BEAM_FUNCTION_TIME_SHARED_ILLUMINATION = 24,
+ DIS_BEAM_FUNCTION_TIME_SHARED_JAMMING = 25
+} DIS_PDU_Beam_Function;
+
+static const value_string DIS_PDU_BeamFunction_Strings[] =
+{
+ {DIS_BEAM_FUNCTION_OTHER, "Other" },
+ {DIS_BEAM_FUNCTION_SEARCH, "Search" },
+ {DIS_BEAM_FUNCTION_HEIGHT_FINDER, "Height finder" },
+ {DIS_BEAM_FUNCTION_ACQUISITION, "Acquisition" },
+ {DIS_BEAM_FUNCTION_TRACKING, "Tracking" },
+ {DIS_BEAM_FUNCTION_ACQUISITION_TRACKING,"Acquisition and tracking" },
+ {DIS_BEAM_FUNCTION_COMMAND_GUIDANCE, "Command guidance" },
+ {DIS_BEAM_FUNCTION_ILLUMINATION, "Illumination" },
+ {DIS_BEAM_FUNCTION_RANGE_ONLY_RADAR, "Range only radar" },
+ {DIS_BEAM_FUNCTION_MISSILE_BEACON, "Missile beacon" },
+ {DIS_BEAM_FUNCTION_MISSILE_FUZE, "Missile fuze" },
+ {DIS_BEAM_FUNCTION_ACTIVE_RADAR_MISSILE_SEEKER,
+ "Active radar missile seeker" },
+ {DIS_BEAM_FUNCTION_JAMMER, "Jammer" },
+ {DIS_BEAM_FUNCTION_IFF, "IFF" },
+ {DIS_BEAM_FUNCTION_NAVIGATIONAL_WEATHER,"Navigational/Weather" },
+ {DIS_BEAM_FUNCTION_METEOROLOGICAL, "Meteorological" },
+ {DIS_BEAM_FUNCTION_DATA_TRANSMISSION, "Data transmission" },
+ {DIS_BEAM_FUNCTION_NAVIGATIONAL_DIRECTIONAL_BEACON,
+ "Navigational directional beacon" },
+ {DIS_BEAM_FUNCTION_TIME_SHARED_SEARCH, "Time-Shared Search" },
+ {DIS_BEAM_FUNCTION_TIME_SHARED_ACQUISITION,
+ "Time-Shared Acquisition" },
+ {DIS_BEAM_FUNCTION_TIME_SHARED_TRACK, "Time-Shared Track" },
+ {DIS_BEAM_FUNCTION_TIME_SHARED_COMMAND_GUIDANCE,
+ "Time-Shared Command Guidance" },
+ {DIS_BEAM_FUNCTION_TIME_SHARED_ILLUMINATION,
+ "Time-Shared Illumination" },
+ {DIS_BEAM_FUNCTION_TIME_SHARED_JAMMING, "Time-Shared Jamming" },
+ {0, NULL }
+};
+
+/* SISO-REF-010 [UID 156] */
+static const value_string DIS_PDU_DetailModulationAmplitude_Strings[] =
+{
+ {0, "Other" },
+ {1, "AFSK (Audio Frequency Shift Keying)" },
+ {2, "AM (Amplitude Modulation)" },
+ {3, "CW (Continuous Wave Modulation)" },
+ {4, "DSB (Double Sideband)" },
+ {5, "ISB (Independent Sideband)" },
+ {6, "LSB (Single Band Suppressed Carrier, Lower Sideband Mode)" },
+ {7, "SSB-Full (Single Sideband Full Carrier)" },
+ {8, "SSB-Reduc (Single Band Reduced Carrier)" },
+ {9, "USB (Single Band Suppressed Carrier, Upper Sideband Mode)" },
+ {10, "VSB (Vestigial Sideband)" },
+ {0, NULL }
+};
+
+/* SISO-REF-010 [UID 157] */
+static const value_string DIS_PDU_DetailModulationAmpAndAngle_Strings[] =
+{
+ {0, "Other" },
+ {1, "Amplitude and Angle" },
+ {0, NULL }
+};
+
+/* SISO-REF-010 [UID 158] */
+static const value_string DIS_PDU_DetailModulationAngle_Strings[] =
+{
+ {0, "Other" },
+ {1, "FM (Frequency Modulation)" },
+ {2, "FSK (Frequency Shift Keying)" },
+ {3, "PM (Phase Modulation)" },
+ {0, NULL }
+};
+
+/* SISO-REF-010 [UID 159] */
+static const value_string DIS_PDU_DetailModulationCombination_Strings[] =
+{
+ {0, "Other" },
+ {1, "Amplitude-Angle-Pulse" },
+ {0, NULL }
+};
+
+/* SISO-REF-010 [UID 160] */
+static const value_string DIS_PDU_DetailModulationPulse_Strings[] =
+{
+ {0, "Other" },
+ {1, "Pulse" },
+ {2, "X Band TACAN Pulse" },
+ {3, "Y Band TACAN Pulse" },
+ {0, NULL }
+};
+
+/* SISO-REF-010 [UID 161] */
+static const value_string DIS_PDU_DetailModulationUnmodulated_Strings[] =
+{
+ {0, "Other" },
+ {1, "Continuous Wave emission of an unmodulated carrier" },
+ {0, NULL }
+};
+
+/* SISO-REF-010 [UID 162] */
+static const value_string DIS_PDU_DetailModulationCPSM_Strings[] =
+{
+ {0, "Other" },
+ {0, NULL }
+};
+
+/* SISO-REF-010 [UID 170] */
+static const value_string DIS_PDU_ModParamMsgStart_Strings[] =
+{
+ {0, "Not start of message" },
+ {1, "Start of Message" },
+ {0, NULL }
+};
+
+/* SISO-REF-010 [UID 171] */
+static const value_string DIS_PDU_ModParamClrChannel_Strings[] =
+{
+ {0, "Not clear channel" },
+ {1, "Clear channel" },
+ {0, NULL }
+};
+
+static const value_string DIS_PDU_TSAllocationFidelity_Strings[] =
+{
+ {0, "Time Slot Allocation Fidelity Level 0" },
+ {1, "Time Slot Allocation Fidelity Level 1" },
+ {2, "Time Slot Allocation Fidelity Level 2" },
+ {3, "Time Slot Allocation Fidelity Level 3" },
+ {4, "Time Slot Allocation Fidelity Level 4" },
+ {0, NULL }
+};
+
+/* SISO-REF-010 [UID 173] */
+static const value_string DIS_PDU_TerminalPrimaryMode_Strings[] =
+{
+ {1, "NTR" },
+ {2, "JTIDS Unit Participant" },
+ {0, NULL }
+};
+
+/* SISO-REF-010 [UID 174] */
+static const value_string DIS_PDU_TerminalSecondaryMode_Strings[] =
+{
+ {0, "None" },
+ {1, "Net Position Reference" },
+ {2, "Primary Navigation Controller" },
+ {3, "Secondary Navigation Controller" },
+ {0, NULL }
+};
+
+/* SISO-REF-010 [UID 175] */
+/* http://discussions.sisostds.org/threadview.aspx?fid=18&threadid=53172 */
+static const value_string DIS_PDU_ModParamSyncState_Strings[] =
+{
+ {1, "Initial Net Entry" },
+ {2, "Coarse Synchronization" },
+ {3, "Fine Synchronization" },
+ {4, "Synchronization Maintenance" },
+ {0, NULL }
+};
+
+/* SISO-REF-010 [UID 163] */
+typedef enum
+{
+ DIS_SYSTEM_MOD_OTHER = 0,
+ DIS_SYSTEM_MOD_GENERIC = 1,
+ DIS_SYSTEM_MOD_HQ = 2,
+ DIS_SYSTEM_MOD_HQII = 3,
+ DIS_SYSTEM_MOD_HQIIA = 4,
+ DIS_SYSTEM_MOD_SINCGARS = 5,
+ DIS_SYSTEM_MOD_CCTT_SINCGARS = 6,
+ DIS_SYSTEM_MOD_EPLRS = 7,
+ DIS_SYSTEM_MOD_JTIDS_MIDS = 8,
+ DIS_SYSTEM_MOD_LINK_11 = 9,
+ DIS_SYSTEM_MOD_LINK_11B = 10,
+ DIS_SYSTEM_MOD_LBAND_SATCOM = 11,
+ DIS_SYSTEM_MOD_ENHANCED_SINCGARS_7_3B = 12,
+ DIS_SYSTEM_MOD_NAVIGATION_AID = 13
+} DIS_PDU_SYSTEM_MODULATION_TYPE;
+
+static const value_string DIS_PDU_SystemModulation_Strings[] =
+{
+ {DIS_SYSTEM_MOD_OTHER, "Other" },
+ {DIS_SYSTEM_MOD_GENERIC, "Generic" },
+ {DIS_SYSTEM_MOD_HQ, "HQ" },
+ {DIS_SYSTEM_MOD_HQII, "HQII" },
+ {DIS_SYSTEM_MOD_HQIIA, "HQIIA" },
+ {DIS_SYSTEM_MOD_SINCGARS, "SINCGARS" },
+ {DIS_SYSTEM_MOD_CCTT_SINCGARS, "CCTT SINCGARS" },
+ {DIS_SYSTEM_MOD_EPLRS, "EPLRS (Enhanced Position Location Reporting System)" },
+ {DIS_SYSTEM_MOD_JTIDS_MIDS, "JTIDS/MIDS" },
+ {DIS_SYSTEM_MOD_LINK_11, "Link 11" },
+ {DIS_SYSTEM_MOD_LINK_11B, "Link 11B" },
+ {DIS_SYSTEM_MOD_LBAND_SATCOM, "L-Band SATCOM" },
+ {DIS_SYSTEM_MOD_ENHANCED_SINCGARS_7_3B, "Enhanced SINCGARS 7.3" },
+ {DIS_SYSTEM_MOD_NAVIGATION_AID, "Navigation Aid" },
+ {0, NULL }
+};
+
+/* SISO-REF-010 [UID 166] */
+static const value_string DIS_PDU_CryptoSystem_Strings[] =
+{
+ {0, "No Encryption Device" },
+ {1, "KY-28" },
+ {2, "KY-58" },
+ {3, "Narrow Spectrum Secure Voice (NSVE)" },
+ {4, "Wide Spectrum Secure Voice (WSVE)" },
+ {5, "SINCGARS ICOM" },
+ {6, "KY-75" },
+ {7, "KY-100" },
+ {8, "KY-57" },
+ {9, "KYV-5" },
+ {10, "Link 11 KG-40A-P (NTDS)" },
+ {11, "Link 11B KG-40A-S" },
+ {12, "Link 11 KG-40AR" },
+ {0, NULL }
+};
+
+/* SISO-REF-010 [UID 69] */
+typedef enum
+{
+ DIS_ACKNOWLEDGE_FLAG_CREATE_ENTITY = 1,
+ DIS_ACKNOWLEDGE_FLAG_REMOVE_ENTITY = 2,
+ DIS_ACKNOWLEDGE_FLAG_START_RESUME = 3,
+ DIS_ACKNOWLEDGE_FLAG_STOP_FREEZE = 4,
+ DIS_ACKNOWLEDGE_FLAG_TRANSFER_CONTROL_REQUEST = 5
+} DIS_PDU_AcknowledgeFlag;
+
+static const value_string DIS_PDU_AcknowledgeFlag_Strings[] =
+{
+ { DIS_ACKNOWLEDGE_FLAG_CREATE_ENTITY, "Create Entity" },
+ { DIS_ACKNOWLEDGE_FLAG_REMOVE_ENTITY, "Remove Entity" },
+ { DIS_ACKNOWLEDGE_FLAG_START_RESUME, "Start Resume" },
+ { DIS_ACKNOWLEDGE_FLAG_STOP_FREEZE, "Stop Freeze" },
+ { DIS_ACKNOWLEDGE_FLAG_TRANSFER_CONTROL_REQUEST, "Transfer Control Request" },
+ { 0, NULL }
+};
+
+/* SISO-REF-010 [UID 71] */
+typedef enum
+{
+ DIS_ACTION_ID_OTHER = 0,
+ DIS_ACTION_ID_LOCAL_STORAGE_OF_THE_REQUESTED_INFORMATION = 1,
+ DIS_ACTION_ID_INFORM_SM_OF_EVENT_RAN_OUT_OF_AMMUNITION = 2,
+ DIS_ACTION_ID_INFORM_SM_OF_EVENT_KILLED_IN_ACTION = 3,
+ DIS_ACTION_ID_INFORM_SM_OF_EVENT_DAMAGE = 4,
+ DIS_ACTION_ID_INFORM_SM_OF_EVENT_MOBILITY_DISABLED = 5,
+ DIS_ACTION_ID_INFORM_SM_OF_EVENT_FIRE_DISABLED = 6,
+ DIS_ACTION_ID_INFORM_SM_OF_EVENT_RAN_OUT_OF_FUEL = 7,
+ DIS_ACTION_ID_RECALL_CHECKPOINT_DATA = 8,
+ DIS_ACTION_ID_RECALL_INITIAL_PARAMETERS = 9,
+ DIS_ACTION_ID_INITIATE_TETHER_LEAD = 10,
+ DIS_ACTION_ID_INITIATE_TETHER_FOLLOW = 11,
+ DIS_ACTION_ID_UNTETHER = 12,
+ DIS_ACTION_ID_INITIATE_SERVICE_STATION_RESUPPLY = 13,
+ DIS_ACTION_ID_INITIATE_TAILGATE_RESUPPLY = 14,
+ DIS_ACTION_ID_INITIATE_HITCH_LEAD = 15,
+ DIS_ACTION_ID_INITIATE_HITCH_FOLLOW = 16,
+ DIS_ACTION_ID_UNHITCH = 17,
+ DIS_ACTION_ID_MOUNT = 18,
+ DIS_ACTION_ID_DISMOUNT = 19,
+ DIS_ACTION_ID_START_DRC = 20,
+ DIS_ACTION_ID_STOP_DRC = 21,
+ DIS_ACTION_ID_DATA_QUERY = 22,
+ DIS_ACTION_ID_STATUS_REQUEST = 23,
+ DIS_ACTION_ID_SEND_OBJECT_STATE_DATA = 24,
+ DIS_ACTION_ID_RECONSTITUTE = 25,
+ DIS_ACTION_ID_LOCK_SITE_CONFIGURATION = 26,
+ DIS_ACTION_ID_UNLOCK_SITE_CONFIGURATION = 27,
+ DIS_ACTION_ID_UPDATE_SITE_CONFIGURATION = 28,
+ DIS_ACTION_ID_QUERY_SITE_CONFIGURATION = 29,
+ DIS_ACTION_ID_TETHERING_INFORMATION = 30,
+ DIS_ACTION_ID_MOUNT_INTENT = 31,
+ DIS_ACTION_ID_ACCEPT_SUBSCRIPTION = 33,
+ DIS_ACTION_ID_UNSUBSCRIBE = 34,
+ DIS_ACTION_ID_TELEPORT_ENTITY = 35,
+ DIS_ACTION_ID_CHANGE_AGGREGATE_STATE = 36,
+ DIS_ACTION_ID_REQUEST_START_PDU = 37,
+ DIS_ACTION_ID_WAKEUP_GET_READY_FOR_INITIALIZATION = 38,
+ DIS_ACTION_ID_INITIALIZE_INTERNAL_PARAMETERS = 39,
+ DIS_ACTION_ID_SEND_PLAN_DATA = 40,
+ DIS_ACTION_ID_SYNCHRONIZE_INTERNAL_CLOCKS = 41,
+ DIS_ACTION_ID_RUN = 42,
+ DIS_ACTION_ID_SAVE_INTERNAL_PARAMETERS = 43,
+ DIS_ACTION_ID_SIMULATE_MALFUNCTION = 44,
+ DIS_ACTION_ID_JOIN_EXERCISE = 45,
+ DIS_ACTION_ID_RESIGN_EXERCISE = 46,
+ DIS_ACTION_ID_TIME_ADVANCE = 47,
+ DIS_ACTION_ID_COMMAND_FROM_SIMULATOR = 48,
+ DIS_ACTION_ID_SLING_LOAD_CAPABILITY_REQUEST = 4300,
+ DIS_ACTION_ID_SLING_ATTACH_REQUEST = 4301,
+ DIS_ACTION_ID_SLING_RELEASE_REQUEST = 4302,
+ DIS_ACTION_ID_AIRMOUNT_MOUNT_REQUEST = 4303,
+ DIS_ACTION_ID_AIRMOUNT_DISMOUNT_REQUEST = 4304,
+ DIS_ACTION_ID_AIRMOUNT_INFO_REQUEST = 4305
+} DIS_PDU_ActionId;
+
+static const value_string DIS_PDU_ActionId_Strings[] =
+{
+ { DIS_ACTION_ID_OTHER, "Other" },
+ { DIS_ACTION_ID_LOCAL_STORAGE_OF_THE_REQUESTED_INFORMATION, "LocalStorageOfTheRequestedInformation" },
+ { DIS_ACTION_ID_INFORM_SM_OF_EVENT_RAN_OUT_OF_AMMUNITION, "InformSMofEventRanOutOfAmmunition" },
+ { DIS_ACTION_ID_INFORM_SM_OF_EVENT_KILLED_IN_ACTION, "InformSMofEventKilledInAction" },
+ { DIS_ACTION_ID_INFORM_SM_OF_EVENT_DAMAGE, "InformSMofEventDamage" },
+ { DIS_ACTION_ID_INFORM_SM_OF_EVENT_MOBILITY_DISABLED, "InformSMofEventMobilityDisabled" },
+ { DIS_ACTION_ID_INFORM_SM_OF_EVENT_FIRE_DISABLED, "InformSMofEventFireDisabled" },
+ { DIS_ACTION_ID_INFORM_SM_OF_EVENT_RAN_OUT_OF_FUEL, "InformSMofEventRanOutOfFuel" },
+ { DIS_ACTION_ID_RECALL_CHECKPOINT_DATA, "RecallCheckpointData" },
+ { DIS_ACTION_ID_RECALL_INITIAL_PARAMETERS, "RecallInitialParameters" },
+ { DIS_ACTION_ID_INITIATE_TETHER_LEAD, "InitiateTetherLead" },
+ { DIS_ACTION_ID_INITIATE_TETHER_FOLLOW, "InitiateTetherFollow" },
+ { DIS_ACTION_ID_UNTETHER, "Untether" },
+ { DIS_ACTION_ID_INITIATE_SERVICE_STATION_RESUPPLY, "InitiateServiceStationResupply" },
+ { DIS_ACTION_ID_INITIATE_TAILGATE_RESUPPLY, "InitiateTailgateResupply" },
+ { DIS_ACTION_ID_INITIATE_HITCH_LEAD, "InitiateHitchLead" },
+ { DIS_ACTION_ID_INITIATE_HITCH_FOLLOW, "InitiateHitchFollow" },
+ { DIS_ACTION_ID_UNHITCH, "Unhitch" },
+ { DIS_ACTION_ID_MOUNT, "Mount" },
+ { DIS_ACTION_ID_DISMOUNT, "Dismount" },
+ { DIS_ACTION_ID_START_DRC, "StartDRC" },
+ { DIS_ACTION_ID_STOP_DRC, "StopDRC" },
+ { DIS_ACTION_ID_DATA_QUERY, "DataQuery" },
+ { DIS_ACTION_ID_STATUS_REQUEST, "StatusRequest" },
+ { DIS_ACTION_ID_SEND_OBJECT_STATE_DATA, "SendObjectStateData" },
+ { DIS_ACTION_ID_RECONSTITUTE, "Reconstitute" },
+ { DIS_ACTION_ID_LOCK_SITE_CONFIGURATION, "LockSiteConfiguration" },
+ { DIS_ACTION_ID_UNLOCK_SITE_CONFIGURATION, "UnlockSiteConfiguration" },
+ { DIS_ACTION_ID_UPDATE_SITE_CONFIGURATION, "UpdateSiteConfiguration" },
+ { DIS_ACTION_ID_QUERY_SITE_CONFIGURATION, "QuerySiteConfiguration" },
+ { DIS_ACTION_ID_TETHERING_INFORMATION, "TetheringInformation" },
+ { DIS_ACTION_ID_MOUNT_INTENT, "MountIntent" },
+ { DIS_ACTION_ID_ACCEPT_SUBSCRIPTION, "AcceptSubscription" },
+ { DIS_ACTION_ID_UNSUBSCRIBE, "Unsubscribe" },
+ { DIS_ACTION_ID_TELEPORT_ENTITY, "TeleportEntity" },
+ { DIS_ACTION_ID_CHANGE_AGGREGATE_STATE, "ChangeAggregateState" },
+ { DIS_ACTION_ID_REQUEST_START_PDU, "RequestStartPdu" },
+ { DIS_ACTION_ID_WAKEUP_GET_READY_FOR_INITIALIZATION, "WakeupGetReadyForInitialization" },
+ { DIS_ACTION_ID_INITIALIZE_INTERNAL_PARAMETERS, "InitializeInternalParameters" },
+ { DIS_ACTION_ID_SEND_PLAN_DATA, "SendPlanData" },
+ { DIS_ACTION_ID_SYNCHRONIZE_INTERNAL_CLOCKS, "SynchronizeInternalClocks" },
+ { DIS_ACTION_ID_RUN, "Run" },
+ { DIS_ACTION_ID_SAVE_INTERNAL_PARAMETERS, "SaveInternalParameters" },
+ { DIS_ACTION_ID_SIMULATE_MALFUNCTION, "SimulateMalfunction" },
+ { DIS_ACTION_ID_JOIN_EXERCISE, "JoinExercise" },
+ { DIS_ACTION_ID_RESIGN_EXERCISE, "ResignExercise" },
+ { DIS_ACTION_ID_TIME_ADVANCE, "TimeAdvance" },
+ { DIS_ACTION_ID_COMMAND_FROM_SIMULATOR, "CommandFromSimulator" },
+ { DIS_ACTION_ID_SLING_LOAD_CAPABILITY_REQUEST, "SlingLoadCapabilityRequest" },
+ { DIS_ACTION_ID_SLING_ATTACH_REQUEST, "SlingAttachRequest" },
+ { DIS_ACTION_ID_SLING_RELEASE_REQUEST, "SlingReleaseRequest" },
+ { DIS_ACTION_ID_AIRMOUNT_MOUNT_REQUEST, "AirmountMountRequest" },
+ { DIS_ACTION_ID_AIRMOUNT_DISMOUNT_REQUEST, "AirmountDismountRequest" },
+ { DIS_ACTION_ID_AIRMOUNT_INFO_REQUEST, "AirmountInfoRequest" },
+ { 0, NULL }
+};
+
+static value_string_ext DIS_PDU_ActionId_Strings_Ext = VALUE_STRING_EXT_INIT(DIS_PDU_ActionId_Strings);
+
+typedef enum
+{
+ DIS_APPLICATION_GENERAL_STATUS_UNKNOWN = 1,
+ DIS_APPLICATION_GENERAL_STATUS_FUNCTIONAL = 2,
+ DIS_APPLICATION_GENERAL_STATUS_DEGRADED_BUT_FUNCTIONAL = 3,
+ DIS_APPLICATION_GENERAL_STATUS_NOT_FUNCTIONAL = 4
+} DIS_PDU_ApplicationGeneralStatus;
+
+static const value_string DIS_PDU_ApplicationGeneralStatus_Strings[] =
+{
+ { DIS_APPLICATION_GENERAL_STATUS_UNKNOWN, "Unknown" },
+ { DIS_APPLICATION_GENERAL_STATUS_FUNCTIONAL, "Functional" },
+ { DIS_APPLICATION_GENERAL_STATUS_DEGRADED_BUT_FUNCTIONAL, "Degraded But Functional" },
+ { DIS_APPLICATION_GENERAL_STATUS_NOT_FUNCTIONAL, "Not Functional" },
+ { 0, NULL }
+};
+
+typedef enum
+{
+ DIS_APPLICATION_STATUS_TYPE_NOT_SPECIFIED = 0,
+ DIS_APPLICATION_STATUS_TYPE_CPU_USAGE_USER = 10,
+ DIS_APPLICATION_STATUS_TYPE_CPU_USAGE_SYSTEM = 11,
+ DIS_APPLICATION_STATUS_TYPE_CPU_USAGE_IO = 12,
+ DIS_APPLICATION_STATUS_TYPE_CPU_USAGE_IDLE = 13,
+ DIS_APPLICATION_STATUS_TYPE_CPU_USAGE_STEAL = 14,
+ DIS_APPLICATION_STATUS_TYPE_CPU_USAGE_NICE = 15,
+ DIS_APPLICATION_STATUS_TYPE_MEMORY_FREE = 50,
+ DIS_APPLICATION_STATUS_TYPE_MEMORY_USED = 51,
+ DIS_APPLICATION_STATUS_TYPE_SWAP_FREE = 60,
+ DIS_APPLICATION_STATUS_TYPE_SWAP_USED = 61,
+ DIS_APPLICATION_STATUS_TYPE_SWAP_CACHED = 62,
+ DIS_APPLICATION_STATUS_TYPE_TRANSMITTED_PACKETS_SEC = 100,
+ DIS_APPLICATION_STATUS_TYPE_TRANSMITTED_BYTES_SEC = 101,
+ DIS_APPLICATION_STATUS_TYPE_RECEIVED_PACKETS_SEC = 110,
+ DIS_APPLICATION_STATUS_TYPE_RECEIVED_BYTES_SEC = 111,
+ DIS_APPLICATION_STATUS_TYPE_NICE_LEVEL = 150
+} DIS_PDU_ApplicationStatusType;
+
+static const value_string DIS_PDU_ApplicationStatusType_Strings[] =
+{
+ { DIS_APPLICATION_STATUS_TYPE_NOT_SPECIFIED, "Not Specified" },
+ { DIS_APPLICATION_STATUS_TYPE_CPU_USAGE_USER, "Cpu Usage User" },
+ { DIS_APPLICATION_STATUS_TYPE_CPU_USAGE_SYSTEM, "Cpu Usage System" },
+ { DIS_APPLICATION_STATUS_TYPE_CPU_USAGE_IO, "Cpu Usage Io" },
+ { DIS_APPLICATION_STATUS_TYPE_CPU_USAGE_IDLE, "Cpu Usage Idle" },
+ { DIS_APPLICATION_STATUS_TYPE_CPU_USAGE_STEAL, "Cpu Usage Steal" },
+ { DIS_APPLICATION_STATUS_TYPE_CPU_USAGE_NICE, "Cpu Usage Nice" },
+ { DIS_APPLICATION_STATUS_TYPE_MEMORY_FREE, "Memory Free" },
+ { DIS_APPLICATION_STATUS_TYPE_MEMORY_USED, "Memory Used" },
+ { DIS_APPLICATION_STATUS_TYPE_SWAP_FREE, "Swap Free" },
+ { DIS_APPLICATION_STATUS_TYPE_SWAP_USED, "Swap Used" },
+ { DIS_APPLICATION_STATUS_TYPE_SWAP_CACHED, "Swap Cached" },
+ { DIS_APPLICATION_STATUS_TYPE_TRANSMITTED_PACKETS_SEC, "Transmitted Packets Sec" },
+ { DIS_APPLICATION_STATUS_TYPE_TRANSMITTED_BYTES_SEC, "Transmitted Bytes Sec" },
+ { DIS_APPLICATION_STATUS_TYPE_RECEIVED_PACKETS_SEC, "Received Packets Sec" },
+ { DIS_APPLICATION_STATUS_TYPE_RECEIVED_BYTES_SEC, "Received Bytes Sec" },
+ { DIS_APPLICATION_STATUS_TYPE_NICE_LEVEL, "Nice Level" },
+ { 0, NULL }
+};
+
+typedef enum
+{
+ DIS_APPLICATION_TYPE_OTHER = 0,
+ DIS_APPLICATION_TYPE_RESOURCE_MANAGER = 1,
+ DIS_APPLICATION_TYPE_SIMULATION_MANAGER = 2,
+ DIS_APPLICATION_TYPE_GATEWAY = 3,
+ DIS_APPLICATION_TYPE_STEALTH = 4,
+ DIS_APPLICATION_TYPE_TACTICAL_INTERNET_INTERFACE = 5
+} DIS_PDU_ApplicationType;
+
+static const value_string DIS_PDU_ApplicationType_Strings[] =
+{
+ { DIS_APPLICATION_TYPE_OTHER, "Other" },
+ { DIS_APPLICATION_TYPE_RESOURCE_MANAGER, "Resource Manager" },
+ { DIS_APPLICATION_TYPE_SIMULATION_MANAGER, "Simulation Manager" },
+ { DIS_APPLICATION_TYPE_GATEWAY, "Gateway" },
+ { DIS_APPLICATION_TYPE_STEALTH, "Stealth" },
+ { DIS_APPLICATION_TYPE_TACTICAL_INTERNET_INTERFACE, "Tactical Internet Interface" },
+ { 0, NULL }
+};
+
+/* SISO-REF-010 [UID 62] */
+typedef enum
+{
+ DIS_DETONATION_RESULT_OTHER = 0,
+ DIS_DETONATION_RESULT_ENTITY_IMPACT = 1,
+ DIS_DETONATION_RESULT_ENTITY_PROXIMATE_DETONATION = 2,
+ DIS_DETONATION_RESULT_GROUND_IMPACT = 3,
+ DIS_DETONATION_RESULT_GROUND_PROXIMATE_DETONATION = 4,
+ DIS_DETONATION_RESULT_DETONATION = 5,
+ DIS_DETONATION_RESULT_NONE_DUD = 6,
+ DIS_DETONATION_RESULT_HE_HIT_SMALL = 7,
+ DIS_DETONATION_RESULT_HE_HIT_MEDIUM = 8,
+ DIS_DETONATION_RESULT_HE_HIT_LARGE = 9,
+ DIS_DETONATION_RESULT_ARMOR_PIERCING_HIT = 10,
+ DIS_DETONATION_RESULT_DIRT_BLAST_SMALL = 11,
+ DIS_DETONATION_RESULT_DIRT_BLAST_MEDIUM = 12,
+ DIS_DETONATION_RESULT_DIRT_BLAST_LARGE = 13,
+ DIS_DETONATION_RESULT_WATER_BLAST_SMALL = 14,
+ DIS_DETONATION_RESULT_WATER_BLAST_MEDIUM = 15,
+ DIS_DETONATION_RESULT_WATER_BLAST_LARGE = 16,
+ DIS_DETONATION_RESULT_AIR_HIT = 17,
+ DIS_DETONATION_RESULT_BUILDING_HIT_SMALL = 18,
+ DIS_DETONATION_RESULT_BUILDING_HIT_MEDIUM = 19,
+ DIS_DETONATION_RESULT_BUILDING_HIT_LARGE = 20,
+ DIS_DETONATION_RESULT_MINE_CLEARING_LINE_CHARGE = 21,
+ DIS_DETONATION_RESULT_ENVIRONMENT_OBJECT_IMPACT = 22,
+ DIS_DETONATION_RESULT_ENVIRONMENT_OBJECT_PROXIMATE_DETONATION = 23,
+ DIS_DETONATION_RESULT_WATER_IMPACT = 24,
+ DIS_DETONATION_RESULT_AIR_BURST = 25,
+ DIS_DETONATION_RESULT_KILL_WITH_FRAGMENT_TYPE_1 = 26,
+ DIS_DETONATION_RESULT_KILL_WITH_FRAGMENT_TYPE_2 = 27,
+ DIS_DETONATION_RESULT_KILL_WITH_FRAGMENT_TYPE_3 = 28,
+ DIS_DETONATION_RESULT_KILL_WITH_FRAGMENT_TYPE_1_AFTER_FOF = 29,
+ DIS_DETONATION_RESULT_KILL_WITH_FRAGMENT_TYPE_2_AFTER_FOF = 30,
+ DIS_DETONATION_RESULT_MISS_DUE_TO_FOF = 31,
+ DIS_DETONATION_RESULT_MISS_DUE_TO_ENDGAME_FAILURE = 32,
+ DIS_DETONATION_RESULT_MISS_DUE_TO_FOF_AND_ENDGAME_FAILURE = 33
+} DIS_PDU_DetonationResult;
+
+static const value_string DIS_PDU_DetonationResult_Strings[] =
+{
+ { DIS_DETONATION_RESULT_OTHER, "Other" },
+ { DIS_DETONATION_RESULT_ENTITY_IMPACT, "Entity impact" },
+ { DIS_DETONATION_RESULT_ENTITY_PROXIMATE_DETONATION, "Entity proximate detonation" },
+ { DIS_DETONATION_RESULT_GROUND_IMPACT, "Ground impact" },
+ { DIS_DETONATION_RESULT_GROUND_PROXIMATE_DETONATION, "Ground proximate detonation" },
+ { DIS_DETONATION_RESULT_DETONATION, "Detonation" },
+ { DIS_DETONATION_RESULT_NONE_DUD, "None or no detonation (dud)" },
+ { DIS_DETONATION_RESULT_HE_HIT_SMALL, "HE hit, small" },
+ { DIS_DETONATION_RESULT_HE_HIT_MEDIUM, "HE hit, medium" },
+ { DIS_DETONATION_RESULT_HE_HIT_LARGE, "HE hit, large" },
+ { DIS_DETONATION_RESULT_ARMOR_PIERCING_HIT, "Armor-piercing hit" },
+ { DIS_DETONATION_RESULT_DIRT_BLAST_SMALL, "Dirt blast, small" },
+ { DIS_DETONATION_RESULT_DIRT_BLAST_MEDIUM, "Dirt blast, medium" },
+ { DIS_DETONATION_RESULT_DIRT_BLAST_LARGE, "Dirt blast, large" },
+ { DIS_DETONATION_RESULT_WATER_BLAST_SMALL, "Water blast, small" },
+ { DIS_DETONATION_RESULT_WATER_BLAST_MEDIUM, "Water blast, medium" },
+ { DIS_DETONATION_RESULT_WATER_BLAST_LARGE, "Water blast, large" },
+ { DIS_DETONATION_RESULT_AIR_HIT, "Air hit" },
+ { DIS_DETONATION_RESULT_BUILDING_HIT_SMALL, "Building hit, small" },
+ { DIS_DETONATION_RESULT_BUILDING_HIT_MEDIUM, "Building hit, medium" },
+ { DIS_DETONATION_RESULT_BUILDING_HIT_LARGE, "Building hit, large" },
+ { DIS_DETONATION_RESULT_MINE_CLEARING_LINE_CHARGE, "Mine-clearing line charge" },
+ { DIS_DETONATION_RESULT_ENVIRONMENT_OBJECT_IMPACT, "Environment object impact" },
+ { DIS_DETONATION_RESULT_ENVIRONMENT_OBJECT_PROXIMATE_DETONATION, "Environment object proximate detonation" },
+ { DIS_DETONATION_RESULT_WATER_IMPACT, "Water impact" },
+ { DIS_DETONATION_RESULT_AIR_BURST, "Air burst" },
+ { DIS_DETONATION_RESULT_KILL_WITH_FRAGMENT_TYPE_1, "Kill with fragment type 1" },
+ { DIS_DETONATION_RESULT_KILL_WITH_FRAGMENT_TYPE_2, "Kill with fragment type 2" },
+ { DIS_DETONATION_RESULT_KILL_WITH_FRAGMENT_TYPE_3, "Kill with fragment type 3" },
+ { DIS_DETONATION_RESULT_KILL_WITH_FRAGMENT_TYPE_1_AFTER_FOF, "Kill with fragment type 1 after fly-out failure" },
+ { DIS_DETONATION_RESULT_KILL_WITH_FRAGMENT_TYPE_2_AFTER_FOF, "Kill with fragment type 2 after fly-out failure" },
+ { DIS_DETONATION_RESULT_MISS_DUE_TO_FOF, "Miss due to fly-out failure" },
+ { DIS_DETONATION_RESULT_MISS_DUE_TO_ENDGAME_FAILURE, "Miss due to end-game failure" },
+ { DIS_DETONATION_RESULT_MISS_DUE_TO_FOF_AND_ENDGAME_FAILURE, "Miss due to fly-out and end-game failure" },
+ { 0, NULL }
+};
+
+static value_string_ext DIS_PDU_DetonationResult_Strings_Ext = VALUE_STRING_EXT_INIT(DIS_PDU_DetonationResult_Strings);
+
+typedef enum
+{
+ DIS_CONTROL_ID_OTHER = 0,
+ DIS_CONTROL_ID_SHUTDOWN = 1,
+ DIS_CONTROL_ID_DATA_QUERY = 2,
+ DIS_CONTROL_ID_DATA = 3,
+ DIS_CONTROL_ID_SET_DATA = 4,
+ DIS_CONTROL_ID_ADD_DATA = 5,
+ DIS_CONTROL_ID_REMOVE_DATA = 6,
+ DIS_CONTROL_ID_STATUS = 7
+} DIS_PDU_ControlId;
+
+static const value_string DIS_PDU_ControlId_Strings[] =
+{
+ { DIS_CONTROL_ID_OTHER, "Other" },
+ { DIS_CONTROL_ID_SHUTDOWN, "Shutdown" },
+ { DIS_CONTROL_ID_DATA_QUERY, "Data Query" },
+ { DIS_CONTROL_ID_DATA, "Data" },
+ { DIS_CONTROL_ID_SET_DATA, "Set Data" },
+ { DIS_CONTROL_ID_ADD_DATA, "Add Data" },
+ { DIS_CONTROL_ID_REMOVE_DATA, "Remove Data" },
+ { DIS_CONTROL_ID_STATUS, "Status" },
+ { 0, NULL }
+};
+
+
+typedef enum
+{
+ DIS_FROZEN_BEHAVIOR_RUN_INTERNAL_SIMULATION_CLOCK = 0,
+ DIS_FROZEN_BEHAVIOR_TRANSMIT_PDUS = 1,
+ DIS_FROZEN_BEHAVIOR_UPDATE_SIM_MODELS_OF_OTHER_ENTITIES = 2,
+ DIS_FROZEN_BEHAVIOR_CONTINUE_TRANSMIT_PDU = 3,
+ DIS_FROZEN_BEHAVIOR_CEASE_UPDATE_SIM_MODELS_OF_OTHER_ENTITIES = 4,
+ DIS_FROZEN_BEHAVIOR_CONTINUE_UPDATE_SIM_MODELS_OF_OTHER_ENTITIES = 5
+} DIS_PDU_FrozenBehavior;
+
+static const value_string DIS_PDU_FrozenBehavior_Strings[] =
+{
+ { DIS_FROZEN_BEHAVIOR_RUN_INTERNAL_SIMULATION_CLOCK, "Run Internal Simulation Clock" },
+ { DIS_FROZEN_BEHAVIOR_TRANSMIT_PDUS, "Transmit PDUs" },
+ { DIS_FROZEN_BEHAVIOR_UPDATE_SIM_MODELS_OF_OTHER_ENTITIES, "Update Sim Models Of Other Entities" },
+ { DIS_FROZEN_BEHAVIOR_CONTINUE_TRANSMIT_PDU, "Continue Transmit PDU" },
+ { DIS_FROZEN_BEHAVIOR_CEASE_UPDATE_SIM_MODELS_OF_OTHER_ENTITIES, "Cease Update Sim Models Of Other Entities" },
+ { DIS_FROZEN_BEHAVIOR_CONTINUE_UPDATE_SIM_MODELS_OF_OTHER_ENTITIES, "Continue Update Sim Models Of Other Entities" },
+ { 0, NULL }
+};
+
+/* SISO-REF-010 [UID 56] */
+typedef enum
+{
+ DIS_PARAM_TYPE_DESIG_ARTICULATED_PART = 0,
+ DIS_PARAM_TYPE_DESIG_ATTACHED_PART = 1,
+ DIS_PARAM_TYPE_DESIG_SEPARATION = 2,
+ DIS_PARAM_TYPE_DESIG_ENTITY_TYPE = 3,
+ DIS_PARAM_TYPE_DESIG_ENTITY_ASSOCIATION = 4,
+ DIS_PARAM_TYPE_DESIG_ANTENNA_LOCATION = 5,
+ DIS_PARAM_TYPE_DESIG_EXTENDED_PLATFORM_APPEARANCE = 20,
+ DIS_PARAM_TYPE_DESIG_EXTENDED_LIFEFORM_APPEARANCE = 21,
+ DIS_PARAM_TYPE_DESIG_HIGH_FIDELITY_LIGHTS = 22,
+ DIS_PARAM_TYPE_DESIG_CHEVRON_MARKING = 23,
+ DIS_PARAM_TYPE_DESIG_HIGH_FIDELITY_THERMAL_SENSOR = 24,
+ DIS_PARAM_TYPE_DESIG_ENTITY_OFFSET = 25,
+ DIS_PARAM_TYPE_DESIG_DEAD_RECKONING = 26,
+ DIS_PARAM_TYPE_DESIG_ARMY_TASK_ORGANIZATION = 27,
+ DIS_PARAM_TYPE_DESIG_HEAD_GAZING_WEAPON_AIMING = 28,
+ DIS_PARAM_TYPE_DESIG_LIFEFORM_ACTION_SEQUENCE = 29,
+ DIS_PARAM_TYPE_DESIG_LEGACY_EXTENDED_LIFEFORM_APPEARANCE = 30
+} DIS_PDU_ParameterTypeDesignator;
+
+static const value_string DIS_PDU_ParameterTypeDesignator_Strings[] =
+{
+ { DIS_PARAM_TYPE_DESIG_ARTICULATED_PART, "Articulated Part" },
+ { DIS_PARAM_TYPE_DESIG_ATTACHED_PART, "Attached Part" },
+ { DIS_PARAM_TYPE_DESIG_SEPARATION, "Separation" },
+ { DIS_PARAM_TYPE_DESIG_ENTITY_TYPE, "Entity Type" },
+ { DIS_PARAM_TYPE_DESIG_ENTITY_ASSOCIATION, "Entity Association" },
+ { DIS_PARAM_TYPE_DESIG_ANTENNA_LOCATION, "Antenna Location" },
+ { DIS_PARAM_TYPE_DESIG_EXTENDED_PLATFORM_APPEARANCE, "Extended Platform Appearance" },
+ { DIS_PARAM_TYPE_DESIG_EXTENDED_LIFEFORM_APPEARANCE, "Extended Lifeform Appearance" },
+ { DIS_PARAM_TYPE_DESIG_HIGH_FIDELITY_LIGHTS, "High Fidelity Lights" },
+ { DIS_PARAM_TYPE_DESIG_CHEVRON_MARKING, "Chevron Marking" },
+ { DIS_PARAM_TYPE_DESIG_HIGH_FIDELITY_THERMAL_SENSOR, "High Fidelity Thermal Sensor" },
+ { DIS_PARAM_TYPE_DESIG_ENTITY_OFFSET, "Entity Offset" },
+ { DIS_PARAM_TYPE_DESIG_DEAD_RECKONING, "Dead Reckoning" },
+ { DIS_PARAM_TYPE_DESIG_ARMY_TASK_ORGANIZATION, "Army Task Organization" },
+ { DIS_PARAM_TYPE_DESIG_HEAD_GAZING_WEAPON_AIMING, "Head Gazing Weapon Aiming" },
+ { DIS_PARAM_TYPE_DESIG_LIFEFORM_ACTION_SEQUENCE, "Lifeform Action Sequence" },
+ { DIS_PARAM_TYPE_DESIG_LEGACY_EXTENDED_LIFEFORM_APPEARANCE, "Legacy Extended Lifeform Appearance" },
+ { 0, NULL }
+};
+
+/* SISO-REF-010 [UID 67] */
+typedef enum
+{
+ DIS_REASON_OTHER = 0,
+ DIS_REASON_RECESS = 1,
+ DIS_REASON_TERMINATION = 2,
+ DIS_REASON_SYSTEM_FAILURE = 3,
+ DIS_REASON_SECURITY_VIOLATION = 4,
+ DIS_REASON_ENTITY_RECONSTITUTION = 5,
+ DIS_REASON_STOP_FOR_RESET = 6,
+ DIS_REASON_STOP_FOR_RESTART = 7,
+ DIS_REASON_ABORT_TRAINING_RETURN_TO_TACTICAL_OPERATIONS = 8
+} DIS_PDU_Reason;
+
+static const value_string DIS_PDU_Reason_Strings[] =
+{
+ { DIS_REASON_OTHER, "Other" },
+ { DIS_REASON_RECESS, "Recess" },
+ { DIS_REASON_TERMINATION, "Termination" },
+ { DIS_REASON_SYSTEM_FAILURE, "System Failure" },
+ { DIS_REASON_SECURITY_VIOLATION, "Security Violation" },
+ { DIS_REASON_ENTITY_RECONSTITUTION, "Entity Reconstitution" },
+ { DIS_REASON_STOP_FOR_RESET, "Stop For Reset" },
+ { DIS_REASON_STOP_FOR_RESTART, "Stop For Restart" },
+ { DIS_REASON_ABORT_TRAINING_RETURN_TO_TACTICAL_OPERATIONS, "Abort Training Return To Tactical Operations" },
+ { 0, NULL }
+};
+
+/* SISO-REF-010 [UID 72] */
+typedef enum
+{
+ DIS_REQUEST_STATUS_OTHER = 0,
+ DIS_REQUEST_STATUS_PENDING = 1,
+ DIS_REQUEST_STATUS_EXECUTING = 2,
+ DIS_REQUEST_STATUS_PARTIALLY_COMPLETE = 3,
+ DIS_REQUEST_STATUS_COMPLETE = 4,
+ DIS_REQUEST_STATUS_REQUEST_REJECTED = 5,
+ DIS_REQUEST_STATUS_RETRANSMIT_REQUEST_NOW = 6,
+ DIS_REQUEST_STATUS_RETRANSMIT_REQUEST_LATER = 7,
+ DIS_REQUEST_STATUS_INVALID_TIME_PARAMETERS = 8,
+ DIS_REQUEST_STATUS_SIMULATION_TIME_EXCEEDED = 9,
+ DIS_REQUEST_STATUS_REQUEST_DONE = 10,
+ DIS_REQUEST_STATUS_TACCSF_LOS_REPLY_TYPE_1 = 100,
+ DIS_REQUEST_STATUS_TACCSF_LOS_REPLY_TYPE_2 = 101,
+ DIS_REQUEST_STATUS_JOIN_EXERCISE_REQUEST_REJECTED = 201
+} DIS_PDU_RequestStatus;
+
+static const value_string DIS_PDU_RequestStatus_Strings[] =
+{
+ { DIS_REQUEST_STATUS_OTHER, "Other" },
+ { DIS_REQUEST_STATUS_PENDING, "Pending" },
+ { DIS_REQUEST_STATUS_EXECUTING, "Executing" },
+ { DIS_REQUEST_STATUS_PARTIALLY_COMPLETE, "Partially Complete" },
+ { DIS_REQUEST_STATUS_COMPLETE, "Complete" },
+ { DIS_REQUEST_STATUS_REQUEST_REJECTED, "Request Rejected" },
+ { DIS_REQUEST_STATUS_RETRANSMIT_REQUEST_NOW, "Retransmit Request Now" },
+ { DIS_REQUEST_STATUS_RETRANSMIT_REQUEST_LATER, "Retransmit Request Later" },
+ { DIS_REQUEST_STATUS_INVALID_TIME_PARAMETERS, "Invalid Time Parameters" },
+ { DIS_REQUEST_STATUS_SIMULATION_TIME_EXCEEDED, "Simulation Time Exceeded" },
+ { DIS_REQUEST_STATUS_REQUEST_DONE, "Request Done" },
+ { DIS_REQUEST_STATUS_TACCSF_LOS_REPLY_TYPE_1, "TACCSF LOS Reply Type 1" },
+ { DIS_REQUEST_STATUS_TACCSF_LOS_REPLY_TYPE_2, "TACCSF LOS Reply Type 2" },
+ { DIS_REQUEST_STATUS_JOIN_EXERCISE_REQUEST_REJECTED, "Join Exercise Request Rejected" },
+ { 0, NULL }
+};
+
+/* SISO-REF-010 [UID 74] */
+typedef enum
+{
+ DIS_REQUIRED_RELIABILITY_SERVICE_ACKNOWLEDGED = 0,
+ DIS_REQUIRED_RELIABILITY_SERVICE_UNACKNOWLEDGED = 1
+} DIS_PDU_RequiredReliabilityService;
+
+static const value_string DIS_PDU_RequiredReliabilityService_Strings[] =
+{
+ { DIS_REQUIRED_RELIABILITY_SERVICE_ACKNOWLEDGED, "Acknowledged" },
+ { DIS_REQUIRED_RELIABILITY_SERVICE_UNACKNOWLEDGED, "Unacknowledged" },
+ { 0, NULL }
+};
+
+/* SISO-REF-010 [UID 70] */
+typedef enum
+{
+ DIS_RESPONSE_FLAG_OTHER = 0,
+ DIS_RESPONSE_FLAG_ABLE_TO_COMPLY = 1,
+ DIS_RESPONSE_FLAG_UNABLE_TO_COMPLY = 2,
+ DIS_RESPONSE_FLAG_PENDING_OPERATOR_ACTION = 3
+} DIS_PDU_DisResponseFlag;
+
+static const value_string DIS_PDU_DisResponseFlag_Strings[] =
+{
+ { DIS_RESPONSE_FLAG_OTHER, "Other" },
+ { DIS_RESPONSE_FLAG_ABLE_TO_COMPLY, "Able To Comply" },
+ { DIS_RESPONSE_FLAG_UNABLE_TO_COMPLY, "Unable To Comply" },
+ { DIS_RESPONSE_FLAG_PENDING_OPERATOR_ACTION, "Pending Operator Action" },
+ { 0, NULL }
+};
+
+typedef enum
+{
+ DIS_PERSISTENT_OBJECT_TYPE_OTHER = 0,
+ DIS_PERSISTENT_OBJECT_TYPE_SIMULATOR_PRESENT = 1,
+ DIS_PERSISTENT_OBJECT_TYPE_DESCRIBE_OBJECT = 2,
+ DIS_PERSISTENT_OBJECT_TYPE_OBJECTS_PRESENT = 3,
+ DIS_PERSISTENT_OBJECT_TYPE_OBJECT_REQUEST = 4,
+ DIS_PERSISTENT_OBJECT_TYPE_DELETE_OBJECTS = 5,
+ DIS_PERSISTENT_OBJECT_TYPE_SET_WORLD_STATE = 6,
+ DIS_PERSISTENT_OBJECT_TYPE_NOMINATION = 7
+} DIS_PDU_PersistentObjectType;
+
+static const value_string DIS_PDU_PersistentObjectType_Strings[] =
+{
+ { DIS_PERSISTENT_OBJECT_TYPE_OTHER, "Other" },
+ { DIS_PERSISTENT_OBJECT_TYPE_SIMULATOR_PRESENT, "Simulator Present" },
+ { DIS_PERSISTENT_OBJECT_TYPE_DESCRIBE_OBJECT, "Describe Object" },
+ { DIS_PERSISTENT_OBJECT_TYPE_OBJECTS_PRESENT, "Objects Present" },
+ { DIS_PERSISTENT_OBJECT_TYPE_OBJECT_REQUEST, "Object Request" },
+ { DIS_PERSISTENT_OBJECT_TYPE_DELETE_OBJECTS, "Delete Objects" },
+ { DIS_PERSISTENT_OBJECT_TYPE_SET_WORLD_STATE, "Set World State" },
+ { DIS_PERSISTENT_OBJECT_TYPE_NOMINATION, "Nomination" },
+ { 0, NULL }
+};
+
+typedef enum
+{
+ DIS_PO_OBJECT_CLASS_OTHER = 0,
+ DIS_PO_OBJECT_CLASS_WORLD_STATE = 1,
+ DIS_PO_OBJECT_CLASS_OVERLAY = 2,
+ DIS_PO_OBJECT_CLASS_POINT = 3,
+ DIS_PO_OBJECT_CLASS_LINE = 4,
+ DIS_PO_OBJECT_CLASS_SECTOR = 5,
+ DIS_PO_OBJECT_CLASS_TEXT = 6,
+ DIS_PO_OBJECT_CLASS_UNIT = 7,
+ DIS_PO_OBJECT_CLASS_UNIT_DEFINITION = 8,
+ DIS_PO_OBJECT_CLASS_STEALTH_CONTROLLER = 9,
+ DIS_PO_OBJECT_CLASS_H_HOUR = 10,
+ DIS_PO_OBJECT_CLASS_VARIABLE = 11,
+ DIS_PO_OBJECT_CLASS_TASK = 12,
+ DIS_PO_OBJECT_CLASS_TASK_STATE = 13,
+ DIS_PO_OBJECT_CLASS_TASK_FRAME = 14,
+ DIS_PO_OBJECT_CLASS_TASK_AUTHORIZATION = 15,
+ DIS_PO_OBJECT_CLASS_PARAMETRIC_INPUT = 16,
+ DIS_PO_OBJECT_CLASS_PARAMETRIC_INPUT_HOLDER = 17,
+ DIS_PO_OBJECT_CLASS_EXERCISE_INITIALIZER = 18,
+ DIS_PO_OBJECT_CLASS_FIRE_PARAMETERS = 19,
+ DIS_PO_OBJECT_CLASS_MINEFIELD = 20,
+ DIS_PO_OBJECT_CLASS_SIMULATION_REQUEST = 21,
+ DIS_PO_OBJECT_CLASS_NET_SUBSCRIPTION = 22,
+ DIS_PO_OBJECT_CLASS_LINK = 23,
+ DIS_PO_OBJECT_CLASS_MINEFIELD_PARENT = 24,
+ DIS_PO_OBJECT_CLASS_CHEMICAL = 25,
+ DIS_PO_OBJECT_CLASS_AlertUser = 26,
+ DIS_PO_OBJECT_CLASS_HAND_OFF = 27,
+ DIS_PO_OBJECT_CLASS_CIRCUIT = 28,
+ DIS_PO_OBJECT_CLASS_CARGO = 29,
+ DIS_PO_OBJECT_CLASS_MCM_ROUTE = 30,
+ DIS_PO_OBJECT_CLASS_MESSAGE = 31
+} DIS_PDU_PO_ObjectClass;
+
+static const value_string DIS_PDU_PO_ObjectClass_Strings[] =
+{
+ { DIS_PO_OBJECT_CLASS_OTHER, "Other" },
+ { DIS_PO_OBJECT_CLASS_WORLD_STATE, "World State" },
+ { DIS_PO_OBJECT_CLASS_OVERLAY, "Overlay" },
+ { DIS_PO_OBJECT_CLASS_POINT, "Point" },
+ { DIS_PO_OBJECT_CLASS_LINE, "Line" },
+ { DIS_PO_OBJECT_CLASS_SECTOR, "Sector" },
+ { DIS_PO_OBJECT_CLASS_TEXT, "Text" },
+ { DIS_PO_OBJECT_CLASS_UNIT, "Unit" },
+ { DIS_PO_OBJECT_CLASS_UNIT_DEFINITION, "Unit Definition" },
+ { DIS_PO_OBJECT_CLASS_STEALTH_CONTROLLER, "Stealth Controller" },
+ { DIS_PO_OBJECT_CLASS_H_HOUR, "H Hour" },
+ { DIS_PO_OBJECT_CLASS_VARIABLE, "Variable" },
+ { DIS_PO_OBJECT_CLASS_TASK, "Task" },
+ { DIS_PO_OBJECT_CLASS_TASK_STATE, "Task State" },
+ { DIS_PO_OBJECT_CLASS_TASK_FRAME, "Task Frame" },
+ { DIS_PO_OBJECT_CLASS_TASK_AUTHORIZATION, "Task Authorization" },
+ { DIS_PO_OBJECT_CLASS_PARAMETRIC_INPUT, "Parametric Input" },
+ { DIS_PO_OBJECT_CLASS_PARAMETRIC_INPUT_HOLDER, "Parametric Input Holder" },
+ { DIS_PO_OBJECT_CLASS_EXERCISE_INITIALIZER, "Exercise Initializer" },
+ { DIS_PO_OBJECT_CLASS_FIRE_PARAMETERS, "Fire Parameters" },
+ { DIS_PO_OBJECT_CLASS_MINEFIELD, "Minefield" },
+ { DIS_PO_OBJECT_CLASS_SIMULATION_REQUEST, "Simulation Request" },
+ { DIS_PO_OBJECT_CLASS_NET_SUBSCRIPTION, "Net Subscription" },
+ { DIS_PO_OBJECT_CLASS_LINK, "Link" },
+ { DIS_PO_OBJECT_CLASS_MINEFIELD_PARENT, "Minefield Parent" },
+ { DIS_PO_OBJECT_CLASS_CHEMICAL, "Chemical" },
+ { DIS_PO_OBJECT_CLASS_AlertUser, "Alert User" },
+ { DIS_PO_OBJECT_CLASS_HAND_OFF, "Hand Off" },
+ { DIS_PO_OBJECT_CLASS_CIRCUIT, "Circuit" },
+ { DIS_PO_OBJECT_CLASS_CARGO, "Cargo" },
+ { DIS_PO_OBJECT_CLASS_MCM_ROUTE, "Mcm Route" },
+ { DIS_PO_OBJECT_CLASS_MESSAGE, "Message" },
+ { 0, NULL }
+};
+
+static value_string_ext DIS_PDU_PO_ObjectClass_Strings_Ext = VALUE_STRING_EXT_INIT(DIS_PDU_PO_ObjectClass_Strings);
+
+/* SISO-REF-010 [UID 189] */
+typedef enum
+{
+ DIS_CollisionType_Inelastic = 0,
+ DIS_CollisionType_Elastic = 1
+} DIS_PDU_CollisionType;
+
+static const value_string DIS_PDU_CollisionType_Strings[] =
+{
+ { DIS_CollisionType_Inelastic, "Inelastic" },
+ { DIS_CollisionType_Elastic, "Elastic" },
+ { 0, NULL }
+};
+
+static value_string_ext DIS_PDU_CollisionType_Strings_Ext = VALUE_STRING_EXT_INIT(DIS_PDU_CollisionType_Strings);
+
+/* SISO-REF-010 [UID 75] */
+static const value_string DIS_PDU_EmitterName_Strings[] =
+{
+ { 5, "1L250" },
+ { 10, "1RL138" },
+ { 14, "5P-10, Puma" },
+ { 15, "5P-10E, Puma" },
+ { 16, "5P-10-01, Puma" },
+ { 17, "5P-10-01E, Puma" },
+ { 18, "5P-10-02, Puma" },
+ { 19, "5P-10-02E, Puma" },
+ { 20, "5P-10-03, Laska" },
+ { 21, "5P-10-03E, Laska" },
+ { 45, "1226 DECCA MIL" },
+ { 46, "9B-1348" },
+ { 47, "3KM6" },
+ { 48, "9KR400" },
+ { 80, "9GR400" },
+ { 90, "9GR600" },
+ { 135, "9LV 200 TA" },
+ { 180, "9LV 200 TV" },
+ { 181, "9LV 200 TT" },
+ { 225, "A310Z" },
+ { 270, "A325A" },
+ { 315, "A346Z" },
+ { 360, "A353B" },
+ { 405, "A372A" },
+ { 450, "A372B" },
+ { 495, "A372C" },
+ { 540, "A377A" },
+ { 585, "A377B" },
+ { 630, "A380Z" },
+ { 675, "A381Z" },
+ { 720, "A398Z" },
+ { 765, "A403Z" },
+ { 810, "A409A" },
+ { 855, "A418A" },
+ { 900, "A419Z" },
+ { 945, "A429Z" },
+ { 990, "A432Z" },
+ { 1035, "A434Z" },
+ { 1080, "A401A" },
+ { 1095, "AA-12 Seeker" },
+ { 1096, "AD4A" },
+ { 1097, "ADES" },
+ { 1098, "ADS-4 LRSR" },
+ { 1100, "Agave" },
+ { 1125, "AGRION 15" },
+ { 1170, "AI MK 23" },
+ { 1215, "AIDA II" },
+ { 1216, "AIM-120A" },
+ { 1260, "Albatros MK2" },
+ { 1270, "WGU-16/B" },
+ { 1280, "1L13-3 (55G6), Box Spring" },
+ { 1282, "1L13-3 (55G6), Box Spring B" },
+ { 1288, "AMDR 3D" },
+ { 1305, "ANA SPS 502" },
+ { 1306, "Anemone" },
+ { 1350, "ANRITSU Electric AR-30A" },
+ { 1395, "Antilope V" },
+ { 1398, "AN/ADM-160" },
+ { 1400, "AN/ALE-50" },
+ { 1410, "AN/ALQ-76" },
+ { 1440, "AN/ALQ-99" },
+ { 1485, "AN/ALQ-100" },
+ { 1530, "AN/ALQ-101" },
+ { 1575, "AN/ALQ-119" },
+ { 1585, "AN/ALQ-122" },
+ { 1620, "AN/ALQ-126A" },
+ { 1621, "AN/ALQ-128" },
+ { 1622, "AN/ALQ-126B" },
+ { 1626, "AN/ALQ-131" },
+ { 1628, "AN/ALQ-135C/D" },
+ { 1630, "AN/ALQ-144A(V)3" },
+ { 1632, "AN/ALQ-153" },
+ { 1634, "AN/ALQ-155" },
+ { 1636, "AN/ALQ-161/A" },
+ { 1638, "AN/ALQ-162" },
+ { 1639, "AN/ALQ-164" },
+ { 1640, "AN/ALQ-165" },
+ { 1642, "AN/ALQ-167" },
+ { 1643, "AN/ALQ-172(V)1" },
+ { 1644, "AN/ALQ-172(V)2" },
+ { 1645, "AN/ALQ-172(V)3" },
+ { 1646, "AN/ALQ-176" },
+ { 1647, "AN/ALQ-178" },
+ { 1648, "AN/ALQ-184" },
+ { 1649, "AN/ALQ-184(V)9" },
+ { 1650, "AN/ALQ-188" },
+ { 1651, "AN/ALQ-214" },
+ { 1652, "AN/ALR-56" },
+ { 1653, "AN/ALQ-221" },
+ { 1654, "AN/ALR-69" },
+ { 1655, "AN/ALQ-211(V), SIRFC" },
+ { 1656, "AN/ALT-16A" },
+ { 1658, "AN/ALT-28" },
+ { 1660, "AN/ALT-32A" },
+ { 1665, "AN/APD 10" },
+ { 1700, "AN/APG-50" },
+ { 1710, "AN/APG-53" },
+ { 1755, "AN/APG-59" },
+ { 1800, "AN/APG-63" },
+ { 1805, "AN/APG-63(V)1" },
+ { 1807, "AN/APG-63(V)2" },
+ { 1809, "AN/APG-63(V)3" },
+ { 1845, "AN/APG-65" },
+ { 1870, "AN/APG-66" },
+ { 1880, "AN/APG-67" },
+ { 1890, "AN/APG-68" },
+ { 1935, "AN/APG-70" },
+ { 1945, "AN/APG-73" },
+ { 1960, "AN/APG-77" },
+ { 1970, "AN/APG-78" },
+ { 1971, "AN/APG-79" },
+ { 1972, "AN/APG-80" },
+ { 1974, "AN/APG-81" },
+ { 1975, "AN/APG-82(V)1" },
+ { 1980, "AN/APG-502" },
+ { 2025, "AN/APN-1" },
+ { 2070, "AN/APN-22" },
+ { 2115, "AN/APN-59" },
+ { 2160, "AN/APN-69" },
+ { 2205, "AN/APN-81" },
+ { 2250, "AN/APN-117" },
+ { 2295, "AN/APN-118" },
+ { 2320, "AN/APN-122" },
+ { 2340, "AN/APN-130" },
+ { 2385, "AN/APN-131" },
+ { 2430, "AN/APN-133" },
+ { 2475, "AN/APN-134" },
+ { 2476, "AN/APN-141(V)" },
+ { 2520, "AN/APN-147" },
+ { 2565, "AN/APN-150" },
+ { 2610, "AN/APN-153" },
+ { 2655, "AN/APN-154" },
+ { 2700, "AN/APN-155" },
+ { 2745, "AN/APN-159" },
+ { 2746, "AN/APN-177" },
+ { 2790, "AN/APN-182" },
+ { 2835, "AN/APN-187" },
+ { 2880, "AN/APN-190" },
+ { 2925, "AN/APN-194" },
+ { 2970, "AN/APN-195" },
+ { 3015, "AN/APN-198" },
+ { 3060, "AN/APN-200" },
+ { 3105, "AN/APN-202" },
+ { 3106, "AN/APN-215" },
+ { 3120, "AN/APN-209" },
+ { 3121, "AN/APN-209D" },
+ { 3148, "AN/APN-215" },
+ { 3150, "AN/APN-217" },
+ { 3152, "AN/APN-218" },
+ { 3153, "AN/APN-224" },
+ { 3154, "AN/APN-227" },
+ { 3155, "AN/APN-230" },
+ { 3156, "AN/APN-232" },
+ { 3157, "AN/APN-237A" },
+ { 3158, "AN/APN-234" },
+ { 3159, "AN/APN-235" },
+ { 3160, "AN/APN-238" },
+ { 3161, "AN/APN-222" },
+ { 3162, "AN/APN-239" },
+ { 3164, "AN/APN-241" },
+ { 3166, "AN/APN-242" },
+ { 3170, "AN/APN-243" },
+ { 3195, "AN/APN-506" },
+ { 3240, "AN/APQ-72" },
+ { 3285, "AN/APQ-99" },
+ { 3330, "AN/APQ-100" },
+ { 3375, "AN/APQ-102" },
+ { 3376, "AN/APQ-107" },
+ { 3420, "AN/APQ-109" },
+ { 3465, "AN/APQ-113" },
+ { 3510, "AN/APQ-120" },
+ { 3512, "AN/APQ-122" },
+ { 3555, "AN/APQ-126" },
+ { 3600, "AN/APQ-128" },
+ { 3645, "AN/APQ-129" },
+ { 3690, "AN/APQ-148" },
+ { 3700, "AN/APQ-150A" },
+ { 3735, "AN/APQ-153" },
+ { 3770, "AN/APQ-155" },
+ { 3780, "AN/APQ-159" },
+ { 3785, "AN/APQ-164" },
+ { 3788, "AN/APQ-166" },
+ { 3791, "AN/APQ-174" },
+ { 3794, "AN/APQ-180" },
+ { 3795, "AN/APQ-181" },
+ { 3820, "AN/APS-31" },
+ { 3825, "AN/APS-42" },
+ { 3870, "AN/APS-80" },
+ { 3915, "AN/APS-88" },
+ { 3916, "AN/APS-88A" },
+ { 3960, "AN/APS-115" },
+ { 4005, "AN/APS-116" },
+ { 4050, "AN/APS-120" },
+ { 4095, "AN/APS-121" },
+ { 4140, "AN/APS-124" },
+ { 4185, "AN/APS-125" },
+ { 4230, "AN/APS-128" },
+ { 4275, "AN/APS-130" },
+ { 4320, "AN/APS-133" },
+ { 4365, "AN/APS-134" },
+ { 4410, "AN/APS-137" },
+ { 4415, "AN/APS-137B" },
+ { 4455, "AN/APS-138" },
+ { 4465, "AN/APS-143 (V) 1" },
+ { 4466, "AN/APS-143B" },
+ { 4467, "AN/APS-143(V)3" },
+ { 4468, "AN/APS-143B(V)3" },
+ { 4475, "AN/APS-153" },
+ { 4480, "AN/APS-150" },
+ { 4482, "AN/APS-145" },
+ { 4485, "AN/APS-147" },
+ { 4486, "AN/APS-149" },
+ { 4490, "AN/APS-504" },
+ { 4491, "AN/APS-705" },
+ { 4500, "AN/APW-22" },
+ { 4545, "AN/APW-23" },
+ { 4590, "AN/APX-6" },
+ { 4635, "AN/APX-7" },
+ { 4680, "AN/APX-39" },
+ { 4681, "AN/APX-64(V)" },
+ { 4725, "AN/APX-72" },
+ { 4770, "AN/APX-76" },
+ { 4815, "AN/APX-78" },
+ { 4816, "AN/APX-100" },
+ { 4860, "AN/APX-101" },
+ { 4870, "AN/APX-113 AIFF" },
+ { 4900, "AN/APY-1" },
+ { 4905, "AN/APY-2" },
+ { 4950, "AN/APY-3" },
+ { 4952, "AN/APY-7" },
+ { 4953, "AN/APY-8, LYNX(tm)" },
+ { 4954, "AN/APY-9" },
+ { 4955, "AN/APY-10" },
+ { 4995, "AN/ARN-21" },
+ { 5040, "AN/ARN-52" },
+ { 5085, "AN/ARN-84" },
+ { 5130, "AN/ARN-118" },
+ { 5131, "AN/ARN-153(V)" },
+ { 5165, "AN/ARN-153" },
+ { 5175, "AN/ARW 73" },
+ { 5220, "AN/ASB 1" },
+ { 5265, "AN/ASG 21" },
+ { 5266, "AN/ASN-137" },
+ { 5270, "AN/ASN-128" },
+ { 5280, "AN/ASQ-108" },
+ { 5310, "AN/AWG 9" },
+ { 5325, "AN/BPS-5" },
+ { 5355, "AN/BPS-9" },
+ { 5400, "AN/BPS 15" },
+ { 5401, "AN/BPS-15 H" },
+ { 5405, "AN/BPS-16" },
+ { 5420, "AN/CRM-30" },
+ { 5430, "AN/DPW-23" },
+ { 5445, "AN/DSQ 26 Phoenix MH" },
+ { 5490, "AN/DSQ 28 Harpoon MH" },
+ { 5495, "AN/FPN-40" },
+ { 5500, "AN/FPN-62" },
+ { 5505, "AN/FPS-16" },
+ { 5507, "AN/FPS-18" },
+ { 5508, "AN/FPS-89" },
+ { 5510, "AN/FPS-117" },
+ { 5515, "AN/FPS-20R" },
+ { 5520, "AN/FPS-77" },
+ { 5522, "AN/FPS-100A" },
+ { 5525, "AN/FPS-103" },
+ { 5526, "AN/FPS-108" },
+ { 5527, "AN/GPN-12" },
+ { 5530, "AN/GPX-6" },
+ { 5535, "AN/GPX 8" },
+ { 5537, "AN/GRN-12" },
+ { 5539, "AN/MPN-14" },
+ { 5540, "AN/MPQ-10" },
+ { 5545, "AN/MPQ-33/39/46/57/61 (HPIR) ILL" },
+ { 5550, "AN/MPQ-34/48/55/62 (CWAR) TA" },
+ { 5551, "AN/MPQ-49" },
+ { 5555, "AN/MPQ-35/50 (PAR) TA" },
+ { 5556, "AN/MPQ-50C" },
+ { 5560, "AN/MPQ-37/51 (ROR) TT" },
+ { 5570, "AN/MPQ-53" },
+ { 5571, "AN/MPQ-63" },
+ { 5575, "AN/MPQ-64" },
+ { 5576, "AN/SLQ-32" },
+ { 5577, "AN/MPQ-65" },
+ { 5578, "AN/SLQ-32(V)4" },
+ { 5579, "AN/SLQ-32A" },
+ { 5580, "AN/SPG-34" },
+ { 5620, "AN/SPG-48/MK 25 MOD 3" },
+ { 5625, "AN/SPG-50" },
+ { 5670, "AN/SPG-51" },
+ { 5700, "AN/PPS-15" },
+ { 5705, "AN/PPS-5" },
+ { 5715, "AN/SPG-51 CWI TI" },
+ { 5760, "AN/SPG-51 FC" },
+ { 5761, "AN/SPG-51C/D" },
+ { 5805, "AN/SPG-52" },
+ { 5850, "AN/SPG-53" },
+ { 5895, "AN/SPG-55B" },
+ { 5940, "AN/SPG-60" },
+ { 5985, "AN/SPG-62" },
+ { 6025, "AN/SPN-11" },
+ { 6030, "AN/SPN-35" },
+ { 6050, "AN/SPN-41" },
+ { 6075, "AN/SPN-43" },
+ { 6076, "AN/SPN-43A" },
+ { 6085, "AN/SPN-46" },
+ { 6120, "AN/SPQ-2" },
+ { 6165, "AN/SPQ-9A" },
+ { 6166, "AN/SPQ-9B" },
+ { 6190, "AN/SPQ-34" },
+ { 6210, "AN/SPS-4" },
+ { 6255, "AN/SPS-5" },
+ { 6300, "AN/SPS-5C" },
+ { 6345, "AN/SPS-6" },
+ { 6390, "AN/SPS-10" },
+ { 6435, "AN/SPS-21" },
+ { 6480, "AN/SPS-28" },
+ { 6525, "AN/SPS-37" },
+ { 6570, "AN/SPS-39A" },
+ { 6615, "AN/SPS-40" },
+ { 6660, "AN/SPS-41" },
+ { 6705, "AN/SPS-48" },
+ { 6750, "AN/SPS-48C" },
+ { 6752, "AN/SPS-48E" },
+ { 6795, "AN/SPS-49" },
+ { 6796, "AN/SPS-49(V)1" },
+ { 6797, "AN/SPS-49(V)2" },
+ { 6798, "AN/SPS-49(V)3" },
+ { 6799, "AN/SPS-49(V)4" },
+ { 6800, "AN/SPS-49(V)5" },
+ { 6801, "AN/SPS-49(V)6" },
+ { 6802, "AN/SPS-49(V)7" },
+ { 6803, "AN/SPS-49(V)8" },
+ { 6804, "AN/SPS-49A(V)1" },
+ { 6840, "AN/SPS-52" },
+ { 6885, "AN/SPS-53" },
+ { 6930, "AN/SPS-55" },
+ { 6945, "AN/SPS-52C" },
+ { 6970, "AN/SPS-55 CS" },
+ { 6975, "AN/SPS-55 SS" },
+ { 7020, "AN/SPS-58" },
+ { 7025, "AN/SPS-58C" },
+ { 7065, "AN/SPS-59" },
+ { 7110, "AN/SPS-64" },
+ { 7155, "AN/SPS-65" },
+ { 7175, "AN/SPS-66" },
+ { 7200, "AN/SPS-67" },
+ { 7201, "AN/SPS-73(I)" },
+ { 7210, "AN/SPS-69" },
+ { 7215, "AN/SPS-73" },
+ { 7216, "AN/SPS-74" },
+ { 7225, "AN/SPS-88" },
+ { 7245, "AN/SPY-1" },
+ { 7250, "AN/SPY-1A" },
+ { 7252, "AN/SPY-1B" },
+ { 7253, "AN/SPY-1B(V)" },
+ { 7260, "AN/SPY-1D" },
+ { 7261, "AN/SPY-1D(V)" },
+ { 7265, "AN/SPY-1F" },
+ { 7267, "AN/TPN-12" },
+ { 7269, "AN/TLQ-32 ARM Decoy" },
+ { 7270, "AN/TPN-17" },
+ { 7275, "AN/TPN-24" },
+ { 7280, "AN/TPQ-18" },
+ { 7295, "AN/TPQ-36" },
+ { 7300, "AN/TPQ-37" },
+ { 7301, "AN/TPQ-38 (V8)" },
+ { 7303, "AN/TPQ-47" },
+ { 7305, "AN/TPS-43" },
+ { 7310, "AN/TPS-43E" },
+ { 7311, "AN/TPQ-48" },
+ { 7312, "AN/TPQ-49" },
+ { 7315, "AN/TPS-59" },
+ { 7320, "AN/TPS-63" },
+ { 7321, "AN/TPS-65" },
+ { 7322, "AN/TPS-70 (V) 1" },
+ { 7324, "AN/TPS-73" },
+ { 7325, "AN/TPS-75" },
+ { 7330, "AN/TPX-46(V)7" },
+ { 7333, "AN/TPY-2" },
+ { 7335, "AN/ULQ-6A" },
+ { 7380, "AN/UPN 25" },
+ { 7425, "AN/UPS 1" },
+ { 7426, "AN/UPS-2" },
+ { 7470, "AN/UPX 1" },
+ { 7515, "AN/UPX 5" },
+ { 7560, "AN/UPX 11" },
+ { 7605, "AN/UPX 12" },
+ { 7650, "AN/UPX 17" },
+ { 7695, "AN/UPX 23" },
+ { 7740, "AN/VPS 2" },
+ { 7750, "AN/PLM-3" },
+ { 7751, "AN/PLM-3A" },
+ { 7752, "AN/PLM-4" },
+ { 7765, "APAR" },
+ { 7770, "Aparna" },
+ { 7785, "Apelco AD 7 7" },
+ { 7830, "APG 71" },
+ { 7875, "APN 148" },
+ { 7920, "APN 227" },
+ { 7965, "APQ 113 (deprecated)" },
+ { 8010, "APQ 120 (deprecated)" },
+ { 8055, "APQ 148 (deprecated)" },
+ { 8100, "APS 504 V3" },
+ { 8105, "AR 3D" },
+ { 8112, "Plessey AR-5" },
+ { 8113, "AR-15" },
+ { 8115, "AR 320" },
+ { 8120, "AR 327" },
+ { 8134, "ARGS-14E" },
+ { 8135, "ARGS 31" },
+ { 8145, "AR M31" },
+ { 8160, "ARED" },
+ { 8190, "ARI 5954" },
+ { 8235, "ARI 5955" },
+ { 8280, "ARI 5979" },
+ { 8281, "ARGSN-31" },
+ { 8325, "ARINC 564 BNDX/KING RDR 1E" },
+ { 8370, "ARINC 700 BNDX/KING RDR 1E" },
+ { 8375, "ARK-1" },
+ { 8380, "ARSR-3" },
+ { 8390, "ARSR-18" },
+ { 8395, "ARTHUR" },
+ { 8415, "AS 2 Kipper" },
+ { 8460, "AS 2 Kipper MH" },
+ { 8470, "AS 3 YJ-83K mmW MH" },
+ { 8505, "AS 4 Kitchen" },
+ { 8550, "AS 4 Kitchen MH" },
+ { 8595, "AS 5 Kelt MH" },
+ { 8640, "AS 6 Kingfish MH" },
+ { 8685, "AS 7 Kerry" },
+ { 8730, "AS 7 Kerry MG" },
+ { 8735, "AS 15 KENT altimeter" },
+ { 8750, "AS901" },
+ { 8755, "ASARS2" },
+ { 8760, "Aspide AAM/SAM ILL" },
+ { 8772, "ASR-4" },
+ { 8773, "ASR-4D" },
+ { 8775, "ASR O" },
+ { 8780, "ASR-5" },
+ { 8782, "ASR-7" },
+ { 8785, "ASR-8" },
+ { 8790, "ASR-9" },
+ { 8793, "ASR-11/DASR" },
+ { 8795, "ASR-12" },
+ { 8812, "Raytheon ASR-10SS" },
+ { 8816, "ASR-23SS" },
+ { 8818, "Arabel" },
+ { 8819, "ASTRE" },
+ { 8820, "AT 2 Swatter MG" },
+ { 8840, "ATCR-33" },
+ { 8845, "ATCR 33 K/M" },
+ { 8850, "Argos 73" },
+ { 8865, "Atlas Elektronk TRS N" },
+ { 8866, "ATLAS-8600X" },
+ { 8867, "Atlas-9600M" },
+ { 8868, "ATLAS-9600X" },
+ { 8869, "ATLAS-9600S" },
+ { 8870, "ATLAS-9740 VTS" },
+ { 8910, "AVG 65" },
+ { 8955, "AVH 7" },
+ { 8990, "Aviaconversia" },
+ { 8995, "Aviaconversia III" },
+ { 9000, "AVQ 20" },
+ { 9005, "AVQ-21" },
+ { 9045, "AVQ30X" },
+ { 9075, "AVQ-50 (RCA)" },
+ { 9090, "AVQ 70" },
+ { 9135, "AWS 5" },
+ { 9180, "AWS 6" },
+ { 9185, "AWS-6B/300" },
+ { 9200, "B597Z" },
+ { 9205, "B636Z" },
+ { 9215, "Back Board" },
+ { 9225, "Back Net A B" },
+ { 9270, "Back Trap" },
+ { 9280, "BAE Systems RT-1805/APN" },
+ { 9285, "Balance Beam" },
+ { 9310, "BALTYK" },
+ { 9315, "Ball End" },
+ { 9360, "Ball Gun" },
+ { 9405, "Band Stand" },
+ { 9450, "P-35/37 (A); P-50 (B), Bar Lock" },
+ { 9485, "BASIR-110D" },
+ { 9495, "Bass Tilt" },
+ { 9505, "Badger" },
+ { 9540, "Beacon" },
+ { 9585, "Bean Sticks" },
+ { 9630, "Bee Hind" },
+ { 9640, "Bell Crown A" },
+ { 9642, "Bell Crown B" },
+ { 9643, "Bell Squat" },
+ { 9645, "BIG BACK" },
+ { 9659, "Big Bird A/B/C" },
+ { 9660, "Big Bird D" },
+ { 9661, "Big Bird D Mod" },
+ { 9675, "Big Bulge" },
+ { 9720, "Big Bulge A" },
+ { 9765, "Big Bulge B" },
+ { 9775, "BIG EYE" },
+ { 9780, "SNAR-10, Big Fred" },
+ { 9781, "BIG HEAD B" },
+ { 9810, "Big Mesh" },
+ { 9855, "Big Net" },
+ { 9885, "9S15MT, Bill Board" },
+ { 9900, "Bill Fold" },
+ { 9905, "Blowpipe MG" },
+ { 9930, "Blue Fox, Sea Harrier FRS Mk 1/5" },
+ { 9933, "Blue Kestrel" },
+ { 9935, "Blue Vixen, Sea Harrier F/A Mk 2" },
+ { 9945, "Blue Silk" },
+ { 9990, "Blue Parrot" },
+ { 10035, "Blue Orchid" },
+ { 10057, "BM/DJG-8715" },
+ { 10080, "Boat Sail" },
+ { 10125, "Bofors Electronic 9LV 331" },
+ { 10170, "Bofors Ericsson Sea Giraffe 50 HC" },
+ { 10215, "Bowl Mesh" },
+ { 10260, "Box Brick" },
+ { 10305, "Box Tail" },
+ { 10315, "BM/KG 8601/8605/8606" },
+ { 10350, "BPS 11A" },
+ { 10395, "BPS 14" },
+ { 10440, "BPS 15A" },
+ { 10485, "BR-15 Tokyo KEIKI" },
+ { 10500, "BrahMos" },
+ { 10510, "BRIDGEMASTE" },
+ { 10520, "Brimstone mmW MH" },
+ { 10530, "Bread Bin" },
+ { 10575, "BT 271" },
+ { 10595, "BU-304" },
+ { 10620, "BX 732" },
+ { 10642, "Buran-D" },
+ { 10665, "Buzz Stand" },
+ { 10710, "C 5A Multi Mode Radar" },
+ { 10740, "CAESAR" },
+ { 10755, "Caiman" },
+ { 10800, "Cake Stand" },
+ { 10845, "Calypso C61" },
+ { 10890, "Calypso Ii" },
+ { 10895, "Cardion Coastal" },
+ { 10935, "Castor Ii" },
+ { 10940, "Castor 2J TT (Crotale NG)" },
+ { 10980, "Cat House" },
+ { 10985, "CDR-431" },
+ { 10987, "CEAFAR" },
+ { 10988, "CEAMOUNT" },
+ { 10990, "CEROS 200" },
+ { 10991, "CEROS 200 CWI" },
+ { 10995, "CH/SS-N-6" },
+ { 11000, "Chair Back TT" },
+ { 11010, "Chair Back ILL" },
+ { 11020, "LEMZ 96L6, Cheese Board" },
+ { 11025, "Cheese Brick" },
+ { 11070, "Clam Pipe" },
+ { 11115, "Clamshell" },
+ { 11125, "Coastal Giraffe" },
+ { 11137, "Colibri" },
+ { 11155, "Collins WXR-300" },
+ { 11160, "Collins WXR-700X" },
+ { 11205, "Collins DN 101" },
+ { 11230, "COMET-1" },
+ { 11250, "Contraves Sea Hunter MK 4" },
+ { 11260, "Corn Can" },
+ { 11270, "CR-105 RMCA" },
+ { 11295, "Cross Bird" },
+ { 11340, "Cross Dome" },
+ { 11385, "Cross Legs" },
+ { 11430, "Cross Out" },
+ { 11475, "Cross Slot" },
+ { 11520, "Cross Sword" },
+ { 11565, "Cross Up" },
+ { 11610, "Cross Sword FC" },
+ { 11655, "Crotale Acquisition TA, THD-5000" },
+ { 11660, "Crotale NG TA, Griffon" },
+ { 11665, "Crotale TT" },
+ { 11700, "Crotale MGMissile System" },
+ { 11715, "CS-10-TA" },
+ { 11725, "CSF-Varan" },
+ { 11735, "CSS-N-4 MH" },
+ { 11745, "CSS C 3C CAS 1M1 M2 MH" },
+ { 11790, "CSS C 2B HY 1A MH" },
+ { 11800, "CSS-N-4 Sardine" },
+ { 11810, "CSS-N-8 Saccade" },
+ { 11825, "Curl Stone B" },
+ { 11835, "CWS 2" },
+ { 11880, "Cylinder Head" },
+ { 11902, "Cymbeline" },
+ { 11925, "Cyrano II" },
+ { 11970, "Cyrano IV" },
+ { 11975, "Cyrano IV-M" },
+ { 12010, "DA-01/00" },
+ { 12015, "DA 05 00" },
+ { 12018, "DA.08" },
+ { 12060, "Dawn" },
+ { 12105, "Dead Duck" },
+ { 12110, "DECCA-20 V90/9" },
+ { 12111, "DECCA-20 V90S" },
+ { 12150, "DECCA 45" },
+ { 12195, "DECCA 50" },
+ { 12196, "DECCA 71" },
+ { 12240, "DECCA 110" },
+ { 12285, "DECCA 170" },
+ { 12292, "DECCA HF 2" },
+ { 12330, "DECCA 202" },
+ { 12375, "DECCA D202" },
+ { 12420, "DECCA 303" },
+ { 12430, "DECCA 535" },
+ { 12465, "DECCA 626" },
+ { 12510, "DECCA 629" },
+ { 12555, "DECCA 914" },
+ { 12600, "DECCA 916" },
+ { 12610, "DECCA 926" },
+ { 12615, "DECCA 1070A" },
+ { 12616, "Decca 1008" },
+ { 12645, "DECCA 1226 Commercial" },
+ { 12655, "DECCA 1290" },
+ { 12690, "DECCA 1626" },
+ { 12691, "DECCA 2070" },
+ { 12694, "Decca 1630" },
+ { 12735, "DECCA 2459" },
+ { 12780, "DECCA AWS 1" },
+ { 12782, "DECCA AWS 2" },
+ { 12785, "DECCA AWS 4" },
+ { 12787, "DECCA AWS-4 (2)" },
+ { 12800, "DECCA MAR" },
+ { 12805, "DECCA RM 326" },
+ { 12825, "DECCA RM 416" },
+ { 12870, "DECCA RM 914" },
+ { 12915, "DECCA RM 1690" },
+ { 12960, "DECCA Super 101 MK 3" },
+ { 13005, "DISS 1" },
+ { 13006, "DISS-7" },
+ { 13007, "DISS-013" },
+ { 13050, "Rapier TTDN 181, DN 181" },
+ { 13055, "Rapier 2000 TT, BLINDFIRE FSC TT" },
+ { 13095, "Dog Ear" },
+ { 13140, "Dog House" },
+ { 13141, "DM3" },
+ { 13142, "DM-3B" },
+ { 13143, "DM-5" },
+ { 13185, "Don 2" },
+ { 13230, "Don A/B/2/Kay" },
+ { 13275, "Donets" },
+ { 13320, "Down Beat" },
+ { 13365, "DRAA 2A" },
+ { 13410, "DRAA 2B" },
+ { 13455, "DRAC 39" },
+ { 13477, "Dragon Eye" },
+ { 13500, "DRBC 30B" },
+ { 13545, "DRBC 31A" },
+ { 13585, "DRBC-32" },
+ { 13590, "DRBC 32A" },
+ { 13635, "DRBC 32D" },
+ { 13680, "DRBC 33A" },
+ { 13725, "DRBI 10" },
+ { 13770, "DRBI 23" },
+ { 13815, "DRBJ 11B" },
+ { 13860, "DRBN 30" },
+ { 13905, "DRBN 32" },
+ { 13950, "DRBR 51" },
+ { 13995, "DRBV 20B" },
+ { 14020, "DRBV-21 Mars 05" },
+ { 14040, "DRBV 22" },
+ { 14085, "DRBV 26C" },
+ { 14086, "DRBV 26D" },
+ { 14130, "DRBV 30" },
+ { 14175, "DRBV 50" },
+ { 14220, "DRBV 51" },
+ { 14265, "DRBV 51A" },
+ { 14310, "DRBV 51B" },
+ { 14355, "DRBV 51C" },
+ { 14400, "Drop Kick" },
+ { 14445, "DRUA 31" },
+ { 14490, "Drum Tilt" },
+ { 14535, "Drum Tilt A" },
+ { 14545, "Drum Tilt B" },
+ { 14580, "Dumbo" },
+ { 14590, "EKCO E390" },
+ { 14600, "ECR-90, CAPTOR" },
+ { 14625, "Egg Cup A/B" },
+ { 14660, "EKCO E120" },
+ { 14670, "EKCO 190" },
+ { 14710, "EL/L-8222" },
+ { 14715, "EL M 2001B" },
+ { 14725, "EL/M-2022" },
+ { 14726, "EL/M-2032" },
+ { 14730, "EL/M-2060" },
+ { 14735, "EL/M-2075" },
+ { 14750, "EL/M-2200" },
+ { 14760, "EL M 2207" },
+ { 14770, "EL/M 2216(V)" },
+ { 14775, "EL/M-2218S" },
+ { 14776, "ELT-361" },
+ { 14780, "ELT-558" },
+ { 14785, "ELT-572" },
+ { 14805, "ELTA EL/M 2221 GM STGR" },
+ { 14806, "EL/M-2228S/3D" },
+ { 14807, "EL/M-2705" },
+ { 14809, "EL/M-2228X" },
+ { 14810, "ELTA SIS" },
+ { 14811, "EL/M-2238" },
+ { 14850, "EMD 2900" },
+ { 14895, "End Tray" },
+ { 14897, "Ericsson SLAR" },
+ { 14898, "Erieye" },
+ { 14900, "ESR 1" },
+ { 14905, "ET-316" },
+ { 14935, "Exocet Type" },
+ { 14940, "Exocet 1" },
+ { 14985, "Exocet 1 MH" },
+ { 15030, "Exocet 2" },
+ { 15075, "Eye Bowl" },
+ { 15120, "Eye Shield" },
+ { 15140, "F332Z" },
+ { 15155, "Falcon Claw TI" },
+ { 15156, "Falcon Claw TT" },
+ { 15160, "FALCON" },
+ { 15161, "FALCON-G" },
+ { 15163, "Falcon Eye" },
+ { 15165, "Fan Song A" },
+ { 15200, "Fan Song B/F TA" },
+ { 15210, "Fan Song B/F TT" },
+ { 15220, "Fan Song C/E TA" },
+ { 15230, "Fan Song C/E TT" },
+ { 15240, "Fan Song C/E MG" },
+ { 15255, "Fan Song B/FF MG" },
+ { 15300, "Fan Tail" },
+ { 15305, "FB-7 Radar" },
+ { 15310, "FCR-1401" },
+ { 15320, "FCS-3" },
+ { 15345, "Fin Curve" },
+ { 15390, "Fire Can" },
+ { 15435, "Fire Dish" },
+ { 15470, "Fire Dome TA" },
+ { 15475, "Fire Dome TT" },
+ { 15480, "Fire Dome TI" },
+ { 15525, "Fire Iron" },
+ { 15570, "Fire Wheel" },
+ { 15615, "Fish Bowl" },
+ { 15660, "Flap Lid" },
+ { 15705, "Flap Truck" },
+ { 15750, "Flap Wheel" },
+ { 15795, "Flash Dance" },
+ { 15800, "Flash Dance M" },
+ { 15840, "P-15, Flat Face A B C D" },
+ { 15842, "Flat Face E" },
+ { 15885, "Flat Screen" },
+ { 15930, "Flat Spin" },
+ { 15975, "Flat Twin" },
+ { 15980, "FL-400" },
+ { 16020, "Fledermaus" },
+ { 16030, "FLYCATCHER" },
+ { 16065, "Fly Screen" },
+ { 16110, "Fly Screen A&B" },
+ { 16155, "Fly Trap B" },
+ { 16200, "Fog Lamp MG" },
+ { 16245, "Fog Lamp TT" },
+ { 16290, "Foil Two" },
+ { 16300, "FootBall" },
+ { 16335, "Fox Hunter" },
+ { 16380, "Fox Fire AL" },
+ { 16390, "Fox Fire ILL" },
+ { 16400, "FR-151A" },
+ { 16410, "FR-1505 DA" },
+ { 16420, "FR-2000" },
+ { 16421, "Furuno-2855W" },
+ { 16425, "Front Dome" },
+ { 16470, "Front Door" },
+ { 16515, "Front Piece" },
+ { 16520, "Furby mmW MH" },
+ { 16550, "Furke" },
+ { 16560, "Furuno" },
+ { 16561, "Furuno 1721" },
+ { 16580, "Furuno 1730" },
+ { 16590, "Furuno 1932" },
+ { 16605, "Furuno 701" },
+ { 16606, "Furuno 1940" },
+ { 16650, "Furuno 711 2" },
+ { 16670, "Furuno 2125" },
+ { 16690, "Furuno 240" },
+ { 16695, "Furuno 2400" },
+ { 16730, "Furuno 8051" },
+ { 16735, "G030A(APD-31)" },
+ { 16740, "GA 01 00" },
+ { 16785, "Gage" },
+ { 16800, "Gardenia" },
+ { 16830, "Garpin" },
+ { 16833, "Gate Guard" },
+ { 16835, "Garpun-Bal-E" },
+ { 16840, "GBS1" },
+ { 16875, "GEM BX 132" },
+ { 16880, "MPDR-12, Gepard TA" },
+ { 16884, "Gepard TT" },
+ { 16888, "GERAN-F" },
+ { 16900, "GIRAFFE" },
+ { 16905, "Giraffe-40" },
+ { 16908, "Giraffe-50 AT" },
+ { 16912, "Giraffe 75" },
+ { 16915, "Gin Sling TA" },
+ { 16920, "Gin Sling, Gin Sling TT" },
+ { 16925, "Gin Sling MG" },
+ { 16930, "Goal Keeper" },
+ { 16931, "Golden Bar" },
+ { 16932, "Golden Bat" },
+ { 16935, "Golden Dome" },
+ { 16940, "Golden Heart" },
+ { 16942, "Golden Rock" },
+ { 16945, "GPN-22" },
+ { 16946, "GPSJ-10" },
+ { 16947, "GPSJ-25" },
+ { 16948, "GPSJ-40" },
+ { 16949, "GPSJ-50" },
+ { 16950, "GRN-9" },
+ { 16960, "Grave Stone" },
+ { 16965, "Green Stain" },
+ { 17010, "Grid Bow" },
+ { 17016, "Grifo-F" },
+ { 17025, "9S32, Grill Pan TT" },
+ { 17031, "GT-4" },
+ { 17055, "Guardsman" },
+ { 17070, "RPK-2, Gun Dish (ZSU-23/4)" },
+ { 17080, "HADR" },
+ { 17100, "Hair Net" },
+ { 17145, "Half Plate A" },
+ { 17190, "Half Plate B" },
+ { 17220, "HARD" },
+ { 17225, "Harpoon" },
+ { 17230, "Hat Box" },
+ { 17235, "Hawk Screech" },
+ { 17250, "Hay Pole" },
+ { 17255, "Hay Rick" },
+ { 17280, "Head Light A" },
+ { 17325, "Head Lights" },
+ { 17370, "Head Lights C" },
+ { 17415, "Head Lights MG A" },
+ { 17460, "Head Lights MG B" },
+ { 17505, "Head Lights TT" },
+ { 17550, "Head Net" },
+ { 17572, "Heart Ache B" },
+ { 17590, "Hellfire mmW MH" },
+ { 17595, "Hen Egg" },
+ { 17640, "Hen House" },
+ { 17685, "Hen Nest" },
+ { 17730, "Hen Roost" },
+ { 17735, "HF-2 MG" },
+ { 17745, "HGR-105" },
+ { 17775, "High Brick" },
+ { 17820, "High Fix" },
+ { 17842, "High Guard" },
+ { 17865, "High Lark TI" },
+ { 17910, "High Lark 1" },
+ { 17955, "High Lark 2" },
+ { 18000, "High Lark 4" },
+ { 18045, "High Lune" },
+ { 18090, "High Pole A&B" },
+ { 18135, "High Scoop" },
+ { 18150, "9S19MT, High Screen" },
+ { 18180, "High Sieve" },
+ { 18185, "Hill Block" },
+ { 18190, "HG-9550" },
+ { 18195, "HLJQ-520" },
+ { 18200, "HN-503" },
+ { 18201, "HN-C03-M" },
+ { 18225, "Home Talk" },
+ { 18270, "Horn Spoon" },
+ { 18280, "Hot Brick" },
+ { 18315, "Hot Flash" },
+ { 18318, "IHS-6" },
+ { 18320, "IRL144M, Hot Shot TA" },
+ { 18325, "IRL144M, Hot Shot TT" },
+ { 18330, "IRL144M, Hot Shot MG" },
+ { 18339, "HQ-9 MH" },
+ { 18340, "HSR-1128" },
+ { 18350, "HQ-61" },
+ { 18351, "HRJS" },
+ { 18360, "IFF MK XII AIMS UPX 29" },
+ { 18405, "IFF MK XV" },
+ { 18406, "IFF INT" },
+ { 18407, "Jack Knife" },
+ { 18408, "IFF TRSP" },
+ { 18410, "Javelin MG" },
+ { 18450, "Jay Bird" },
+ { 18452, "JH-10, Mix Bowl" },
+ { 18454, "JL-7" },
+ { 18455, "JL-10B" },
+ { 18458, "JLP-40" },
+ { 18460, "JRC-NMD-401" },
+ { 18495, "Jupiter" },
+ { 18540, "Jupiter II" },
+ { 18550, "JY-8" },
+ { 18551, "JY-8A" },
+ { 18555, "JY-9" },
+ { 18556, "JY-9 Modified" },
+ { 18557, "JY-11 EW" },
+ { 18560, "JY-14" },
+ { 18561, "JY-14A" },
+ { 18570, "JY-24" },
+ { 18571, "J/APG-1" },
+ { 18572, "J/APG-2" },
+ { 18575, "JY-29" },
+ { 18585, "K376Z" },
+ { 18600, "Kaige" },
+ { 18630, "Kelvin Hughes 2A" },
+ { 18675, "Kelvin Hughes 14/9" },
+ { 18700, "Karpaty" },
+ { 18720, "Kelvin Hughes type 1006" },
+ { 18765, "Kelvin Hughes type 1007" },
+ { 18774, "KH MANTA" },
+ { 18775, "KH NUCLEUS 2 6000" },
+ { 18776, "KH NUCLEUS 3 5000" },
+ { 18777, "KH NUCLEUS 3 6000A" },
+ { 18780, "KH Family" },
+ { 18781, "Kelvin Hughes 6000A" },
+ { 18782, "Kh-38MAE MH" },
+ { 18784, "KG8605A" },
+ { 18785, "KH-902M" },
+ { 18786, "KHOROM-K" },
+ { 18789, "KG300E" },
+ { 18790, "KH SharpEye" },
+ { 18795, "KH 1700" },
+ { 18797, "King Pin" },
+ { 18805, "KG-300" },
+ { 18810, "Kite Screech" },
+ { 18855, "Kite Screech A" },
+ { 18900, "Kite Screech B" },
+ { 18945, "Kivach" },
+ { 18947, "KLC-1" },
+ { 18948, "KLJ-1" },
+ { 18950, "KLJ-3 (Type 1473)" },
+ { 18951, "KLJ-4" },
+ { 18960, "KLJ-7" },
+ { 18990, "Knife Rest" },
+ { 19035, "P-10, Knife Rest B" },
+ { 19037, "KNIFE REST C" },
+ { 19039, "Koden MD 3730" },
+ { 19040, "KJ-2000" },
+ { 19045, "KOPYO-I" },
+ { 19050, "KR-75" },
+ { 19080, "KSA SRN" },
+ { 19125, "KSA TSR" },
+ { 19129, "KS418" },
+ { 19131, "KZ100" },
+ { 19132, "KZ900" },
+ { 19170, "Land Fall" },
+ { 19215, "Land Roll MG" },
+ { 19260, "Land Roll TA" },
+ { 19305, "Land Roll TT" },
+ { 19306, "LAZUR" },
+ { 19307, "Model 791-A, Last Straw" },
+ { 19310, "LC-150" },
+ { 19330, "Leg Drive" },
+ { 19350, "Leningraf" },
+ { 19395, "Light Bulb" },
+ { 19397, "LIROD 8" },
+ { 19400, "LMT NRAI-6A" },
+ { 19440, "LN 55" },
+ { 19485, "Ln 66" },
+ { 19500, "Liman" },
+ { 19505, "Liman 2" },
+ { 19530, "Long Bow" },
+ { 19575, "Long Brick" },
+ { 19620, "Long Bull" },
+ { 19665, "Long Eye" },
+ { 19710, "Long Head" },
+ { 19755, "Long Talk" },
+ { 19800, "Long Track" },
+ { 19845, "Long Trough" },
+ { 19890, "Look Two" },
+ { 19935, "LORAN" },
+ { 19950, "Low Blow TA" },
+ { 19955, "Low Blow TT" },
+ { 19960, "Low Blow MG" },
+ { 19970, "Low Jack TT" },
+ { 19971, "Low Jack MG" },
+ { 19980, "Low Sieve" },
+ { 20025, "Low Trough" },
+ { 20029, "LR66" },
+ { 20040, "TRS-2050, LP-23" },
+ { 20070, "LW 08" },
+ { 20090, "M-1983 FCR" },
+ { 20115, "M22-40" },
+ { 20160, "M44" },
+ { 20205, "M401Z" },
+ { 20250, "M585Z" },
+ { 20295, "M588Z" },
+ { 20340, "MA 1 IFF Portion" },
+ { 20360, "MARELD" },
+ { 20385, "MA Type 909#" },
+ { 20420, "MARC S-152" },
+ { 20430, "Marconi 1810" },
+ { 20475, "Marconi Canada HC 75" },
+ { 20495, "Marconi S 713" },
+ { 20520, "Marconi S 1802" },
+ { 20530, "Marconi S247" },
+ { 20565, "Marconi S 810" },
+ { 20585, "Marconi SA 10" },
+ { 20610, "Marconi type 967" },
+ { 20655, "Marconi type 968" },
+ { 20700, "Marconi type 992" },
+ { 20745, "Marconi/signaal type 1022" },
+ { 20790, "Marconi/signaal type 910" },
+ { 20835, "Marconi/signaal type 911" },
+ { 20880, "Marconi/signaal type 992R" },
+ { 20915, "MELCO-3" },
+ { 20920, "Northrop Grumman MESA" },
+ { 20925, "Mesh Brick" },
+ { 20935, "MFR" },
+ { 20942, "MICA MH" },
+ { 20945, "Mineral-ME" },
+ { 20950, "Mirage ILL" },
+ { 20969, "MK 15 (Phalanx BLK 0)" },
+ { 20970, "MK 15 CIWS" },
+ { 21015, "MK-23" },
+ { 21060, "MK 23 TAS" },
+ { 21105, "MK 25" },
+ { 21110, "Mk-25 Mod-3" },
+ { 21150, "MK-35 M2" },
+ { 21195, "MK 92" },
+ { 21240, "MK-92 CAS" },
+ { 21285, "MK-92 STIR" },
+ { 21330, "MK 95" },
+ { 21332, "MKS-818" },
+ { 21340, "MLA-1" },
+ { 21375, "MM APS 705" },
+ { 21420, "MM SPG 74" },
+ { 21465, "MM SPG 75" },
+ { 21490, "MM SPN 703" },
+ { 21510, "MM SPS 702" },
+ { 21555, "MM SPS 768" },
+ { 21600, "MM SPS 774" },
+ { 21620, "MM/SPS-798 (RAN-40L)" },
+ { 21625, "Model-17C" },
+ { 21645, "Moon 4" },
+ { 21646, "Moon Pie" },
+ { 21648, "Moon Rack" },
+ { 21650, "MMRS" },
+ { 21655, "Model 360" },
+ { 21660, "Model 378" },
+ { 21661, "Model-970" },
+ { 21665, "Model 974" },
+ { 21675, "Monument" },
+ { 21680, "Mouse" },
+ { 21690, "MPDR 18 X" },
+ { 21695, "MPR" },
+ { 21699, "MR-231 MOD" },
+ { 21700, "MR-1600" },
+ { 21701, "MRR" },
+ { 21710, "MT-305X" },
+ { 21735, "Muff Cob" },
+ { 21780, "Mushroom" },
+ { 21825, "Mushroom 1" },
+ { 21870, "Mushroom 2" },
+ { 21871, "Mushroom 3" },
+ { 21873, "N-011M Bars" },
+ { 21880, "N920Z" },
+ { 21885, "Nampo B" },
+ { 21890, "Nanjing B" },
+ { 21895, "Nanjing C" },
+ { 21915, "Nayada" },
+ { 21920, "Nebo-SVU" },
+ { 21960, "Neptun" },
+ { 21980, "NIKE TT" },
+ { 21983, "NJ-81E" },
+ { 21985, "NRJ-6A" },
+ { 21992, "Nut Can" },
+ { 22005, "NRBA 50" },
+ { 22050, "NRBA 51" },
+ { 22095, "NRBF 20A" },
+ { 22110, "NRJ-5" },
+ { 22140, "Nysa B" },
+ { 22185, "O524A" },
+ { 22230, "O580B" },
+ { 22275, "O625Z" },
+ { 22320, "O626Z" },
+ { 22335, "Ocean Master" },
+ { 22345, "Odd Group" },
+ { 22365, "Odd Lot" },
+ { 22410, "Odd Pair" },
+ { 22411, "Odd Rods" },
+ { 22455, "Oka" },
+ { 22500, "OKEAN" },
+ { 22505, "OKEAN A" },
+ { 22545, "OKINXE 12C" },
+ { 22560, "OKO" },
+ { 22590, "OMEGA" },
+ { 22635, "Omera ORB32" },
+ { 22640, "OMUL" },
+ { 22680, "One Eye" },
+ { 22690, "OP-28" },
+ { 22697, "OPS-9" },
+ { 22700, "OPS-11 B/C" },
+ { 22705, "OPS-14B" },
+ { 22706, "OPS-14C" },
+ { 22725, "OPS-16B" },
+ { 22730, "OPS-18" },
+ { 22732, "OPS-19" },
+ { 22735, "OPS-20" },
+ { 22737, "OPS-24" },
+ { 22740, "OPS-28" },
+ { 22750, "OPS-39" },
+ { 22770, "OR-2" },
+ { 22810, "ORB-31S" },
+ { 22815, "ORB 32" },
+ { 22830, "ORB-42" },
+ { 22860, "Orion Rtn 10X" },
+ { 22890, "Surface Wave (Over The Horizon)" },
+ { 22900, "Otomat MK 1" },
+ { 22905, "Otomat MK II Teseo" },
+ { 22950, "Owl Screech" },
+ { 22955, "P360Z" },
+ { 22960, "PA-1660" },
+ { 22977, "Paint Box" },
+ { 22995, "Palm Frond" },
+ { 22998, "Modified Paint Box" },
+ { 23040, "Palm Frond AB" },
+ { 23085, "Pat Hand TT" },
+ { 23095, "Pat Hand MG" },
+ { 23130, "Patty Cake" },
+ { 23175, "Pawn Cake" },
+ { 23220, "PBR 4 Rubin" },
+ { 23265, "Pea Sticks" },
+ { 23310, "Peel Cone" },
+ { 23355, "Peel Group" },
+ { 23400, "Peel Group A" },
+ { 23445, "Peel Group B" },
+ { 23450, "Peel Group MG" },
+ { 23490, "Peel Pair" },
+ { 23500, "Pelena" },
+ { 23525, "Phalanx" },
+ { 23535, "Philips 9LV 200" },
+ { 23580, "Philips 9LV 331" },
+ { 23625, "Philips LV 223" },
+ { 23670, "Philips Sea Giraffe 50 HC" },
+ { 23690, "Pin Jib" },
+ { 23695, "Pin Tip" },
+ { 23700, "PL-11" },
+ { 23701, "PL-12" },
+ { 23710, "Plank Shad" },
+ { 23715, "Plank Shave" },
+ { 23760, "Plank Shave A" },
+ { 23805, "Plank Shave B" },
+ { 23850, "Plate Steer" },
+ { 23895, "Plessey AWS 1" },
+ { 23925, "Plessey AWS-2" },
+ { 23940, "Plessey AWS 4" },
+ { 23985, "Plessey AWS 6" },
+ { 23990, "Plessey RJ" },
+ { 24020, "Plessey Type 904" },
+ { 24030, "Plessey type 996" },
+ { 24075, "Plinth Net" },
+ { 24095, "Pluto" },
+ { 24100, "POHJANPALO" },
+ { 24120, "POLLUX" },
+ { 24165, "Pop Group" },
+ { 24210, "Pop Group MG" },
+ { 24255, "Pop Group TA" },
+ { 24300, "Pop Group TT" },
+ { 24320, "Pork Fist" },
+ { 24345, "Pork Trough" },
+ { 24385, "Positive ME" },
+ { 24386, "Positive-ME1.2" },
+ { 24390, "Post Bow" },
+ { 24435, "Post Lamp" },
+ { 24480, "Pot Drum" },
+ { 24525, "Pot Head" },
+ { 24535, "Pot Shot" },
+ { 24540, "Praetorian Countermeasures Suite" },
+ { 24570, "PRIMUS 40 WXD" },
+ { 24614, "Primus 400" },
+ { 24615, "PRIMUS 300SL" },
+ { 24616, "Primus 500" },
+ { 24617, "Primus 650" },
+ { 24618, "Primus 700" },
+ { 24620, "Primus 3000" },
+ { 24630, "PRORA" },
+ { 24631, "PRS-2" },
+ { 24635, "PRORA PA-1660" },
+ { 24650, "PS-05A" },
+ { 24660, "PS 46 A" },
+ { 24705, "PS 70 R" },
+ { 24707, "PS-860" },
+ { 24709, "PS-870" },
+ { 24710, "PS-890" },
+ { 24750, "Puff Ball" },
+ { 24755, "Quadradar VI" },
+ { 24760, "PVS-200" },
+ { 24770, "R-76" },
+ { 24774, "RA723" },
+ { 24775, "R41XXX" },
+ { 24780, "RAC-30" },
+ { 24795, "Racal 1229" },
+ { 24840, "Racal AC 2690 BT" },
+ { 24885, "Racal Decca 1216" },
+ { 24890, "Racal-DECCA 20V90/9" },
+ { 24930, "Racal Decca 360" },
+ { 24975, "Racal Decca AC 1290" },
+ { 25020, "Racal Decca TM 1229" },
+ { 25065, "Racal Decca TM 1626" },
+ { 25110, "Racal DRBN 34A" },
+ { 25155, "Radar 24" },
+ { 25200, "RAN 7S" },
+ { 25205, "RAN 10S" },
+ { 25245, "RAN 11 LX" },
+ { 25250, "Rani" },
+ { 25260, "Rapier TA" },
+ { 25265, "Rapier 2000 TA, Dagger" },
+ { 25270, "Rapier MG" },
+ { 25273, "RASCAR 3400C" },
+ { 25275, "Rashmi" },
+ { 25276, "Rasit" },
+ { 25277, "Rasit 3190B" },
+ { 25278, "RAT-31 DL/M" },
+ { 25280, "RAT-31S" },
+ { 25285, "RATAC (LCT)" },
+ { 25286, "RAWL" },
+ { 25287, "Rattler" },
+ { 25288, "RAWS" },
+ { 25289, "RAWL-02" },
+ { 25290, "Raytheon 1220" },
+ { 25291, "RAWS-03" },
+ { 25300, "Raytheon 1302" },
+ { 25335, "Raytheon 1500" },
+ { 25380, "Raytheon 1645" },
+ { 25425, "Raytheon 1650" },
+ { 25470, "Raytheon 1900" },
+ { 25515, "Raytheon 2502" },
+ { 25540, "Raytheon R41" },
+ { 25550, "Raytheon SL 72" },
+ { 25560, "Raytheon TM 1650/6X" },
+ { 25605, "Raytheon TM 1660/12S" },
+ { 25630, "RAY-1220XR" },
+ { 25635, "RAY-1401" },
+ { 25650, "Ray 2900" },
+ { 25695, "Raypath" },
+ { 25735, "RBE2" },
+ { 25739, "RCT-180" },
+ { 25740, "RDM" },
+ { 25760, "RDY" },
+ { 25785, "RDN 72" },
+ { 25830, "RDR 1A" },
+ { 25835, "RDR 1E" },
+ { 25840, "RDR 4A" },
+ { 25850, "RDR-160XD" },
+ { 25855, "RDR 1100" },
+ { 25875, "RDR 1200" },
+ { 25885, "RDR 1400" },
+ { 25890, "RDR 1400 C" },
+ { 25895, "RDR 1500" },
+ { 25896, "Rice Cake" },
+ { 25900, "Remora" },
+ { 25901, "Rice Field" },
+ { 25907, "Rice Cup C" },
+ { 25908, "REL-6E" },
+ { 25910, "Rice Bowl" },
+ { 25911, "Improved Reporter" },
+ { 25912, "Rice Bug" },
+ { 25915, "Rice Cup" },
+ { 25920, "Rice Lamp" },
+ { 25965, "Rice Pad" },
+ { 25966, "RKL-526" },
+ { 25967, "RKZ-764" },
+ { 25968, "RKZ-766" },
+ { 25969, "RKL-165" },
+ { 25970, "RKL-609" },
+ { 25971, "RKL-800" },
+ { 25972, "RKZ-761" },
+ { 25973, "RKZ-2000" },
+ { 26008, "Rice Scoop, REL-86TM" },
+ { 26010, "Rice Screen" },
+ { 26011, "DECCA RM 1070A" },
+ { 26015, "RM370BT" },
+ { 26020, "Rockwell Collins FMR-200X" },
+ { 26040, "RM-231-2" },
+ { 26041, "RM-231-3" },
+ { 26055, "ROLAND BN" },
+ { 26100, "ROLAND MG" },
+ { 26145, "ROLAND TA" },
+ { 26190, "ROLAND TT" },
+ { 26235, "Round Ball" },
+ { 26236, "RP-379D Tirada D" },
+ { 26280, "Round House" },
+ { 26325, "Round House B" },
+ { 26326, "RPR-117" },
+ { 26327, "RS-02/50" },
+ { 26330, "RT-02/50" },
+ { 26350, "RTN-1A" },
+ { 26353, "RTN-25X" },
+ { 26355, "Ruby Rake" },
+ { 26360, "Rum Sling" },
+ { 26361, "Rum Sling RO" },
+ { 26362, "Rum Sling TT" },
+ { 26370, "RV2" },
+ { 26415, "RV3" },
+ { 26460, "RV5" },
+ { 26505, "RV10" },
+ { 26506, "RV-15M" },
+ { 26550, "RV17" },
+ { 26595, "RV18" },
+ { 26596, "RV-21" },
+ { 26610, "RV-377" },
+ { 26640, "RV UM" },
+ { 26660, "RXN 2-60" },
+ { 26665, "Rye House" },
+ { 26670, "S-1810CD" },
+ { 26672, "Sahab" },
+ { 26673, "Salamandre" },
+ { 26675, "S1850M" },
+ { 26685, "SA 2 Guideline" },
+ { 26730, "SA 3 Goa" },
+ { 26775, "SA 8 Gecko DT" },
+ { 26795, "SA-12 TELAR ILL" },
+ { 26810, "Sampson" },
+ { 26820, "SA N 7 Gadfly TI" },
+ { 26865, "SA N 11 Cads 1 UN" },
+ { 26900, "Saccade MH" },
+ { 26910, "Salt Pot A&B" },
+ { 26920, "SAP-14" },
+ { 26925, "SAP-518" },
+ { 26926, "SAP-518M" },
+ { 26930, "Sand Bar" },
+ { 26935, "SA Pechora 2M TT" },
+ { 26945, "SAR (on UAVs)" },
+ { 26955, "SATURNE II" },
+ { 27000, "Scan Can" },
+ { 27045, "Scan Fix" },
+ { 27090, "Scan Odd" },
+ { 27135, "Scan Three" },
+ { 27139, "Scanter SMR" },
+ { 27140, "SCANTER (CSR)" },
+ { 27141, "SCORADS" },
+ { 27143, "STAR 2000" },
+ { 27150, "SCOREBOARD" },
+ { 27180, "Scoup Plate" },
+ { 27183, "SCOUT" },
+ { 27190, "SCR-584" },
+ { 27225, "Sea Archer 2" },
+ { 27230, "Sea Based X-Band" },
+ { 27239, "Sea Eagle (Type 381)" },
+ { 27240, "Sea Eagle S/C (Type 382)" },
+ { 27251, "Seaguard" },
+ { 27270, "Sea Hunter 4 MG" },
+ { 27315, "Sea Hunter 4 TA" },
+ { 27360, "Sea Hunter 4 TT" },
+ { 27405, "Sea Gull" },
+ { 27450, "Sea Net" },
+ { 27451, "Sea Sparrow" },
+ { 27495, "Sea Spray" },
+ { 27540, "Sea Tiger" },
+ { 27550, "Sea Tiger M" },
+ { 27570, "Searchwater" },
+ { 27575, "Searchwater 2000" },
+ { 27585, "Selenia Orion 7" },
+ { 27630, "Selenia type 912" },
+ { 27675, "Selennia RAN 12 L/X" },
+ { 27680, "Selenia RAN 20S" },
+ { 27720, "Selennia RTN 10X" },
+ { 27765, "Selinia ARP 1645" },
+ { 27800, "SG" },
+ { 27802, "SGJ-02" },
+ { 27803, "SGJ-03" },
+ { 27810, "SGR 102 00" },
+ { 27855, "SGR 103/02" },
+ { 27870, "SGR-104" },
+ { 27900, "Sheet Bend" },
+ { 27945, "Sheet Curve" },
+ { 27990, "Ship Globe" },
+ { 28035, "Ship Wheel" },
+ { 28080, "SGR 114" },
+ { 28125, "Shore Walk A" },
+ { 28170, "Short Horn" },
+ { 28215, "Shot Dome" },
+ { 28260, "Side Globe JN" },
+ { 28280, "PRV-11, Side Net" },
+ { 28305, "Side Walk A" },
+ { 28350, "Signaal DA 02" },
+ { 28395, "Signaal DA 05" },
+ { 28440, "Signaal DA 08" },
+ { 28445, "Signaal DA 08/2LS" },
+ { 28480, "Signaal LW 04" },
+ { 28485, "Signaal LW 08" },
+ { 28530, "Signaal LWOR" },
+ { 28575, "Signaal M45" },
+ { 28620, "Signaal MW 08" },
+ { 28665, "Signaal SMART" },
+ { 28710, "Signaal STING" },
+ { 28755, "Signaal STIR" },
+ { 28760, "Signaal STIR 1.8M" },
+ { 28770, "Signaal STIR 24M" },
+ { 28800, "Signaal WM 20/2" },
+ { 28845, "Signaal WM 25" },
+ { 28890, "Signaal WM 27" },
+ { 28935, "Signaal WM 28" },
+ { 28980, "Signaal ZW 01" },
+ { 29025, "Signaal ZW 06" },
+ { 29030, "Signaal ZW 07" },
+ { 29035, "Signaal ZW 0800" },
+ { 29070, "Ski Pole" },
+ { 29115, "Skin Head" },
+ { 29160, "Skip Spin" },
+ { 29175, "Sky Wave (Over The Horizon)" },
+ { 29180, "Skyguard B" },
+ { 29185, "SKYGUARD TA, UAR-1021" },
+ { 29190, "SKYGUARD TT, UAR-1021" },
+ { 29191, "Skyguard LR" },
+ { 29200, "Skymaster" },
+ { 29205, "Sky Watch" },
+ { 29210, "Sky Ranger" },
+ { 29215, "SKYSHADOW" },
+ { 29220, "SKYSHIELD TA" },
+ { 29250, "SL" },
+ { 29270, "SL/ALQ-234" },
+ { 29295, "Slap Shot" },
+ { 29297, "Slap Shot G" },
+ { 29340, "Slim Net" },
+ { 29385, "Slot Back A" },
+ { 29400, "Slot Back ILL" },
+ { 29430, "Slot Back B" },
+ { 29431, "Slot Back IV" },
+ { 29432, "Slot Back B Topaz" },
+ { 29435, "Slot Back VI" },
+ { 29440, "Slot Rest" },
+ { 29450, "SM-674A/UPM" },
+ { 29475, "SMA 3 RM" },
+ { 29520, "SMA 3 RM 20" },
+ { 29565, "SMA 3RM 20A/SMG" },
+ { 29610, "SMA BPS 704" },
+ { 29655, "SMA SPIN 749 (V) 2" },
+ { 29700, "SMA SPN 703" },
+ { 29745, "SMA SPN 751" },
+ { 29790, "SMA SPOS 748" },
+ { 29835, "SMA SPQ 2" },
+ { 29880, "SMA SPQ 2D" },
+ { 29925, "SMA SPQ 701" },
+ { 29970, "SMA SPS 702 UPX" },
+ { 30015, "SMA ST 2 OTOMAT II MH" },
+ { 30016, "SR-47A" },
+ { 30060, "SMA 718 Beacon" },
+ { 30065, "Small Fred" },
+ { 30068, "SMART-S" },
+ { 30069, "SMART-S Mk2" },
+ { 30070, "SMART-L" },
+ { 30072, "SM-932" },
+ { 30075, "Smog Lamp" },
+ { 30080, "Snap Shot" },
+ { 30105, "Snoop Drift" },
+ { 30140, "Snoop Half" },
+ { 30150, "Snoop Head" },
+ { 30195, "Snoop Pair" },
+ { 30200, "Snoop Ping" },
+ { 30240, "Snoop Plate" },
+ { 30255, "Snoop Ping" },
+ { 30285, "Snoop Slab" },
+ { 30330, "Snoop Tray" },
+ { 30375, "Snoop Tray 1" },
+ { 30420, "Snoop Tray 2" },
+ { 30465, "Snoop Watch" },
+ { 30470, "9S18M1, Snow Drift" },
+ { 30475, "SPB-7" },
+ { 30480, "Snow Drop" },
+ { 30510, "SO-1" },
+ { 30520, "SO-12" },
+ { 30555, "SO A Communist" },
+ { 30580, "SO-69" },
+ { 30600, "Sock Eye" },
+ { 30645, "SOM 64" },
+ { 30660, "Sorbsiya" },
+ { 30670, "SPADA TT" },
+ { 30690, "Sparrow (AIM/RIM-7) ILL" },
+ { 30691, "SPERRY RASCAR" },
+ { 30700, "Sperry M-3" },
+ { 30735, "SPG 53F" },
+ { 30780, "SPG 70 (RTN 10X)" },
+ { 30825, "SPG 74 (RTN 20X)" },
+ { 30870, "SPG 75 (RTN 30X)" },
+ { 30915, "SPG 76 (RTN 30X)" },
+ { 30960, "Spin Scan A" },
+ { 31005, "Spin Scan B" },
+ { 31050, "Spin Trough" },
+ { 31095, "Splash Drop" },
+ { 31096, "SPN-2" },
+ { 31097, "SPN-4" },
+ { 31100, "SPN-30" },
+ { 31140, "SPN 35A" },
+ { 31185, "SPN 41" },
+ { 31230, "SPN 42" },
+ { 31275, "SPN 43A" },
+ { 31320, "SPN 43B" },
+ { 31365, "SPN 44" },
+ { 31410, "SPN 46" },
+ { 31455, "SPN 703" },
+ { 31500, "SPN 728 (V) 1" },
+ { 31545, "SPN 748" },
+ { 31590, "SPN 750" },
+ { 31592, "SPO-8" },
+ { 31593, "SPN 753G" },
+ { 31635, "Sponge Cake" },
+ { 31680, "P-12, Spoon Rest" },
+ { 31681, "P-18, Spoon Rest A" },
+ { 31682, "P-18, Spoon Rest B" },
+ { 31684, "P-18, Spoon Rest D" },
+ { 31700, "Spork Rest" },
+ { 31725, "SPQ 712 (RAN 12 L/X)" },
+ { 31770, "SPS 6C" },
+ { 31815, "SPS 10F" },
+ { 31860, "SPS 12" },
+ { 31905, "SPS 58 (deprecated)" },
+ { 31950, "SPS 64 (deprecated)" },
+ { 31951, "SPS-141" },
+ { 31952, "SPS-142" },
+ { 31953, "SPS-143" },
+ { 31960, "SPS-161" },
+ { 31995, "SPS 768 (RAN EL)" },
+ { 32040, "SPS 774 (RAN 10S)" },
+ { 32085, "SPY 790" },
+ { 32130, "Square Head" },
+ { 32175, "Square Pair" },
+ { 32220, "Square Slot" },
+ { 32265, "Square Tie" },
+ { 32310, "Shmel, Squash Dome" },
+ { 32330, "P-15M, Squat Eye" },
+ { 32355, "Squint Eye" },
+ { 32375, "SR47B-G" },
+ { 32400, "SRN 6" },
+ { 32445, "SRN 15" },
+ { 32455, "SRN 206" },
+ { 32490, "SRN 745" },
+ { 32535, "SRO 1" },
+ { 32580, "SRO 2" },
+ { 32625, "SS C 2B Samlet MG" },
+ { 32670, "SS N 2A B CSSC" },
+ { 32715, "SS N 2A B CSSC 2A 3A2 MH" },
+ { 32760, "SS N 2C Seeker" },
+ { 32805, "SS N 2C D Styx" },
+ { 32850, "SS N 2C D Styx C D MH" },
+ { 32895, "SS N 3 SSC SS C 18 BN" },
+ { 32940, "SS N 3B Sepal AL" },
+ { 32985, "SS N 3B Sepal MH" },
+ { 33025, "SS-N-7 Starbright" },
+ { 33030, "SS N 9 Siren" },
+ { 33075, "SS N 9 Siren AL" },
+ { 33120, "SS N 9 Siren MH" },
+ { 33125, "SS-N-10A FL-10 mmW MH" },
+ { 33140, "SS-N-11 Nasr-1 mmW MH" },
+ { 33165, "SS N 12 Sandbox AL" },
+ { 33166, "SS-N-12 YJ-83J mmW MH" },
+ { 33210, "SS N 12 Sandbox MH" },
+ { 33230, "SS-NX-13 Shredder" },
+ { 33255, "SS N 19 Shipwreck" },
+ { 33300, "SS N 19 Shipwreck AL" },
+ { 33345, "SS N 19 Shipwreck MH" },
+ { 33390, "SS N 21 AL" },
+ { 33435, "SS N 22 Sunburn" },
+ { 33480, "SS N 22 Sunburn MH" },
+ { 33483, "SS-N-25 Switchblade MH" },
+ { 33484, "SS-N-26 Strobile MMW MH" },
+ { 33485, "SS-N-27 Sizzler MH" },
+ { 33525, "Stone Cake" },
+ { 33570, "STR 41" },
+ { 33590, "Straight Flush TA" },
+ { 33595, "Straight Flush TT" },
+ { 33600, "Straight Flush ILL" },
+ { 33615, "Strike Out" },
+ { 33660, "Strut Curve" },
+ { 33705, "Strut Pair" },
+ { 33750, "Strut Pair 1" },
+ { 33795, "Strut Pair 2" },
+ { 33840, "Sun Visor" },
+ { 33860, "Superfledermaus" },
+ { 33870, "Supersearcher" },
+ { 33885, "Swift Rod 1" },
+ { 33930, "Swift Rod 2" },
+ { 33975, "T1166" },
+ { 34020, "T1171" },
+ { 34040, "T1202" },
+ { 34065, "T6004" },
+ { 34110, "T6031" },
+ { 34155, "T8067" },
+ { 34200, "T8068" },
+ { 34245, "T8124" },
+ { 34290, "T8408" },
+ { 34335, "T8911" },
+ { 34380, "T8937" },
+ { 34425, "T8944" },
+ { 34470, "T8987" },
+ { 34500, "JY-11B, Tall Board" },
+ { 34505, "TACAN/SURF" },
+ { 34515, "P-14, Tall King" },
+ { 34560, "Tall Mike" },
+ { 34605, "Tall Path" },
+ { 34610, "Tea Spoon" },
+ { 34620, "Team Play" },
+ { 34625, "Team Work" },
+ { 34626, "T1135" },
+ { 34627, "TANCAN/SURF" },
+ { 34630, "TESAR" },
+ { 34640, "THAAD GBR" },
+ { 34645, "Thales Nederland Signaal APAR" },
+ { 34647, "Thales Variant" },
+ { 34650, "THD 225" },
+ { 34670, "THD 1940, Picador" },
+ { 34680, "THD-1955 Palmier" },
+ { 34695, "THD 5500" },
+ { 34740, "Thin Path" },
+ { 34785, "PRV-9, Thin Skin" },
+ { 34795, "Thompson CSF TA-10" },
+ { 34830, "Thompson CSF TH D 1040 Neptune" },
+ { 34875, "Thompson CSF Calypso" },
+ { 34920, "Thompson CSF CASTOR" },
+ { 34965, "Thompson CSF Castor II" },
+ { 35010, "Thompson CSF DRBC 32A" },
+ { 35055, "Thompson CSF DRBJ 11 D/E" },
+ { 35100, "Thompson CSF DRBV 15A" },
+ { 35145, "Thompson CSF DRBV 15C" },
+ { 35190, "Thompson CSF DRBV 22D" },
+ { 35235, "Thompson CSF DRBV 23B" },
+ { 35280, "Thompson CSF DRUA 33" },
+ { 35325, "Thompson CSF Mars DRBV 21A" },
+ { 35370, "Thompson CSF Sea Tiger" },
+ { 35415, "Thompson CSF Triton" },
+ { 35460, "Thompson CSF Vega with DRBC 32E" },
+ { 35470, "Thomson ENR (European Navy Radar)" },
+ { 35475, "Thomson RDI" },
+ { 35477, "Tier II Plus" },
+ { 35480, "TRS-2105, TIGER-G" },
+ { 35485, "HT-223, Tiger Paw" },
+ { 35490, "TRS-2100, TIGER-S" },
+ { 35505, "Tie Rods" },
+ { 35550, "36D6, Tin Shield" },
+ { 35570, "Tin Trap" },
+ { 35580, "TIRSPONDER" },
+ { 35585, "TMK Mk2" },
+ { 35586, "TMX Mk2" },
+ { 35595, "Toad Stool 1" },
+ { 35640, "Toad Stool 2" },
+ { 35685, "Toad Stool 3" },
+ { 35730, "Toad Stool 4" },
+ { 35775, "Toad Stool 5" },
+ { 35785, "Token B" },
+ { 35800, "Tomb Stone" },
+ { 35810, "Tonson" },
+ { 35820, "Top Bow" },
+ { 35865, "Top Dome" },
+ { 35910, "Top Knot" },
+ { 35955, "Top Mesh" },
+ { 36000, "Top Pair" },
+ { 36045, "Top Plate" },
+ { 36046, "Top Plate B" },
+ { 36090, "Top Sail" },
+ { 36120, "TYPE-208" },
+ { 36135, "Top Steer" },
+ { 36180, "Top Trough" },
+ { 36200, "Tornado GMR" },
+ { 36220, "Scrum Half TA" },
+ { 36225, "Scrum Half TT" },
+ { 36230, "Scrum Half MG" },
+ { 36270, "Track Dish" },
+ { 36315, "TORSO M" },
+ { 36320, "TQN-2" },
+ { 36360, "Trap Door" },
+ { 36365, "TRD-1500" },
+ { 36370, "Trick Shot TAR" },
+ { 36371, "Trick Shot TER" },
+ { 36380, "TRISPONDE" },
+ { 36386, "TRS 3010" },
+ { 36390, "Triton G" },
+ { 36400, "TRS 3030" },
+ { 36405, "TRS 3033" },
+ { 36417, "TRS 3203" },
+ { 36420, "TRS 3405" },
+ { 36425, "TRS 3410" },
+ { 36430, "TRS 3415" },
+ { 36440, "TRS-3D" },
+ { 36450, "TRS-N" },
+ { 36460, "TS-4478A" },
+ { 36495, "TSE 5000" },
+ { 36540, "TSR 333" },
+ { 36550, "TSR 793" },
+ { 36563, "Tub Brick" },
+ { 36585, "Tube Arm" },
+ { 36630, "Twin Eyes" },
+ { 36675, "Twin Pill" },
+ { 36720, "Twin Scan" },
+ { 36765, "Twin Scan Ro" },
+ { 36810, "Two Spot" },
+ { 36827, "Type 2-12 J/A" },
+ { 36830, "Type 2-21 J/A" },
+ { 36835, "Type 2-23" },
+ { 36836, "Type 80/ASM-1" },
+ { 36840, "Type 208" },
+ { 36843, "Type 222" },
+ { 36846, "Type 226" },
+ { 36850, "Type 232H" },
+ { 36855, "TYPE 262" },
+ { 36900, "TYPE 275" },
+ { 36945, "TYPE 293" },
+ { 36946, "Type 341" },
+ { 36990, "TYPE 343 SUN VISOR B" },
+ { 37035, "TYPE 347B" },
+ { 37038, "Type 347G" },
+ { 37039, "Type 359" },
+ { 37040, "Type 352" },
+ { 37041, "Type 360" },
+ { 37043, "Type 362 ESR-1 SR-47B" },
+ { 37045, "Type 354" },
+ { 37048, "Type 363" },
+ { 37050, "Type-404A(CH)" },
+ { 37052, "Type 405" },
+ { 37058, "Type 408D, Moon Stool B" },
+ { 37060, "Type 518 (Hai Ying, God Eye, REL-2)" },
+ { 37070, "Type 589" },
+ { 37075, "Type 753" },
+ { 37077, "Type 702" },
+ { 37078, "Type 704" },
+ { 37079, "Type 753" },
+ { 37080, "Type 756" },
+ { 37090, "Type 815" },
+ { 37095, "Type 793" },
+ { 37124, "Type 902B" },
+ { 37125, "TYPE 903" },
+ { 37170, "TYPE 909 TI" },
+ { 37215, "TYPE 909 TT" },
+ { 37260, "TYPE 910" },
+ { 37265, "TYPE-931(CH)" },
+ { 37305, "TYPE 965" },
+ { 37350, "TYPE 967" },
+ { 37395, "TYPE 968" },
+ { 37440, "TYPE 974" },
+ { 37485, "TYPE 975" },
+ { 37530, "TYPE 978" },
+ { 37534, "Type 981" },
+ { 37575, "TYPE 992" },
+ { 37620, "TYPE 993" },
+ { 37665, "TYPE 994" },
+ { 37710, "TYPE 1006(1)" },
+ { 37755, "TYPE 1006(2)" },
+ { 37800, "TYPE 1022" },
+ { 37810, "Type 1047" },
+ { 37815, "Type 1048" },
+ { 37845, "UK MK 10" },
+ { 37850, "UPS-220C" },
+ { 37890, "UPX 1 10" },
+ { 37935, "UPX 27" },
+ { 37980, "URN 20" },
+ { 38025, "URN 25" },
+ { 38045, "VOLEX III/IV" },
+ { 38050, "VSR" },
+ { 38058, "W-160" },
+ { 38060, "W1028" },
+ { 38070, "W8818" },
+ { 38115, "W8838" },
+ { 38120, "W8852" },
+ { 38140, "WALL BOARD" },
+ { 38150, "Wall Rust" },
+ { 38160, "WAS-74S" },
+ { 38205, "Wasp Head" },
+ { 38210, "WATCHDOG" },
+ { 38250, "Watch Guard" },
+ { 38260, "Watchman" },
+ { 38295, "Western Electric MK 10" },
+ { 38320, "Westinghouse ADR-4 LRSR" },
+ { 38340, "Westinghouse Electric SPG 50" },
+ { 38385, "Westinghouse Electric W 120" },
+ { 38430, "Westinghouse SPS 29C" },
+ { 38475, "Westinghouse SPS 37" },
+ { 38520, "Wet Eye" },
+ { 38525, "Wet Eye 2" },
+ { 38565, "Wet Eye Mod" },
+ { 38570, "WGU-41/B" },
+ { 38572, "WGU-44/B" },
+ { 38610, "Whiff" },
+ { 38655, "Whiff Brick" },
+ { 38700, "Whiff Fire" },
+ { 38715, "WHITE HOUSE" },
+ { 38730, "Wide Mat" },
+ { 38745, "Wild Card" },
+ { 38790, "Witch Eight" },
+ { 38835, "Witch Five" },
+ { 38880, "WM2X Series" },
+ { 38925, "WM2X Series CAS" },
+ { 38950, "WSR-74C" },
+ { 38955, "WSR-74S" },
+ { 38960, "WXR-700C" },
+ { 38970, "Wood Gage" },
+ { 39015, "Yard Rake" },
+ { 39060, "Yew Loop" },
+ { 39063, "YJ-12 MH" },
+ { 39065, "YJ-62 MH" },
+ { 39066, "YJ-82 MH" },
+ { 39067, "YJ-83 MH" },
+ { 39070, "YLC-2" },
+ { 39073, "YLC-4" },
+ { 39074, "YLC-6" },
+ { 39075, "YLC-6M" },
+ { 39080, "YLC-8" },
+ { 39085, "YLC-18, Tall Page" },
+ { 39105, "Yo-Yo" },
+ { 39125, "Zoo Park 1" },
+ { 39126, "ZPS-6" },
+ { 39131, "ZD-12" },
+ { 39150, "ZW-06" },
+ { 39200, "AN/ALQ-136(V)1" },
+ { 39201, "AN/ALQ-136(V)2" },
+ { 39202, "AN/ALQ-136(V)3" },
+ { 39203, "AN/ALQ-136(V)4" },
+ { 39204, "AN/ALQ-136(V)5" },
+ { 39210, "AN/ALQ-162(V)2" },
+ { 39211, "AN/ALQ-162(V)3" },
+ { 39212, "AN/ALQ-162(V)4" },
+ { 45300, "Zhuk-M" },
+ { 45305, "ZHUK-MME" },
+ { 0, NULL }
+};
+
+static value_string_ext DIS_PDU_EmitterName_Strings_Ext = VALUE_STRING_EXT_INIT(DIS_PDU_EmitterName_Strings);
+
+/* SISO-REF-010 [UID 29] */
+static const value_string DIS_PDU_Country_Strings[] =
+{
+ { 0, "Other" },
+ { 1, "Afghanistan" },
+ { 2, "Albania" },
+ { 3, "Algeria" },
+ { 4, "American Samoa (United States)" },
+ { 5, "Andorra" },
+ { 6, "Angola" },
+ { 7, "Anguilla" },
+ { 8, "Antarctica (International)" },
+ { 9, "Antigua and Barbuda" },
+ { 10, "Argentina" },
+ { 11, "Aruba" },
+ { 12, "Ashmore and Cartier Islands (Australia)" },
+ { 13, "Australia" },
+ { 14, "Austria" },
+ { 15, "Bahamas" },
+ { 16, "Bahrain" },
+ { 17, "Baker Island (United States)" },
+ { 18, "Bangladesh" },
+ { 19, "Barbados" },
+ { 20, "Bassas da India (France)" },
+ { 21, "Belgium" },
+ { 22, "Belize" },
+ { 23, "Benin" },
+ { 24, "Bermuda (United Kingdom)" },
+ { 25, "Bhutan" },
+ { 26, "Bolivia" },
+ { 27, "Botswana" },
+ { 28, "Bouvet Island (Norway)" },
+ { 29, "Brazil" },
+ { 30, "British Indian Ocean Territory (United Kingdom)" },
+ { 31, "British Virgin Islands (United Kingdom)" },
+ { 32, "Brunei" },
+ { 33, "Bulgaria" },
+ { 34, "Burkina Faso" },
+ { 35, "Myanmar" },
+ { 36, "Burundi" },
+ { 37, "Cambodia (aka Kampuchea)" },
+ { 38, "Cameroon" },
+ { 39, "Canada" },
+ { 40, "Cape Verde, Republic of" },
+ { 41, "Cayman Islands (United Kingdom)" },
+ { 42, "Central African Republic" },
+ { 43, "Chad" },
+ { 44, "Chile" },
+ { 45, "China, People's Republic of" },
+ { 46, "Christmas Island (Australia)" },
+ { 47, "Cocos (Keeling) Islands (Australia)" },
+ { 48, "Colombia" },
+ { 49, "Comoros" },
+ { 50, "Congo, Republic of" },
+ { 51, "Cook Islands (New Zealand)" },
+ { 52, "Coral Sea Islands (Australia)" },
+ { 53, "Costa Rica" },
+ { 54, "Cuba" },
+ { 55, "Cyprus" },
+ { 56, "Czechoslovakia" },
+ { 57, "Denmark" },
+ { 58, "Djibouti" },
+ { 59, "Dominica" },
+ { 60, "Dominican Republic" },
+ { 61, "Ecuador" },
+ { 62, "Egypt" },
+ { 63, "El Salvador" },
+ { 64, "Equatorial Guinea" },
+ { 65, "Ethiopia" },
+ { 66, "Europa Island (France)" },
+ { 67, "Falkland Islands (aka Islas Malvinas) (United Kingdom)" },
+ { 68, "Faroe Islands (Denmark)" },
+ { 69, "Fiji" },
+ { 70, "Finland" },
+ { 71, "France" },
+ { 72, "French Guiana (France)" },
+ { 73, "French Polynesia (France)" },
+ { 74, "French Southern and Antarctic Islands (France)" },
+ { 75, "Gabon" },
+ { 76, "Gambia, The" },
+ { 77, "Gaza Strip (Israel)" },
+ { 78, "Germany" },
+ { 79, "Ghana" },
+ { 80, "Gibraltar (United Kingdom)" },
+ { 81, "Glorioso Islands (France)" },
+ { 82, "Greece" },
+ { 83, "Greenland (Denmark)" },
+ { 84, "Grenada" },
+ { 85, "Guadaloupe (France)" },
+ { 86, "Guam (United States)" },
+ { 87, "Guatemala" },
+ { 88, "Guernsey (United Kingdom)" },
+ { 89, "Guinea" },
+ { 90, "Guinea- Bissau" },
+ { 91, "Guyana" },
+ { 92, "Haiti" },
+ { 93, "Heard Island and McDonald Islands (Australia)" },
+ { 94, "Honduras" },
+ { 95, "Hong Kong (United Kingdom)" },
+ { 96, "Howland Island (United States)" },
+ { 97, "Hungary" },
+ { 98, "Iceland" },
+ { 99, "India" },
+ { 100, "Indonesia" },
+ { 101, "Iran" },
+ { 102, "Iraq" },
+ { 104, "Ireland" },
+ { 105, "Israel" },
+ { 106, "Italy" },
+ { 107, "Cote D'Ivoire (aka Ivory Coast)" },
+ { 108, "Jamaica" },
+ { 109, "Jan Mayen (Norway)" },
+ { 110, "Japan" },
+ { 111, "Jarvis Island (United States)" },
+ { 112, "Jersey (United Kingdom)" },
+ { 113, "Johnston Atoll (United States)" },
+ { 114, "Jordan" },
+ { 115, "Juan de Nova Island" },
+ { 116, "Kenya" },
+ { 117, "Kingman Reef (United States)" },
+ { 118, "Kiribati" },
+ { 119, "Korea, Democratic People's Republic of (North)" },
+ { 120, "Korea, Republic of (South)" },
+ { 121, "Kuwait" },
+ { 122, "Laos" },
+ { 123, "Lebanon" },
+ { 124, "Lesotho" },
+ { 125, "Liberia" },
+ { 126, "Libya" },
+ { 127, "Liechtenstein" },
+ { 128, "Luxembourg" },
+ { 129, "Madagascar" },
+ { 130, "Macau (Portugal)" },
+ { 131, "Malawi" },
+ { 132, "Malaysia" },
+ { 133, "Maldives" },
+ { 134, "Mali" },
+ { 135, "Malta" },
+ { 136, "Man, Isle of (United Kingdom)" },
+ { 137, "Marshall Islands" },
+ { 138, "Martinique (France)" },
+ { 139, "Mauritania" },
+ { 140, "Mauritius" },
+ { 141, "Mayotte (France)" },
+ { 142, "Mexico" },
+ { 143, "Micronesia, Federative States of" },
+ { 144, "Monaco" },
+ { 145, "Mongolia" },
+ { 146, "Montserrat (United Kingdom)" },
+ { 147, "Morocco" },
+ { 148, "Mozambique" },
+ { 149, "Namibia (South West Africa)" },
+ { 150, "Nauru" },
+ { 151, "Navassa Island (United States)" },
+ { 152, "Nepal" },
+ { 153, "Netherlands" },
+ { 154, "Netherlands Antilles (Curacao, Bonaire, Saba, Sint Maarten Sint Eustatius)" },
+ { 155, "New Caledonia (France)" },
+ { 156, "New Zealand" },
+ { 157, "Nicaragua" },
+ { 158, "Niger" },
+ { 159, "Nigeria" },
+ { 160, "Niue (New Zealand)" },
+ { 161, "Norfolk Island (Australia)" },
+ { 162, "Northern Mariana Islands (United States)" },
+ { 163, "Norway" },
+ { 164, "Oman" },
+ { 165, "Pakistan" },
+ { 166, "Palmyra Atoll (United States)" },
+ { 168, "Panama" },
+ { 169, "Papua New Guinea" },
+ { 170, "Paracel Islands (International - Occupied by China, also claimed by Taiwan and Vietnam)" },
+ { 171, "Paraguay" },
+ { 172, "Peru" },
+ { 173, "Philippines" },
+ { 174, "Pitcairn Islands (United Kingdom)" },
+ { 175, "Poland" },
+ { 176, "Portugal" },
+ { 177, "Puerto Rico (United States)" },
+ { 178, "Qatar" },
+ { 179, "Reunion (France)" },
+ { 180, "Romania" },
+ { 181, "Rwanda" },
+ { 182, "St. Kitts and Nevis" },
+ { 183, "St. Helena (United Kingdom)" },
+ { 184, "St. Lucia" },
+ { 185, "St. Pierre and Miquelon (France)" },
+ { 186, "St. Vincent and the Grenadines" },
+ { 187, "San Marino" },
+ { 188, "Sao Tome and Principe" },
+ { 189, "Saudi Arabia" },
+ { 190, "Senegal" },
+ { 191, "Seychelles" },
+ { 192, "Sierra Leone" },
+ { 193, "Singapore" },
+ { 194, "Solomon Islands" },
+ { 195, "Somalia" },
+ { 196, "South Georgia and the South Sandwich Islands (United Kingdom)" },
+ { 197, "South Africa" },
+ { 198, "Spain" },
+ { 199, "Spratly Islands (International - parts occupied and claimed by China,Malaysia, Philippines, Taiwan, Vietnam)" },
+ { 200, "Sri Lanka" },
+ { 201, "Sudan" },
+ { 202, "Suriname" },
+ { 203, "Svalbard (Norway)" },
+ { 204, "Swaziland" },
+ { 205, "Sweden" },
+ { 206, "Switzerland" },
+ { 207, "Syria" },
+ { 208, "Taiwan" },
+ { 209, "Tanzania" },
+ { 210, "Thailand" },
+ { 211, "Togo" },
+ { 212, "Tokelau (New Zealand)" },
+ { 213, "Tonga" },
+ { 214, "Trinidad and Tobago" },
+ { 215, "Tromelin Island (France)" },
+ { 216, "Pacific Islands, Trust Territory of the (Palau)" },
+ { 217, "Tunisia" },
+ { 218, "Turkey" },
+ { 219, "Turks and Caicos Islands (United Kingdom)" },
+ { 220, "Tuvalu" },
+ { 221, "Uganda" },
+ { 222, "Russia (RUS)" },
+ { 223, "United Arab Emirates" },
+ { 224, "United Kingdom" },
+ { 225, "United States" },
+ { 226, "Uruguay" },
+ { 227, "Vanuatu" },
+ { 228, "Vatican City (Holy See)" },
+ { 229, "Venezuela" },
+ { 230, "Vietnam" },
+ { 231, "Virgin Islands (United States)" },
+ { 232, "Wake Island (United States)" },
+ { 233, "Wallis and Futuna (France)" },
+ { 234, "Western Sahara" },
+ { 235, "West Bank (Israel)" },
+ { 236, "Western Samoa" },
+ { 237, "Yemen" },
+ { 240, "Serbia and Montenegro" },
+ { 241, "Zaire" },
+ { 242, "Zambia" },
+ { 243, "Zimbabwe" },
+ { 244, "Armenia" },
+ { 245, "Azerbaijan" },
+ { 246, "Belarus" },
+ { 247, "Bosnia and Hercegovina" },
+ { 248, "Clipperton Island (France)" },
+ { 249, "Croatia" },
+ { 250, "Estonia" },
+ { 251, "Georgia" },
+ { 252, "Kazakhstan" },
+ { 253, "Kyrgyzstan" },
+ { 254, "Latvia" },
+ { 255, "Lithuania" },
+ { 256, "Macedonia" },
+ { 257, "Midway Islands (United States)" },
+ { 258, "Moldova" },
+ { 259, "Montenegro" },
+ { 260, "Russia (deprecated)" },
+ { 261, "Serbia and Montenegro (Montenegro to separate)" },
+ { 262, "Slovenia" },
+ { 263, "Tajikistan" },
+ { 264, "Turkmenistan" },
+ { 265, "Ukraine" },
+ { 266, "Uzbekistan" },
+ { 267, "Czech Republic (CZE)" },
+ { 268, "Slovakia (SVK)" },
+ { 0, NULL }
+};
+
+/* SISO-REF-010 [UID 82] */
+typedef enum
+{
+ DIS_PDU_IFFSystemType_NOT_USED = 0,
+ DIS_PDU_IFFSystemType_MARK_X_XII_ATCRBS_TRANSPONDER = 1,
+ DIS_PDU_IFFSystemType_MARK_X_XII_ATCRBS_INTERROGATOR = 2,
+ DIS_PDU_IFFSystemType_SOVIET_TRANSPONDER = 3,
+ DIS_PDU_IFFSystemType_SOVIET_INTERROGATOR = 4,
+ DIS_PDU_IFFSystemType_RRB_TRANSPONDER = 5,
+ DIS_PDU_IFFSystemType_MARK_XIIA_INTERROGATOR = 6,
+ DIS_PDU_IFFSystemType_MODE_5_INTERROGATOR = 7,
+ DIS_PDU_IFFSystemType_MODE_S_INTERROGATOR = 8,
+ DIS_PDU_IFFSystemType_MARK_XIIA_TRANSPONDER = 9,
+ DIS_PDU_IFFSystemType_MODE_5_TRANSPONDER = 10,
+ DIS_PDU_IFFSystemType_MODE_S_TRANSPONDER = 11,
+ DIS_PDU_IFFSystemType_MARK_XIIA_COMBINED_INTERROGATOR_TRANSPONDER_CIT = 12,
+ DIS_PDU_IFFSystemType_MARK_XII_COMBINED_INTERROGATOR_TRANSPONDER_CIT = 13,
+ DIS_PDU_IFFSystemType_TCAS_ACAS_TRANSCEIVER = 14
+} DIS_PDU_IFFSystemType;
+
+static const value_string DIS_PDU_IffSystemType_Strings[] =
+{
+ { 0, "Not Used (Invalid Value)" },
+ { 1, "Mark X/XII/ATCRBS Transponder" },
+ { 2, "Mark X/XII/ATCRBS Interrogator" },
+ { 3, "Soviet Transponder" },
+ { 4, "Soviet Interrogator" },
+ { 5, "RRB Transponder" },
+ { 6, "Mark XIIA Interrogator" },
+ { 7, "Mode 5 Interrogator" },
+ { 8, "Mode S Interrogator" },
+ { 9, "Mark XIIA Transponder" },
+ { 10, "Mode 5 Transponder" },
+ { 11, "Mode S Transponder" },
+ { 12, "Mark XIIA Combined Interrogator/Transponder (CIT)" },
+ { 13, "Mark XII Combined Interrogator/Transponder (CIT)" },
+ { 14, "TCAS/ACAS Transceiver" },
+ { 0, NULL }
+};
+
+/* SISO-REF-010 [UID 83] */
+static const value_string DIS_PDU_IffSystemName_Strings[] =
+{
+ { 0, "Not Used (Invalid Value)" },
+ { 1, "Generic Mark X" },
+ { 2, "Generic Mark XII" },
+ { 3, "Generic ATCRBS" },
+ { 4, "Generic Soviet" },
+ { 5, "Generic Mode S" },
+ { 6, "Generic Mark X/XII/ATCRBS" },
+ { 7, "Generic Mark X/XII/ATCRBS/Mode S" },
+ { 8, "ARI 5954 (RRB)" },
+ { 9, "ARI 5983 (RRB)" },
+ { 10, "Generic RRB" },
+ { 11, "Generic Mark XIIA" },
+ { 12, "Generic Mode 5" },
+ { 13, "Generic Mark XIIA Combined Interrogator/Transponder (CIT)" },
+ { 14, "Generic Mark XII Combined Interrogator/Transponder (CIT)" },
+ { 15, "Generic TCAS I/ACAS I Transceiver" },
+ { 16, "Generic TCAS II/ACAS II Transceiver" },
+ { 17, "Generic Mark X (A)" },
+ { 18, "Generic Mark X (SIF)" },
+ { 0, NULL }
+};
+
+/* SISO-REF-010 [UID 84] */
+static const value_string DIS_PDU_IffSystemMode_Strings[] =
+{
+ { 0, "No Statement" },
+ { 1, "Off" },
+ { 2, "Standby" },
+ { 3, "Normal" },
+ { 4, "Emergency" },
+ { 5, "Low or Low Sensitivity" },
+ { 0, NULL }
+};
+
+/* SISO-REF-010 [UID 320] */
+static const value_string DIS_PDU_IffChangeIndicator_Strings[] =
+{
+ { 0, "Initial Report or No Change Since Last Issuance" },
+ { 1, "Change Since Last Issuance" },
+ { 0, NULL }
+};
+
+static const value_string DIS_PDU_IffHeartbeat_Strings[] =
+{
+ { 0, "No Heartbeat" },
+ { 1, "Heartbeat" },
+ { 0, NULL }
+};
+
+/* SISO-REF-010 [UID 337] */
+static const value_string DIS_PDU_IffTransponder_Interrogator_Strings[] =
+{
+ { 0, "Transponder" },
+ { 1, "Interrogator" },
+ { 0, NULL }
+};
+
+/* SISO-REF-010 [UID 338] */
+static const value_string DIS_PDU_IffSimulation_Mode_Strings[] =
+{
+ { 0, "Regeneration" },
+ { 1, "Interactive" },
+ { 0, NULL }
+};
+
+/* SISO-REF-010 [UID 348] */
+typedef enum
+{
+ DIS_MODE_S_INTERROGATOR_IDENTIFIER_IC_TYPE_II = 0,
+ DIS_MODE_S_INTERROGATOR_IDENTIFIER_IC_TYPE_SI = 1
+} DIS_PDU_IFFModeSInterrogatorIdentifierICType;
+
+static const value_string DIS_PDU_IffModeSInterrogatorIdentifierICType_Strings[] =
+{
+ { 0, "Interrogator Identifier (II)" },
+ { 1, "Surveillance Identifier (SI)" },
+ { 0, NULL }
+};
+
+/* SISO-REF-010 [UID 340] */
+static const value_string DIS_PDU_IffModeCAltitudeIndicator_Strings[] =
+{
+ { 0, "Positive Altitude Above MSL" },
+ { 1, "Negative Altitude Below MSL" },
+ { 0, NULL }
+};
+
+/* SISO-REF-010 [UID 341] */
+static const value_string DIS_PDU_IffTCASACASBasicAdvanced_Strings[] =
+{
+ { 0, "Basic" },
+ { 1, "Advanced" },
+ { 0, NULL }
+};
+
+/* SISO-REF-010 [UID 342] */
+static const value_string DIS_PDU_IffTCASACASIndicator_Strings[] =
+{
+ { 0, "TCAS" },
+ { 1, "ACAS" },
+ { 0, NULL }
+};
+
+/* SISO-REF-010 [UID 343] */
+static const value_string DIS_PDU_IffTCASACASSoftwareVersion_Strings[] =
+{
+ { 0, "No Statement" },
+ { 1, "6.0.2" },
+ { 2, "7.0" },
+ { 0, NULL }
+};
+
+/* SISO-REF-010 [UID 344] */
+static const value_string DIS_PDU_IffTCASACASType_Strings[] =
+{
+ { 0, "No Statement" },
+ { 1, "ACAS I" },
+ { 2, "ACAS II" },
+ { 0, NULL }
+};
+
+/* SISO-REF-010 [UID 345] */
+static const value_string DIS_PDU_IffTCASType_Strings[] =
+{
+ { 0, "TCAS I" },
+ { 1, "TCAS II" },
+ { 0, NULL }
+};
+
+static const value_string DIS_PDU_IffCapable_Strings[] =
+{
+ { 0, "Capable" },
+ { 1, "Not capable" },
+ { 0, NULL }
+};
+
+static const value_string DIS_PDU_IffOperational_Strings[] =
+{
+ { 0, "Operational" },
+ { 1, "System failed" },
+ { 0, NULL }
+};
+
+/* SISO-REF-010 [UID 96] */
+static const value_string DIS_PDU_IffAlternateMode4_Strings[] =
+{
+ { 0, "No Statement" },
+ { 1, "Valid" },
+ { 2, "Invalid" },
+ { 3, "No response" },
+ { 4, "Unable to Verify" },
+ { 0, NULL }
+};
+
+static const value_string DIS_PDU_IffDamaged_Strings[] =
+{
+ { 0, "No damage" },
+ { 1, "Damaged" },
+ { 0, NULL }
+};
+
+static const value_string DIS_PDU_IffMalfunction_Strings[] =
+{
+ { 0, "No malfunction" },
+ { 1, "Malfunction" },
+ { 0, NULL }
+};
+
+static const value_string DIS_PDU_IffMode4_Strings[] =
+{
+ { 4095, "No Pseudo-Crypto value. Use Alternate Mode 4 value" },
+ { 0, NULL }
+};
+
+static const value_string DIS_PDU_IffModeC_Strings[] =
+{
+ { 2047, "No Mode C Altitude. Use Alternate Mode C value" },
+ { 0, NULL }
+};
+
+/******************************************************************************
+*
+* FIELDS
+*
+*******************************************************************************/
+
+/* DIS global */
+static gint proto_dis = -1;
+static int hf_dis_proto_ver = -1;
+static int hf_dis_exercise_id = -1;
+static int hf_dis_pdu_type = -1;
+static int hf_dis_proto_fam = -1;
+static int hf_dis_header_rel_ts = -1;
+static int hf_dis_pdu_length = -1;
+static int hf_dis_padding = -1;
+static int hf_dis_pdu_status = -1;
+static int hf_pdu_status_tei = -1;
+static int hf_pdu_status_lvc = -1;
+static int hf_pdu_status_cei = -1;
+static int hf_pdu_status_fti = -1;
+static int hf_pdu_status_dti = -1;
+static int hf_pdu_status_rai = -1;
+static int hf_pdu_status_iai = -1;
+static int hf_pdu_status_ism = -1;
+static int hf_pdu_status_aii = -1;
+static int hf_pdu_status_field = -1;
+static int hf_dis_event_type = -1;
+static int hf_dis_model_type = -1;
+static int hf_dis_po_ver = -1;
+static int hf_dis_po_pdu_type = -1;
+static int hf_dis_po_database_id = -1;
+static int hf_dis_po_length = -1;
+static int hf_dis_po_pdu_count = -1;
+static int hf_dis_entity_id_site = -1;
+static int hf_dis_entity_id_application = -1;
+static int hf_dis_entity_id_entity = -1;
+static int hf_dis_emitter_id = -1;
+static int hf_dis_beam_id = -1;
+static int hf_dis_num_art_params = -1;
+static int hf_dis_clocktime = -1;
+static int hf_dis_entityKind = -1;
+static int hf_dis_entityDomain = -1;
+static int hf_dis_category_land = -1;
+static int hf_dis_category_air = -1;
+static int hf_dis_category_surface = -1;
+static int hf_dis_category_subsurface = -1;
+static int hf_dis_category_space = -1;
+static int hf_dis_category = -1;
+static int hf_dis_country = -1;
+static int hf_dis_subcategory = -1;
+static int hf_dis_specific = -1;
+static int hf_dis_extra = -1;
+static int hf_dis_site = -1;
+static int hf_dis_request_id = -1;
+static int hf_dis_reason = -1;
+static int hf_dis_frozen_behavior = -1;
+static int hf_dis_acknowledge_flag = -1;
+static int hf_dis_response_flag = -1;
+static int hf_dis_application = -1;
+static int hf_dis_action_id = -1;
+static int hf_dis_request_status = -1;
+static int hf_dis_num_fixed_data = -1;
+static int hf_dis_num_variable_data = -1;
+static int hf_dis_datum_id = -1;
+static int hf_dis_fixed_datum_value = -1;
+static int hf_dis_datum_length = -1;
+static int hf_dis_variable_datum_value = -1;
+static int hf_dis_variable_datum_value_as_text = -1;
+static int hf_dis_time_interval8 = -1;
+static int hf_dis_time_interval32 = -1;
+static int hf_dis_num_fixed_datum_id = -1;
+static int hf_dis_num_variable_datum_id = -1;
+static int hf_dis_reliability = -1;
+static int hf_dis_control_id = -1;
+static int hf_dis_orig_app_type = -1;
+static int hf_dis_recv_app_type = -1;
+static int hf_dis_num_parts = -1;
+static int hf_dis_current_part = -1;
+static int hf_dis_num_variable_records = -1;
+static int hf_dis_variable_record_type = -1;
+static int hf_dis_variable_record_len = -1;
+static int hf_dis_event_number = -1;
+static int hf_dis_num_electromagnetic_emission_systems = -1;
+static int hf_dis_emitter_name = -1;
+static int hf_dis_emission_function = -1;
+static int hf_dis_em_data_length = -1;
+static int hf_dis_em_num_beams = -1;
+static int hf_dis_emitter_id_number = -1;
+static int hf_dis_em_location_x = -1;
+static int hf_dis_em_location_y = -1;
+static int hf_dis_em_location_z = -1;
+static int hf_dis_beam_function = -1;
+static int hf_dis_radio_id = -1;
+static int hf_dis_transmitter_radio_id = -1;
+static int hf_dis_ens = -1;
+static int hf_dis_ens_class = -1;
+static int hf_dis_ens_type = -1;
+static int hf_dis_ens_type_audio = -1;
+static int hf_dis_tdl_type = -1;
+static int hf_dis_sample_rate = -1;
+static int hf_dis_data_length = -1;
+static int hf_dis_num_of_samples = -1;
+static int hf_dis_signal_data = -1;
+static int hf_dis_radio_category = -1;
+static int hf_dis_nomenclature_version = -1;
+static int hf_dis_nomenclature = -1;
+static int hf_dis_radio_transmit_state = -1;
+static int hf_dis_radio_receive_state = -1;
+static int hf_dis_radio_input_source = -1;
+static int hf_dis_antenna_location_x = -1;
+static int hf_dis_antenna_location_y = -1;
+static int hf_dis_antenna_location_z = -1;
+static int hf_dis_rel_antenna_location_x = -1;
+static int hf_dis_rel_antenna_location_y = -1;
+static int hf_dis_rel_antenna_location_z = -1;
+static int hf_dis_antenna_pattern_type = -1;
+static int hf_dis_antenna_pattern_length = -1;
+static int hf_dis_transmit_frequency = -1;
+static int hf_dis_transmit_freq_bandwidth = -1;
+static int hf_dis_transmit_power = -1;
+static int hf_dis_receive_power = -1;
+static int hf_dis_spread_spectrum_usage = -1;
+static int hf_dis_frequency_hopping = -1;
+static int hf_dis_pseudo_noise_modulation = -1;
+static int hf_dis_time_hopping = -1;
+static int hf_dis_modulation_major = -1;
+static int hf_dis_modulation_amplitude = -1;
+static int hf_dis_modulation_amplitude_angle = -1;
+static int hf_dis_modulation_angle = -1;
+static int hf_dis_modulation_combination = -1;
+static int hf_dis_modulation_pulse = -1;
+static int hf_dis_modulation_unmodulated = -1;
+static int hf_dis_modulation_detail = -1;
+static int hf_dis_modulation_system = -1;
+static int hf_dis_crypto_system = -1;
+static int hf_dis_crypto_key = -1;
+static int hf_dis_encryption_mode = -1;
+static int hf_dis_key_identifier = -1;
+static int hf_dis_modulation_parameter_length = -1;
+static int hf_dis_mod_param_fh_net_id = -1;
+static int hf_dis_mod_param_fh_set_id = -1;
+static int hf_dis_mod_param_fh_lo_set_id = -1;
+static int hf_dis_mod_param_fh_msg_start = -1;
+static int hf_dis_mod_param_fh_reserved = -1;
+static int hf_dis_mod_param_fh_sync_time_offset = -1;
+static int hf_dis_mod_param_fh_security_key = -1;
+static int hf_dis_mod_param_fh_clear_channel = -1;
+static int hf_dis_mod_param_dump = -1;
+static int hf_dis_mod_param_ts_allocation_mode = -1;
+static int hf_dis_mod_param_transmitter_prim_mode = -1;
+static int hf_dis_mod_param_transmitter_second_mode = -1;
+static int hf_dis_mod_param_sync_state = -1;
+static int hf_dis_mod_param_network_sync_id = -1;
+static int hf_dis_force_id = -1;
+
+/* DIS aggregate */
+static int hf_dis_aggregate_marking = -1;
+static int hf_dis_aggregate_number_of_aggregates = -1;
+static int hf_dis_aggregate_number_of_entities = -1;
+static int hf_dis_aggregate_number_of_silent_aggregates_types = -1;
+static int hf_dis_aggregate_number_of_silent_entity_types = -1;
+static int hf_dis_aggregate_number_of_variable_datum_records = -1;
+static int hf_dis_aggregate_state = -1;
+static int hf_dis_aggregate_formation = -1;
+static int hf_dis_aggregate_kind = -1;
+static int hf_dis_aggregate_domain = -1;
+static int hf_dis_aggregate_country = -1;
+static int hf_dis_aggregate_category = -1;
+static int hf_dis_aggregate_subcategory = -1;
+static int hf_dis_aggregate_specific = -1;
+static int hf_dis_aggregate_extra = -1;
+static int hf_dis_aggregate_dimensions_x = -1;
+static int hf_dis_aggregate_dimensions_y = -1;
+static int hf_dis_aggregate_dimensions_z = -1;
+static int hf_dis_aggregate_orientation_psi = -1;
+static int hf_dis_aggregate_orientation_theta = -1;
+static int hf_dis_aggregate_orientation_phi = -1;
+static int hf_dis_aggregate_center_of_mass_x = -1;
+static int hf_dis_aggregate_center_of_mass_y = -1;
+static int hf_dis_aggregate_center_of_mass_z = -1;
+static int hf_dis_aggregate_velocity_x = -1;
+static int hf_dis_aggregate_velocity_y = -1;
+static int hf_dis_aggregate_velocity_z = -1;
+static int hf_dis_aggregate_id_site = -1;
+static int hf_dis_aggregate_id_application = -1;
+static int hf_dis_aggregate_id_aggregate = -1;
+
+/* DIS environment */
+static int hf_dis_environmental_number_of_environment_records = -1;
+static int hf_dis_environmental_sequence_number = -1;
+static int hf_dis_environment_status_last = -1;
+static int hf_dis_environment_status_on = -1;
+static int hf_dis_environment_kind = -1;
+static int hf_dis_environment_domain = -1;
+static int hf_dis_environment_class = -1;
+static int hf_dis_environment_category = -1;
+static int hf_dis_environment_subcategory = -1;
+static int hf_dis_environment_specific = -1;
+static int hf_dis_environment_extra = -1;
+
+/* DIS datums */
+static int hf_dis_fixed_datum_value_as_uint = -1;
+static int hf_dis_fixed_datum_value_as_float = -1;
+static int hf_dis_fixed_datum_value_as_int = -1;
+
+/* Appearance */
+static int hf_appearance_frozen_status = -1;
+static int hf_appearance_state = -1;
+static int hf_appearance_weapon_1 = -1;
+static int hf_appearance_weapon_2 = -1;
+static int hf_appearance_camouflage_type = -1;
+static int hf_appearance_concealed_stationary = -1;
+static int hf_appearance_concealed_movement = -1;
+static int hf_appearance_landform_paint_scheme = -1;
+static int hf_appearance_landform_mobility = -1;
+static int hf_appearance_landform_fire_power = -1;
+static int hf_appearance_landform_damage = -1;
+static int hf_appearance_landform_smoke_entity = -1;
+static int hf_appearance_landform_trailing_effects_entity = -1;
+static int hf_appearance_landform_hatch = -1;
+static int hf_appearance_landform_head_lights = -1;
+static int hf_appearance_landform_tail_lights = -1;
+static int hf_appearance_landform_brake_lights = -1;
+static int hf_appearance_landform_flaming = -1;
+static int hf_appearance_landform_launcher = -1;
+static int hf_appearance_landform_camouflage_type = -1;
+static int hf_appearance_landform_concealed = -1;
+static int hf_appearance_landform_frozen_status = -1;
+static int hf_appearance_landform_power_plant_status = -1;
+static int hf_appearance_landform_state = -1;
+static int hf_appearance_landform_tent = -1;
+static int hf_appearance_landform_ramp = -1;
+static int hf_appearance_landform_blackout_lights = -1;
+static int hf_appearance_landform_blackout_brake_lights = -1;
+static int hf_appearance_landform_spot_lights = -1;
+static int hf_appearance_landform_interior_lights = -1;
+static int hf_appearance_landform_surrender_state = -1;
+static int hf_appearance_landform_masked_cloaked = -1;
+static int hf_appearance_lifeform_paint_scheme = -1;
+static int hf_appearance_lifeform_health = -1;
+static int hf_appearance_lifeform_compliance = -1;
+static int hf_appearance_lifeform_flash_lights = -1;
+static int hf_appearance_lifeform_state = -1;
+
+/* Entity */
+static int hf_dis_entity_marking_character_set = -1;
+static int hf_dis_aggregate_marking_character_set = -1;
+static int hf_dis_entity_dead_reckoning_algorithm = -1;
+static int hf_dis_dead_reckoning_other_parameters = -1;
+static int hf_dis_entity_location_x_double = -1;
+static int hf_dis_entity_location_x_float = -1;
+static int hf_dis_entity_location_y_double = -1;
+static int hf_dis_entity_location_y_float = -1;
+static int hf_dis_entity_location_z_double = -1;
+static int hf_dis_entity_location_z_float = -1;
+static int hf_dis_entity_orientation_psi = -1;
+static int hf_dis_entity_orientation_theta = -1;
+static int hf_dis_entity_orientation_phi = -1;
+static int hf_dis_entity_linear_velocity_x = -1;
+static int hf_dis_entity_linear_velocity_y = -1;
+static int hf_dis_entity_linear_velocity_z = -1;
+static int hf_dis_entity_linear_acceleration_x = -1;
+static int hf_dis_entity_linear_acceleration_y = -1;
+static int hf_dis_entity_linear_acceleration_z = -1;
+static int hf_dis_entity_entity_angular_velocity_x = -1;
+static int hf_dis_entity_entity_angular_velocity_y = -1;
+static int hf_dis_entity_entity_angular_velocity_z = -1;
+
+/* Intercom */
+static int hf_intercom_control_control_type = -1;
+static int hf_intercom_control_communications_channel_type = -1;
+static int hf_intercom_control_source_communications_device_id = -1;
+static int hf_intercom_control_source_line_id = -1;
+static int hf_intercom_control_transmit_priority = -1;
+static int hf_intercom_control_transmit_line_state = -1;
+static int hf_intercom_control_command = -1;
+static int hf_intercom_control_master_communications_device_id = -1;
+static int hf_intercom_control_master_channel_id = -1;
+
+/* TODO: put them in the best matched group */
+static int hf_entity_appearance = -1;
+static int hf_dis_entity_marking = -1;
+
+/* Dis designator */
+static int hf_dis_designator_code_name = -1;
+static int hf_dis_designator_designator_code = -1;
+static int hf_dis_designator_power = -1;
+static int hf_dis_designator_wavelength = -1;
+static int hf_dis_designator_spot_with_respect_to_designated_entity_x = -1;
+static int hf_dis_designator_spot_with_respect_to_designated_entity_y = -1;
+static int hf_dis_designator_spot_with_respect_to_designated_entity_z = -1;
+static int hf_dis_designator_spot_location_x = -1;
+static int hf_dis_designator_spot_location_y = -1;
+static int hf_dis_designator_spot_location_z = -1;
+
+/* Collision */
+static int hf_dis_collision_type = -1;
+static int hf_dis_collision_mass = -1;
+static int hf_dis_collision_location_x = -1;
+static int hf_dis_collision_location_y = -1;
+static int hf_dis_collision_location_z = -1;
+
+/* More DIS global */
+static int hf_dis_capabilities = -1;
+static int hf_dis_variable_parameter_type = -1;
+static int hf_dis_num_shafts = -1;
+static int hf_dis_num_apas = -1;
+static int hf_dis_state_update_indicator = -1;
+static int hf_dis_passive_parameter_index = -1;
+static int hf_dis_propulsion_plant_config = -1;
+static int hf_dis_shaft_rpm_current = -1;
+static int hf_dis_shaft_rpm_ordered = -1;
+static int hf_dis_shaft_rpm_change_rate = -1;
+static int hf_dis_num_ua_emitter_systems = -1;
+static int hf_dis_apas_parameter_index = -1;
+static int hf_dis_apas_value = -1;
+static int hf_dis_ua_emission_name = -1;
+static int hf_dis_ua_emission_function = -1;
+static int hf_dis_ua_emission_id_number = -1;
+static int hf_dis_ua_emitter_data_length = -1;
+static int hf_dis_ua_num_beams = -1;
+static int hf_dis_ua_location_x = -1;
+static int hf_dis_ua_location_y = -1;
+static int hf_dis_ua_location_z = -1;
+static int hf_dis_ua_beam_data_length = -1;
+static int hf_dis_ua_beam_id_number = -1;
+static int hf_dis_ua_beam_active_emission_parameter_index = -1;
+static int hf_dis_ua_beam_scan_pattern = -1;
+static int hf_dis_ua_beam_center_azimuth = -1;
+static int hf_dis_ua_beam_azimuthal_beamwidth = -1;
+static int hf_dis_ua_beam_center_de = -1;
+static int hf_dis_ua_beam_de_beamwidth = -1;
+static int hf_dis_em_beam_data_length = -1;
+static int hf_dis_em_beam_id_number = -1;
+static int hf_dis_em_beam_parameter_index = -1;
+static int hf_dis_em_fund_frequency = -1;
+static int hf_dis_em_fund_frequency_range = -1;
+static int hf_dis_em_fund_effective_radiated_power = -1;
+static int hf_dis_em_fund_pulse_repetition_freq = -1;
+static int hf_dis_em_fund_pulse_width = -1;
+static int hf_dis_em_fund_beam_azimuth_center = -1;
+static int hf_dis_em_fund_beam_azimuth_sweep = -1;
+static int hf_dis_em_fund_beam_elevation_center = -1;
+static int hf_dis_em_fund_beam_elevation_sweep = -1;
+static int hf_dis_em_fund_beem_sweep_sync = -1;
+static int hf_dis_track_jam_num_targ = -1;
+static int hf_dis_track_jam_high_density = -1;
+static int hf_dis_jamming_mode_seq = -1;
+static int hf_dis_warhead = -1;
+static int hf_dis_fuse = -1;
+static int hf_dis_quality = -1;
+static int hf_dis_rate = -1;
+static int hf_dis_fire_mission_index = -1;
+static int hf_dis_fire_location_x = -1;
+static int hf_dis_fire_location_y = -1;
+static int hf_dis_fire_location_z = -1;
+static int hf_dis_linear_velocity_x = -1;
+static int hf_dis_linear_velocity_y = -1;
+static int hf_dis_linear_velocity_z = -1;
+static int hf_dis_range = -1;
+static int hf_dis_detonation_location_x = -1;
+static int hf_dis_detonation_location_y = -1;
+static int hf_dis_detonation_location_z = -1;
+static int hf_dis_detonation_result = -1;
+static int hf_dis_simulator_type = -1;
+static int hf_dis_database_seq_num = -1;
+static int hf_dis_simulator_load = -1;
+static int hf_dis_simulation_load = -1;
+static int hf_dis_time = -1;
+static int hf_dis_packets_sent = -1;
+static int hf_dis_unit_database_version = -1;
+static int hf_dis_relative_battle_scheme = -1;
+static int hf_dis_terrain_name = -1;
+static int hf_dis_terrain_version = -1;
+static int hf_dis_host_name = -1;
+static int hf_dis_sequence_number = -1;
+static int hf_dis_persist_obj_class = -1;
+static int hf_dis_missing_from_world_state = -1;
+static int hf_dis_obj_count = -1;
+static int hf_dis_clock_rate = -1;
+static int hf_dis_sec_since_1970 = -1;
+static int hf_dis_str_data = -1;
+static int hf_dis_record_data = -1;
+static int hf_dis_alignment_padding = -1;
+static int hf_dis_vp_change_indicator = -1;
+static int hf_dis_vp_association_status = -1;
+static int hf_dis_vp_association_type = -1;
+static int hf_dis_vp_own_station_location = -1;
+static int hf_dis_vp_phys_conn_type = -1;
+static int hf_dis_vp_group_member_type = -1;
+static int hf_dis_vp_group_number = -1;
+static int hf_dis_vp_offset_type = -1;
+static int hf_dis_vp_offset_x = -1;
+static int hf_dis_vp_offset_y = -1;
+static int hf_dis_vp_offset_z = -1;
+static int hf_dis_vp_attached_indicator = -1;
+static int hf_dis_vp_part_attached_to_id = -1;
+static int hf_dis_vp_artic_param_type = -1;
+static int hf_dis_vp_change = -1;
+static int hf_dis_vp_parameter_value = -1;
+static int hf_dis_vp_padding = -1;
+static int hf_dis_vr_exercise_id = -1;
+static int hf_dis_vr_exercise_file_path = -1;
+static int hf_dis_vr_exercise_file_name = -1;
+static int hf_dis_vr_application_role = -1;
+static int hf_dis_vr_num_records = -1;
+static int hf_dis_vr_status_type = -1;
+static int hf_dis_vr_general_status = -1;
+static int hf_dis_vr_specific_status = -1;
+static int hf_dis_vr_status_value_int = -1;
+static int hf_dis_vr_status_value_float = -1;
+static int hf_dis_signal_link16_npg = -1;
+static int hf_dis_signal_link16_tsec_cvll = -1;
+static int hf_dis_signal_link16_msec_cvll = -1;
+static int hf_dis_signal_link16_message_type = -1;
+static int hf_dis_signal_link16_ptt = -1;
+static int hf_dis_signal_link16_time_slot_type = - 1;
+static int hf_dis_signal_link16_rti = -1;
+static int hf_dis_signal_link16_stn = -1;
+static int hf_dis_signal_link16_sdusn = -1;
+static int hf_dis_signal_link16_network_number = -1;
+static int hf_dis_signal_link16_time_slot_id = -1;
+static int hf_dis_iff_system_type = -1;
+static int hf_dis_iff_system_name = -1;
+static int hf_dis_iff_system_mode = -1;
+static int hf_dis_iff_change_options = -1;
+static int hf_dis_iff_change_indicator = -1;
+static int hf_dis_iff_alternate_mode_4 = -1;
+static int hf_dis_iff_alternate_mode_c = -1;
+static int hf_dis_iff_heartbeat_indicator = -1;
+static int hf_dis_iff_transponder_interrogator_indicator = -1;
+static int hf_dis_iff_simulation_mode = -1;
+static int hf_dis_iff_interactive_capable = -1;
+static int hf_dis_iff_test_mode = -1;
+static int hf_dis_iff_system_designator = -1;
+static int hf_dis_iff_system_specific_data = -1;
+static int hf_dis_iff_system_status = -1;
+static int hf_dis_iff_system_status_system_onoff = -1;
+static int hf_dis_iff_system_status_parameter_1 = -1;
+static int hf_dis_iff_system_status_parameter_2 = -1;
+static int hf_dis_iff_system_status_parameter_3 = -1;
+static int hf_dis_iff_system_status_parameter_4 = -1;
+static int hf_dis_iff_system_status_parameter_5 = -1;
+static int hf_dis_iff_system_status_parameter_6 = -1;
+static int hf_dis_iff_system_status_operational = -1;
+static int hf_dis_iff_alternate_parameter_4 = -1;
+static int hf_dis_iff_information_layers = -1;
+static int hf_dis_iff_information_layers_layer_1 = -1;
+static int hf_dis_iff_information_layers_layer_2 = -1;
+static int hf_dis_iff_information_layers_layer_3 = -1;
+static int hf_dis_iff_information_layers_layer_4 = -1;
+static int hf_dis_iff_information_layers_layer_5 = -1;
+static int hf_dis_iff_information_layers_layer_6 = -1;
+static int hf_dis_iff_information_layers_layer_7 = -1;
+static int hf_dis_iff_modifier = -1;
+static int hf_dis_iff_modifier_emergency = -1;
+static int hf_dis_iff_modifier_ident = -1;
+static int hf_dis_iff_modifier_sti = -1;
+static int hf_dis_iff_modifier_unmanned_aircraft = -1;
+static int hf_dis_iff_parameter_1 = -1;
+static int hf_dis_iff_parameter_2 = -1;
+static int hf_dis_iff_parameter_3 = -1;
+static int hf_dis_iff_parameter_4 = -1;
+static int hf_dis_iff_parameter_5 = -1;
+static int hf_dis_iff_parameter_6 = -1;
+static int hf_dis_iff_mode_code_element_1 = -1;
+static int hf_dis_iff_mode_code_element_2 = -1;
+static int hf_dis_iff_mode_code_element_3 = -1;
+static int hf_dis_iff_mode_code_element_4 = -1;
+static int hf_dis_iff_rrb = -1;
+static int hf_dis_iff_rrb_rrb_code = -1;
+static int hf_dis_iff_rrb_power_reduction_indicator = -1;
+static int hf_dis_iff_rrb_radar_enhancement_indicator = -1;
+static int hf_dis_iff_mode_4 = -1;
+static int hf_dis_iff_mode_s_interrogator_identifier = -1;
+static int hf_dis_iff_mode_s_interrogator_identifier_primary_ic_type;
+static int hf_dis_iff_mode_s_interrogator_identifier_primary_ic_code;
+static int hf_dis_iff_mode_s_interrogator_identifier_secondary_ic_type;
+static int hf_dis_iff_mode_s_interrogator_identifier_secondary_ic_code;
+static int hf_dis_iff_mode_c_altitude_indicator = -1;
+static int hf_dis_iff_mode_c_altitude = -1;
+static int hf_dis_iff_tcas_acas = -1;
+static int hf_dis_iff_tcas_acas_basic_advanced_indicator = -1;
+static int hf_dis_iff_tcas_acas_tcas_acas_indicator = -1;
+static int hf_dis_iff_tcas_acas_software_version = -1;
+static int hf_dis_iff_tcas_acas_tcas_acas_type = -1;
+static int hf_dis_iff_tcas_acas_tcas_type = -1;
+static int hf_dis_iff_mode_status = -1;
+static int hf_dis_iff_mode_damage = -1;
+static int hf_dis_iff_mode_malfunction = -1;
+
+static gint ett_dis = -1;
+static gint ett_dis_header = -1;
+static gint ett_pdu_status = -1;
+static gint ett_dis_po_header = -1;
+static gint ett_dis_payload = -1;
+static gint ett_entity = -1;
+static gint ett_trackjam = -1;
+static gint ett_dis_ens = -1;
+static gint ett_radio_entity_type = -1;
+static gint ett_entity_type = -1;
+static gint ett_dis_crypto_key = -1;
+static gint ett_antenna_location = -1;
+static gint ett_rel_antenna_location = -1;
+static gint ett_aggregate_dimensions = -1;
+static gint ett_aggregate_orientation = -1;
+static gint ett_aggregate_velocity = -1;
+static gint ett_aggregate_id_list = -1;
+static gint ett_entity_id_list = -1;
+static gint ett_variable_datum = -1;
+
+
+
+
+
+static gint ett_modulation_type = -1;
+static gint ett_modulation_parameters = -1;
+static gint ett_entity_linear_velocity = -1;
+static gint ett_entity_location = -1;
+static gint ett_entity_orientation = -1;
+static gint ett_entity_marking_text = -1;
+static gint ett_aggregate_marking_text = -1;
+static gint ett_entity_dead_reckoning_parameters = -1;
+static gint ett_entity_linear_acceleration = -1;
+static gint ett_entity_angular_velocity = -1;
+static gint ett_environmental_environment_status = -1;
+static gint ett_environmental_environment_type = -1;
+static gint ett_aggregate_type = -1;
+static gint ett_aggregate_center_of_mass = -1;
+static gint ett_designator_spot_location = -1;
+static gint ett_designator_spot_with_respect_to_designated_entity = -1;
+static gint ett_designator_entity_linear_acceleration = -1;
+
+
+
+
+
+static gint ett_entity_appearance = -1;
+static gint ett_variable_parameter = -1;
+static gint ett_event_id = -1;
+static gint ett_shafts = -1;
+static gint ett_apas = -1;
+static gint ett_underwater_acoustic_emission = -1;
+static gint ett_acoustic_emitter_system = -1;
+static gint ett_ua_location = -1;
+static gint ett_ua_beams = -1;
+static gint ett_ua_beam_data = -1;
+static gint ett_emission_system = -1;
+static gint ett_emitter_system = -1;
+static gint ett_em_beam = -1;
+static gint ett_emitter_location = -1;
+static gint ett_em_fundamental_parameter_data = -1;
+static gint ett_burst_descriptor = -1;
+static gint ett_fire_location = -1;
+static gint ett_linear_velocity = -1;
+static gint ett_detonation_location = -1;
+static gint ett_clock_time = -1;
+static gint ett_fixed_datum = -1;
+static gint ett_record = -1;
+static gint ett_simulation_address = -1;
+static gint ett_offset_vector = -1;
+static gint ett_dis_signal_link16_network_header = -1;
+static gint ett_dis_signal_link16_message_data = -1;
+static gint ett_dis_signal_link16_jtids_header = -1;
+static gint ett_iff_location = -1;
+static gint ett_iff_system_id = -1;
+static gint ett_iff_change_options = -1;
+static gint ett_iff_fundamental_operational_data = -1;
+static gint ett_iff_system_status = -1;
+static gint ett_iff_information_layers = -1;
+static gint ett_iff_modifier = -1;
+static gint ett_iff_parameter_1 = -1;
+static gint ett_iff_rrb = -1;
+static gint ett_iff_parameter_2 = -1;
+static gint ett_iff_parameter_3 = -1;
+static gint ett_iff_parameter_4 = -1;
+static gint ett_iff_mode_s_interrogator_identifier = -1;
+static gint ett_iff_parameter_5 = -1;
+static gint ett_iff_parameter_6 = -1;
+
+static dissector_handle_t link16_handle;
+
+typedef struct dis_header
+{
+ guint8 version;
+ guint8 pduType;
+ guint8 family;
+}
+dis_header_t;
+
+/* Forward declarations */
+static gint parseField_Entity(tvbuff_t *tvb, proto_tree *tree, gint offset, const char* entity_name);
+static gint parseField_Aggregate(tvbuff_t *tvb, proto_tree *tree, gint offset, const char* entity_name);
+static int dissect_DIS_FIELDS_ENTITY_TYPE(tvbuff_t *tvb, proto_tree *tree, int offset, const char* entity_name);
+static gint parseField_VariableParameter(tvbuff_t *tvb, proto_tree *tree, gint offset, guint8 paramType);
+static gint parseField_VariableRecord(tvbuff_t *tvb, proto_tree *tree, gint offset, guint32 variableRecordType, guint16 record_length);
+
+
+/* globals to pass data between functions */
+static guint32 entityKind;
+static guint32 entityDomain;
+
+/* Composite types
+ */
+static int dissect_DIS_FIELDS_BURST_DESCRIPTOR(tvbuff_t *tvb, proto_tree *tree, int offset)
+{
+ proto_tree *sub_tree;
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 16, ett_burst_descriptor, NULL, "Burst Descriptor");
+
+ offset = dissect_DIS_FIELDS_ENTITY_TYPE(tvb, sub_tree, offset, "Munition");
+
+ proto_tree_add_item(sub_tree, hf_dis_warhead, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(sub_tree, hf_dis_fuse, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(sub_tree, hf_dis_quality, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(sub_tree, hf_dis_rate, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ return offset;
+}
+
+static int dissect_DIS_FIELDS_CLOCK_TIME(tvbuff_t *tvb, proto_tree *tree, int offset, const char* clock_name)
+{
+ proto_item *ti;
+ proto_tree *sub_tree;
+ /* some consts */
+ static guint MSEC_PER_HOUR = 60 * 60 * 1000;
+ static guint FSV = 0x7fffffff;
+ guint32 hour, uintVal;
+ guint64 ms;
+ guint isAbsolute = 0;
+ nstime_t tv;
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 8, ett_clock_time, NULL, clock_name);
+
+ hour = tvb_get_ntohl(tvb, offset);
+ uintVal = tvb_get_ntohl(tvb, offset+4);
+
+ /* determine absolute vis sim time */
+ isAbsolute = uintVal & 1;
+
+ /* convert TS to MS */
+ ms = (guint64)(uintVal >> 1) * MSEC_PER_HOUR / FSV;
+
+ tv.secs = (time_t)ms/1000;
+ tv.nsecs = (int)(ms%1000)*1000000;
+
+ /* add hour */
+ tv.secs += (hour*3600);
+
+ ti = proto_tree_add_time(sub_tree, hf_dis_clocktime, tvb, offset, 8, &tv);
+ if (isAbsolute)
+ {
+ proto_item_append_text(ti, " (absolute)");
+ }
+ else
+ {
+ proto_item_append_text(ti, " (relative)");
+ }
+
+ return (offset+8);
+}
+
+static int dissect_DIS_FIELDS_ENTITY_TYPE_RECORD(tvbuff_t *tvb, proto_tree *tree, int offset, const char* name, gint ett, int hfkind, int hfdomain, int hfcountry, int hfcategory, int hfsubcategory, int hfspecific, int hfextra)
+{
+ guint16 entityCountry;
+ guint8 entityCategory;
+ guint8 entitySubcategory;
+ guint8 entitySpecific;
+ guint8 entityExtra;
+
+ proto_tree *sub_tree;
+ int hf_cat = hfcategory;
+
+ entityKind = tvb_get_guint8(tvb, offset);
+ entityDomain = tvb_get_guint8(tvb, offset+1);
+ entityCountry = tvb_get_ntohs(tvb, offset+2);
+ entityCategory = tvb_get_guint8(tvb, offset+4);
+ entitySubcategory = tvb_get_guint8(tvb, offset+5);
+ entitySpecific = tvb_get_guint8(tvb, offset+6);
+ entityExtra = tvb_get_guint8(tvb, offset+7);
+
+ sub_tree = proto_tree_add_subtree_format(tree, tvb, offset, 8, ett, NULL, "%s, (%u:%u:%u:%u:%u:%u:%u) ", name, entityKind, entityDomain, entityCountry, entityCategory, entitySubcategory, entitySpecific, entityExtra);
+
+ proto_tree_add_uint(sub_tree, hfkind, tvb, offset, 1, entityKind);
+ offset++;
+
+ proto_tree_add_uint(sub_tree, hfdomain, tvb, offset, 1, entityDomain);
+ offset++;
+
+ proto_tree_add_uint(sub_tree, hfcountry, tvb, offset, 2, entityCountry);
+ offset += 2;
+
+ if (entityKind == DIS_ENTITYKIND_PLATFORM && hfcategory == hf_dis_category)
+ {
+ switch(entityDomain)
+ {
+ case DIS_DOMAIN_LAND:
+ hf_cat = hf_dis_category_land;
+ break;
+ case DIS_DOMAIN_AIR:
+ hf_cat = hf_dis_category_air;
+ break;
+ case DIS_DOMAIN_SURFACE:
+ hf_cat = hf_dis_category_surface;
+ break;
+ case DIS_DOMAIN_SUBSURFACE:
+ hf_cat = hf_dis_category_subsurface;
+ break;
+ case DIS_DOMAIN_SPACE:
+ hf_cat = hf_dis_category_space;
+ break;
+ }
+ }
+
+ proto_tree_add_uint(sub_tree, hf_cat, tvb, offset, 1, entityCategory);
+ offset++;
+
+ proto_tree_add_uint(sub_tree, hfsubcategory, tvb, offset, 1, entitySubcategory);
+ offset++;
+
+ proto_tree_add_uint(sub_tree, hfspecific, tvb, offset, 1, entitySpecific);
+ offset++;
+
+ proto_tree_add_uint(sub_tree, hfextra, tvb, offset, 1, entityExtra);
+ offset++;
+
+ return offset;
+}
+
+static int dissect_DIS_FIELDS_ENTITY_TYPE(tvbuff_t *tvb, proto_tree *tree, int offset, const char* entity_name)
+{
+ return dissect_DIS_FIELDS_ENTITY_TYPE_RECORD(tvb, tree, offset, entity_name, ett_entity_type, hf_dis_entityKind, hf_dis_entityDomain, hf_dis_country, hf_dis_category, hf_dis_subcategory, hf_dis_specific, hf_dis_extra);
+}
+
+static int dissect_DIS_FIELDS_RADIO_ENTITY_TYPE(tvbuff_t *tvb, proto_tree *tree, int offset, const char* entity_name)
+{
+ proto_tree *sub_tree;
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 8, ett_radio_entity_type, NULL, entity_name);
+
+ proto_tree_add_item(sub_tree, hf_dis_entityKind, tvb, offset, 1, ENC_BIG_ENDIAN);
+ entityKind = tvb_get_guint8(tvb, offset);
+ offset++;
+
+ proto_tree_add_item(sub_tree, hf_dis_entityDomain, tvb, offset, 1, ENC_BIG_ENDIAN);
+ entityDomain = tvb_get_guint8(tvb, offset);
+ offset++;
+
+ proto_tree_add_item(sub_tree, hf_dis_country, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(sub_tree, hf_dis_radio_category, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(sub_tree, hf_dis_nomenclature_version, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(sub_tree, hf_dis_nomenclature, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ return offset;
+}
+
+static int dissect_DIS_FIELDS_AGGREGATE_TYPE(tvbuff_t *tvb, proto_tree *tree, int offset, const char* entity_name)
+{
+ return dissect_DIS_FIELDS_ENTITY_TYPE_RECORD(tvb, tree, offset, entity_name, ett_aggregate_type, hf_dis_aggregate_kind, hf_dis_aggregate_domain, hf_dis_aggregate_country, hf_dis_aggregate_category, hf_dis_aggregate_subcategory, hf_dis_aggregate_specific, hf_dis_aggregate_extra);
+}
+
+static int dissect_DIS_FIELDS_ENVIRONMENT_TYPE(tvbuff_t *tvb, proto_tree *tree, int offset, const char* entity_name)
+{
+ return dissect_DIS_FIELDS_ENTITY_TYPE_RECORD(tvb, tree, offset, entity_name, ett_environmental_environment_type, hf_dis_environment_kind, hf_dis_environment_domain, hf_dis_environment_class, hf_dis_environment_category, hf_dis_environment_subcategory, hf_dis_environment_specific, hf_dis_environment_extra);
+}
+
+
+static int dissect_DIS_FIELDS_MODULATION_TYPE(tvbuff_t *tvb, proto_tree *tree, int offset, guint16* systemModulation)
+{
+ proto_tree *sub_tree;
+ guint32 majorModulation;
+ int hf_mod_detail;
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 8, ett_modulation_type, NULL, "Modulation Type");
+
+ proto_tree_add_item(sub_tree, hf_dis_spread_spectrum_usage, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(sub_tree, hf_dis_frequency_hopping, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(sub_tree, hf_dis_pseudo_noise_modulation, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(sub_tree, hf_dis_time_hopping, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ majorModulation = tvb_get_ntohs(tvb, offset);
+ proto_tree_add_item(tree, hf_dis_modulation_major, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ switch (majorModulation) {
+ case DIS_MAJOR_MOD_AMPLITUDE:
+ hf_mod_detail = hf_dis_modulation_amplitude;
+ break;
+ case DIS_MAJOR_MOD_AMPLITUDE_AND_ANGLE:
+ hf_mod_detail = hf_dis_modulation_amplitude_angle;
+ break;
+ case DIS_MAJOR_MOD_ANGLE:
+ hf_mod_detail = hf_dis_modulation_angle;
+ break;
+ case DIS_MAJOR_MOD_COMBINATION:
+ hf_mod_detail = hf_dis_modulation_combination;
+ break;
+ case DIS_MAJOR_MOD_PULSE:
+ hf_mod_detail = hf_dis_modulation_pulse;
+ break;
+ case DIS_MAJOR_MOD_UNMODULATED:
+ hf_mod_detail = hf_dis_modulation_unmodulated;
+ break;
+ case DIS_MAJOR_MOD_CPSM: /* CPSM only has "other" defined */
+ case DIS_MAJOR_MOD_OTHER:
+ default:
+ hf_mod_detail = hf_dis_modulation_detail;
+ break;
+ }
+
+ proto_tree_add_item(tree, hf_mod_detail, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ *systemModulation = tvb_get_ntohs(tvb, offset);
+ proto_tree_add_item(tree, hf_dis_modulation_system, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ return offset;
+}
+
+static int dissect_DIS_FIELDS_EVENT_ID(tvbuff_t *tvb, proto_tree *tree, int offset, const char* event_name)
+{
+ proto_tree *sub_tree;
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 6, ett_event_id, NULL, event_name);
+
+ proto_tree_add_item(sub_tree, hf_dis_site, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(sub_tree, hf_dis_application, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(sub_tree, hf_dis_event_number, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+
+ return offset;
+}
+
+static int dissect_DIS_FIELDS_SIMULATION_ADDRESS(tvbuff_t *tvb, proto_tree *tree, int offset, const char* sim_name)
+{
+ proto_tree *sub_tree;
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 4, ett_simulation_address, NULL, sim_name);
+
+ proto_tree_add_item(sub_tree, hf_dis_site, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(sub_tree, hf_dis_application, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ return offset;
+}
+
+static int dissect_DIS_FIELDS_MOD_PARAMS_CCTT_SINCGARS(tvbuff_t *tvb, proto_tree *tree, int offset)
+{
+ proto_tree *sub_tree;
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 16, ett_modulation_parameters, NULL, "Modulation Parameters");
+
+ proto_tree_add_item(sub_tree, hf_dis_mod_param_fh_net_id, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(sub_tree, hf_dis_mod_param_fh_set_id, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(sub_tree, hf_dis_mod_param_fh_lo_set_id, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(sub_tree, hf_dis_mod_param_fh_msg_start, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(sub_tree, hf_dis_mod_param_fh_reserved, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(sub_tree, hf_dis_mod_param_fh_sync_time_offset, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ proto_tree_add_item(sub_tree, hf_dis_mod_param_fh_security_key, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(sub_tree, hf_dis_mod_param_fh_clear_channel, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(sub_tree, hf_dis_padding, tvb, offset, 1, ENC_NA);
+ offset++;
+
+ return offset;
+}
+
+static int dissect_DIS_FIELDS_MOD_PARAMS_JTIDS_MIDS(tvbuff_t *tvb, proto_tree *tree, int offset)
+{
+ proto_tree *sub_tree;
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 8, ett_modulation_parameters, NULL, "Modulation Parameters");
+
+ proto_tree_add_item(sub_tree, hf_dis_mod_param_ts_allocation_mode, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(sub_tree, hf_dis_mod_param_transmitter_prim_mode, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(sub_tree, hf_dis_mod_param_transmitter_second_mode, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(sub_tree, hf_dis_mod_param_sync_state, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(sub_tree, hf_dis_mod_param_network_sync_id, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ return offset;
+}
+
+static gint parse_DIS_FIELDS_SIGNAL_LINK16_NETWORK_HEADER(tvbuff_t *tvb, proto_tree *tree,
+ gint offset, guint8* messageType)
+{
+ proto_tree *sub_tree;
+ nstime_t tv;
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 16, ett_dis_signal_link16_network_header, NULL, "Link 16 Network Header");
+
+ proto_tree_add_item(sub_tree, hf_dis_signal_link16_npg, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(sub_tree, hf_dis_signal_link16_network_number, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(sub_tree, hf_dis_signal_link16_tsec_cvll, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(sub_tree, hf_dis_signal_link16_msec_cvll, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(sub_tree, hf_dis_signal_link16_message_type, tvb, offset, 1, ENC_BIG_ENDIAN);
+ if (messageType)
+ *messageType = tvb_get_guint8(tvb, offset);
+ offset++;
+
+ proto_tree_add_item(sub_tree, hf_dis_padding, tvb, offset, 2, ENC_NA);
+ offset += 2;
+
+ proto_tree_add_item(sub_tree, hf_dis_signal_link16_time_slot_id, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ tv.secs = tvb_get_ntohl(tvb, offset);
+ if (tv.secs == (time_t)0xFFFFFFFF)
+ {
+ tv.nsecs = 0;
+ proto_tree_add_time_format_value(sub_tree, hf_dis_signal_link16_ptt, tvb, offset, 8, &tv, "NO STATEMENT");
+ }
+ else
+ {
+ proto_tree_add_item(sub_tree, hf_dis_signal_link16_ptt, tvb, offset, 8, ENC_TIME_NTP|ENC_BIG_ENDIAN);
+ }
+ offset += 8;
+
+ return offset;
+}
+
+/* Parse Link 16 Message Data record (SISO-STD-002, Tables 5.2.5 through 5.2.12)
+ */
+static gint parse_Link16_Message_Data(proto_tree *tree, tvbuff_t *tvb, gint offset, packet_info *pinfo,
+ guint32 encodingScheme, guint8 messageType)
+{
+ guint32 cache, value, i;
+ Link16State state;
+ tvbuff_t *newtvb;
+
+ static int * const jtids_message_header_fields[] = {
+ &hf_dis_signal_link16_time_slot_type,
+ &hf_dis_signal_link16_rti,
+ &hf_dis_signal_link16_stn,
+ NULL
+ };
+
+ switch (messageType) {
+ case DIS_MESSAGE_TYPE_JTIDS_HEADER_MESSAGES:
+ proto_tree_add_bitmask_text(tree, tvb, offset, 4, "JTIDS Header", NULL, ett_dis_signal_link16_jtids_header, jtids_message_header_fields, ENC_BIG_ENDIAN, BMT_NO_APPEND);
+
+ cache = tvb_get_ntohl(tvb, offset);
+ value = (cache >> 4) & 0x7FFF;
+ col_append_fstr(pinfo->cinfo, COL_INFO, ", STN=0%o, Link 16 Words:", value);
+
+ value = (cache >> 19);
+ offset += 4;
+ cache = tvb_get_ntohl(tvb, offset);
+ value |= (cache & 0x7) << 13;
+ proto_tree_add_uint(tree, hf_dis_signal_link16_sdusn, tvb, offset - 4, 8, value);
+ offset += 4;
+
+ memset(&state, 0, sizeof(state));
+
+ for (i = 0; i < (encodingScheme & 0x3FFF); i++) {
+ gint8 *word = (gint8 *)wmem_alloc(pinfo->pool, 10);
+ if (!(i & 1)) {
+ word[0] = (cache >> 16) & 0xFF;
+ word[1] = (cache >> 24) & 0xFF;
+ cache = tvb_get_ntohl(tvb, offset);
+ offset += 4;
+ word[2] = cache & 0xFF;
+ word[3] = (cache >> 8) & 0xFF;
+ word[4] = (cache >> 16) & 0xFF;
+ word[5] = (cache >> 24) & 0xFF;
+ cache = tvb_get_ntohl(tvb, offset);
+ offset += 4;
+ word[6] = cache & 0xFF;
+ word[7] = (cache >> 8) & 0xFF;
+ word[8] = (cache >> 16) & 0xFF;
+ word[9] = (cache >> 24) & 0xFF;
+ } else {
+ cache = tvb_get_ntohl(tvb, offset);
+ offset += 4;
+ word[0] = cache & 0xFF;
+ word[1] = (cache >> 8) & 0xFF;
+ word[2] = (cache >> 16) & 0xFF;
+ word[3] = (cache >> 24) & 0xFF;
+ cache = tvb_get_ntohl(tvb, offset);
+ offset += 4;
+ word[4] = cache & 0xFF;
+ word[5] = (cache >> 8) & 0xFF;
+ word[6] = (cache >> 16) & 0xFF;
+ word[7] = (cache >> 24) & 0xFF;
+ cache = tvb_get_ntohl(tvb, offset);
+ offset += 4;
+ word[8] = cache & 0xFF;
+ word[9] = (cache >> 8) & 0xFF;
+ }
+
+ newtvb = tvb_new_child_real_data(tvb, word, 10, 10);
+ add_new_data_source(pinfo, newtvb, "Link 16 Word");
+ call_dissector_with_data(link16_handle, newtvb, pinfo, tree, &state);
+ }
+ break;
+ }
+ return offset;
+}
+
+/* Array records
+ */
+static gint parseField_DIS_FIELDS_FIXED_DATUM(tvbuff_t *tvb, proto_tree *tree, gint offset, const char* field_name, guint32 num_items)
+{
+ proto_tree *sub_tree;
+ guint32 i;
+
+
+ for (i = 0; i < num_items; i++)
+ {
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 8, ett_fixed_datum, NULL, field_name);
+
+ proto_tree_add_item(sub_tree, hf_dis_datum_id, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ proto_tree_add_item(sub_tree, hf_dis_fixed_datum_value, tvb, offset, 4, ENC_NA);
+ proto_tree_add_item(sub_tree, hf_dis_fixed_datum_value_as_int, tvb, offset, 4, ENC_BIG_ENDIAN);
+ proto_tree_add_item(sub_tree, hf_dis_fixed_datum_value_as_float, tvb, offset, 4, ENC_BIG_ENDIAN);
+ proto_tree_add_item(sub_tree, hf_dis_fixed_datum_value_as_uint, tvb, offset, 4, ENC_BIG_ENDIAN);
+
+ offset += 4;
+ }
+
+ return offset;
+}
+
+static gint parseField_DIS_FIELDS_VARIABLE_DATUM(tvbuff_t *tvb, proto_tree *tree, gint offset, const char* field_name, guint32 num_items)
+{
+ proto_item *ti;
+ proto_tree *sub_tree;
+ guint32 i, data_length, lengthInBytes;
+ unsigned char padding;
+
+ for (i = 0; i < num_items; i++)
+ {
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, -1, ett_fixed_datum, &ti, field_name);
+
+ proto_tree_add_item(sub_tree, hf_dis_datum_id, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ data_length = tvb_get_ntohl(tvb, offset);
+ proto_tree_add_item(sub_tree, hf_dis_datum_length, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ lengthInBytes = data_length / 8;
+ if (data_length % 8 > 0)
+ lengthInBytes += 1;/* add another byte for the remaining bits */
+
+ proto_tree_add_item(sub_tree, hf_dis_variable_datum_value, tvb, offset, lengthInBytes, ENC_NA);
+ proto_tree_add_item(sub_tree, hf_dis_variable_datum_value_as_text, tvb, offset, lengthInBytes, ENC_ASCII);
+
+ offset += lengthInBytes;
+
+ padding = lengthInBytes % 8;
+ if (padding > 0)
+ padding = 8 - padding;
+
+ offset += padding;
+
+ proto_item_set_end(ti, tvb, offset);
+ }
+
+ return offset;
+}
+
+static gint parseField_DIS_FIELDS_FIXED_DATUM_IDS(tvbuff_t *tvb, proto_tree *tree, gint offset, const char* field_name, guint32 num_items)
+{
+ proto_tree *sub_tree;
+ guint32 i;
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, num_items*4, ett_fixed_datum, NULL, field_name);
+
+ for (i = 0; i < num_items; i++)
+ {
+ proto_tree_add_item(sub_tree, hf_dis_datum_id, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ }
+
+ return offset;
+}
+
+static gint parseField_DIS_FIELDS_VARIABLE_DATUM_IDS(tvbuff_t *tvb, proto_tree *tree, gint offset, const char* field_name, guint32 num_items)
+{
+ return parseField_DIS_FIELDS_FIXED_DATUM_IDS(tvb, tree, offset, field_name, num_items);
+}
+
+static gint parseField_TRACK_JAM(tvbuff_t *tvb, proto_tree *tree, gint offset, const char* entity_name)
+{
+ proto_tree *sub_tree;
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 8, ett_trackjam, NULL, entity_name);
+
+ proto_tree_add_item(sub_tree, hf_dis_entity_id_site, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(sub_tree, hf_dis_entity_id_application, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(sub_tree, hf_dis_entity_id_entity, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(sub_tree, hf_dis_emitter_id, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(sub_tree, hf_dis_beam_id, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ return offset;
+}
+
+/* Array record contents - variable parameter records
+ */
+static gint dissect_DIS_FIELDS_VP_ARTICULATED_PART(tvbuff_t *tvb, proto_tree *tree, gint offset)
+{
+ proto_tree_add_item(tree, hf_dis_vp_change, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_vp_part_attached_to_id, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(tree, hf_dis_vp_artic_param_type, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ proto_tree_add_item(tree, hf_dis_vp_parameter_value, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ proto_tree_add_item(tree, hf_dis_vp_padding, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ return offset;
+}
+
+static gint dissect_DIS_FIELDS_VP_ATTACHED_PART(tvbuff_t *tvb, proto_tree *tree, gint offset)
+{
+ proto_tree_add_item(tree, hf_dis_vp_attached_indicator, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_vp_part_attached_to_id, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(tree, hf_dis_vp_artic_param_type, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ offset = dissect_DIS_FIELDS_ENTITY_TYPE(tvb, tree, offset, "Part Type");
+
+ return offset;
+}
+
+static gint dissect_DIS_FIELDS_VP_ENTITY_OFFSET(tvbuff_t *tvb, proto_tree *tree, gint offset)
+{
+ proto_tree *sub_tree;
+
+ proto_tree_add_item(tree, hf_dis_vp_offset_type, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_padding, tvb, offset, 2, ENC_NA);
+ offset += 2;
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 12, ett_offset_vector, NULL, "Offset");
+
+ proto_tree_add_item(sub_tree, hf_dis_vp_offset_x, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ proto_tree_add_item(sub_tree, hf_dis_vp_offset_y, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ proto_tree_add_item(sub_tree, hf_dis_vp_offset_z, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ return offset;
+}
+
+static gint dissect_DIS_FIELDS_VP_ENTITY_ASSOCIATION(tvbuff_t *tvb, proto_tree *tree, gint offset)
+{
+ proto_tree_add_item(tree, hf_dis_vp_change_indicator, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_vp_association_status, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_vp_association_type, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ offset = parseField_Entity(tvb, tree, offset, "Object Identifier");
+
+ proto_tree_add_item(tree, hf_dis_vp_own_station_location, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(tree, hf_dis_vp_phys_conn_type, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_vp_group_member_type, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_vp_group_number, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ return offset;
+}
+
+/* Variable Records
+ */
+static int dissect_DIS_FIELDS_VR_APPLICATION_HEALTH_STATUS(tvbuff_t *tvb, proto_tree *tree, int offset)
+{
+ proto_tree_add_item(tree, hf_dis_padding, tvb, offset, 1, ENC_NA);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_vr_status_type, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(tree, hf_dis_vr_general_status, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_vr_specific_status, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_vr_status_value_int, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(tree, hf_dis_vr_status_value_float, tvb, offset, 8, ENC_BIG_ENDIAN);
+ offset += 8;
+
+ return offset;
+}
+
+static int dissect_DIS_FIELDS_VR_APPLICATION_INITIALIZATION(tvbuff_t *tvb, proto_tree *tree, int offset)
+{
+ proto_tree_add_item(tree, hf_dis_vr_exercise_id, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_padding, tvb, offset, 1, ENC_NA);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_vr_exercise_file_path, tvb, offset, 256, ENC_ASCII);
+ offset += 256;
+
+ proto_tree_add_item(tree, hf_dis_vr_exercise_file_name, tvb, offset, 128, ENC_ASCII);
+ offset += 128;
+
+ proto_tree_add_item(tree, hf_dis_vr_application_role, tvb, offset, 64, ENC_ASCII);
+ offset += 64;
+
+ return offset;
+}
+
+static int dissect_DIS_FIELDS_VR_DATA_QUERY(tvbuff_t *tvb, proto_tree *tree, int offset)
+{
+ guint32 numFixed;
+
+ numFixed = tvb_get_ntohs(tvb, offset);
+ proto_tree_add_item(tree, hf_dis_vr_num_records, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ offset = parseField_DIS_FIELDS_FIXED_DATUM_IDS(tvb, tree, offset, "Record", numFixed);
+
+ return offset;
+}
+
+/******************************************************************************
+*
+* PDUS
+*
+*******************************************************************************/
+
+/* DIS Entity Information / Interaction PDUs
+ */
+static const true_false_string tfs_camouflage_uniform_color = { "Camouflage", "Uniform color" };
+static const true_false_string tfs_mobility_kill = { "Mobility kill", "No mobility kill" };
+static const true_false_string tfs_fire_power_kill = { "Fire-power kill", "No fire-power kill" };
+
+static const value_string appearance_damage_vals[] =
+{
+ { 0, "No damage" },
+ { 1, "Slight damage" },
+ { 2, "Moderate damage" },
+ { 3, "Destroyed" },
+ { 0, NULL }
+};
+
+static const value_string appearance_health_vals[] =
+{
+ { 0, "No injury" },
+ { 1, "Slight injury" },
+ { 2, "Moderate injury" },
+ { 3, "Fatal injury" },
+ { 0, NULL }
+};
+
+static const value_string appearance_compliance_vals[] =
+{
+ { 0, "Unused" },
+ { 1, "Detained" },
+ { 2, "Surrender" },
+ { 3, "Using fists" },
+ { 4, "Verbal abuse level 1" },
+ { 5, "Verbal abuse level 2" },
+ { 6, "Verbal abuse level 3" },
+ { 7, "Passive resistance level 1" },
+ { 8, "Passive resistance level 2" },
+ { 9, "Passive resistance level 3" },
+ { 10, "Using non-lethal weapon 1" },
+ { 11, "Using non-lethal weapon 2" },
+ { 12, "Using non-lethal weapon 3" },
+ { 13, "Using non-lethal weapon 4" },
+ { 14, "Using non-lethal weapon 5" },
+ { 15, "Using non-lethal weapon 6" },
+ { 0, NULL }
+};
+
+static const value_string appearance_lifeform_state_vals[] =
+{
+ { 0, "Unused" },
+ { 1, "Upright, standing still" },
+ { 2, "Upright, walking" },
+ { 3, "Upright, running" },
+ { 4, "Kneeling" },
+ { 5, "Prone" },
+ { 6, "Crawling" },
+ { 7, "Swimming" },
+ { 8, "Parachuting" },
+ { 9, "Jumping" },
+ { 10, "Sitting" },
+ { 11, "Squatting" },
+ { 12, "Crouching" },
+ { 13, "Wading" },
+ { 14, "Surrender" },
+ { 15, "Detained" },
+ { 0, NULL }
+};
+
+static const value_string appearance_frozen_status_vals[] =
+{
+ { 0, "Not frozen" },
+ { 1, "Frozen" },
+ { 0, NULL }
+};
+
+static const value_string appearance_state_vals[] =
+{
+ { 0, "Active" },
+ { 1, "Deactivated" },
+ { 0, NULL }
+};
+
+static const value_string appearance_Weapon_1_vals[] =
+{
+ { 0, "No primary weapon present" },
+ { 1, "Primary weapon is stowed" },
+ { 2, "Primary weapon is deployed" },
+ { 3, "Primary weapon is in firing position" },
+ { 0, NULL }
+};
+
+static const value_string appearance_Weapon_2_vals[] =
+{
+ { 0, "No primary weapon present" },
+ { 1, "Primary weapon is stowed" },
+ { 2, "Primary weapon is deployed" },
+ { 3, "Primary weapon is in firing position" },
+ { 0, NULL }
+};
+
+static const value_string appearance_camouflage_type_vals[] =
+{
+ { 0, "Desert camouflage" },
+ { 1, "Winter camouflage" },
+ { 2, "Forest camouflage" },
+ { 3, "Unused" },
+ { 0, NULL }
+};
+
+static const value_string appearance_concealed_stationary_vals[] =
+{
+ { 0, "Not concealed" },
+ { 1, "Entity in a prepared concealed position" },
+ { 0, NULL }
+};
+
+static const value_string appearance_concealed_movement_vals[] =
+{
+ { 0, "Open movement" },
+ { 1, "Rushes between covered positions" },
+ { 0, NULL }
+};
+
+static const value_string appearance_smoke_entity_vals[] =
+{
+ { 0, "Not smoking" },
+ { 1, "Smoke plume rising from the entity" },
+ { 2, "Entity is emitting engine smoke" },
+ { 3, "Entity is emitting engine smoke, and smoke plume is rising from the entity" },
+ { 0, NULL }
+};
+
+static const value_string appearance_trailing_effects_entity_vals[] =
+{
+ { 0, "None" },
+ { 1, "Small" },
+ { 2, "Medium" },
+ { 3, "Large" },
+ { 0, NULL }
+};
+
+static const value_string appearance_hatch_vals[] =
+{
+ { 0, "Not applicable" },
+ { 1, "Primary hatch is closed" },
+ { 2, "Primary hatch is popped" },
+ { 3, "Primary hatch is popped and a person is visible under hatch" },
+ { 4, "Primary hatch is open" },
+ { 5, "Primary hatch is open and person is visible" },
+ { 6, "Unused" },
+ { 7, "Unused" },
+ { 0, NULL }
+};
+
+static const value_string appearance_flaming_vals[] =
+{
+ { 0, "None" },
+ { 1, "Flames present" },
+ { 0, NULL }
+};
+
+static const value_string appearance_launcher_vals[] =
+{
+ { 0, "Not raised" },
+ { 1, "Raised" },
+ { 0, NULL }
+};
+
+static const value_string appearance_concealed_vals[] =
+{
+ { 0, "Not concealed" },
+ { 1, "Entity in a prepared concealed position" },
+ { 0, NULL }
+};
+
+static const value_string appearance_power_plant_status_vals[] =
+{
+ { 0, "Power plant off" },
+ { 1, "Power plant on" },
+ { 0, NULL }
+};
+
+static const value_string appearance_tent_vals[] =
+{
+ { 0, "Not extended" },
+ { 1, "Extended" },
+ { 0, NULL }
+};
+
+static const value_string appearance_surrentder_state_vals[] =
+{
+ { 0, "Not surrendered" },
+ { 1, "Surrender" },
+ { 0, NULL }
+};
+
+static const value_string appearance_masked_cloaked_vals[] =
+{
+ { 0, "Not Masked / Not Cloaked" },
+ { 1, "Masked / Cloaked" },
+ { 0, NULL }
+};
+
+static const value_string entity_marking_character_set_vals[] =
+{
+ { 0, "Unused" },
+ { 1, "ASCII" },
+ { 2, "Army Marking (CCTT)" },
+ { 3, "Digit Chevron" },
+ { 0, NULL }
+};
+
+static const value_string entity_dead_reckoning_algorithm_vals[] =
+{
+ { 0, "Other" },
+ { 1, "Static (Entity does not move.)" },
+ { 2, "DRM(F, P, W)" },
+ { 3, "DRM(R, P, W)" },
+ { 4, "DRM(R, V, W)" },
+ { 5, "DRM(F, V, W)" },
+ { 6, "DRM(F, P, B)" },
+ { 7, "DRM(R, P, B)" },
+ { 8, "DRM(R, V, B)" },
+ { 9, "DRM(F, V, B)" },
+ { 0, NULL }
+};
+
+static const value_string environmental_environment_status_last_vals[] =
+{
+ { 0, "Not Last" },
+ { 1, "Last" },
+ { 0, NULL }
+};
+
+static const value_string environmental_environment_status_on_vals[] =
+{
+ { 0, "Not Active" },
+ { 1, "Active" },
+ { 0, NULL }
+};
+
+static const value_string aggregate_state_vals[] =
+{
+ { 0, "Other" },
+ { 1, "Aggregated" },
+ { 2, "Disaggregated" },
+ { 3, "Fully disaggregated" },
+ { 4, "Pseudo - disaggregated" },
+ { 5, "Partially - disaggregated" },
+ { 0, NULL }
+};
+
+static const value_string aggregate_kind_vals[] =
+{
+ { 0, "Other" },
+ { 1, "Military Hierarchy" },
+ { 2, "Common Type" },
+ { 3, "Common Mission" },
+ { 4, "Similar Capabilities" },
+ { 5, "Common Location" },
+ { 0, NULL }
+};
+
+static const value_string aggregate_category_vals[] =
+{
+ { 0, "Other" },
+ { 1, "Individual Vehicle" },
+ { 2, "Element" },
+ { 3, "Platoon" },
+ { 4, "Battery" },
+ { 5, "Company" },
+ { 6, "Battalion" },
+ { 7, "Regiment" },
+ { 8, "Brigade" },
+ { 9, "Division" },
+ { 10, "Corps" },
+ { 0, NULL }
+};
+
+static const value_string aggregate_subcategory_vals[] =
+{
+ { 0, "Other" },
+ { 1, "Cavalry Troop" },
+ { 2, "Armor" },
+ { 3, "Infantry" },
+ { 4, "Mechanized Infantry" },
+ { 5, "Cavalry" },
+ { 6, "Armored Cavalry" },
+ { 7, "Artillery" },
+ { 8, "Self - propelled Artillery" },
+ { 9, "Close Air Support" },
+ { 10, "Engineer" },
+ { 11, "Air Defense Artillery" },
+ { 12, "Anti - tank" },
+ { 13, "Army Aviation Fixed - wing" },
+ { 14, "Army Aviation Rotary - wing" },
+ { 15, "Army Attack Helicopter" },
+ { 16, "Air Cavalry" },
+ { 17, "Armor Heavy Task Force" },
+ { 18, "Motorized Rifle" },
+ { 19, "Mechanized Heavy Task Force" },
+ { 20, "Command Post" },
+ { 21, "CEWI" },
+ { 22, "Tank only" },
+ { 0, NULL }
+};
+
+static const value_string aggregate_specific_vals[] =
+{
+ { 0, "No headquarters" },
+ { 1, "Yes aggregate unit contains a headquarters" },
+ { 0, NULL }
+};
+
+static const value_string aggregate_formation_vals[] =
+{
+ { 0, "Other" },
+ { 1, "Assembly" },
+ { 2, "Vee" },
+ { 3, "Wedge" },
+ { 4, "Line" },
+ { 5, "Column" },
+ { 0, NULL }
+};
+
+static const value_string designator_code_name_vals[] =
+{
+ { 0, "Other" },
+ { 1, "TBD" },
+ { 0, NULL }
+};
+
+static const value_string designator_designator_code_vals[] =
+{
+ { 0, "Other" },
+ { 1, "TBD" },
+ { 0, NULL }
+};
+
+
+static const value_string intercom_control_control_type_vals[]=
+{
+ { 0, "Reserved" },
+ { 1, "Status" },
+ { 2, "Request - Acknowledge Required" },
+ { 3, "Request - No Acknowledge" },
+ { 4, "Ack - Request Granted" },
+ { 5, "Nack - Request Denied" },
+ { 0, NULL }
+};
+
+static const value_string intercom_control_communications_channel_type_vals[] =
+{
+ { 0, "Reserved" },
+ {1, "Connection FDX"},
+ {2, "Connection HDX - Destination is Receive Only" },
+ {3, "Connection HDX - Destination is Transmit Only"},
+ {4, "Connection HDX"},
+ { 0, NULL }
+};
+
+static const value_string dis_pdu_status_tei_vals[] = {
+ { 0x0, "Entity owned by this simulation" },
+ { 0x1, "Entity owned by different simulation" },
+ { 0, NULL }
+};
+
+static const value_string dis_pdu_status_lvc_vals[] = {
+ { 0x0, "No Statement" },
+ { 0x1, "Live" },
+ { 0x2, "Virtual" },
+ { 0x3, "Constructive" },
+ { 0, NULL }
+};
+
+static const value_string dis_pdu_status_cei_vals[] = {
+ { 0x0, "Not Coupled" },
+ { 0x1, "Coupled" },
+ { 0, NULL }
+};
+
+static const value_string dis_pdu_status_fti_vals[] = {
+ { 0x0, "Munition" },
+ { 0x1, "Expendable" },
+ { 0, NULL }
+};
+
+static const value_string dis_pdu_status_dti_vals[] = {
+ { 0x0, "Munition" },
+ { 0x1, "Expendable" },
+ { 0x2, "Munition Explosion" },
+ { 0x3, "undefined" },
+ { 0, NULL }
+};
+
+static const value_string dis_pdu_status_rai_vals[] = {
+ { 0x0, "No Statement" },
+ { 0x1, "Unattached" },
+ { 0x2, "Attached" },
+ { 0x3, "undefined" },
+ { 0, NULL }
+};
+
+static const value_string dis_pdu_status_iai_vals[] = {
+ { 0x0, "No Statement" },
+ { 0x1, "Unattached" },
+ { 0x2, "Attached" },
+ { 0x3, "undefined" },
+ { 0, NULL }
+};
+
+static const value_string dis_pdu_status_ism_vals[] = {
+ { 0x0, "Regeneration" },
+ { 0x1, "Interactive" },
+ { 0, NULL }
+};
+
+static const value_string dis_pdu_status_aii_vals[] = {
+ { 0x0, "Not Active" },
+ { 0x1, "Active" },
+ { 0, NULL }
+};
+
+static int dissect_DIS_PARSER_ENTITY_STATE_PDU(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset)
+{
+ static guint32 entitySite;
+ static guint32 entityApplication;
+ static guint32 entityEntity;
+ proto_item *ti;
+ proto_tree *sub_tree;
+ proto_tree *sub_tree2;
+ guint8 variableParameterType, numVariable, entity_marking_character_set;
+ guint32 i;
+ const guint8 *entity_marking_text;
+
+ entitySite = tvb_get_ntohs(tvb, offset);
+ entityApplication = tvb_get_ntohs(tvb, offset+2);
+ entityEntity = tvb_get_ntohs(tvb, offset+4);
+
+ offset = parseField_Entity(tvb, tree, offset, "Entity ID");
+
+ proto_tree_add_item(tree, hf_dis_force_id, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ numVariable = tvb_get_guint8(tvb, offset);
+ proto_tree_add_item(tree, hf_dis_num_art_params, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ offset = dissect_DIS_FIELDS_ENTITY_TYPE(tvb, tree, offset, "Entity Type");
+
+ col_append_fstr( pinfo->cinfo, COL_INFO, ", %s, %s, (%u:%u:%u)",
+ val_to_str_const(entityKind, DIS_PDU_EntityKind_Strings, "Unknown Entity Kind"),
+ val_to_str_const(entityDomain, DIS_PDU_Domain_Strings, "Unknown Entity Domain"),
+ entitySite , entityApplication , entityEntity
+ );
+
+
+ offset = dissect_DIS_FIELDS_ENTITY_TYPE(tvb, tree, offset, "Alternative Entity Type");
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 12, ett_entity_linear_velocity, NULL, "Entity Linear Velocity");
+ proto_tree_add_item(sub_tree, hf_dis_entity_linear_velocity_x, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(sub_tree, hf_dis_entity_linear_velocity_y, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(sub_tree, hf_dis_entity_linear_velocity_z, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 24, ett_entity_location, NULL, "Entity Location");
+ proto_tree_add_item(sub_tree, hf_dis_entity_location_x_double, tvb, offset, 8, ENC_BIG_ENDIAN);
+ offset += 8;
+ proto_tree_add_item(sub_tree, hf_dis_entity_location_y_double, tvb, offset, 8, ENC_BIG_ENDIAN);
+ offset += 8;
+ proto_tree_add_item(sub_tree, hf_dis_entity_location_z_double, tvb, offset, 8, ENC_BIG_ENDIAN);
+ offset += 8;
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 12, ett_entity_orientation, NULL, "Entity Orientation");
+ proto_tree_add_item(sub_tree, hf_dis_entity_orientation_psi, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(sub_tree, hf_dis_entity_orientation_theta, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(sub_tree, hf_dis_entity_orientation_phi, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ if ((entityKind == DIS_ENTITYKIND_PLATFORM) &&
+ (entityDomain == DIS_DOMAIN_LAND))
+ {
+ static int * const entity_appearance_domain_land_bitmask[] =
+ {
+ &hf_appearance_landform_paint_scheme,
+ &hf_appearance_landform_mobility,
+ &hf_appearance_landform_fire_power,
+ &hf_appearance_landform_damage,
+ &hf_appearance_landform_smoke_entity,
+ &hf_appearance_landform_trailing_effects_entity,
+ &hf_appearance_landform_hatch,
+ &hf_appearance_landform_head_lights,
+ &hf_appearance_landform_tail_lights,
+ &hf_appearance_landform_brake_lights,
+ &hf_appearance_landform_flaming,
+ &hf_appearance_landform_launcher,
+ &hf_appearance_landform_camouflage_type,
+ &hf_appearance_landform_concealed,
+ &hf_appearance_landform_frozen_status,
+ &hf_appearance_landform_power_plant_status,
+ &hf_appearance_landform_state,
+ &hf_appearance_landform_tent,
+ &hf_appearance_landform_ramp,
+ &hf_appearance_landform_blackout_lights,
+ &hf_appearance_landform_blackout_brake_lights,
+ &hf_appearance_landform_spot_lights,
+ &hf_appearance_landform_interior_lights,
+ &hf_appearance_landform_surrender_state,
+ &hf_appearance_landform_masked_cloaked,
+ NULL
+ };
+
+ proto_tree_add_bitmask(tree, tvb, offset, hf_entity_appearance, ett_entity_appearance, entity_appearance_domain_land_bitmask, ENC_BIG_ENDIAN);
+ }
+ else if (entityKind == DIS_ENTITYKIND_LIFE_FORM)
+ {
+ static int * const entity_appearance_kind_life_form_bitmask[] =
+ {
+ &hf_appearance_lifeform_paint_scheme,
+ &hf_appearance_lifeform_health,
+ &hf_appearance_lifeform_compliance,
+ &hf_appearance_lifeform_flash_lights,
+ &hf_appearance_lifeform_state,
+ &hf_appearance_frozen_status,
+ &hf_appearance_state,
+ &hf_appearance_weapon_1,
+ &hf_appearance_weapon_2,
+ &hf_appearance_camouflage_type,
+ &hf_appearance_concealed_stationary,
+ &hf_appearance_concealed_movement,
+ NULL
+ };
+
+ proto_tree_add_bitmask(tree, tvb, offset, hf_entity_appearance, ett_entity_appearance, entity_appearance_kind_life_form_bitmask, ENC_BIG_ENDIAN);
+ }
+ else
+ {
+ proto_tree_add_item(tree, hf_entity_appearance, tvb, offset, 4, ENC_BIG_ENDIAN);
+ }
+ offset += 4;
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 40, ett_entity_dead_reckoning_parameters, NULL, "Dead Reckoning Parameters");
+ proto_tree_add_item(sub_tree, hf_dis_entity_dead_reckoning_algorithm, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+ proto_tree_add_item(sub_tree, hf_dis_dead_reckoning_other_parameters, tvb, offset, 15, ENC_NA);
+ offset += 15;
+
+ sub_tree2 = proto_tree_add_subtree(sub_tree, tvb, offset, 12, ett_entity_linear_acceleration, NULL, "Entity Linear Acceleration");
+ proto_tree_add_item(sub_tree2, hf_dis_entity_linear_acceleration_x, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(sub_tree2, hf_dis_entity_linear_acceleration_y, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(sub_tree2, hf_dis_entity_linear_acceleration_z, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ sub_tree2 = proto_tree_add_subtree(sub_tree, tvb, offset, 12, ett_entity_angular_velocity, NULL, "Entity Angular Velocity");
+ proto_tree_add_item(sub_tree2, hf_dis_entity_entity_angular_velocity_x, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(sub_tree2, hf_dis_entity_entity_angular_velocity_y, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(sub_tree2, hf_dis_entity_entity_angular_velocity_z, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 12, ett_entity_marking_text, NULL, "Entity Marking");
+
+ entity_marking_character_set = tvb_get_guint8(tvb, offset);
+ proto_tree_add_uint(sub_tree, hf_dis_entity_marking_character_set, tvb, offset, 1, entity_marking_character_set);
+ offset += 1;
+ switch (entity_marking_character_set)
+ {
+ case 0:/* Unused */
+ break;/* Don't translate it, nothing to be translated */
+ case 1:/* ASCII */
+ proto_tree_add_item_ret_string(sub_tree, hf_dis_entity_marking, tvb, offset, 11, ENC_ASCII|ENC_NA, pinfo->pool, &entity_marking_text);
+ col_append_fstr(pinfo->cinfo, COL_INFO, ", %s", entity_marking_text);
+ case 2:/* Army Marking (CCTT) */
+ /* TODO: Complete this */
+ break;
+ case 3:/* Digit Chevron */
+ /* TODO: Complete this */
+ break;
+ }
+ offset += 11;
+
+ proto_tree_add_item(tree, hf_dis_capabilities, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ for (i = 0; i < numVariable; i++)
+ {
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 1, ett_variable_parameter, &ti, "Variable Parameter");
+
+ proto_tree_add_item(sub_tree, hf_dis_variable_parameter_type, tvb, offset, 1, ENC_BIG_ENDIAN);
+ variableParameterType = tvb_get_guint8(tvb, offset);
+ offset++;
+
+ offset = parseField_VariableParameter(tvb, sub_tree, offset, variableParameterType);
+ proto_item_set_end(ti, tvb, offset);
+ }
+
+ return offset;
+}
+
+static int dissect_DIS_PARSER_ENTITY_STATE_UPDATE_PDU(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset)
+{
+ static guint32 entitySite;
+ static guint32 entityApplication;
+ static guint32 entityEntity;
+ proto_item *ti;
+ proto_tree *sub_tree;
+ guint8 variableParameterType, numVariable;
+ guint32 i;
+
+ entitySite = tvb_get_ntohs(tvb, offset);
+ entityApplication = tvb_get_ntohs(tvb, offset+2);
+ entityEntity = tvb_get_ntohs(tvb, offset+4);
+
+ offset = parseField_Entity(tvb, tree, offset, "Entity ID");
+
+ proto_tree_add_item(tree, hf_dis_padding, tvb, offset, 1, ENC_NA);
+ offset++;
+
+ numVariable = tvb_get_guint8(tvb, offset);
+
+ proto_tree_add_item(tree, hf_dis_num_variable_records, tvb, offset, 1, ENC_BIG_ENDIAN); //number of variable parameter records
+ offset++;
+
+ col_append_fstr( pinfo->cinfo, COL_INFO, ", (%u:%u:%u)",
+ entitySite , entityApplication , entityEntity
+ );
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 12, ett_entity_linear_velocity, NULL, "Entity Linear Velocity");
+ proto_tree_add_item(sub_tree, hf_dis_entity_linear_velocity_x, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(sub_tree, hf_dis_entity_linear_velocity_y, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(sub_tree, hf_dis_entity_linear_velocity_z, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 24, ett_entity_location, NULL, "Entity Location");
+ proto_tree_add_item(sub_tree, hf_dis_entity_location_x_double, tvb, offset, 8, ENC_BIG_ENDIAN);
+ offset += 8;
+ proto_tree_add_item(sub_tree, hf_dis_entity_location_y_double, tvb, offset, 8, ENC_BIG_ENDIAN);
+ offset += 8;
+ proto_tree_add_item(sub_tree, hf_dis_entity_location_z_double, tvb, offset, 8, ENC_BIG_ENDIAN);
+ offset += 8;
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 12, ett_entity_orientation, NULL, "Entity Orientation");
+ proto_tree_add_item(sub_tree, hf_dis_entity_orientation_psi, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(sub_tree, hf_dis_entity_orientation_theta, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(sub_tree, hf_dis_entity_orientation_phi, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ if ((entityKind == DIS_ENTITYKIND_PLATFORM) &&
+ (entityDomain == DIS_DOMAIN_LAND))
+ {
+ static int * const entity_appearance_domain_land_bitmask[] =
+ {
+ &hf_appearance_landform_paint_scheme,
+ &hf_appearance_landform_mobility,
+ &hf_appearance_landform_fire_power,
+ &hf_appearance_landform_damage,
+ &hf_appearance_landform_smoke_entity,
+ &hf_appearance_landform_trailing_effects_entity,
+ &hf_appearance_landform_hatch,
+ &hf_appearance_landform_head_lights,
+ &hf_appearance_landform_tail_lights,
+ &hf_appearance_landform_brake_lights,
+ &hf_appearance_landform_flaming,
+ &hf_appearance_landform_launcher,
+ &hf_appearance_landform_camouflage_type,
+ &hf_appearance_landform_concealed,
+ &hf_appearance_landform_frozen_status,
+ &hf_appearance_landform_power_plant_status,
+ &hf_appearance_landform_state,
+ &hf_appearance_landform_tent,
+ &hf_appearance_landform_ramp,
+ &hf_appearance_landform_blackout_lights,
+ &hf_appearance_landform_blackout_brake_lights,
+ &hf_appearance_landform_spot_lights,
+ &hf_appearance_landform_interior_lights,
+ &hf_appearance_landform_surrender_state,
+ &hf_appearance_landform_masked_cloaked,
+ NULL
+ };
+
+ proto_tree_add_bitmask(tree, tvb, offset, hf_entity_appearance, ett_entity_appearance, entity_appearance_domain_land_bitmask, ENC_BIG_ENDIAN);
+ }
+ else if (entityKind == DIS_ENTITYKIND_LIFE_FORM)
+ {
+ static int * const entity_appearance_kind_life_form_bitmask[] =
+ {
+ &hf_appearance_lifeform_paint_scheme,
+ &hf_appearance_lifeform_health,
+ &hf_appearance_lifeform_compliance,
+ &hf_appearance_lifeform_flash_lights,
+ &hf_appearance_lifeform_state,
+ &hf_appearance_frozen_status,
+ &hf_appearance_state,
+ &hf_appearance_weapon_1,
+ &hf_appearance_weapon_2,
+ &hf_appearance_camouflage_type,
+ &hf_appearance_concealed_stationary,
+ &hf_appearance_concealed_movement,
+ NULL
+ };
+
+ proto_tree_add_bitmask(tree, tvb, offset, hf_entity_appearance, ett_entity_appearance, entity_appearance_kind_life_form_bitmask, ENC_BIG_ENDIAN);
+ }
+ else
+ {
+ proto_tree_add_item(tree, hf_entity_appearance, tvb, offset, 4, ENC_BIG_ENDIAN);
+ }
+ offset += 4;
+
+ for (i = 0; i < numVariable; i++)
+ {
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 1, ett_variable_parameter, &ti, "Variable Parameter");
+
+ proto_tree_add_item(sub_tree, hf_dis_variable_parameter_type, tvb, offset, 1, ENC_BIG_ENDIAN);
+ variableParameterType = tvb_get_guint8(tvb, offset);
+ offset++;
+
+ offset = parseField_VariableParameter(tvb, sub_tree, offset, variableParameterType);
+ proto_item_set_end(ti, tvb, offset);
+ }
+
+ return offset;
+}
+/* DIS Collision PDUs
+ */
+static int dissect_DIS_PARSER_COLLISION_PDU(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
+{
+ proto_tree *sub_tree;
+
+ offset = parseField_Entity(tvb, tree, offset, "Issuing Entity ID");
+ offset = parseField_Entity(tvb, tree, offset, "Colliding Entity ID");
+ offset = dissect_DIS_FIELDS_EVENT_ID(tvb, tree, offset, "Event ID");
+
+ /* 8 Bit Collision Type */
+ proto_tree_add_item(tree, hf_dis_collision_type, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ /* 8 Bit Padding */
+ proto_tree_add_item(tree, hf_dis_padding, tvb, offset, 1, ENC_NA);
+ offset++;
+
+ /* Velocity */
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 12, ett_linear_velocity, NULL, "Velocity");
+
+ proto_tree_add_item(sub_tree, hf_dis_linear_velocity_x, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(sub_tree, hf_dis_linear_velocity_y, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(sub_tree, hf_dis_linear_velocity_z, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ /* Mass */
+ proto_tree_add_item(tree, hf_dis_collision_mass, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ /* Location (with respect to entity) */
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 12, ett_ua_location, NULL, "Location (with respect to entity)"); /* TODO: ett_ua_location ==> ett_location? */
+
+ proto_tree_add_item(sub_tree, hf_dis_collision_location_x, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(sub_tree, hf_dis_collision_location_y, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(sub_tree, hf_dis_collision_location_z, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ return offset;
+}
+
+/* DIS Distributed Emission Regeneration PDUs
+ */
+static int dissect_DIS_PARSER_ELECTROMAGNETIC_EMISSION_PDU(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
+{
+ proto_item *emission_ti, *beam_ti;
+ proto_tree *sub_tree, *sub_tree2, *fundamental_tree;
+ guint8 i, j, k, numVariable, numBeams, numTrackJamTargets;
+
+ offset = parseField_Entity(tvb, tree, offset, "Emitting Entity ID");
+ offset = dissect_DIS_FIELDS_EVENT_ID(tvb, tree, offset, "Event ID");
+
+ proto_tree_add_item(tree, hf_dis_state_update_indicator, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ numVariable = tvb_get_guint8(tvb, offset);
+ proto_tree_add_item(tree, hf_dis_num_electromagnetic_emission_systems, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_padding, tvb, offset, 2, ENC_NA);
+ offset += 2;
+
+ for (i = 0; i < numVariable; i++)
+ {
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, -1, ett_emission_system, &emission_ti, "Emission System");
+
+ proto_tree_add_item(sub_tree, hf_dis_em_data_length, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ numBeams = tvb_get_guint8(tvb, offset);
+ proto_tree_add_item(sub_tree, hf_dis_em_num_beams, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(sub_tree, hf_dis_padding, tvb, offset, 2, ENC_NA);
+ offset += 2;
+
+ sub_tree2 = proto_tree_add_subtree(sub_tree, tvb, offset, 4, ett_emitter_system, NULL, "Emitter System");
+
+ proto_tree_add_item(sub_tree2, hf_dis_emitter_name, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+ proto_tree_add_item(sub_tree2, hf_dis_emission_function, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+ proto_tree_add_item(sub_tree2, hf_dis_emitter_id_number, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ sub_tree2 = proto_tree_add_subtree(sub_tree, tvb, offset, 12, ett_emitter_location, NULL, "Location");
+
+ proto_tree_add_item(sub_tree2, hf_dis_em_location_x, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(sub_tree2, hf_dis_em_location_y, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(sub_tree2, hf_dis_em_location_z, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ for (j = 0; j < numBeams; j++)
+ {
+ sub_tree2 = proto_tree_add_subtree(sub_tree, tvb, offset, -1, ett_em_beam, &beam_ti, "Beam");
+
+ proto_tree_add_item(sub_tree2, hf_dis_em_beam_data_length, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(sub_tree2, hf_dis_em_beam_id_number, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(sub_tree2, hf_dis_em_beam_parameter_index, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ fundamental_tree = proto_tree_add_subtree(sub_tree2, tvb, offset, 40, ett_em_fundamental_parameter_data, NULL, "Fundamental Parameter Data");
+
+ proto_tree_add_item(fundamental_tree, hf_dis_em_fund_frequency, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(fundamental_tree, hf_dis_em_fund_frequency_range, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(fundamental_tree, hf_dis_em_fund_effective_radiated_power, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(fundamental_tree, hf_dis_em_fund_pulse_repetition_freq, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(fundamental_tree, hf_dis_em_fund_pulse_width, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(fundamental_tree, hf_dis_em_fund_beam_azimuth_center, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(fundamental_tree, hf_dis_em_fund_beam_azimuth_sweep, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(fundamental_tree, hf_dis_em_fund_beam_elevation_center, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(fundamental_tree, hf_dis_em_fund_beam_elevation_sweep, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(fundamental_tree, hf_dis_em_fund_beem_sweep_sync, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ proto_tree_add_item(sub_tree2, hf_dis_beam_function, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ numTrackJamTargets = tvb_get_guint8(tvb, offset);
+ proto_tree_add_item(sub_tree2, hf_dis_track_jam_num_targ, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(sub_tree2, hf_dis_track_jam_high_density, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(sub_tree2, hf_dis_padding, tvb, offset, 1, ENC_NA);
+ offset++;
+
+ proto_tree_add_item(sub_tree2, hf_dis_jamming_mode_seq, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ for (k = 0; k < numTrackJamTargets; k++)
+ {
+ offset = parseField_TRACK_JAM(tvb, sub_tree2, offset, "Track/Jam Entity");
+ }
+
+ proto_item_set_end(beam_ti, tvb, offset);
+ }
+
+ proto_item_set_end(emission_ti, tvb, offset);
+ }
+
+ return offset;
+}
+
+/* DIS Underwater Acoustic PDUs
+ */
+static int dissect_DIS_PARSER_UNDERWATER_ACOUSTIC_PDU(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset)
+{
+ proto_tree *sub_tree, *sub_tree2;
+ guint8 i, numShafts, numApas, numUAEmitter, numUABeams = 0;
+
+ offset = parseField_Entity(tvb, tree, offset, "Emitting Entity ID");
+ offset = dissect_DIS_FIELDS_EVENT_ID(tvb, tree, offset, "Event ID");
+
+ proto_tree_add_item(tree, hf_dis_state_update_indicator, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_padding, tvb, offset, 1, ENC_NA);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_passive_parameter_index, tvb, offset, 2, ENC_BIG_ENDIAN); /* !! enum !! */
+ offset += 2;
+
+ proto_tree_add_item(tree, hf_dis_propulsion_plant_config, tvb, offset, 1, ENC_BIG_ENDIAN); /* !! enum !! */
+ offset++;
+
+ numShafts = tvb_get_guint8(tvb, offset);
+ proto_tree_add_item(tree, hf_dis_num_shafts, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ numApas = tvb_get_guint8(tvb, offset);
+ proto_tree_add_item(tree, hf_dis_num_apas, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ numUAEmitter = tvb_get_guint8(tvb, offset);
+ proto_tree_add_item(tree, hf_dis_num_ua_emitter_systems, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ col_append_fstr( pinfo->cinfo, COL_INFO, ", Shafts=%d, APA=%d, Acoustic Emitter=%d",
+ numShafts, numApas, numUAEmitter);
+
+ for (i = 0; i < numShafts; i++)
+ {
+ sub_tree = proto_tree_add_subtree_format(tree, tvb, offset, 6, ett_shafts, NULL, "Shafts [%d of %d]", i+1, numShafts);
+
+ proto_tree_add_item(sub_tree, hf_dis_shaft_rpm_current, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(sub_tree, hf_dis_shaft_rpm_ordered, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(sub_tree, hf_dis_shaft_rpm_change_rate, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ }
+
+ for (i = 0; i < numApas; i++)
+ {
+ sub_tree = proto_tree_add_subtree_format(tree, tvb, offset, 4, ett_apas, NULL, "APAs [%d of %d]", i+1, numApas);
+
+ proto_tree_add_item(sub_tree, hf_dis_apas_parameter_index, tvb, offset, 2, ENC_BIG_ENDIAN); /*FIXME enum*/
+ offset += 2;
+
+ proto_tree_add_item(sub_tree, hf_dis_apas_value, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+ }
+
+ for (i = 0; i < numUAEmitter; i++)
+ {
+ sub_tree = proto_tree_add_subtree_format(tree, tvb, offset, 20, ett_underwater_acoustic_emission, NULL,
+ "Underwater Acoustic Emission System [%d of %d]", i+1, numUAEmitter);
+
+ proto_tree_add_item(sub_tree, hf_dis_ua_emitter_data_length, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ numUABeams += tvb_get_guint8(tvb, offset);
+ proto_tree_add_item(sub_tree, hf_dis_ua_num_beams, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(sub_tree, hf_dis_padding, tvb, offset, 2, ENC_NA);
+ offset += 2;
+
+ sub_tree2 = proto_tree_add_subtree(sub_tree, tvb, offset, 4, ett_acoustic_emitter_system, NULL, "Acoustic Emitter System");
+
+ proto_tree_add_item(sub_tree2, hf_dis_ua_emission_name, tvb, offset, 2, ENC_BIG_ENDIAN); /*FIXME enum*/
+ offset += 2;
+ proto_tree_add_item(sub_tree2, hf_dis_ua_emission_function, tvb, offset, 1, ENC_BIG_ENDIAN); /*FIXME enum*/
+ offset++;
+ proto_tree_add_item(sub_tree2, hf_dis_ua_emission_id_number, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ sub_tree2 = proto_tree_add_subtree(sub_tree, tvb, offset, 12, ett_ua_location, NULL, "Location (with respect to entity)");
+
+ proto_tree_add_item(sub_tree2, hf_dis_ua_location_x, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ proto_tree_add_item(sub_tree2, hf_dis_ua_location_y, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ proto_tree_add_item(sub_tree2, hf_dis_ua_location_z, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ }
+
+ for (i = 0; i < numUABeams; ++i)
+ {
+ sub_tree = proto_tree_add_subtree_format(tree, tvb, offset, 24, ett_ua_beams, NULL, "Beams [%d of %d]", i+1, numUABeams);
+
+ proto_tree_add_item(sub_tree, hf_dis_ua_beam_data_length, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(sub_tree, hf_dis_ua_beam_id_number, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(sub_tree, hf_dis_padding, tvb, offset, 2, ENC_NA);
+ offset += 2;
+
+ sub_tree2 = proto_tree_add_subtree_format(sub_tree, tvb, offset, 20, ett_ua_beam_data, NULL, "Fundamental Data Parameters");
+
+ proto_tree_add_item(sub_tree2, hf_dis_ua_beam_active_emission_parameter_index, tvb, offset, 2, ENC_BIG_ENDIAN); /*FIXME enum!!!*/
+ offset += 2;
+
+ proto_tree_add_item(sub_tree2, hf_dis_ua_beam_scan_pattern, tvb, offset, 2, ENC_BIG_ENDIAN); /*FIXME enum!!!*/
+ offset += 2;
+
+ proto_tree_add_item(sub_tree2, hf_dis_ua_beam_center_azimuth, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ proto_tree_add_item(sub_tree2, hf_dis_ua_beam_azimuthal_beamwidth, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ proto_tree_add_item(sub_tree2, hf_dis_ua_beam_center_de, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ proto_tree_add_item(sub_tree2, hf_dis_ua_beam_de_beamwidth, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ }
+
+ return offset;
+}
+
+static int dissect_DIS_PARSER_IFF_PDU(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, dis_header_t* header)
+{
+ proto_item *ti = NULL;
+ proto_tree *sub_tree = NULL,*field_tree = NULL;
+ guint16 site = 0, application = 0, entity = 0;
+ guint16 systemType = 0;
+ guint16 mode1 = 0, mode1_element1 = 0, mode1_element2 = 0;
+ guint16 rrb = 0, rrb_code = 0;
+ guint16 mode2 = 0, mode2_element1 = 0, mode2_element2 = 0, mode2_element3 = 0, mode2_element4 = 0;
+ guint16 mode3 = 0, mode3_element1 = 0, mode3_element2 = 0, mode3_element3 = 0, mode3_element4 = 0;
+ guint16 mode4 = 0;
+ guint16 modeS = 0, modeS_primary_type = 0, modeS_primary_code = 0, modeS_secondary_type = 0, modeS_secondary_code = 0;
+ guint16 parameter_5 = 0;
+ gint16 altitude = 0;
+ guint16 parameter_6 = 0, tcas_acas_indicator = 0, tcas_acas_type = 0, tcas_I_II_type = 0;
+
+ site = tvb_get_ntohs(tvb, offset);
+ application = tvb_get_ntohs(tvb, offset+2);
+ entity = tvb_get_ntohs(tvb, offset+4);
+ offset = parseField_Entity(tvb, tree, offset, "Emitting Entity ID");
+ offset = dissect_DIS_FIELDS_EVENT_ID(tvb, tree, offset, "Event ID");
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 12, ett_iff_location, NULL, "Location (with respect to entity)");
+
+ proto_tree_add_item(sub_tree, hf_dis_ua_location_x, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ proto_tree_add_item(sub_tree, hf_dis_ua_location_y, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ proto_tree_add_item(sub_tree, hf_dis_ua_location_z, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 6, ett_iff_system_id, NULL, "System ID");
+
+ systemType = tvb_get_ntohs(tvb, offset);
+ proto_tree_add_item(sub_tree, hf_dis_iff_system_type, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(sub_tree, hf_dis_iff_system_name, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(sub_tree, hf_dis_iff_system_mode, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset += 1;
+
+ ti = proto_tree_add_item(sub_tree, hf_dis_iff_change_options, tvb, offset, 1, ENC_BIG_ENDIAN);
+ field_tree = proto_item_add_subtree(ti, ett_iff_change_options);
+
+ proto_tree_add_item(field_tree, hf_dis_iff_change_indicator, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_alternate_mode_4, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_alternate_mode_c, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_heartbeat_indicator, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_transponder_interrogator_indicator, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_simulation_mode, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_interactive_capable, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_test_mode, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset += 1;
+
+ if (header->version < DIS_VERSION_IEEE_1278_1_2012)
+ {
+ proto_tree_add_item(tree, hf_dis_padding, tvb, offset, 2, ENC_NA);
+ offset += 2;
+ }
+ else
+ {
+ proto_tree_add_item(tree, hf_dis_iff_system_designator, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset += 1;
+ proto_tree_add_item(tree, hf_dis_iff_system_specific_data, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset += 1;
+ }
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 16, ett_iff_fundamental_operational_data, NULL, "Fundamental Operational Data");
+
+ ti = proto_tree_add_item(sub_tree, hf_dis_iff_system_status, tvb, offset, 1, ENC_BIG_ENDIAN);
+ field_tree = proto_item_add_subtree(ti, ett_iff_system_status);
+
+ proto_tree_add_item(field_tree, hf_dis_iff_system_status_system_onoff, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_system_status_parameter_1, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_system_status_parameter_2, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_system_status_parameter_3, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_system_status_parameter_4, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_system_status_parameter_5, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_system_status_parameter_6, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_system_status_operational, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset += 1;
+
+ proto_tree_add_item(sub_tree, hf_dis_iff_alternate_parameter_4, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset += 1;
+
+ ti = proto_tree_add_item(sub_tree, hf_dis_iff_information_layers, tvb, offset, 1, ENC_BIG_ENDIAN);
+ field_tree = proto_item_add_subtree(ti, ett_iff_information_layers);
+ proto_tree_add_item(field_tree, hf_dis_iff_information_layers_layer_1, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_information_layers_layer_2, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_information_layers_layer_3, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_information_layers_layer_4, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_information_layers_layer_5, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_information_layers_layer_6, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_information_layers_layer_7, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset += 1;
+
+ ti = proto_tree_add_item(sub_tree, hf_dis_iff_modifier, tvb, offset, 1, ENC_BIG_ENDIAN);
+ field_tree = proto_item_add_subtree(ti, ett_iff_modifier);
+ proto_tree_add_item(field_tree, hf_dis_iff_modifier_emergency, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_modifier_ident, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_modifier_sti, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_modifier_unmanned_aircraft, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset += 1;
+
+ if (systemType == DIS_PDU_IFFSystemType_RRB_TRANSPONDER)
+ {
+ rrb = tvb_get_ntohs(tvb, offset);
+ rrb_code = rrb & 0x1f;
+ ti = proto_tree_add_item(sub_tree, hf_dis_iff_rrb, tvb, offset, 2, ENC_BIG_ENDIAN);
+ field_tree = proto_item_add_subtree(ti, ett_iff_rrb);
+ proto_tree_add_item(field_tree, hf_dis_iff_rrb_rrb_code, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_rrb_power_reduction_indicator, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_rrb_radar_enhancement_indicator, tvb, offset, 2, ENC_BIG_ENDIAN);
+ }
+ else
+ {
+ mode1 = tvb_get_ntohs(tvb, offset) & 0x3f;
+ mode1_element1 = (mode1) & 0x7;
+ mode1_element2 = ((mode1) >> 3) & 0x7;
+ ti = proto_tree_add_item(sub_tree, hf_dis_iff_parameter_1, tvb, offset, 2, ENC_BIG_ENDIAN);
+ field_tree = proto_item_add_subtree(ti, ett_iff_parameter_1);
+ proto_tree_add_item(field_tree, hf_dis_iff_mode_code_element_1, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_mode_code_element_2, tvb, offset, 2, ENC_BIG_ENDIAN);
+ }
+ proto_tree_add_item(field_tree, hf_dis_iff_mode_status, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_mode_damage, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_mode_malfunction, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ mode2 = tvb_get_ntohs(tvb, offset) & 0xfff;
+ mode2_element1 = (mode2) & 0x7;
+ mode2_element2 = ((mode2) >> 3) & 0x7;
+ mode2_element3 = ((mode2) >> 6) & 0x7;
+ mode2_element4 = ((mode2) >> 9) & 0x7;
+ ti = proto_tree_add_item(sub_tree, hf_dis_iff_parameter_2, tvb, offset, 2, ENC_BIG_ENDIAN);
+ field_tree = proto_item_add_subtree(ti, ett_iff_parameter_2);
+ proto_tree_add_item(field_tree, hf_dis_iff_mode_code_element_1, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_mode_code_element_2, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_mode_code_element_3, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_mode_code_element_4, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_mode_status, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_mode_damage, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_mode_malfunction, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ mode3 = tvb_get_ntohs(tvb, offset) & 0xfff;
+ mode3_element1 = (mode3) & 0x7;
+ mode3_element2 = ((mode3) >> 3) & 0x7;
+ mode3_element4 = ((mode3) >> 9) & 0x7;
+ mode3_element3 = ((mode3) >> 6) & 0x7;
+ ti = proto_tree_add_item(sub_tree, hf_dis_iff_parameter_3, tvb, offset, 2, ENC_BIG_ENDIAN);
+ field_tree = proto_item_add_subtree(ti, ett_iff_parameter_3);
+ proto_tree_add_item(field_tree, hf_dis_iff_mode_code_element_1, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_mode_code_element_2, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_mode_code_element_3, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_mode_code_element_4, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_mode_status, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_mode_damage, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_mode_malfunction, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ if (systemType == DIS_PDU_IFFSystemType_MODE_S_INTERROGATOR)
+ {
+ modeS = tvb_get_ntohs(tvb, offset) & 0xffff;
+ modeS_primary_type = (modeS) & 0x1;
+ modeS_primary_code = ((modeS) >> 1) & 0x7f;
+ modeS_secondary_type = ((modeS) >> 8)& 0x1;
+ modeS_secondary_code = ((modeS) >> 9) & 0x7f;
+ ti = proto_tree_add_item(sub_tree, hf_dis_iff_mode_s_interrogator_identifier, tvb, offset, 2, ENC_BIG_ENDIAN);
+ field_tree = proto_item_add_subtree(ti, ett_iff_mode_s_interrogator_identifier);
+ proto_tree_add_item(field_tree, hf_dis_iff_mode_s_interrogator_identifier_primary_ic_type, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_mode_s_interrogator_identifier_primary_ic_code, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_mode_s_interrogator_identifier_secondary_ic_type, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_mode_s_interrogator_identifier_secondary_ic_code, tvb, offset, 2, ENC_BIG_ENDIAN);
+ }
+ else
+ {
+ mode4 = tvb_get_ntohs(tvb, offset) & 0xfff;
+ ti = proto_tree_add_item(sub_tree, hf_dis_iff_parameter_4, tvb, offset, 2, ENC_BIG_ENDIAN);
+ field_tree = proto_item_add_subtree(ti, ett_iff_parameter_4);
+ proto_tree_add_item(field_tree, hf_dis_iff_mode_4, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_mode_status, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_mode_damage, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_mode_malfunction, tvb, offset, 2, ENC_BIG_ENDIAN);
+ }
+ offset += 2;
+
+ ti = proto_tree_add_item(sub_tree, hf_dis_iff_parameter_5, tvb, offset, 2, ENC_BIG_ENDIAN);
+ field_tree = proto_item_add_subtree(ti, ett_iff_parameter_5);
+ parameter_5 = tvb_get_ntohs(tvb, offset);
+ altitude = ((parameter_5 >> 1) & 0x7ff) * ((parameter_5 & 1) ? -1: 1);
+ proto_tree_add_item(field_tree, hf_dis_iff_mode_c_altitude_indicator, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_mode_c_altitude, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_mode_status, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_mode_damage, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_mode_malfunction, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ parameter_6 = tvb_get_ntohs(tvb, offset);
+ tcas_acas_indicator = tvb_get_ntohs(tvb, offset) & 0x2;
+ tcas_acas_type = (tvb_get_ntohs(tvb, offset) >> 9) & 0x7;
+ tcas_I_II_type = (tvb_get_ntohs(tvb, offset) >> 12) & 0x1;
+ ti = proto_tree_add_item(sub_tree, hf_dis_iff_parameter_6, tvb, offset, 2, ENC_BIG_ENDIAN);
+ field_tree = proto_item_add_subtree(ti, ett_iff_parameter_6);
+ proto_tree_add_item(field_tree, hf_dis_iff_tcas_acas_basic_advanced_indicator, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_tcas_acas_tcas_acas_indicator, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_tcas_acas_software_version, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_tcas_acas_tcas_acas_type, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_tcas_acas_tcas_type, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_mode_status, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_mode_damage, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(field_tree, hf_dis_iff_mode_malfunction, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ col_append_fstr(pinfo->cinfo, COL_INFO, ", %d-%d-%d", site, application, entity);
+
+ if (mode1)
+ {
+ col_append_fstr(pinfo->cinfo, COL_INFO, ", 1=%o%o", mode1_element1, mode1_element2);
+ }
+ else if (rrb)
+ {
+ col_append_fstr(pinfo->cinfo, COL_INFO, ", RRB=%d", rrb_code);
+ }
+
+ if (mode2) col_append_fstr(pinfo->cinfo, COL_INFO, ", 2=%o%o%o%o", mode2_element1, mode2_element2, mode2_element3, mode2_element4);
+ if (mode3) col_append_fstr(pinfo->cinfo, COL_INFO, ", 3=%o%o%o%o", mode3_element1, mode3_element2, mode3_element3, mode3_element4);
+
+ if (systemType == DIS_PDU_IFFSystemType_MODE_S_INTERROGATOR)
+ {
+ if (modeS_primary_type == 0)
+ {
+ col_append_str(pinfo->cinfo, COL_INFO, ", P=II ");
+ }
+ else
+ {
+ col_append_str(pinfo->cinfo, COL_INFO, ", P=SI");
+ }
+ col_append_fstr(pinfo->cinfo, COL_INFO, " %d", modeS_primary_code);
+
+ if (modeS_secondary_type == 0)
+ {
+ col_append_str(pinfo->cinfo, COL_INFO, ", S=II");
+ }
+ else
+ {
+ col_append_str(pinfo->cinfo, COL_INFO, ", S=SI");
+ }
+ col_append_fstr(pinfo->cinfo, COL_INFO, " %d", modeS_secondary_code);
+ }
+ else if (mode4)
+ {
+ col_append_fstr(pinfo->cinfo, COL_INFO, ", 4=%d", mode4);
+ }
+
+ if (altitude || (parameter_5 & 0x2000)) col_append_fstr(pinfo->cinfo, COL_INFO, ", C=FL%d", altitude);
+
+ if (parameter_6)
+ {
+ if (tcas_acas_indicator == 0)
+ {
+ if (tcas_I_II_type == 0)
+ {
+ col_append_str(pinfo->cinfo, COL_INFO, ", TCAS I");
+ }
+ else
+ {
+ col_append_str(pinfo->cinfo, COL_INFO, ", TCAS II");
+ }
+ }
+ else
+ {
+ if (tcas_acas_type == 1)
+ {
+ col_append_str(pinfo->cinfo, COL_INFO, ", ACAS I");
+ }
+ else if (tcas_acas_type == 2)
+ {
+ col_append_str(pinfo->cinfo, COL_INFO, ", ACAS II");
+ }
+ }
+ }
+
+ return offset;
+}
+
+/* DIS Radio Communications protocol (RCP) family PDUs
+ */
+static int dissect_DIS_PARSER_TRANSMITTER_PDU(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset)
+{
+ proto_item* ti;
+ proto_tree* sub_tree;
+ guint32 radioID, disRadioTransmitState, modulationParamLength;
+ guint16 systemModulation;
+
+ offset = parseField_Entity(tvb, tree, offset, "Entity ID");
+
+ proto_tree_add_item(tree, hf_dis_radio_id, tvb, offset, 2, ENC_BIG_ENDIAN);
+ radioID = tvb_get_ntohs(tvb, offset);
+ col_append_fstr( pinfo->cinfo, COL_INFO, ", RadioID=%u", radioID);
+ offset += 2;
+
+ offset = dissect_DIS_FIELDS_RADIO_ENTITY_TYPE(tvb, tree, offset, "Radio Entity Type");
+
+ disRadioTransmitState = tvb_get_guint8(tvb, offset);
+ proto_tree_add_item(tree, hf_dis_radio_transmit_state, tvb, offset, 1, ENC_BIG_ENDIAN);
+ col_append_fstr( pinfo->cinfo, COL_INFO, ", Transmit State=%s", val_to_str_const(disRadioTransmitState, DIS_PDU_RadioTransmitState_Strings, "Unknown Transmit State"));
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_radio_input_source, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_padding, tvb, offset, 2, ENC_NA);
+ offset += 2;
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 24, ett_antenna_location, NULL, "Antenna Location");
+
+ proto_tree_add_item(sub_tree, hf_dis_antenna_location_x, tvb, offset, 8, ENC_BIG_ENDIAN);
+ offset += 8;
+ proto_tree_add_item(sub_tree, hf_dis_antenna_location_y, tvb, offset, 8, ENC_BIG_ENDIAN);
+ offset += 8;
+ proto_tree_add_item(sub_tree, hf_dis_antenna_location_z, tvb, offset, 8, ENC_BIG_ENDIAN);
+ offset += 8;
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 12, ett_rel_antenna_location, NULL, "Relative Antenna Location");
+
+ proto_tree_add_item(sub_tree, hf_dis_rel_antenna_location_x, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(sub_tree, hf_dis_rel_antenna_location_y, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(sub_tree, hf_dis_rel_antenna_location_z, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ proto_tree_add_item(tree, hf_dis_antenna_pattern_type, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(tree, hf_dis_antenna_pattern_length, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(tree, hf_dis_transmit_frequency, tvb, offset, 8, ENC_BIG_ENDIAN);
+ offset += 8;
+
+ proto_tree_add_item(tree, hf_dis_transmit_freq_bandwidth, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ proto_tree_add_item(tree, hf_dis_transmit_power, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ offset = dissect_DIS_FIELDS_MODULATION_TYPE(tvb, tree, offset, &systemModulation);
+
+ proto_tree_add_item(tree, hf_dis_crypto_system, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ ti = proto_tree_add_item(tree, hf_dis_crypto_key, tvb, offset, 2, ENC_BIG_ENDIAN);
+ sub_tree = proto_item_add_subtree(ti, ett_dis_crypto_key);
+ proto_tree_add_item(sub_tree, hf_dis_encryption_mode, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(sub_tree, hf_dis_key_identifier, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ modulationParamLength = tvb_get_guint8(tvb, offset);
+ proto_tree_add_item(tree, hf_dis_modulation_parameter_length, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_padding, tvb, offset, 3, ENC_NA);
+ offset += 3;
+
+ /* need to check to see if mod parms length > 0 */
+ /* could get here when there are antenna pattern parameter but no mod params */
+ if (modulationParamLength > 0 ) { /* we do have a mod param */
+ switch(systemModulation)
+ {
+ case DIS_SYSTEM_MOD_CCTT_SINCGARS:
+ offset = dissect_DIS_FIELDS_MOD_PARAMS_CCTT_SINCGARS(tvb, tree, offset);
+ break;
+ case DIS_SYSTEM_MOD_JTIDS_MIDS:
+ offset = dissect_DIS_FIELDS_MOD_PARAMS_JTIDS_MIDS(tvb, tree, offset);
+ break;
+ default: /* just dump what is available */
+ proto_tree_add_item(tree, hf_dis_mod_param_dump, tvb, offset, modulationParamLength, ENC_NA);
+ offset += modulationParamLength;
+ break;
+ }
+ } /* else, leave offset alone, and then check antenna pattern param field */
+
+ /* need to finish decoding this PDU */
+ return offset;
+}
+
+static int dissect_DIS_PARSER_DESIGNATOR_PDU(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset)
+{
+ proto_tree* sub_tree;
+ guint16 code_name;
+
+ offset = parseField_Entity(tvb, tree, offset, "Designating Entity ID");
+
+
+ proto_tree_add_item(tree, hf_dis_designator_code_name, tvb, offset, 2, ENC_BIG_ENDIAN);
+ code_name = tvb_get_ntohs(tvb, offset);
+ col_append_fstr( pinfo->cinfo, COL_INFO, ", CodeName=%u", code_name);
+ offset += 2;
+
+ offset = parseField_Entity(tvb, tree, offset, "Designated Entity ID");
+
+ proto_tree_add_item(tree, hf_dis_designator_designator_code, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(tree, hf_dis_designator_power, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ proto_tree_add_item(tree, hf_dis_designator_wavelength, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 12, ett_designator_spot_with_respect_to_designated_entity, NULL, "Designator Spot with Respect to Designated Entity");
+ proto_tree_add_item(sub_tree, hf_dis_designator_spot_with_respect_to_designated_entity_x, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(sub_tree, hf_dis_designator_spot_with_respect_to_designated_entity_y, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(sub_tree, hf_dis_designator_spot_with_respect_to_designated_entity_z, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 24, ett_designator_spot_location, NULL, "Designator Spot Location");
+ proto_tree_add_item(sub_tree, hf_dis_designator_spot_location_x, tvb, offset, 8, ENC_BIG_ENDIAN);
+ offset += 8;
+ proto_tree_add_item(sub_tree, hf_dis_designator_spot_location_y, tvb, offset, 8, ENC_BIG_ENDIAN);
+ offset += 8;
+ proto_tree_add_item(sub_tree, hf_dis_designator_spot_location_z, tvb, offset, 8, ENC_BIG_ENDIAN);
+ offset += 8;
+
+ proto_tree_add_item(tree, hf_dis_entity_dead_reckoning_algorithm, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset += 1;
+
+ proto_tree_add_item(tree, hf_dis_padding, tvb, offset, 3, ENC_NA);
+ offset += 3;
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 12, ett_designator_entity_linear_acceleration, NULL, "Entity Linear Acceleration");
+ proto_tree_add_item(sub_tree, hf_dis_entity_linear_acceleration_x, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(sub_tree, hf_dis_entity_linear_acceleration_y, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(sub_tree, hf_dis_entity_linear_acceleration_z, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ /* need to finish decoding this PDU */
+ return offset;
+}
+
+static int dissect_DIS_PARSER_INTERCOM_CONTROL_PDU(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset)
+{
+ gint8 source_line_id;
+ proto_tree_add_item(tree, hf_intercom_control_control_type, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset += 1;
+
+ proto_tree_add_item(tree, hf_intercom_control_communications_channel_type, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset += 1;
+
+ offset = parseField_Entity(tvb, tree, offset, "Source Entity ID");
+
+
+ proto_tree_add_item(tree, hf_intercom_control_source_communications_device_id, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(tree, hf_intercom_control_source_line_id, tvb, offset, 1, ENC_BIG_ENDIAN);
+ source_line_id = tvb_get_guint8(tvb, offset);
+ col_append_fstr( pinfo->cinfo, COL_INFO, ", SourceLineID=%u", source_line_id);
+ offset += 1;
+
+ proto_tree_add_item(tree, hf_intercom_control_transmit_priority, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset += 1;
+
+ proto_tree_add_item(tree, hf_intercom_control_transmit_line_state, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset += 1;
+
+ proto_tree_add_item(tree, hf_intercom_control_command, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset += 1;
+
+ offset = parseField_Entity(tvb, tree, offset, "Master Entity ID");
+
+ proto_tree_add_item(tree, hf_intercom_control_master_communications_device_id, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(tree, hf_intercom_control_master_channel_id, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ return offset;
+}
+
+static int dissect_DIS_PARSER_SIGNAL_PDU(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset)
+{
+ proto_item* ti;
+ proto_tree* sub_tree;
+ guint32 radioID, encodingScheme, numSamples;
+ guint16 tdlType;
+ guint8 messageType;
+
+ offset = parseField_Entity(tvb, tree, offset, "Entity ID");
+
+ proto_tree_add_item(tree, hf_dis_radio_id, tvb, offset, 2, ENC_BIG_ENDIAN);
+ radioID = tvb_get_ntohs(tvb, offset);
+ col_append_fstr( pinfo->cinfo, COL_INFO, ", RadioID=%u", radioID);
+ offset += 2;
+
+ encodingScheme = tvb_get_ntohs(tvb, offset);
+ if ((encodingScheme & 0xC000) >> 14 == DIS_ENCODING_CLASS_ENCODED_AUDIO)
+ col_append_fstr(pinfo->cinfo, COL_INFO,", Encoding Type=%s",
+ val_to_str_const(DIS_ENCODING_TYPE(encodingScheme),
+ DIS_PDU_Encoding_Type_Strings, "Unknown"));
+
+ ti = proto_tree_add_item(tree, hf_dis_ens, tvb, offset, 2, ENC_BIG_ENDIAN);
+ sub_tree = proto_item_add_subtree(ti, ett_dis_ens);
+
+ proto_tree_add_item(sub_tree, hf_dis_ens_class, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(sub_tree,
+ ((encodingScheme >> 14) & 3) == DIS_ENCODING_CLASS_ENCODED_AUDIO ? hf_dis_ens_type_audio : hf_dis_ens_type,
+ tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ tdlType = tvb_get_ntohs(tvb, offset);
+ proto_tree_add_item(tree, hf_dis_tdl_type, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(tree, hf_dis_sample_rate, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ proto_tree_add_item(tree, hf_dis_data_length, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ numSamples = tvb_get_ntohs(tvb, offset);
+ proto_tree_add_item(tree, hf_dis_num_of_samples, tvb, offset, 2, ENC_BIG_ENDIAN);
+ if (numSamples)
+ col_append_fstr(pinfo->cinfo, COL_INFO, ", Number of Samples=%u", numSamples);
+ offset += 2;
+
+ if (tdlType == DIS_TDL_TYPE_LINK16_STD) {
+ offset = parse_DIS_FIELDS_SIGNAL_LINK16_NETWORK_HEADER(tvb, tree, offset, &messageType);
+
+ sub_tree = proto_tree_add_subtree_format(tree, tvb, offset, -1, ett_dis_signal_link16_message_data, NULL,
+ "Link 16 Message Data: %s", val_to_str_const(messageType, DIS_PDU_Link16_MessageType_Strings, ""));
+ offset = parse_Link16_Message_Data(sub_tree, tvb, offset, pinfo, encodingScheme, messageType);
+ proto_item_set_end(ti, tvb, offset);
+ } else {
+ proto_tree_add_item(tree, hf_dis_signal_data, tvb, offset, -1, ENC_NA );
+ offset += tvb_reported_length_remaining(tvb, offset);
+ }
+ /* ****ck******* need to look for padding bytes */
+
+ return offset;
+}
+
+static int dissect_DIS_PARSER_RECEIVER_PDU(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset)
+{
+ guint32 radioID, disRadioReceiveState;
+
+ offset = parseField_Entity(tvb, tree, offset, "Entity ID");
+
+ proto_tree_add_item(tree, hf_dis_radio_id, tvb, offset, 2, ENC_BIG_ENDIAN);
+ radioID = tvb_get_ntohs(tvb, offset);
+ col_append_fstr( pinfo->cinfo, COL_INFO, ", RadioID=%u", radioID);
+ offset += 2;
+
+ disRadioReceiveState = tvb_get_ntohs(tvb, offset);
+ proto_tree_add_item(tree, hf_dis_radio_receive_state, tvb, offset, 2, ENC_BIG_ENDIAN);
+ col_append_fstr( pinfo->cinfo, COL_INFO, ", Receive State=%s", val_to_str_const(disRadioReceiveState, DIS_PDU_RadioReceiveState_Strings, "Unknown Receive State"));
+ offset += 2;
+
+ proto_tree_add_item(tree, hf_dis_padding, tvb, offset, 2, ENC_NA);
+ offset += 2;
+
+ proto_tree_add_item(tree, hf_dis_receive_power, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ offset = parseField_Entity(tvb, tree, offset, "Transmitter ID");
+
+ proto_tree_add_item(tree, hf_dis_transmitter_radio_id, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ return offset;
+}
+
+/* DIS Warfare PDUs
+ */
+static int dissect_DIS_PARSER_FIRE_PDU(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
+{
+ proto_tree* sub_tree;
+
+ offset = parseField_Entity(tvb, tree, offset, "Firing Entity ID");
+ offset = parseField_Entity(tvb, tree, offset, "Target Entity ID");
+ offset = parseField_Entity(tvb, tree, offset, "Munition ID");
+ offset = dissect_DIS_FIELDS_EVENT_ID(tvb, tree, offset, "Event ID");
+
+ proto_tree_add_item(tree, hf_dis_fire_mission_index, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 24, ett_fire_location, NULL, "Location in World Coordinates");
+
+ proto_tree_add_item(sub_tree, hf_dis_fire_location_x, tvb, offset, 8, ENC_BIG_ENDIAN);
+ offset += 8;
+ proto_tree_add_item(sub_tree, hf_dis_fire_location_y, tvb, offset, 8, ENC_BIG_ENDIAN);
+ offset += 8;
+ proto_tree_add_item(sub_tree, hf_dis_fire_location_z, tvb, offset, 8, ENC_BIG_ENDIAN);
+ offset += 8;
+
+ offset = dissect_DIS_FIELDS_BURST_DESCRIPTOR(tvb, tree, offset);
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 12, ett_linear_velocity, NULL, "Velocity");
+
+ proto_tree_add_item(sub_tree, hf_dis_linear_velocity_x, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(sub_tree, hf_dis_linear_velocity_y, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(sub_tree, hf_dis_linear_velocity_z, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ proto_tree_add_item(tree, hf_dis_range, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ return offset;
+}
+
+static int dissect_DIS_PARSER_DETONATION_PDU(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
+{
+ proto_item *ti;
+ proto_tree *sub_tree;
+ guint8 variableParameterType, numVariable;
+ guint32 i;
+
+ offset = parseField_Entity(tvb, tree, offset, "Firing Entity ID");
+ offset = parseField_Entity(tvb, tree, offset, "Target Entity ID");
+ offset = parseField_Entity(tvb, tree, offset, "Munition ID");
+ offset = dissect_DIS_FIELDS_EVENT_ID(tvb, tree, offset, "Event ID");
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 12, ett_linear_velocity, NULL, "Velocity");
+
+ proto_tree_add_item(sub_tree, hf_dis_linear_velocity_x, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(sub_tree, hf_dis_linear_velocity_y, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(sub_tree, hf_dis_linear_velocity_z, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 24, ett_detonation_location, NULL, "Location in World Coordinates");
+
+ proto_tree_add_item(sub_tree, hf_dis_detonation_location_x, tvb, offset, 8, ENC_BIG_ENDIAN);
+ offset += 8;
+ proto_tree_add_item(sub_tree, hf_dis_detonation_location_y, tvb, offset, 8, ENC_BIG_ENDIAN);
+ offset += 8;
+ proto_tree_add_item(sub_tree, hf_dis_detonation_location_z, tvb, offset, 8, ENC_BIG_ENDIAN);
+ offset += 8;
+
+ offset = dissect_DIS_FIELDS_BURST_DESCRIPTOR(tvb, tree, offset);
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 12, ett_linear_velocity, NULL, "Location in Entity Coordinates");
+
+ proto_tree_add_item(sub_tree, hf_dis_entity_location_x_float, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(sub_tree, hf_dis_entity_location_y_float, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(sub_tree, hf_dis_entity_location_z_float, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ proto_tree_add_item(tree, hf_dis_detonation_result, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ numVariable = tvb_get_guint8(tvb, offset);
+ proto_tree_add_item(tree, hf_dis_num_art_params, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_padding, tvb, offset, 2, ENC_NA);
+ offset += 2;
+
+ for (i = 0; i < numVariable; i++)
+ {
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 1, ett_variable_parameter, &ti, "Variable Parameter");
+
+ proto_tree_add_item(sub_tree, hf_dis_variable_parameter_type, tvb, offset, 1, ENC_BIG_ENDIAN);
+ variableParameterType = tvb_get_guint8(tvb, offset);
+ offset++;
+
+ offset = parseField_VariableParameter(tvb, sub_tree, offset, variableParameterType);
+ proto_item_set_end(ti, tvb, offset);
+ }
+
+ return offset;
+}
+
+/* DIS Simulation Management PDUs
+ */
+static int dissect_DIS_PARSER_START_RESUME_PDU(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
+{
+ offset = parseField_Entity(tvb, tree, offset, "Originating Entity ID");
+ offset = parseField_Entity(tvb, tree, offset, "Receiving Entity ID");
+ offset = dissect_DIS_FIELDS_CLOCK_TIME(tvb, tree, offset, "Real World Time");
+ offset = dissect_DIS_FIELDS_CLOCK_TIME(tvb, tree, offset, "Simulation Time");
+
+ proto_tree_add_item(tree, hf_dis_request_id, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ return offset;
+}
+
+static int dissect_DIS_PARSER_STOP_FREEZE_PDU(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
+{
+ offset = parseField_Entity(tvb, tree, offset, "Originating Entity ID");
+ offset = parseField_Entity(tvb, tree, offset, "Receiving Entity ID");
+ offset = dissect_DIS_FIELDS_CLOCK_TIME(tvb, tree, offset, "Real World Time");
+
+ proto_tree_add_item(tree, hf_dis_reason, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_frozen_behavior, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_padding, tvb, offset, 2, ENC_NA);
+ offset += 2;
+
+ proto_tree_add_item(tree, hf_dis_request_id, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ return offset;
+}
+
+static int dissect_DIS_PARSER_ACKNOWLEDGE_PDU(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
+{
+ offset = parseField_Entity(tvb, tree, offset, "Originating Entity ID");
+ offset = parseField_Entity(tvb, tree, offset, "Receiving Entity ID");
+
+ proto_tree_add_item(tree, hf_dis_acknowledge_flag, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(tree, hf_dis_response_flag, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(tree, hf_dis_request_id, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ return offset;
+}
+
+static int dissect_DIS_PARSER_ACTION_REQUEST_PDU(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
+{
+ guint32 numFixed, numVariable;
+
+ offset = parseField_Entity(tvb, tree, offset, "Originating Entity ID");
+ offset = parseField_Entity(tvb, tree, offset, "Receiving Entity ID");
+
+ proto_tree_add_item(tree, hf_dis_request_id, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ proto_tree_add_item(tree, hf_dis_action_id, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ numFixed = tvb_get_ntohl(tvb, offset);
+ proto_tree_add_item(tree, hf_dis_num_fixed_data, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ numVariable = tvb_get_ntohl(tvb, offset);
+ proto_tree_add_item(tree, hf_dis_num_variable_data, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ offset = parseField_DIS_FIELDS_FIXED_DATUM(tvb, tree, offset, "Fixed data", numFixed);
+ offset = parseField_DIS_FIELDS_VARIABLE_DATUM(tvb, tree, offset, "Variable data", numVariable);
+
+ return offset;
+}
+
+static int dissect_DIS_PARSER_ACTION_RESPONSE_PDU(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
+{
+ guint32 numFixed, numVariable;
+
+ offset = parseField_Entity(tvb, tree, offset, "Originating Entity ID");
+ offset = parseField_Entity(tvb, tree, offset, "Receiving Entity ID");
+
+ proto_tree_add_item(tree, hf_dis_request_id, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ proto_tree_add_item(tree, hf_dis_request_status, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ numFixed = tvb_get_ntohl(tvb, offset);
+ proto_tree_add_item(tree, hf_dis_num_fixed_data, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ numVariable = tvb_get_ntohl(tvb, offset);
+ proto_tree_add_item(tree, hf_dis_num_variable_data, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ offset = parseField_DIS_FIELDS_FIXED_DATUM(tvb, tree, offset, "Fixed data", numFixed);
+ offset = parseField_DIS_FIELDS_VARIABLE_DATUM(tvb, tree, offset, "Variable data", numVariable);
+
+ return offset;
+}
+
+static int dissect_DIS_PARSER_EVENT_REPORT_PDU(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
+{
+ guint32 numFixed, numVariable;
+
+ offset = parseField_Entity(tvb, tree, offset, "Originating Entity ID");
+ offset = parseField_Entity(tvb, tree, offset, "Receiving Entity ID");
+
+ proto_tree_add_item(tree, hf_dis_event_type, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ proto_tree_add_item(tree, hf_dis_padding, tvb, offset, 4, ENC_NA);
+ offset += 4;
+
+ numFixed = tvb_get_ntohl(tvb, offset);
+ proto_tree_add_item(tree, hf_dis_num_fixed_data, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ numVariable = tvb_get_ntohl(tvb, offset);
+ proto_tree_add_item(tree, hf_dis_num_variable_data, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ offset = parseField_DIS_FIELDS_FIXED_DATUM(tvb, tree, offset, "Fixed data", numFixed);
+ offset = parseField_DIS_FIELDS_VARIABLE_DATUM(tvb, tree, offset, "Variable data", numVariable);
+
+ return offset;
+}
+
+static int dissect_DIS_PARSER_DATA_PDU(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
+{
+ guint32 numFixed, numVariable;
+
+ offset = parseField_Entity(tvb, tree, offset, "Originating Entity ID");
+ offset = parseField_Entity(tvb, tree, offset, "Receiving Entity ID");
+
+ proto_tree_add_item(tree, hf_dis_request_id, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ proto_tree_add_item(tree, hf_dis_padding, tvb, offset, 4, ENC_NA);
+ offset += 4;
+
+ numFixed = tvb_get_ntohl(tvb, offset);
+ proto_tree_add_item(tree, hf_dis_num_fixed_data, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ numVariable = tvb_get_ntohl(tvb, offset);
+ proto_tree_add_item(tree, hf_dis_num_variable_data, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ offset = parseField_DIS_FIELDS_FIXED_DATUM(tvb, tree, offset, "Fixed data", numFixed);
+ offset = parseField_DIS_FIELDS_VARIABLE_DATUM(tvb, tree, offset, "Variable data", numVariable);
+
+ return offset;
+}
+
+static int dissect_DIS_PARSER_DATA_QUERY_PDU(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
+{
+ guint32 numFixed, numVariable;
+
+ offset = parseField_Entity(tvb, tree, offset, "Originating Entity ID");
+ offset = parseField_Entity(tvb, tree, offset, "Receiving Entity ID");
+
+ proto_tree_add_item(tree, hf_dis_request_id, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ proto_tree_add_item(tree, hf_dis_time_interval32, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ numFixed = tvb_get_ntohl(tvb, offset);
+ proto_tree_add_item(tree, hf_dis_num_fixed_datum_id, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ numVariable = tvb_get_ntohl(tvb, offset);
+ proto_tree_add_item(tree, hf_dis_num_variable_datum_id, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ offset = parseField_DIS_FIELDS_FIXED_DATUM_IDS(tvb, tree, offset, "Fixed datum ids", numFixed);
+ offset = parseField_DIS_FIELDS_VARIABLE_DATUM_IDS(tvb, tree, offset, "Variable datum ids", numVariable);
+
+ return offset;
+}
+
+static int dissect_DIS_PARSER_AGGREGATE_STATE_PDU(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset)
+{
+ guint32 number_of_variable_datum_records;
+ proto_tree *sub_tree;
+ const guint8 *marking_text;
+ static guint32 entitySite, entityApplication, entityEntity;
+ guint16 number_of_aggregates, number_of_entities, number_of_silent_aggregates_types, padding;
+ int i;
+
+ entitySite = tvb_get_ntohs(tvb, offset);
+ entityApplication = tvb_get_ntohs(tvb, offset + 2);
+ entityEntity = tvb_get_ntohs(tvb, offset + 4);
+ col_append_fstr(pinfo->cinfo, COL_INFO, ", (%u:%u:%u)", entitySite, entityApplication, entityEntity );
+
+ offset = parseField_Aggregate(tvb, tree, offset, "Aggregate ID");
+
+ proto_tree_add_item(tree, hf_dis_force_id, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_aggregate_state, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ offset = dissect_DIS_FIELDS_AGGREGATE_TYPE(tvb, tree, offset, "Aggregate Type");
+
+ proto_tree_add_item(tree, hf_dis_aggregate_formation, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ /* TODO: Support non ASCII aggregate marking character set */
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 12, ett_aggregate_marking_text, NULL, "Aggregate Marking");
+ proto_tree_add_item(sub_tree, hf_dis_aggregate_marking_character_set, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+ proto_tree_add_item_ret_string(sub_tree, hf_dis_aggregate_marking, tvb, offset, 31, ENC_ASCII|ENC_NA, pinfo->pool, &marking_text);
+ col_append_fstr(pinfo->cinfo, COL_INFO, ", %s", marking_text);
+ offset += 31;
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 12, ett_aggregate_dimensions, NULL, "Dimensions");
+ proto_tree_add_item(sub_tree, hf_dis_aggregate_dimensions_x, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(sub_tree, hf_dis_aggregate_dimensions_y, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(sub_tree, hf_dis_aggregate_dimensions_z, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 12, ett_aggregate_orientation, NULL, "Orientation");
+ proto_tree_add_item(sub_tree, hf_dis_aggregate_orientation_psi, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(sub_tree, hf_dis_aggregate_orientation_theta, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(sub_tree, hf_dis_aggregate_orientation_phi, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 24, ett_aggregate_center_of_mass, NULL, "Center of Mass(location)");
+
+ proto_tree_add_item(sub_tree, hf_dis_aggregate_center_of_mass_x, tvb, offset, 8, ENC_BIG_ENDIAN);
+ offset += 8;
+ proto_tree_add_item(sub_tree, hf_dis_aggregate_center_of_mass_y, tvb, offset, 8, ENC_BIG_ENDIAN);
+ offset += 8;
+ proto_tree_add_item(sub_tree, hf_dis_aggregate_center_of_mass_z, tvb, offset, 8, ENC_BIG_ENDIAN);
+ offset += 8;
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 12, ett_aggregate_velocity, NULL, "Velocity");
+ proto_tree_add_item(sub_tree, hf_dis_aggregate_velocity_x, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(sub_tree, hf_dis_aggregate_velocity_y, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+ proto_tree_add_item(sub_tree, hf_dis_aggregate_velocity_z, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ number_of_aggregates = tvb_get_ntohs(tvb, offset);
+ proto_tree_add_item(tree, hf_dis_aggregate_number_of_aggregates, tvb, offset, 2, ENC_NA);
+ offset += 2;
+
+ number_of_entities = tvb_get_ntohs(tvb, offset);
+ proto_tree_add_item(tree, hf_dis_aggregate_number_of_entities, tvb, offset, 2, ENC_NA);
+ offset += 2;
+
+ number_of_silent_aggregates_types = tvb_get_ntohs(tvb, offset);
+ proto_tree_add_item(tree, hf_dis_aggregate_number_of_silent_aggregates_types, tvb, offset, 2, ENC_NA);
+ offset += 2;
+
+ proto_tree_add_item(tree, hf_dis_aggregate_number_of_silent_entity_types, tvb, offset, 2, ENC_NA);
+ offset += 2;
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 6 * number_of_aggregates, ett_aggregate_id_list, NULL, "Aggregate ID List");
+ for (i = 0; i < number_of_aggregates; i++)
+ offset = parseField_Aggregate(tvb, sub_tree, offset, "Aggregate ID");
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 6 * number_of_entities, ett_entity_id_list, NULL, "Entity ID List");
+ for (i = 0; i < number_of_entities; i++)
+ offset = parseField_Entity(tvb, sub_tree, offset, "Entity ID");
+
+ /* padding */
+ padding = (((number_of_entities + number_of_aggregates) * 16) % 2) / 8;
+ proto_tree_add_item(tree, hf_dis_padding, tvb, offset, padding, ENC_NA);
+ offset += padding;
+
+ /* TODO: complete this */
+ /* ti = proto_tree_add_text(tree, tvb, offset, 12 * number_of_silent_aggregates_types, "Silent Aggregate System List - NOT FINISHED !!!"); */
+ offset += 12 * number_of_silent_aggregates_types;
+
+ /* TODO: complete this */
+ /* ti = proto_tree_add_text(tree, tvb, offset, 0, "Silent Entity System List - NOT FINISHED !!!"); */
+ offset += 0;
+
+ number_of_variable_datum_records = tvb_get_ntohl(tvb, offset);
+ proto_tree_add_item(tree, hf_dis_aggregate_number_of_variable_datum_records, tvb, offset, 4, ENC_NA);
+ offset += 4;
+
+ offset = parseField_DIS_FIELDS_VARIABLE_DATUM(tvb, tree, offset, "Variable datum", number_of_variable_datum_records);
+ return offset;
+}
+
+static int dissect_DIS_PARSER_ENVIRONMENTAL_PROCESS_PDU(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
+{
+ proto_tree *sub_tree;
+
+ offset = parseField_Entity(tvb, tree, offset, "Environmental Process ID");
+
+ offset = dissect_DIS_FIELDS_ENVIRONMENT_TYPE(tvb, tree, offset, "Environment Type");
+
+ proto_tree_add_item(tree, hf_dis_model_type, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 1, ett_environmental_environment_status, NULL, "Environment Status");
+ proto_tree_add_item(sub_tree, hf_dis_environment_status_last, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(sub_tree, hf_dis_environment_status_on, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_environmental_number_of_environment_records, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(tree, hf_dis_environmental_sequence_number, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ return offset;
+}
+
+static int dissect_DIS_PARSER_COMMENT_PDU(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
+{
+ guint32 numFixed, numVariable;
+
+ offset = parseField_Entity(tvb, tree, offset, "Originating Entity ID");
+ offset = parseField_Entity(tvb, tree, offset, "Receiving Entity ID");
+
+ numFixed = tvb_get_ntohl(tvb, offset);
+ proto_tree_add_item(tree, hf_dis_num_fixed_data, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ numVariable = tvb_get_ntohl(tvb, offset);
+ proto_tree_add_item(tree, hf_dis_num_variable_data, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ offset = parseField_DIS_FIELDS_FIXED_DATUM(tvb, tree, offset, "Fixed data", numFixed);
+ offset = parseField_DIS_FIELDS_VARIABLE_DATUM(tvb, tree, offset, "Variable data", numVariable);
+
+ return offset;
+}
+
+static int dissect_DIS_PARSER_SIMAN_ENTITY_PDU(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
+{
+ offset = parseField_Entity(tvb, tree, offset, "Originating Entity ID");
+ offset = parseField_Entity(tvb, tree, offset, "Receiving Entity ID");
+
+ proto_tree_add_item(tree, hf_dis_request_id, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ return offset;
+}
+
+/* DIS Simulation Management with Reliability PDUs
+ */
+static int dissect_DIS_PARSER_START_RESUME_R_PDU(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
+{
+ offset = parseField_Entity(tvb, tree, offset, "Originating Entity ID");
+ offset = parseField_Entity(tvb, tree, offset, "Receiving Entity ID");
+ offset = dissect_DIS_FIELDS_CLOCK_TIME(tvb, tree, offset, "Real World Time");
+ offset = dissect_DIS_FIELDS_CLOCK_TIME(tvb, tree, offset, "Simulation Time");
+
+ proto_tree_add_item(tree, hf_dis_reliability, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_padding, tvb, offset, 3, ENC_NA);
+ offset += 3;
+
+ proto_tree_add_item(tree, hf_dis_request_id, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ return offset;
+}
+
+static int dissect_DIS_PARSER_STOP_FREEZE_R_PDU(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
+{
+ offset = parseField_Entity(tvb, tree, offset, "Originating Entity ID");
+ offset = parseField_Entity(tvb, tree, offset, "Receiving Entity ID");
+ offset = dissect_DIS_FIELDS_CLOCK_TIME(tvb, tree, offset, "Real World Time");
+
+ proto_tree_add_item(tree, hf_dis_reason, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_frozen_behavior, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_reliability, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_padding, tvb, offset, 1, ENC_NA);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_request_id, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ return offset;
+}
+
+static int dissect_DIS_PARSER_ACTION_REQUEST_R_PDU(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
+{
+ guint32 numFixed, numVariable;
+
+ offset = parseField_Entity(tvb, tree, offset, "Originating Entity ID");
+ offset = parseField_Entity(tvb, tree, offset, "Receiving Entity ID");
+
+ proto_tree_add_item(tree, hf_dis_reliability, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_padding, tvb, offset, 3, ENC_NA);
+ offset += 3;
+
+ proto_tree_add_item(tree, hf_dis_request_id, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ proto_tree_add_item(tree, hf_dis_action_id, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ numFixed = tvb_get_ntohl(tvb, offset);
+ proto_tree_add_item(tree, hf_dis_num_fixed_data, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ numVariable = tvb_get_ntohl(tvb, offset);
+ proto_tree_add_item(tree, hf_dis_num_variable_data, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ offset = parseField_DIS_FIELDS_FIXED_DATUM(tvb, tree, offset, "Fixed data", numFixed);
+ offset = parseField_DIS_FIELDS_VARIABLE_DATUM(tvb, tree, offset, "Variable data", numVariable);
+
+ return offset;
+}
+
+static int dissect_DIS_PARSER_DATA_R_PDU(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
+{
+ guint32 numFixed, numVariable;
+
+ offset = parseField_Entity(tvb, tree, offset, "Originating Entity ID");
+ offset = parseField_Entity(tvb, tree, offset, "Receiving Entity ID");
+
+ proto_tree_add_item(tree, hf_dis_reliability, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_padding, tvb, offset, 3, ENC_NA);
+ offset += 3;
+
+ proto_tree_add_item(tree, hf_dis_request_id, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ numFixed = tvb_get_ntohl(tvb, offset);
+ proto_tree_add_item(tree, hf_dis_num_fixed_data, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ numVariable = tvb_get_ntohl(tvb, offset);
+ proto_tree_add_item(tree, hf_dis_num_variable_data, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ offset = parseField_DIS_FIELDS_FIXED_DATUM(tvb, tree, offset, "Fixed data", numFixed);
+ offset = parseField_DIS_FIELDS_VARIABLE_DATUM(tvb, tree, offset, "Variable data", numVariable);
+
+ return offset;
+}
+
+static int dissect_DIS_PARSER_DATA_QUERY_R_PDU(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
+{
+ guint32 numFixed, numVariable;
+
+ offset = parseField_Entity(tvb, tree, offset, "Originating Entity ID");
+ offset = parseField_Entity(tvb, tree, offset, "Receiving Entity ID");
+
+ proto_tree_add_item(tree, hf_dis_reliability, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_padding, tvb, offset, 3, ENC_NA);
+ offset += 3;
+
+ proto_tree_add_item(tree, hf_dis_request_id, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ proto_tree_add_item(tree, hf_dis_time_interval32, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ numFixed = tvb_get_ntohl(tvb, offset);
+ proto_tree_add_item(tree, hf_dis_num_fixed_datum_id, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ numVariable = tvb_get_ntohl(tvb, offset);
+ proto_tree_add_item(tree, hf_dis_num_variable_datum_id, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ offset = parseField_DIS_FIELDS_FIXED_DATUM_IDS(tvb, tree, offset, "Fixed datum ids", numFixed);
+ offset = parseField_DIS_FIELDS_VARIABLE_DATUM_IDS(tvb, tree, offset, "Variable datum ids", numVariable);
+
+ return offset;
+}
+
+static int dissect_DIS_PARSER_SIMAN_ENTITY_R_PDU(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
+{
+ offset = parseField_Entity(tvb, tree, offset, "Originating Entity ID");
+ offset = parseField_Entity(tvb, tree, offset, "Receiving Entity ID");
+
+ proto_tree_add_item(tree, hf_dis_reliability, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_padding, tvb, offset, 3, ENC_NA);
+ offset += 3;
+
+ proto_tree_add_item(tree, hf_dis_request_id, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ return offset;
+}
+
+/* DIS Experimental V-DIS PDUs
+ */
+static int dissect_DIS_PARSER_APPLICATION_CONTROL_PDU(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
+{
+ proto_item* ti;
+ proto_tree* sub_tree;
+ guint32 i, variableRecordType;
+ guint16 variableRecordLength, numVariable;
+
+ offset = parseField_Entity(tvb, tree, offset, "Originating Entity ID");
+ offset = parseField_Entity(tvb, tree, offset, "Receiving Entity ID");
+
+ proto_tree_add_item(tree, hf_dis_reliability, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_time_interval8, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_control_id, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_padding, tvb, offset, 1, ENC_NA);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_orig_app_type, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(tree, hf_dis_recv_app_type, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(tree, hf_dis_request_id, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ proto_tree_add_item(tree, hf_dis_num_parts, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_current_part, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ numVariable = tvb_get_ntohs(tvb, offset);
+ proto_tree_add_item(tree, hf_dis_num_variable_records, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ for (i = 0; i < numVariable; i++)
+ {
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, -1, ett_record, &ti, "Record");
+
+ variableRecordType = tvb_get_ntohl(tvb, offset);
+ proto_tree_add_item(tree, hf_dis_variable_record_type, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ variableRecordLength = tvb_get_ntohs(tvb, offset);
+ proto_tree_add_item(sub_tree, hf_dis_variable_record_len, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ offset = parseField_VariableRecord(tvb, sub_tree, offset, variableRecordType, variableRecordLength);
+ proto_item_set_end(ti, tvb, offset);
+ }
+
+ return offset;
+}
+
+/* Persistent Object (PO) Family PDU parsers
+ */
+static int dissect_DIS_PARSER_SIMULATOR_PRESENT_PO_PDU(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
+{
+ offset = dissect_DIS_FIELDS_SIMULATION_ADDRESS(tvb, tree, offset, "Nominated Simulator");
+
+ proto_tree_add_item(tree, hf_dis_simulator_type, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(tree, hf_dis_padding, tvb, offset, 2, ENC_NA);
+ offset += 2;
+
+ proto_tree_add_item(tree, hf_dis_database_seq_num, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ proto_tree_add_item(tree, hf_dis_simulator_load, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ proto_tree_add_item(tree, hf_dis_simulation_load, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ proto_tree_add_item(tree, hf_dis_time, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ proto_tree_add_item(tree, hf_dis_packets_sent, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ proto_tree_add_item(tree, hf_dis_unit_database_version, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(tree, hf_dis_relative_battle_scheme, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(tree, hf_dis_terrain_name, tvb, offset, 32, ENC_ASCII);
+ offset += 32;
+
+ proto_tree_add_item(tree, hf_dis_terrain_version, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(tree, hf_dis_host_name, tvb, offset, 32, ENC_ASCII);
+ offset += 32;
+
+ return offset;
+}
+
+static int dissect_DIS_PARSER_DESCRIBE_OBJECT_PO_PDU(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
+{
+ proto_tree_add_item(tree, hf_dis_database_seq_num, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ offset = parseField_Entity(tvb, tree, offset, "Object ID");
+ offset = parseField_Entity(tvb, tree, offset, "World State ID");
+
+ offset = dissect_DIS_FIELDS_SIMULATION_ADDRESS(tvb, tree, offset, "Owner");
+
+ proto_tree_add_item(tree, hf_dis_sequence_number, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(tree, hf_dis_persist_obj_class, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_missing_from_world_state, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ return offset;
+}
+
+static int dissect_DIS_PARSER_OBJECTS_PRESENT_PO_PDU(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
+{
+ offset = dissect_DIS_FIELDS_SIMULATION_ADDRESS(tvb, tree, offset, "Owner");
+ offset = parseField_Entity(tvb, tree, offset, "World State ID");
+
+ proto_tree_add_item(tree, hf_dis_obj_count, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ return offset;
+}
+
+static int dissect_DIS_PARSER_OBJECT_REQUEST_PO_PDU(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
+{
+ offset = dissect_DIS_FIELDS_SIMULATION_ADDRESS(tvb, tree, offset, "Requesting Simulator");
+ offset = dissect_DIS_FIELDS_SIMULATION_ADDRESS(tvb, tree, offset, "Object Owner");
+ offset = parseField_Entity(tvb, tree, offset, "World State ID");
+
+ proto_tree_add_item(tree, hf_dis_obj_count, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ return offset;
+}
+
+static int dissect_DIS_PARSER_DELETE_OBJECTS_PO_PDU(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
+{
+ offset = dissect_DIS_FIELDS_SIMULATION_ADDRESS(tvb, tree, offset, "Requesting Simulator");
+
+ proto_tree_add_item(tree, hf_dis_obj_count, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ return offset;
+}
+
+static int dissect_DIS_PARSER_SET_WORLD_STATE_PO_PDU(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
+{
+ offset = dissect_DIS_FIELDS_SIMULATION_ADDRESS(tvb, tree, offset, "Requesting Simulator");
+
+ proto_tree_add_item(tree, hf_dis_clock_rate, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ proto_tree_add_item(tree, hf_dis_sec_since_1970, tvb, offset, 4, ENC_BIG_ENDIAN);
+ offset += 4;
+
+ offset = parseField_Entity(tvb, tree, offset, "World State ID");
+
+ return offset;
+}
+
+static int dissect_DIS_PARSER_NOMINATION_PO_PDU(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
+{
+ offset = dissect_DIS_FIELDS_SIMULATION_ADDRESS(tvb, tree, offset, "Nominated Simulator");
+ offset = dissect_DIS_FIELDS_SIMULATION_ADDRESS(tvb, tree, offset, "Nominating Simulator");
+ offset = dissect_DIS_FIELDS_SIMULATION_ADDRESS(tvb, tree, offset, "Missing Simulator");
+
+ return offset;
+}
+
+
+/* Adjust an offset variable for proper alignment for a specified field length.
+ */
+static gint alignOffset(gint offset, guint fieldLength)
+{
+ gint remainder = offset % fieldLength;
+ if (remainder != 0)
+ {
+ offset += fieldLength - remainder;
+ }
+ return offset;
+}
+
+/* Parse the Timestamp -- defined in spec in microseconds: DIS 1278.1-2012: sec 5.2.5, detailed in sec 6.2.88 */
+static gint parseField_Timestamp(tvbuff_t *tvb, proto_tree *tree, gint offset, int hf_relative)
+{
+ /* some consts */
+ static guint USEC_PER_HOUR = (guint)3600 * (guint)1000000;
+ static guint FSV = 0x7fffffff; /* 2^31-1 */
+ /* variables */
+ guint isAbsolute = 0;
+ guint32 uintVal;
+ guint64 usec;
+ nstime_t tv;
+ proto_item* ti;
+
+ /* used in timestamp formatting for display */
+ guint minutes;
+ guint seconds;
+ guint micros;
+
+
+ offset = alignOffset(offset, 4);
+
+ /* convert to host value */
+ uintVal = tvb_get_ntohl(tvb, offset);
+ /* determine absolute vis sim time */
+ isAbsolute = uintVal & 1;
+
+ /* convert TS to uSec */
+ usec = (guint64)((uintVal >> 1) * (double)(USEC_PER_HOUR) / FSV);
+
+ tv.secs = (time_t)usec / 1000000;
+ tv.nsecs = (int)(usec % 1000000) * 1000;
+
+ /* in addition to the time value calculation, obtain values
+ * to use in display formatting. The time value is still
+ * needed to pass along -- these below values are strictly
+ * for display.
+ */
+ minutes = (guint)((usec / 1000000) / 60);
+ seconds = (guint)((usec - (minutes * 60 * 1000000)) / 1000000);
+ micros = (guint)(usec - (minutes * 60 * 1000000) - (seconds * 1000000));
+
+ ti = proto_tree_add_time_format_value(tree, hf_relative, tvb, offset, 4, &tv, "%02u:%02u.%06u", minutes, seconds, micros);
+
+ if (isAbsolute)
+ {
+ proto_item_append_text(ti, " (absolute)");
+ }
+ else
+ {
+ proto_item_append_text(ti, " (relative)");
+ }
+
+ return (offset+4);
+}
+
+/* Parse an Entity */
+static gint parseField_Entity(tvbuff_t *tvb, proto_tree *tree, gint offset, const char* entity_name)
+{
+ proto_tree *sub_tree;
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 6, ett_entity, NULL, entity_name);
+
+ proto_tree_add_item(sub_tree, hf_dis_entity_id_site, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(sub_tree, hf_dis_entity_id_application, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(sub_tree, hf_dis_entity_id_entity, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ return offset;
+}
+
+static gint parseField_Aggregate(tvbuff_t *tvb, proto_tree *tree, gint offset, const char* entity_name)
+{
+ proto_tree *sub_tree;
+
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 6, ett_entity, NULL, entity_name);
+
+ proto_tree_add_item(sub_tree, hf_dis_aggregate_id_site, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(sub_tree, hf_dis_aggregate_id_application, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(sub_tree, hf_dis_aggregate_id_aggregate, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ return offset;
+}
+
+/* Parse a variable parameter field.
+ */
+static gint parseField_VariableParameter(tvbuff_t *tvb, proto_tree *tree, gint offset, guint8 paramType)
+{
+ /* Determine the parser to use based on the type */
+ switch (paramType) {
+ case DIS_PARAM_TYPE_DESIG_ARTICULATED_PART:
+ offset = dissect_DIS_FIELDS_VP_ARTICULATED_PART(tvb, tree, offset);
+ break;
+ case DIS_PARAM_TYPE_DESIG_ATTACHED_PART:
+ offset = dissect_DIS_FIELDS_VP_ATTACHED_PART(tvb, tree, offset);
+ break;
+ case DIS_PARAM_TYPE_DESIG_ENTITY_OFFSET:
+ offset = dissect_DIS_FIELDS_VP_ENTITY_OFFSET(tvb, tree, offset);
+ break;
+ case DIS_PARAM_TYPE_DESIG_ENTITY_ASSOCIATION:
+ offset = dissect_DIS_FIELDS_VP_ENTITY_ASSOCIATION(tvb, tree, offset);
+ break;
+ default:
+ proto_tree_add_item(tree, hf_dis_str_data, tvb, offset, 15, ENC_NA);
+ offset += 15;
+ break;
+ }
+
+ return offset;
+}
+
+/* Parse a variable record field.
+ */
+static gint parseField_VariableRecord(tvbuff_t *tvb, proto_tree *tree, gint offset, guint32 variableRecordType, guint16 record_length)
+{
+ /* Determine the parser to use based on the type */
+ switch (variableRecordType) {
+ case 47200:
+ offset = dissect_DIS_FIELDS_VR_APPLICATION_HEALTH_STATUS(tvb, tree, offset);
+ break;
+ case 47300:
+ offset = dissect_DIS_FIELDS_VR_APPLICATION_INITIALIZATION(tvb, tree, offset);
+ break;
+ case 47600:
+ offset = dissect_DIS_FIELDS_VR_DATA_QUERY(tvb, tree, offset);
+ break;
+ default:
+ {
+
+ int dataLength = record_length - 6;
+
+ if (dataLength > 0)
+ {
+ proto_tree_add_item(tree, hf_dis_record_data, tvb, offset, dataLength, ENC_NA);
+ offset += dataLength;
+ }
+ }
+ break;
+ }
+
+ /* Should alignment padding be added */
+ if (record_length % 8)
+ {
+ guint32 alignmentPadding = (8 - (record_length % 8));
+
+ proto_tree_add_item(tree, hf_dis_alignment_padding, tvb, offset, alignmentPadding, ENC_NA);
+ offset += alignmentPadding;
+ }
+
+ return offset;
+}
+
+void proto_register_dis(void);
+
+static dissector_handle_t dis_dissector_handle;
+
+static const true_false_string dis_modulation_spread_spectrum = {
+ "Spread Spectrum modulation in use",
+ "Spread Spectrum modulation not in use"
+};
+
+static const true_false_string dis_frequency_hopping_value = {
+ "Frequency hopping modulation used",
+ "Frequency hopping modulation not used"
+};
+
+static const true_false_string dis_encryption_mode_value = {
+ "diphase encryption mode",
+ "baseband encryption mode"
+};
+
+static const true_false_string dis_pseudo_noise_value = {
+ "Pseudo Noise modulation used",
+ "Pseudo Noise modulation not used"
+};
+
+static const true_false_string dis_time_hopping_value = {
+ "Time hopping modulation used",
+ "Time hopping modulation not used"
+};
+
+static int parsePDUStatus(tvbuff_t *tvb, proto_tree *tree, int offset, dis_header_t* header)
+{
+ if ((header->pduType == DIS_PDUTYPE_ENTITY_STATE)
+ || (header->pduType == DIS_PDUTYPE_ELECTROMAGNETIC_EMISSION)
+ || (header->pduType == DIS_PDUTYPE_DESIGNATOR)
+ || (header->pduType == DIS_PDUTYPE_ENVIRONMENTAL_PROCESS)
+ || (header->pduType == DIS_PDUTYPE_ENTITY_STATE_UPDATE))
+ {
+ proto_tree_add_item(tree, hf_pdu_status_cei, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(tree, hf_pdu_status_lvc, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(tree, hf_pdu_status_tei, tvb, offset, 1, ENC_BIG_ENDIAN);
+ }
+ else if (header->pduType == DIS_PDUTYPE_FIRE)
+ {
+ proto_tree_add_item(tree, hf_pdu_status_fti, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(tree, hf_pdu_status_cei, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(tree, hf_pdu_status_lvc, tvb, offset, 1, ENC_BIG_ENDIAN);
+ }
+ else if (header->pduType == DIS_PDUTYPE_DETONATION)
+ {
+ proto_tree_add_item(tree, hf_pdu_status_dti, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(tree, hf_pdu_status_cei, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(tree, hf_pdu_status_lvc, tvb, offset, 1, ENC_BIG_ENDIAN);
+ }
+ else if (((header->pduType >= DIS_PDUTYPE_COLLISION) && (header->pduType <= DIS_PDUTYPE_COMMENT))
+ || ((header->pduType >= DIS_PDUTYPE_UNDERWATER_ACOUSTIC) && (header->pduType <= DIS_PDUTYPE_SUPPLEMENTAL_EMISSION_ENTITY_STATE))
+ || ((header->pduType >= DIS_PDUTYPE_AGGREGATE_STATE) && (header->pduType <= DIS_PDUTYPE_MINEFIELD_RESPONSE_NACK))
+ || ((header->pduType >= DIS_PDUTYPE_GRIDDED_DATA) && (header->pduType <= DIS_PDUTYPE_COLLISION_ELASTIC))
+ || ((header->pduType >= DIS_PDUTYPE_DIRECTED_ENERGY_FIRE) && (header->pduType <= DIS_PDUTYPE_INFORMATION_OPERATIONS_REPORT)))
+ {
+ proto_tree_add_item(tree, hf_pdu_status_cei, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(tree, hf_pdu_status_lvc, tvb, offset, 1, ENC_BIG_ENDIAN);
+ }
+ else if ((header->pduType >= DIS_PDUTYPE_TRANSMITTER) && (header->pduType <= DIS_PDUTYPE_RECEIVER))
+ {
+ proto_tree_add_item(tree, hf_pdu_status_rai, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(tree, hf_pdu_status_cei, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(tree, hf_pdu_status_lvc, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(tree, hf_pdu_status_tei, tvb, offset, 1, ENC_BIG_ENDIAN);
+ }
+ else if (header->pduType == DIS_PDUTYPE_IFF)
+ {
+ proto_tree_add_item(tree, hf_pdu_status_aii, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(tree, hf_pdu_status_ism, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(tree, hf_pdu_status_cei, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(tree, hf_pdu_status_lvc, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(tree, hf_pdu_status_tei, tvb, offset, 1, ENC_BIG_ENDIAN);
+ }
+ else if ((header->pduType == DIS_PDUTYPE_INTERCOM_SIGNAL)
+ || (header->pduType == DIS_PDUTYPE_INTERCOM_CONTROL))
+ {
+ proto_tree_add_item(tree, hf_pdu_status_iai, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(tree, hf_pdu_status_cei, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(tree, hf_pdu_status_lvc, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(tree, hf_pdu_status_tei, tvb, offset, 1, ENC_BIG_ENDIAN);
+ }
+ else if (header->pduType == DIS_PDUTYPE_ATTRIBUTE)
+ {
+ proto_tree_add_item(tree, hf_pdu_status_lvc, tvb, offset, 1, ENC_BIG_ENDIAN);
+ }
+ else
+ {
+ proto_tree_add_item(tree, hf_pdu_status_field, tvb, offset, 1, ENC_BIG_ENDIAN);
+ }
+
+ return ++offset;
+}
+
+static int parseDISHeader(tvbuff_t *tvb, proto_tree *tree, int offset, dis_header_t* header)
+{
+ proto_tree *pdu_status;
+ proto_tree *pdu_status_tree;
+
+ proto_tree_add_item(tree, hf_dis_proto_ver, tvb, offset, 1, ENC_BIG_ENDIAN);
+ header->version = tvb_get_guint8(tvb, offset);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_exercise_id, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_pdu_type, tvb, offset, 1, ENC_BIG_ENDIAN);
+ header->pduType = tvb_get_guint8(tvb, offset);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_proto_fam, tvb, offset, 1, ENC_BIG_ENDIAN);
+ header->family = tvb_get_guint8(tvb, offset);
+ offset++;
+
+ offset = parseField_Timestamp(tvb, tree, offset, hf_dis_header_rel_ts);
+
+ proto_tree_add_item(tree, hf_dis_pdu_length, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ /* starting in DIS v7, the high-order byte of padding is
+ * converted to a status bitmap field
+ */
+ if (header->version < DIS_VERSION_IEEE_1278_1_2012)
+ {
+ proto_tree_add_item(tree, hf_dis_padding, tvb, offset, 2, ENC_NA);
+ offset += 2;
+ }
+ else
+ {
+ /* add a node to contain the PDU status fields
+ */
+ pdu_status = proto_tree_add_item(tree, hf_dis_pdu_status, tvb, offset, 1, ENC_NA);
+ pdu_status_tree = proto_item_add_subtree(pdu_status, ett_pdu_status);
+ offset = parsePDUStatus(tvb, pdu_status_tree, offset, header);
+
+ /* ... and now, the one-byte of padding */
+ proto_tree_add_item(tree, hf_dis_padding, tvb, offset, 1, ENC_NA);
+ offset++;
+ }
+
+ return offset;
+}
+
+static int parsePOHeader(tvbuff_t *tvb, proto_tree *tree, int offset, guint8* pduType)
+{
+ proto_tree_add_item(tree, hf_dis_po_ver, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_po_pdu_type, tvb, offset, 1, ENC_BIG_ENDIAN);
+ *pduType = tvb_get_guint8(tvb, offset);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_exercise_id, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_po_database_id, tvb, offset, 1, ENC_BIG_ENDIAN);
+ offset++;
+
+ proto_tree_add_item(tree, hf_dis_po_length, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ proto_tree_add_item(tree, hf_dis_po_pdu_count, tvb, offset, 2, ENC_BIG_ENDIAN);
+ offset += 2;
+
+ return offset;
+}
+
+
+static gint parse_persistent_pdu_payload(tvbuff_t* tvb, packet_info* pinfo, proto_tree* tree, gint offset, guint8 persistentObjectPduType)
+{
+ switch (persistentObjectPduType)
+ {
+ case DIS_PERSISTENT_OBJECT_TYPE_SIMULATOR_PRESENT:
+ return dissect_DIS_PARSER_SIMULATOR_PRESENT_PO_PDU(tvb, pinfo, tree, offset);
+ case DIS_PERSISTENT_OBJECT_TYPE_DESCRIBE_OBJECT:
+ return dissect_DIS_PARSER_DESCRIBE_OBJECT_PO_PDU(tvb, pinfo, tree, offset);
+ case DIS_PERSISTENT_OBJECT_TYPE_OBJECTS_PRESENT:
+ return dissect_DIS_PARSER_OBJECTS_PRESENT_PO_PDU(tvb, pinfo, tree, offset);
+ case DIS_PERSISTENT_OBJECT_TYPE_OBJECT_REQUEST:
+ return dissect_DIS_PARSER_OBJECT_REQUEST_PO_PDU(tvb, pinfo, tree, offset);
+ case DIS_PERSISTENT_OBJECT_TYPE_DELETE_OBJECTS:
+ return dissect_DIS_PARSER_DELETE_OBJECTS_PO_PDU(tvb, pinfo, tree, offset);
+ case DIS_PERSISTENT_OBJECT_TYPE_SET_WORLD_STATE:
+ return dissect_DIS_PARSER_SET_WORLD_STATE_PO_PDU(tvb, pinfo, tree, offset);
+ case DIS_PERSISTENT_OBJECT_TYPE_NOMINATION:
+ return dissect_DIS_PARSER_NOMINATION_PO_PDU(tvb, pinfo, tree, offset);
+ default:
+ return offset;
+ }
+}
+
+static gint parse_pdu_payload(tvbuff_t* tvb, packet_info* pinfo, proto_tree* tree, gint offset, guint8 pduType)
+{
+ switch (pduType)
+ {
+ /* DIS Entity Information / Interaction PDUs */
+ case DIS_PDUTYPE_ENTITY_STATE:
+ return dissect_DIS_PARSER_ENTITY_STATE_PDU(tvb, pinfo, tree, offset);
+ case DIS_PDUTYPE_COLLISION:
+ return dissect_DIS_PARSER_COLLISION_PDU(tvb, pinfo, tree, offset);
+ /* DIS Distributed Emission Regeneration PDUs */
+ case DIS_PDUTYPE_ELECTROMAGNETIC_EMISSION:
+ return dissect_DIS_PARSER_ELECTROMAGNETIC_EMISSION_PDU(tvb, pinfo, tree, offset);
+ case DIS_PDUTYPE_UNDERWATER_ACOUSTIC:
+ return dissect_DIS_PARSER_UNDERWATER_ACOUSTIC_PDU(tvb, pinfo, tree, offset);
+
+ /* IFF PDU needs the header information to be parsed, so it is handled separately.
+ * case DIS_PDUTYPE_IFF:
+ */
+
+ case DIS_PDUTYPE_DESIGNATOR:
+ return dissect_DIS_PARSER_DESIGNATOR_PDU(tvb, pinfo, tree, offset);
+ /* DIS Radio Communications protocol (RCP) family PDUs */
+ case DIS_PDUTYPE_TRANSMITTER:
+ return dissect_DIS_PARSER_TRANSMITTER_PDU(tvb, pinfo, tree, offset);
+ case DIS_PDUTYPE_SIGNAL:
+ case DIS_PDUTYPE_INTERCOM_SIGNAL:
+ return dissect_DIS_PARSER_SIGNAL_PDU(tvb, pinfo, tree, offset);
+ case DIS_PDUTYPE_RECEIVER:
+ return dissect_DIS_PARSER_RECEIVER_PDU(tvb, pinfo, tree, offset);
+ case DIS_PDUTYPE_INTERCOM_CONTROL:
+ return dissect_DIS_PARSER_INTERCOM_CONTROL_PDU(tvb, pinfo, tree, offset);
+ /* DIS Warfare PDUs */
+ case DIS_PDUTYPE_FIRE:
+ return dissect_DIS_PARSER_FIRE_PDU(tvb, pinfo, tree, offset);
+ case DIS_PDUTYPE_DETONATION:
+ /* TODO: Version 7 (header.version >= DIS_VERSION_IEEE_1278_1_2012)
+ * changed the Detonation PDU format
+ * Need a different parser
+ */
+ return dissect_DIS_PARSER_DETONATION_PDU(tvb, pinfo, tree, offset);
+ /* DIS Simulation Management PDUs */
+ case DIS_PDUTYPE_START_RESUME:
+ return dissect_DIS_PARSER_START_RESUME_PDU(tvb, pinfo, tree, offset);
+ case DIS_PDUTYPE_STOP_FREEZE:
+ return dissect_DIS_PARSER_STOP_FREEZE_PDU(tvb, pinfo, tree, offset);
+ case DIS_PDUTYPE_ACKNOWLEDGE:
+ return dissect_DIS_PARSER_ACKNOWLEDGE_PDU(tvb, pinfo, tree, offset);
+ case DIS_PDUTYPE_ACTION_REQUEST:
+ return dissect_DIS_PARSER_ACTION_REQUEST_PDU(tvb, pinfo, tree, offset);
+ case DIS_PDUTYPE_ACTION_RESPONSE:
+ return dissect_DIS_PARSER_ACTION_RESPONSE_PDU(tvb, pinfo, tree, offset);
+ case DIS_PDUTYPE_DATA:
+ case DIS_PDUTYPE_SET_DATA:
+ return dissect_DIS_PARSER_DATA_PDU(tvb, pinfo, tree, offset);
+ case DIS_PDUTYPE_EVENT_REPORT:
+ return dissect_DIS_PARSER_EVENT_REPORT_PDU(tvb, pinfo, tree, offset);
+ case DIS_PDUTYPE_DATA_QUERY:
+ return dissect_DIS_PARSER_DATA_QUERY_PDU(tvb, pinfo, tree, offset);
+ case DIS_PDUTYPE_COMMENT:
+ return dissect_DIS_PARSER_COMMENT_PDU(tvb, pinfo, tree, offset);
+ case DIS_PDUTYPE_CREATE_ENTITY:
+ case DIS_PDUTYPE_REMOVE_ENTITY:
+ return dissect_DIS_PARSER_SIMAN_ENTITY_PDU(tvb, pinfo, tree, offset);
+ /* DIS Simulation Management with Reliability PDUs */
+ case DIS_PDUTYPE_START_RESUME_R:
+ return dissect_DIS_PARSER_START_RESUME_R_PDU(tvb, pinfo, tree, offset);
+ case DIS_PDUTYPE_STOP_FREEZE_R:
+ return dissect_DIS_PARSER_STOP_FREEZE_R_PDU(tvb, pinfo, tree, offset);
+ case DIS_PDUTYPE_ACKNOWLEDGE_R:
+ return dissect_DIS_PARSER_ACKNOWLEDGE_PDU(tvb, pinfo, tree, offset);
+ case DIS_PDUTYPE_ACTION_REQUEST_R:
+ return dissect_DIS_PARSER_ACTION_REQUEST_R_PDU(tvb, pinfo, tree, offset);
+ case DIS_PDUTYPE_ACTION_RESPONSE_R:
+ return dissect_DIS_PARSER_ACTION_RESPONSE_PDU(tvb, pinfo, tree, offset);
+ case DIS_PDUTYPE_DATA_R:
+ case DIS_PDUTYPE_SET_DATA_R:
+ return dissect_DIS_PARSER_DATA_R_PDU(tvb, pinfo, tree, offset);
+ case DIS_PDUTYPE_DATA_QUERY_R:
+ return dissect_DIS_PARSER_DATA_QUERY_R_PDU(tvb, pinfo, tree, offset);
+ case DIS_PDUTYPE_COMMENT_R:
+ return dissect_DIS_PARSER_COMMENT_PDU(tvb, pinfo, tree, offset);
+ case DIS_PDUTYPE_CREATE_ENTITY_R:
+ case DIS_PDUTYPE_REMOVE_ENTITY_R:
+ return dissect_DIS_PARSER_SIMAN_ENTITY_R_PDU(tvb, pinfo, tree, offset);
+ case DIS_PDUTYPE_ENTITY_STATE_UPDATE:
+ return dissect_DIS_PARSER_ENTITY_STATE_UPDATE_PDU(tvb, pinfo, tree, offset);
+ /* DIS Experimental V-DIS PDUs */
+ case DIS_PDUTYPE_APPLICATION_CONTROL:
+ return dissect_DIS_PARSER_APPLICATION_CONTROL_PDU(tvb, pinfo, tree, offset);
+ case DIS_PDUTYPE_ENVIRONMENTAL_PROCESS:
+ return dissect_DIS_PARSER_ENVIRONMENTAL_PROCESS_PDU(tvb, pinfo, tree, offset);
+ case DIS_PDUTYPE_AGGREGATE_STATE:
+ return dissect_DIS_PARSER_AGGREGATE_STATE_PDU(tvb, pinfo, tree, offset);
+ default:
+ return offset;
+ }
+}
+
+/* Main dissector routine to be invoked for a DIS PDU.
+ */
+static gint dissect_dis(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
+{
+ proto_tree *dis_tree, *dis_header_tree;
+ proto_item *dis_node;
+ proto_tree *dis_payload_tree = NULL;
+ proto_item *dis_payload_node = NULL;
+
+ gint offset = 0;
+ gint offsetBeforePayloadParse = 0;
+
+ const gchar *pduString = 0;
+
+ dis_header_t header;
+ guint8 persistentObjectPduType;
+
+ /* DIS packets must be at least 12 bytes long. DIS uses port 3000, by
+ * default, but the Cisco Redundant Link Management protocol can also use
+ * that port; RLM packets are 8 bytes long, so we use this to distinguish
+ * between them.
+ */
+ if (tvb_reported_length(tvb) < 12)
+ {
+ return 0;
+ }
+
+ /* set the protocol column */
+ col_set_str(pinfo->cinfo, COL_PROTOCOL, "DIS");
+ col_clear(pinfo->cinfo, COL_INFO);
+
+ /* Add the top-level DIS node under which the rest of the fields will be
+ * displayed.
+ */
+ dis_node = proto_tree_add_item(tree, proto_dis, tvb, offset, -1, ENC_NA);
+ dis_tree = proto_item_add_subtree(dis_node, ett_dis);
+
+ /* Add a node to contain the DIS header fields.
+ */
+ dis_header_tree = proto_tree_add_subtree(dis_tree, tvb, offset, 12, ett_dis_header, NULL, "Header");
+ offset = parseDISHeader(tvb, dis_header_tree, offset, &header);
+
+ /* Locate the string name for the PDU type enumeration,
+ * or default to "Unknown".
+ */
+ pduString = val_to_str_ext_const(header.pduType, &DIS_PDU_Type_Strings_Ext, "Unknown");
+
+ /* set the basic info column (pdu type) */
+ col_add_fstr(pinfo->cinfo, COL_INFO, "PDUType: %d \t ", header.pduType);
+
+ /* Locate the appropriate PDU parser, if type is known.
+ */
+ if (header.family == DIS_PROTOCOLFAMILY_PERSISTENT_OBJECT)
+ {
+ proto_item *dis_po_header_tree;
+
+ dis_po_header_tree = proto_tree_add_subtree(dis_header_tree, tvb, offset, 8, ett_dis_po_header, NULL, "PO Header");
+ offset = parsePOHeader(tvb, dis_po_header_tree, offset, &persistentObjectPduType);
+ /* Locate the string name for the PO PDU type enumeration,
+ * or default to "Unknown".
+ */
+ pduString = val_to_str_const(persistentObjectPduType, DIS_PDU_PersistentObjectType_Strings, "Unknown");
+
+ /* Append name of persistent PDU to the basic info column */
+ col_append_str(pinfo->cinfo, COL_INFO, pduString);
+
+ /* Add a node to contain the DIS PDU fields.
+ */
+ dis_payload_tree = proto_tree_add_subtree_format(dis_tree, tvb, offset, -1,
+ ett_dis_payload, &dis_payload_node, "%s PO PDU", pduString);
+
+ offsetBeforePayloadParse = offset;
+ /* Parse using the appropriate PO PDU parser, if type is known.
+ */
+ offset = parse_persistent_pdu_payload(tvb, pinfo, dis_payload_tree, offset, persistentObjectPduType);
+ }
+ else
+ {
+ /* Append name of persistent PDU to the basic info column */
+ col_append_str(pinfo->cinfo, COL_INFO, pduString);
+
+ /* Add a node to contain the DIS PDU fields.
+ */
+ dis_payload_tree = proto_tree_add_subtree_format(dis_tree, tvb, offset, -1,
+ ett_dis_payload, &dis_payload_node, "%s PDU", pduString);
+
+ offsetBeforePayloadParse = offset;
+
+ if (header.pduType == DIS_PDUTYPE_IFF)
+ {
+ offset = dissect_DIS_PARSER_IFF_PDU(tvb, pinfo, dis_payload_tree, offset, &header);
+ }
+ else
+ {
+ offset = parse_pdu_payload(tvb, pinfo, dis_payload_tree, offset, header.pduType);
+ }
+ }
+
+ /* If pdu parsing moved the offset, then set the length.
+ */
+ if (offset != offsetBeforePayloadParse)
+ {
+ proto_item_set_end(dis_payload_node, tvb, offset);
+ }
+
+ return tvb_captured_length(tvb);
+}
+
+/* Registration routine for the DIS protocol.
+ */
+void proto_reg_handoff_dis(void);
+
+void proto_register_dis(void)
+{
+
+/* registration with the filtering engine */
+ static hf_register_info hf[] =
+ {
+ { &hf_dis_proto_ver,
+ { "Proto version", "dis.proto_ver",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_ProtocolVersion_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_exercise_id,
+ { "Exercise ID", "dis.exer_id",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_pdu_type,
+ { "PDU type", "dis.pdu_type",
+ FT_UINT8, BASE_DEC|BASE_EXT_STRING, &DIS_PDU_Type_Strings_Ext, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_proto_fam,
+ { "Proto Family", "dis.proto_fam",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_ProtocolFamily_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_header_rel_ts,
+ { "Timestamp", "dis.timestamp",
+ FT_RELATIVE_TIME, BASE_NONE, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_pdu_length,
+ { "PDU Length", "dis.pdu_length",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_pdu_status,
+ { "PDU Status", "dis.pdu_status",
+ FT_UINT8, BASE_HEX, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_pdu_status_tei,
+ { "TEI", "dis.pdustatus.tei",
+ FT_UINT8, BASE_HEX, VALS(dis_pdu_status_tei_vals), 0x01,
+ NULL, HFILL }
+ },
+ { &hf_pdu_status_lvc,
+ { "LVC", "dis.pdustatus.lvc",
+ FT_UINT8, BASE_HEX, VALS(dis_pdu_status_lvc_vals), 0x06,
+ NULL, HFILL }
+ },
+ { &hf_pdu_status_cei,
+ { "CEI", "dis.pdustatus.cei",
+ FT_UINT8, BASE_HEX, VALS(dis_pdu_status_cei_vals), 0x08,
+ NULL, HFILL }
+ },
+ { &hf_pdu_status_fti,
+ { "FTI", "dis.pdustatus.fti",
+ FT_UINT8, BASE_HEX, VALS(dis_pdu_status_fti_vals), 0x10,
+ NULL, HFILL }
+ },
+ { &hf_pdu_status_dti,
+ { "DTI", "dis.pdustatus.dti",
+ FT_UINT8, BASE_HEX, VALS(dis_pdu_status_dti_vals), 0x30,
+ NULL, HFILL }
+ },
+ { &hf_pdu_status_rai,
+ { "RAI", "dis.pdustatus.rai",
+ FT_UINT8, BASE_HEX, VALS(dis_pdu_status_rai_vals), 0x30,
+ NULL, HFILL }
+ },
+ { &hf_pdu_status_iai,
+ { "IAI", "dis.pdustatus.iai",
+ FT_UINT8, BASE_HEX, VALS(dis_pdu_status_iai_vals), 0x30,
+ NULL, HFILL }
+ },
+ { &hf_pdu_status_ism,
+ { "ISM", "dis.pdustatus.ism",
+ FT_UINT8, BASE_HEX, VALS(dis_pdu_status_ism_vals), 0x10,
+ NULL, HFILL }
+ },
+ { &hf_pdu_status_aii,
+ { "AII", "dis.pdustatus.aii",
+ FT_UINT8, BASE_HEX, VALS(dis_pdu_status_aii_vals), 0x20,
+ NULL, HFILL }
+ },
+ { &hf_pdu_status_field,
+ { "not implemented for this PDU type", "dis.pdu_status.field",
+ FT_UINT8, BASE_HEX, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_padding,
+ { "Padding", "dis.padding",
+ FT_BYTES, BASE_NONE, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_po_ver,
+ { "Protocol Version", "dis.po.version",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_po_pdu_type,
+ { "PO PDU Type", "dis.po.pdu_type",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_PersistentObjectType_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_po_database_id,
+ { "PO Database ID", "dis.po.database_id",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_po_length,
+ { "Length", "dis.po.length",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_po_pdu_count,
+ { "PDU Count", "dis.po.pdu_count",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_entity_id_site,
+ { "Entity ID Site", "dis.entity_id_site",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_entity_id_application,
+ { "Entity ID Application", "dis.entity_id_application",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_entity_id_entity,
+ { "Entity ID Entity", "dis.entity_id_entity",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_emitter_id,
+ { "Emitter ID", "dis.emitter_id",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_beam_id,
+ { "Beam ID", "dis.beam_id",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_clocktime,
+ { "Timestamp", "dis.clocktime",
+ FT_RELATIVE_TIME, BASE_NONE, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_num_art_params,
+ { "Number of Articulation Parameters", "dis.num_articulation_params",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_entityKind,
+ { "Kind", "dis.entityKind",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_EntityKind_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_entityDomain,
+ { "Domain", "dis.entityDomain",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_Domain_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_category_land,
+ { "Category / Land", "dis.category.land",
+ FT_UINT8, BASE_DEC|BASE_EXT_STRING, &DIS_PDU_Category_LandPlatform_Strings_Ext, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_category_air,
+ { "Category / Air", "dis.category.air",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_Category_AirPlatform_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_category_surface,
+ { "Category / Surface", "dis.category.surface",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_Category_SurfacePlatform_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_category_subsurface,
+ { "Category / Subsurface", "dis.category.subsurface",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_Category_SubsurfacePlatform_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_category_space,
+ { "Category / Space", "dis.category.space",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_Category_SpacePlatform_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_category,
+ { "Category", "dis.category",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_subcategory,
+ { "Subcategory", "dis.subcategory",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_specific,
+ { "Specific", "dis.specific",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_extra,
+ { "Extra", "dis.extra",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_reason,
+ { "Reason", "dis.reason",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_Reason_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_frozen_behavior,
+ { "Frozen Behavior", "dis.frozen_behavior",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_FrozenBehavior_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_acknowledge_flag,
+ { "Acknowledge Flag", "dis.acknowledge_flag",
+ FT_UINT16, BASE_DEC, VALS(DIS_PDU_AcknowledgeFlag_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_response_flag,
+ { "Response Flag", "dis.response_flag",
+ FT_UINT16, BASE_DEC, VALS(DIS_PDU_DisResponseFlag_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_site,
+ { "Site", "dis.site",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_request_id,
+ { "Request ID", "dis.request_id",
+ FT_UINT32, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_application,
+ { "Application", "dis.application",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_num_fixed_data,
+ { "Number of Fixed Data Fields", "dis.num_fixed_data",
+ FT_UINT32, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_num_variable_data,
+ { "Number of Variable Data Fields", "dis.num_variable_data",
+ FT_UINT32, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_action_id,
+ { "Action ID", "dis.action_id",
+ FT_UINT32, BASE_DEC|BASE_EXT_STRING, &DIS_PDU_ActionId_Strings_Ext, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_request_status,
+ { "Request Status", "dis.request_status",
+ FT_UINT32, BASE_DEC, VALS(DIS_PDU_RequestStatus_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_datum_id,
+ { "Datum ID", "dis.datum_id",
+ FT_UINT32, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_fixed_datum_value,
+ { "Datum value", "dis.fixed_datum_value",
+ FT_BYTES, BASE_NONE, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_fixed_datum_value_as_uint,
+ { "Datum value as uint", "dis.fixed_datum_value_as_uint",
+ FT_UINT32, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_fixed_datum_value_as_float,
+ { "Datum value as float", "dis.fixed_datum_value_as_float",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_fixed_datum_value_as_int,
+ { "Datum value as int", "dis.fixed_datum_value_as_int",
+ FT_INT32, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_event_type,
+ { "Event Type", "dis.event_type",
+ FT_UINT32, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_datum_length,
+ { "Datum length", "dis.datum_length",
+ FT_UINT32, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_variable_datum_value,
+ { "Datum value", "dis.variable_datum_value",
+ FT_BYTES, BASE_NONE, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_variable_datum_value_as_text,
+ { "Datum value as text", "dis.hf_dis_variable_datum_value_as_text",
+ FT_STRING, BASE_NONE, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_num_fixed_datum_id,
+ { "Number of Fixed Datum Ids", "dis.num_fixed_datum_id",
+ FT_UINT32, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_num_variable_datum_id,
+ { "Number of Variable Datum Ids", "dis.num_variable_datum_id",
+ FT_UINT32, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_reliability,
+ { "Reliability", "dis.reliability",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_RequiredReliabilityService_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_control_id,
+ { "Control ID", "dis.control_id",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_ControlId_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_orig_app_type,
+ { "Originating App Type", "dis.orig_app_type",
+ FT_UINT16, BASE_DEC, VALS(DIS_PDU_ApplicationType_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_recv_app_type,
+ { "Receiving App Type", "dis.recv_app_type",
+ FT_UINT16, BASE_DEC, VALS(DIS_PDU_ApplicationType_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_num_parts,
+ { "Number of Parts", "dis.num_parts",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_current_part,
+ { "Current Part", "dis.current_part",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_num_variable_records,
+ { "Number of Variable Records", "dis.num_variable_records",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_variable_record_type,
+ { "Record Type", "dis.variable_record_type",
+ FT_UINT32, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_variable_record_len,
+ { "Record Length", "dis.variable_record_len",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_time_interval8,
+ { "Time interval", "dis.time_interval",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_time_interval32,
+ { "Time interval", "dis.time_interval",
+ FT_UINT32, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_event_number,
+ { "Event Number", "dis.event_number",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_country,
+ { "Country", "dis.country",
+ FT_UINT16, BASE_DEC, VALS(DIS_PDU_Country_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_emitter_name,
+ { "Emitter Name", "dis.electromagnetic.emitter.name",
+ FT_UINT16, BASE_DEC|BASE_EXT_STRING, &DIS_PDU_EmitterName_Strings_Ext, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_emission_function,
+ { "Emission Function", "dis.electromagnetic.emission.function",
+ FT_UINT8, BASE_DEC|BASE_EXT_STRING, &DIS_PDU_EmissionFunction_Strings_Ext, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_em_data_length,
+ { "System Data Length", "dis.electromagnetic.emission.data_length",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_em_num_beams,
+ { "Number of Beams", "dis.electromagnetic.emission.num_beams",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_emitter_id_number,
+ { "Emitter ID Number", "dis.electromagnetic.emission.emitter_id_number",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_em_location_x,
+ { "X", "dis.electromagnetic.emission.location.x",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_em_location_y,
+ { "Y", "dis.electromagnetic.emission.location.y",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_em_location_z,
+ { "Z", "dis.electromagnetic.emission.location.z",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_beam_function,
+ { "Beam Function", "dis.electromagnetic.emission.beam.function",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_BeamFunction_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_num_electromagnetic_emission_systems,
+ { "Number of Electromagnetic Emission Systems", "dis.electromagnetic.num_emission_systems",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_radio_id,
+ { "Radio ID", "dis.radio.radio_id",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_transmitter_radio_id,
+ { "Transmitter Radio ID", "dis.radio.transmitter_radio_id",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_ens,
+ { "Encoding Scheme", "dis.radio.encoding_scheme",
+ FT_UINT16, BASE_HEX, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_ens_class,
+ { "Encoding Class", "dis.radio.encoding_class",
+ FT_UINT16, BASE_DEC, VALS(DIS_PDU_Encoding_Class_Strings), 0xc000,
+ NULL, HFILL }
+ },
+ { &hf_dis_ens_type,
+ { "Encoding Type", "dis.radio.encoding_type",
+ FT_UINT16, BASE_DEC, NULL, 0x3fff,
+ NULL, HFILL }
+ },
+ { &hf_dis_ens_type_audio,
+ { "Encoding Type", "dis.radio.encoding_type.audio",
+ FT_UINT16, BASE_DEC, VALS(DIS_PDU_Encoding_Type_Strings), 0x3fff,
+ NULL, HFILL }
+ },
+ { &hf_dis_tdl_type,
+ { "TDL Type", "dis.radio.tdl_type",
+ FT_UINT16, BASE_DEC|BASE_EXT_STRING, &DIS_PDU_TDL_Type_Strings_Ext, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_sample_rate,
+ { "Sample Rate", "dis.radio.sample_rate",
+ FT_UINT32, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_data_length,
+ { "Data Length", "dis.radio.data_length",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_num_of_samples,
+ { "Number of Samples", "dis.radio.num_of_samples",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_signal_data,
+ { "Data", "dis.radio.signal_data",
+ FT_BYTES, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_radio_category,
+ { "Radio Category", "dis.radio.radio_category",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_RadioCategory_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_nomenclature_version,
+ { "Nomenclature Version", "dis.radio.nomenclature_version",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_NomenclatureVersion_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_nomenclature,
+ { "Nomenclature", "dis.radio.nomenclature",
+ FT_UINT16, BASE_DEC, VALS(DIS_PDU_Nomenclature_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_radio_transmit_state,
+ { "Radio Transmit State", "dis.radio.transmit_state",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_RadioTransmitState_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_radio_receive_state,
+ { "Radio Receive State", "dis.radio.receive_state",
+ FT_UINT16, BASE_DEC, VALS(DIS_PDU_RadioReceiveState_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_radio_input_source,
+ { "Radio Input Source", "dis.radio.input_source",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_RadioInputSource_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_antenna_pattern_type,
+ { "Antenna Pattern Type", "dis.radio.antenna_pattern_type",
+ FT_UINT16, BASE_DEC, VALS(DIS_PDU_AntennaPatternType_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_antenna_pattern_length,
+ { "Antenna Pattern Length", "dis.radio.antenna_pattern_length",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_antenna_location_x,
+ { "X", "dis.antenna_location.x",
+ FT_DOUBLE, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_antenna_location_y,
+ { "Y", "dis.antenna_location.y",
+ FT_DOUBLE, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_antenna_location_z,
+ { "Z", "dis.antenna_location.z",
+ FT_DOUBLE, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_rel_antenna_location_x,
+ { "X", "dis.rel_antenna_location.x",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_rel_antenna_location_y,
+ { "Y", "dis.rel_antenna_location.y",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_rel_antenna_location_z,
+ { "Z", "dis.rel_antenna_location.z",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_transmit_frequency,
+ { "Transmit Frequency (Hz)", "dis.radio.frequency",
+ FT_UINT64, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_transmit_freq_bandwidth,
+ { "Transmit Frequency Bandwidth", "dis.transmit_freq_bandwidth",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_transmit_power,
+ { "Transmit Power", "dis.transmit_power",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_receive_power,
+ { "Receive Power", "dis.receive_power",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_spread_spectrum_usage,
+ { "Spread Spectrum", "dis.radio.mod_type.spread_spectrum_usage",
+ FT_BOOLEAN, 16, TFS(&dis_modulation_spread_spectrum),0xFFFF,
+ NULL, HFILL }
+ },
+ { &hf_dis_frequency_hopping,
+ { "Frequency Hopping modulation", "dis.radio.mod_type.frequency_hopping",
+ FT_BOOLEAN, 16, TFS(&dis_frequency_hopping_value),0x0001,
+ NULL, HFILL }
+ },
+ { &hf_dis_pseudo_noise_modulation,
+ { "Pseudo noise modulation", "dis.radio.mod_type.pseudo_noise_modulation",
+ FT_BOOLEAN, 16, TFS(&dis_pseudo_noise_value),0x0002,
+ NULL, HFILL }
+ },
+ { &hf_dis_time_hopping,
+ { "Time Hopping modulation", "dis.radio.mod_type.time_hopping",
+ FT_BOOLEAN, 16, TFS(&dis_time_hopping_value),0x0004,
+ NULL, HFILL }
+ },
+ { &hf_dis_modulation_major,
+ { "Major Modulation", "dis.radio.mod_type.major",
+ FT_UINT16, BASE_DEC, VALS(DIS_PDU_MajorModulation_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_modulation_amplitude,
+ { "Detail", "dis.modulation_detail",
+ FT_UINT16, BASE_DEC, VALS(DIS_PDU_DetailModulationAmplitude_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_modulation_amplitude_angle,
+ { "Detail", "dis.modulation_detail",
+ FT_UINT16, BASE_DEC, VALS(DIS_PDU_DetailModulationAmpAndAngle_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_modulation_angle,
+ { "Detail", "dis.modulation_detail",
+ FT_UINT16, BASE_DEC, VALS(DIS_PDU_DetailModulationAngle_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_modulation_combination,
+ { "Detail", "dis.modulation_detail",
+ FT_UINT16, BASE_DEC, VALS(DIS_PDU_DetailModulationCombination_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_modulation_pulse,
+ { "Detail", "dis.modulation_detail",
+ FT_UINT16, BASE_DEC, VALS(DIS_PDU_DetailModulationPulse_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_modulation_unmodulated,
+ { "Detail", "dis.modulation_detail",
+ FT_UINT16, BASE_DEC, VALS(DIS_PDU_DetailModulationUnmodulated_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_modulation_detail,
+ { "Detail", "dis.modulation_detail",
+ FT_UINT16, BASE_DEC, VALS(DIS_PDU_DetailModulationCPSM_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_modulation_system,
+ { "System Modulation", "dis.radio.mod_type.system",
+ FT_UINT16, BASE_DEC, VALS(DIS_PDU_SystemModulation_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_crypto_system,
+ { "Crypto System", "dis.radio.crypto_system",
+ FT_UINT16, BASE_DEC, VALS(DIS_PDU_CryptoSystem_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_crypto_key,
+ { "Encryption Key", "dis.radio.encryption_key",
+ FT_UINT16, BASE_HEX, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_encryption_mode,
+ { "Encryption Mode", "dis.radio.encryption_key.mode",
+ FT_BOOLEAN, 16, TFS(&dis_encryption_mode_value),0x8000,
+ NULL, HFILL }
+ },
+ { &hf_dis_key_identifier,
+ { "Encryption Key ID", "dis.radio.encryption_key.id",
+ FT_UINT16, BASE_DEC, NULL,0x7FFF,
+ NULL, HFILL }
+ },
+ { &hf_dis_modulation_parameter_length,
+ { "Modulation Parameter Length", "dis.radio.mod_param.length",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_mod_param_fh_net_id,
+ { "Frequency Hopping Network ID", "dis.radio.mod_param.cctt_cingars.fh_nw_id",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_mod_param_fh_set_id,
+ { "Frequency Set ID", "dis.radio.mod_param.cctt_cingars.fh_set_id",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_mod_param_fh_lo_set_id,
+ { "Frequency Lockout Set ID", "dis.radio.mod_param.cctt_cingars.fh_lo_set_id",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_mod_param_fh_msg_start,
+ { "Start of Message", "dis.radio.mod_param.cctt_cingars.fh_msg_start",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_ModParamMsgStart_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_mod_param_fh_reserved,
+ { "Reserved", "dis.radio.mod_param.cctt_cingars.fh_reserved",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_mod_param_fh_sync_time_offset,
+ { "Sync Time Offset (Seconds)", "dis.radio.mod_param.cctt_cingars.fh_sync_offset",
+ FT_UINT32, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_mod_param_fh_security_key,
+ { "Transmission Security Key", "dis.radio.mod_param.cctt_cingars.fh_securit_key",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_mod_param_fh_clear_channel,
+ { "Clear Channel", "dis.radio.mod_param.cctt_cingars.fh_clr_channel",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_ModParamClrChannel_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_mod_param_dump,
+ { "Modulation Parameter All", "dis.radio.mod_param.all",
+ FT_BYTES, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_mod_param_ts_allocation_mode,
+ { "Time Slot Allocation Mode", "dis.radio.mod_param.jtids.ts_alloc_mode",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_TSAllocationFidelity_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_mod_param_transmitter_prim_mode,
+ { "Transmitter Primary Mode", "dis.radio.mod_param.jtids.transmitter_primary_mode",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_TerminalPrimaryMode_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_mod_param_transmitter_second_mode,
+ { "Transmitter Primary Mode", "dis.radio.mod_param.jtids.transmitter_secondary_mode",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_TerminalSecondaryMode_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_mod_param_sync_state,
+ { "Synchronization State", "dis.radio.mod_param.jtids.sync_state",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_ModParamSyncState_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_mod_param_network_sync_id,
+ { "Network Sync ID", "dis.radio.mod_param.jtids.network_sync_id",
+ FT_UINT32, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_force_id,
+ { "Force ID", "dis.force_id",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_entity_linear_velocity_x,
+ { "X", "dis.entity_linear_velocity.x",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_entity_linear_velocity_y,
+ { "Y", "dis.entity_linear_velocity.y",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_entity_linear_velocity_z,
+ { "Z", "dis.entity_linear_velocity.z",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_entity_location_x_double,
+ { "X", "dis.entity_location.x",
+ FT_DOUBLE, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_entity_location_x_float,
+ { "X", "dis.entity_location.x",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_entity_location_y_double,
+ { "Y", "dis.entity_location.y",
+ FT_DOUBLE, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_entity_location_y_float,
+ { "Y", "dis.entity_location.y",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_entity_location_z_double,
+ { "Z", "dis.entity_location.z",
+ FT_DOUBLE, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_entity_location_z_float,
+ { "Z", "dis.entity_location.z",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_entity_orientation_psi,
+ { "Psi", "dis.entity_orientation.psi",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_entity_orientation_theta,
+ { "Theta", "dis.entity_orientation.theta",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_entity_orientation_phi,
+ { "Phi", "dis.entity_orientation.phi",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_appearance_landform_paint_scheme,
+ { "Paint Scheme", "dis.appearance.landform.paint_scheme",
+ FT_BOOLEAN, 32, TFS(&tfs_camouflage_uniform_color), 0x00000001,
+ NULL, HFILL}
+ },
+ { &hf_appearance_landform_mobility,
+ { "Mobility", "dis.appearance.landform.mobility",
+ FT_BOOLEAN, 32, TFS(&tfs_mobility_kill), 0x00000002,
+ NULL, HFILL}
+ },
+ { &hf_appearance_landform_fire_power,
+ { "Fire Power", "dis.appearance.landform.fire_power",
+ FT_BOOLEAN, 32, TFS(&tfs_fire_power_kill), 0x00000004,
+ NULL, HFILL}
+ },
+ { &hf_appearance_landform_damage,
+ { "Damage", "dis.appearance.landform.damage",
+ FT_UINT32, BASE_DEC, VALS(appearance_damage_vals), 0x00000018,
+ NULL, HFILL}
+ },
+ { &hf_appearance_landform_smoke_entity,
+ { "Smoke Entity", "dis.appearance.landform.smoke_entity",
+ FT_UINT32, BASE_DEC, VALS(appearance_smoke_entity_vals), 0x00000060,
+ NULL, HFILL}
+ },
+ { &hf_appearance_landform_trailing_effects_entity,
+ { "Trailing Effects Entity", "dis.appearance.landform.trailing_effects_entity",
+ FT_UINT32, BASE_DEC, VALS(appearance_trailing_effects_entity_vals), 0x00000180,
+ NULL, HFILL}
+ },
+ { &hf_appearance_landform_hatch,
+ { "Hatch", "dis.appearance.landform.hatch",
+ FT_UINT32, BASE_DEC, VALS(appearance_hatch_vals), 0x00000E00,
+ NULL, HFILL}
+ },
+ { &hf_appearance_landform_head_lights,
+ { "Head Lights", "dis.appearance.landform.head_lights",
+ FT_BOOLEAN, 32, TFS(&tfs_on_off), 0x00001000,
+ NULL, HFILL}
+ },
+ { &hf_appearance_landform_tail_lights,
+ { "Tail Lights", "dis.appearance.landform.tail_lights",
+ FT_BOOLEAN, 32, TFS(&tfs_on_off), 0x00002000,
+ NULL, HFILL}
+ },
+ { &hf_appearance_landform_brake_lights,
+ { "Brake Lights", "dis.appearance.landform.brake_lights",
+ FT_BOOLEAN, 32, TFS(&tfs_on_off), 0x00004000,
+ NULL, HFILL}
+ },
+ { &hf_appearance_landform_flaming,
+ { "Flaming", "dis.appearance.landform.flaming",
+ FT_UINT32, BASE_DEC, VALS(appearance_flaming_vals), 0x00008000,
+ NULL, HFILL}
+ },
+ { &hf_appearance_landform_launcher,
+ { "Launcher", "dis.appearance.landform.launcher",
+ FT_UINT32, BASE_DEC, VALS(appearance_launcher_vals), 0x00010000,
+ NULL, HFILL}
+ },
+ { &hf_appearance_landform_camouflage_type,
+ { "Camouflage Type", "dis.appearance.landform.camouflage_type",
+ FT_UINT32, BASE_DEC, VALS(appearance_camouflage_type_vals), 0x00060000,
+ NULL, HFILL}
+ },
+ { &hf_appearance_landform_concealed,
+ { "Concealed", "dis.appearance.landform.concealed",
+ FT_UINT32, BASE_DEC, VALS(appearance_concealed_vals), 0x00080000,
+ NULL, HFILL}
+ },
+ { &hf_appearance_landform_frozen_status,
+ { "Frozen_status", "dis.appearance.landform.frozen_status",
+ FT_UINT32, BASE_DEC, VALS(appearance_frozen_status_vals), 0x00200000,
+ NULL, HFILL}
+ },
+ { &hf_appearance_landform_power_plant_status,
+ { "Power Plant Status", "dis.appearance.landform.power_plant_status",
+ FT_UINT32, BASE_DEC, VALS(appearance_power_plant_status_vals), 0x00400000,
+ NULL, HFILL}
+ },
+ { &hf_appearance_landform_state,
+ { "State", "dis.appearance.landform.state",
+ FT_UINT32, BASE_DEC, VALS(appearance_state_vals), 0x00800000,
+ NULL, HFILL}
+ },
+ { &hf_appearance_landform_tent,
+ { "Tent", "dis.appearance.landform.tent",
+ FT_UINT32, BASE_DEC, VALS(appearance_tent_vals), 0x01000000,
+ NULL, HFILL}
+ },
+ { &hf_appearance_landform_ramp,
+ { "Ramp", "dis.appearance.landform.ramp",
+ FT_BOOLEAN, 32, TFS(&tfs_down_up), 0x02000000,
+ NULL, HFILL}
+ },
+ { &hf_appearance_landform_blackout_lights,
+ { "Blackout Lights", "dis.appearance.landform.blackout_lights",
+ FT_BOOLEAN, 32, TFS(&tfs_on_off), 0x04000000,
+ NULL, HFILL}
+ },
+ { &hf_appearance_landform_blackout_brake_lights,
+ { "Blackout Brake Lights", "dis.appearance.landform.blackout_brake_lights",
+ FT_BOOLEAN, 32, TFS(&tfs_on_off), 0x08000000,
+ NULL, HFILL}
+ },
+ { &hf_appearance_landform_spot_lights,
+ { "Spot_lights", "dis.appearance.landform.spot_lights",
+ FT_BOOLEAN, 32, TFS(&tfs_on_off), 0x10000000,
+ NULL, HFILL}
+ },
+ { &hf_appearance_landform_interior_lights,
+ { "Interior_lights", "dis.appearance.landform.interior_lights",
+ FT_BOOLEAN, 32, TFS(&tfs_on_off), 0x20000000,
+ NULL, HFILL}
+ },
+ { &hf_appearance_landform_surrender_state,
+ { "Surrender State", "dis.appearance.landform.surrender_state",
+ FT_UINT32, BASE_DEC, VALS(appearance_surrentder_state_vals), 0x40000000,
+ NULL, HFILL}
+ },
+ { &hf_appearance_landform_masked_cloaked,
+ { "Masked Cloaked", "dis.appearance.landform.masked_cloaked",
+ FT_UINT32, BASE_DEC, VALS(appearance_masked_cloaked_vals), 0x80000000,
+ NULL, HFILL}
+ },
+ { &hf_intercom_control_control_type,
+ { "Control Type", "dis.intercom_control.control_type",
+ FT_UINT8, BASE_DEC, VALS(intercom_control_control_type_vals), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_intercom_control_communications_channel_type,
+ { "Communications Channel Type", "dis.intercom_control.communications_channel_type",
+ FT_UINT8, BASE_DEC, VALS(intercom_control_communications_channel_type_vals), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_intercom_control_source_communications_device_id,
+ { "Source Communications Device ID", "dis.intercom_control.source_communications_device_id",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_intercom_control_source_line_id,
+ { "Source Line ID", "dis.intercom_control.source_line_id",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_intercom_control_transmit_priority,
+ { "Transmit Priority", "dis.intercom_control.transmit_priority",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_intercom_control_transmit_line_state,
+ { "Transmit Line State", "dis.intercom_control.transmit_line_state",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_intercom_control_command,
+ { "Command", "dis.intercom_control.command",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_intercom_control_master_communications_device_id,
+ { "Master Communications Device ID", "dis.intercom_control.master_communications_device_id",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_intercom_control_master_channel_id,
+ { "Master Channel ID", "dis.intercom_control.master_channel_id",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_aggregate_kind,
+ { "Kind", "dis.aggregate.kind",
+ FT_UINT8, BASE_DEC, VALS(aggregate_kind_vals), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_aggregate_domain,
+ { "Domain", "dis.aggregate.domain",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_Domain_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_aggregate_country,
+ { "Country", "dis.aggregate.country",
+ FT_UINT16, BASE_DEC, VALS(DIS_PDU_Country_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_aggregate_category,
+ { "Category", "dis.aggregate.category",
+ FT_UINT8, BASE_DEC, VALS(aggregate_category_vals), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_aggregate_subcategory,
+ { "Subcategory", "dis.aggregate.subcategory",
+ FT_UINT8, BASE_DEC, VALS(aggregate_subcategory_vals), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_aggregate_specific,
+ { "Specific", "dis.aggregate.specific",
+ FT_UINT8, BASE_DEC, VALS(aggregate_specific_vals), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_aggregate_extra,
+ { "Extra", "dis.aggregate.extra",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_aggregate_orientation_psi,
+ { "Psi", "dis.aggregate.psi",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_aggregate_orientation_theta,
+ { "Theta", "dis.aggregate.theta",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_aggregate_orientation_phi,
+ { "Phi", "dis.aggregate.phi",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_aggregate_center_of_mass_x,
+ { "X", "dis.aggregate.center_of_mass_x",
+ FT_DOUBLE, BASE_NONE, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_aggregate_center_of_mass_y,
+ { "Y", "dis.aggregate.center_of_mass_y",
+ FT_DOUBLE, BASE_NONE, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_aggregate_center_of_mass_z,
+ { "Z", "dis.aggregate.center_of_mass_z",
+ FT_DOUBLE, BASE_NONE, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_aggregate_velocity_x,
+ { "X", "dis.aggregate.velocity_x",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_aggregate_velocity_y,
+ { "Y", "dis.aggregate.velocity_y",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_aggregate_velocity_z,
+ { "Z", "dis.aggregate.velocity_z",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_aggregate_dimensions_x,
+ { "X", "dis.aggregate.dimensions_x",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_aggregate_dimensions_y,
+ { "Y", "dis.aggregate.dimensions_y",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_aggregate_dimensions_z,
+ { "Z", "dis.aggregate.dimensions_z",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_aggregate_id_site,
+ { "Aggregate ID Site", "dis.aggregate_id_site",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_aggregate_id_application,
+ { "Aggregate ID Application", "dis.aggregate_id_application",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_aggregate_id_aggregate,
+ { "Aggregate ID Aggregate", "dis.aggregate_id__aggregate",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_environment_kind,
+ { "Kind", "dis.environmental.kind",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_environment_domain,
+ { "Domain", "dis.environmental.domain",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_environment_class,
+ { "Class", "dis.environmental.class",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_environment_category,
+ { "Category", "dis.environmental.category",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_environment_subcategory,
+ { "Subcategory", "dis.environmental.subcategory",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_environment_specific,
+ { "Specific", "dis.environmental.specific",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_environment_extra,
+ { "Extra", "dis.environmental.extra",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_model_type,
+ { "Model Type", "dis.environmental.model_type",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_environment_status_last,
+ { "Environment Status Last", "dis.environmental.environment_status_last",
+ FT_UINT8, BASE_DEC, VALS(environmental_environment_status_last_vals), 0x01,
+ NULL, HFILL }
+ },
+ { &hf_dis_environment_status_on,
+ { "Environment Status Last", "dis.environmental.environment_status_last",
+ FT_UINT8, BASE_DEC, VALS(environmental_environment_status_on_vals), 0x02,
+ NULL, HFILL }
+ },
+ { &hf_dis_aggregate_formation,
+ { "Formation", "dis.aggregate.formation",
+ FT_UINT32, BASE_DEC, VALS(aggregate_formation_vals), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_aggregate_state,
+ { "Aggregate State", "dis.aggregate.state",
+ FT_UINT8, BASE_DEC, VALS(aggregate_state_vals), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_appearance_lifeform_compliance,
+ {"Compliance", "dis.appearance.lifeform.compliance",
+ FT_UINT32, BASE_DEC, VALS(appearance_compliance_vals), 0x000001E0,
+ NULL, HFILL}
+ },
+ { &hf_appearance_lifeform_flash_lights,
+ {"Flash Lights", "dis.appearance.lifeform.flash_lights",
+ FT_BOOLEAN, 32, TFS(&tfs_on_off), 0x00001000,
+ NULL, HFILL}
+ },
+ { &hf_appearance_lifeform_state,
+ {"Life Form State", "dis.appearance.lifeform.Lifeform_state",
+ FT_UINT32, BASE_DEC, VALS(appearance_lifeform_state_vals), 0x000F0000,
+ NULL, HFILL}
+ },
+ { &hf_appearance_frozen_status,
+ {"Frozen Status", "dis.appearance.lifeform.frozen_status",
+ FT_UINT32, BASE_DEC, VALS(appearance_frozen_status_vals), 0x00200000,
+ NULL, HFILL}
+ },
+ { &hf_appearance_state,
+ {"State", "dis.appearance.lifeform.state",
+ FT_UINT32, BASE_DEC, VALS(appearance_state_vals), 0x00800000,
+ NULL, HFILL}
+ },
+ { &hf_appearance_weapon_1,
+ {"Weapon 1", "dis.appearance.lifeform.Weapon_1",
+ FT_UINT32, BASE_DEC, VALS(appearance_Weapon_1_vals), 0x03000000,
+ NULL, HFILL}
+ },
+ { &hf_appearance_weapon_2,
+ {"Weapon 2", "dis.appearance.lifeform.Weapon_2",
+ FT_UINT32, BASE_DEC, VALS(appearance_Weapon_2_vals), 0x0C000000,
+ NULL, HFILL}
+ },
+ { &hf_appearance_camouflage_type,
+ {"Camouflage Type", "dis.appearance.lifeform.camouflage_type",
+ FT_UINT32, BASE_DEC, VALS(appearance_camouflage_type_vals), 0x30000000,
+ NULL, HFILL}
+ },
+ { &hf_appearance_concealed_stationary,
+ {"Concealed Stationary", "dis.appearance.lifeform.concealed_stationary",
+ FT_UINT32, BASE_DEC, VALS(appearance_concealed_stationary_vals), 0x40000000,
+ NULL, HFILL}
+ },
+ { &hf_appearance_concealed_movement,
+ {"Concealed Movement", "dis.appearance.lifeform.concealed_movement",
+ FT_UINT32, BASE_DEC, VALS(appearance_concealed_movement_vals), 0x80000000,
+ NULL, HFILL}
+ },
+ { &hf_dis_entity_dead_reckoning_algorithm,
+ {"Dead Reckoning Algorithm", "dis.entity_marking_character_set",
+ FT_UINT8, BASE_DEC, VALS(entity_dead_reckoning_algorithm_vals), 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_dead_reckoning_other_parameters,
+ {"Dead Reckoning Other Parameters", "dis.dead_reckoning_other_parameters",
+ FT_BYTES, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_entity_linear_acceleration_x,
+ {"Entity Linear acceleration X", "dis.entity_linear_acceleration.x",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_entity_linear_acceleration_y,
+ {"Entity Linear acceleration Y", "dis.entity_linear_acceleration.y",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_entity_linear_acceleration_z,
+ {"Entity Linear acceleration Z", "dis.entity_linear_acceleration.z",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_entity_entity_angular_velocity_x,
+ {"Entity Angular Velocity X", "dis.entity_angular_velocity.x",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_entity_entity_angular_velocity_y,
+ {"Entity Angular Velocity Y", "dis.entity_angular_velocity.y",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_entity_entity_angular_velocity_z,
+ {"Entity Angular Velocity Z", "dis.entity_angular_velocity.z",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_aggregate_marking_character_set,
+ { "Character Set", "dis.aggregate.marking_character_set",
+ FT_UINT8, BASE_DEC, VALS(entity_marking_character_set_vals), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_entity_marking_character_set,
+ {"Entity Character Set", "dis.entity_marking_character_set",
+ FT_UINT8, BASE_DEC, VALS(entity_marking_character_set_vals), 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_aggregate_marking,
+ { "Marking", "dis.aggregate.marking",
+ FT_STRINGZ, BASE_NONE, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_entity_marking,
+ {"Entity Marking", "dis.entity_marking",
+ FT_STRINGZ, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_aggregate_number_of_aggregates,
+ { "Number of DIS Aggregates", "dis.aggregate.number_of_aggregates",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_aggregate_number_of_entities,
+ { "Number of DIS Entities", "dis.aggregate.number_of_entities",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_aggregate_number_of_variable_datum_records,
+ { "Number of Variable Datum Records", "dis.aggregate.number_of_variable_datum_records",
+ FT_UINT32, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_aggregate_number_of_silent_aggregates_types,
+ { "Number of Silent Aggregate Types", "dis.aggregate.number_of_silent_aggregates_types",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_aggregate_number_of_silent_entity_types,
+ { "Number of Silent Entity Types", "dis.aggregate.number_of_silent_entity_types",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_environmental_number_of_environment_records,
+ { "Number of Environment records", "dis.environmental.number_of_environment_records",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_environmental_sequence_number,
+ { "Sequence Number", "dis.environmental.sequence_number",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_designator_code_name,
+ { "Designator Code Name", "dis.designator_code_name",
+ FT_UINT16, BASE_DEC, VALS(designator_code_name_vals), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_designator_designator_code,
+ { "Designator Designator Code", "dis.designator_designator_code",
+ FT_UINT16, BASE_DEC, VALS(designator_designator_code_vals), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_designator_power,
+ { "Designator Power", "dis.designator_power",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_designator_wavelength,
+ { "Designator Wavelength", "dis.designator_wavelength",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_designator_spot_with_respect_to_designated_entity_x,
+ { "X", "dis.designator_spot_with_respect_to_designated_entity.x",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_designator_spot_with_respect_to_designated_entity_y,
+ { "Y", "dis.designator_spot_with_respect_to_designated_entity.y",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_designator_spot_with_respect_to_designated_entity_z,
+ { "Z", "dis.designator_spot_with_respect_to_designated_entity.z",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_designator_spot_location_x,
+ { "X", "dis.designator_spot_location.x",
+ FT_DOUBLE, BASE_NONE, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_designator_spot_location_y,
+ { "Y", "dis.designator_spot_location.y",
+ FT_DOUBLE, BASE_NONE, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_designator_spot_location_z,
+ { "Z", "dis.designator_spot_location.z",
+ FT_DOUBLE, BASE_NONE, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_appearance_lifeform_paint_scheme,
+ { "Paint Scheme", "dis.appearance.lifeform.paint_scheme",
+ FT_BOOLEAN, 32, TFS(&tfs_camouflage_uniform_color), 0x00000001,
+ NULL, HFILL }
+ },
+ { &hf_appearance_lifeform_health,
+ { "Health", "dis.appearance.lifeform.health",
+ FT_UINT32, BASE_DEC, VALS(appearance_health_vals), 0x00000018,
+ NULL, HFILL }
+ },
+ { &hf_entity_appearance,
+ { "Appearance", "dis.appearance",
+ FT_UINT32, BASE_HEX, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_capabilities,
+ { "Capabilities", "dis.capabilities",
+ FT_UINT32, BASE_DEC, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_variable_parameter_type,
+ { "Variable Parameter Type", "dis.variable_parameter_type",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_ParameterTypeDesignator_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_signal_link16_npg,
+ { "NPG Number", "dis.signal.link16.npg",
+ FT_UINT16, BASE_DEC, VALS(Link16_NPG_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_signal_link16_tsec_cvll,
+ { "TSEC CVLL", "dis.signal.link16.tsec_cvll",
+ FT_UINT8, BASE_RANGE_STRING | BASE_DEC, RVALS(DIS_PDU_Link16_CVLL_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_signal_link16_msec_cvll,
+ { "MSEC CVLL", "dis.signal.link16.msec_cvll",
+ FT_UINT8, BASE_RANGE_STRING | BASE_DEC, RVALS(DIS_PDU_Link16_CVLL_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_signal_link16_message_type,
+ { "Message Type", "dis.signal.link16.message_type",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_Link16_MessageType_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_signal_link16_ptt,
+ { "Perceived Transmit Time", "dis.signal.link16.ptt",
+ FT_ABSOLUTE_TIME, ABSOLUTE_TIME_UTC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_signal_link16_time_slot_type,
+ { "Time Slot Type", "dis.signal.link16.time_slot_type", FT_UINT32, BASE_DEC, NULL, 0x7,
+ NULL, HFILL},
+ },
+ { &hf_dis_signal_link16_rti,
+ { "Relay Transmission Indicator", "dis.signal.link16.relay", FT_BOOLEAN, 32, NULL, 0x8,
+ NULL, HFILL},
+ },
+ { &hf_dis_signal_link16_stn,
+ { "Source Track Number", "dis.signal.link16.stn", FT_UINT32, BASE_OCT, NULL, 0x0007FFF0,
+ NULL, HFILL },
+ },
+ { &hf_dis_signal_link16_sdusn,
+ { "Secure Data Unit Serial Number", "dis.signal.link16.sdusn", FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL },
+ },
+ { &hf_dis_signal_link16_network_number,
+ { "Network Number", "dis.signal.link16.network_number",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_signal_link16_time_slot_id,
+ { "Time Slot ID", "dis.signal.link16.time_slot_id",
+ FT_UINT32, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_num_shafts,
+ { "Number of Shafts", "dis.ua.number_of_shafts",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_num_apas,
+ { "Number of APAs", "dis.ua.number_of_apas",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_state_update_indicator,
+ { "State Update Indicator", "dis.ua.state_update_indicator",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_passive_parameter_index,
+ { "Passive Parameter Index", "dis.ua.passive_parameter_index",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_propulsion_plant_config,
+ { "Propulsion Plant Configuration", "dis.ua.propulsion_plant_config",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_shaft_rpm_current,
+ { "Current Shaft RPM", "dis.ua.shaft.rpm.current",
+ FT_INT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_shaft_rpm_ordered,
+ { "Ordered Shaft RPM", "dis.ua.shaft.rpm.ordered",
+ FT_INT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_shaft_rpm_change_rate,
+ { "Shaft RPM Rate of Change", "dis.ua.shaft.rpm.change_rate",
+ FT_INT32, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_num_ua_emitter_systems,
+ { "Number of UA Emitter Systems", "dis.ua.number_of_ua_emitter_systems",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_apas_parameter_index,
+ { "Parameter Index", "dis.ua.apas.parameter_index",
+ FT_INT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_apas_value,
+ { "Value", "dis.apas.value",
+ FT_INT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_ua_emission_name,
+ { "Acoustic Emitter Name", "dis.ua.emitter.name",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_ua_emission_function,
+ { "Function", "dis.ua.emitter.function",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_ua_emission_id_number,
+ { "Acoustic ID Number", "dis.ua.emitter.id_number",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_ua_emitter_data_length,
+ { "Emitter System Data Length", "dis.ua.emitter.data_length",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_ua_num_beams,
+ { "Number of Beams (m)", "dis.ua.num_beams",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_ua_location_x,
+ { "X", "dis.ua.location.x",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_ua_location_y,
+ { "Y", "dis.ua.location.y",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_ua_location_z,
+ { "Z", "dis.ua.location.z",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_ua_beam_data_length,
+ { "Beam Data Length", "dis.ua.beam.data_length",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_ua_beam_id_number,
+ { "Beam ID Number", "dis.ua.beam.id_number",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_ua_beam_active_emission_parameter_index,
+ { "Active Emission Parameter Index", "dis.ua.beam.active_emission_parameter_index",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_ua_beam_scan_pattern,
+ { "Scan Pattern", "dis.ua.beam.scan_pattern",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_ua_beam_center_azimuth,
+ { "Beam Center Azimuth (Horizontal Bearing)", "dis.ua.beam.center_azimuth",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_ua_beam_azimuthal_beamwidth,
+ { "Azimuthal Beamwidth (Horizontal Beamwidth)", "dis.ua.beam.azimuthal_beamwidth",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_ua_beam_center_de,
+ { "Beam Center D/E", "dis.ua.beam.center_de",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_ua_beam_de_beamwidth,
+ { "D/E Beamwidth (Vertical Beamwidth)", "dis.ua.beam.de_beamwidth",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_em_beam_data_length,
+ { "Beam Data Length", "dis.em.beam.data_length",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_em_beam_id_number,
+ { "Beam ID Number", "dis.em.beam.id_number",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_em_beam_parameter_index,
+ { "Beam Parameter Index", "dis.em.beam.parameter_index",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_em_fund_frequency,
+ { "Frequency", "dis.em.fund.frequency",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_em_fund_frequency_range,
+ { "Frequency Range", "dis.em.fund.frequency_range",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_em_fund_effective_radiated_power,
+ { "Effective Radiated Power", "dis.em.fund.effective_radiated_power",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_em_fund_pulse_repetition_freq,
+ { "Pulse Repetition Frequency", "dis.em.fund.pulse_repetition_freq",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_em_fund_pulse_width,
+ { "Pulse Width", "dis.em.fund.pulse_width",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_em_fund_beam_azimuth_center,
+ { "Beam Azimuth Center", "dis.em.fund.beam.azimuth_center",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_em_fund_beam_azimuth_sweep,
+ { "Beam Azimuth Sweep", "dis.em.fund.beam.azimuth_sweep",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_em_fund_beam_elevation_center,
+ { "Beam Elevation Center", "dis.em.fund.beam.elevation_center",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_em_fund_beam_elevation_sweep,
+ { "Beam Elevation Sweep", "dis.em.fund.beam.elevation_sweep",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_em_fund_beem_sweep_sync,
+ { "Beam Sweep Sync", "dis.em.fund.beem.sweep_sync",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_track_jam_num_targ,
+ { "Number of Targets in Track/Jam Field", "dis.track_jam.num_targ",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_track_jam_high_density,
+ { "High Density Track/Jam", "dis.track_jam.high_density",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_jamming_mode_seq,
+ { "Jamming Mode Sequence", "dis.jamming_mode_seq",
+ FT_UINT32, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_warhead,
+ { "Warhead", "dis.warhead",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_fuse,
+ { "Fuse", "dis.fuse",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_quality,
+ { "Quantity", "dis.quality",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_rate,
+ { "Rate", "dis.rate",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_fire_mission_index,
+ { "Fire Mission Index", "dis.fire.mission_index",
+ FT_UINT32, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_fire_location_x,
+ {"X", "dis.fire.location.x",
+ FT_DOUBLE, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_fire_location_y,
+ {"Y", "dis.fire.location.y",
+ FT_DOUBLE, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_fire_location_z,
+ {"Z", "dis.fire.location.z",
+ FT_DOUBLE, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_linear_velocity_x,
+ {"X", "dis.linear_velocity.x",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_linear_velocity_y,
+ {"Y", "dis.linear_velocity.y",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_linear_velocity_z,
+ {"Z", "dis.linear_velocity.z",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_range,
+ {"Range", "dis.range",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_detonation_location_x,
+ {"X", "dis.detonation.location.x",
+ FT_DOUBLE, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_detonation_location_y,
+ {"Y", "dis.detonation.location.y",
+ FT_DOUBLE, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_detonation_location_z,
+ {"Z", "dis.detonation.location.z",
+ FT_DOUBLE, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_detonation_result,
+ { "Detonation Result", "dis.detonation.result",
+ FT_UINT8, BASE_DEC|BASE_EXT_STRING, &DIS_PDU_DetonationResult_Strings_Ext, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_simulator_type,
+ { "Simulator Type", "dis.simulator_type",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_database_seq_num,
+ { "Database Sequence Number", "dis.database_seq_num",
+ FT_UINT32, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_simulator_load,
+ { "Simulator Load", "dis.simulator_load",
+ FT_UINT32, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_simulation_load,
+ {"Simulation Load", "dis.simulation_load",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_time,
+ { "Time", "dis.time",
+ FT_UINT32, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_packets_sent,
+ { "Packets Sent", "dis.packets_sent",
+ FT_UINT32, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_unit_database_version,
+ { "Unit Database Version", "dis.unit_database_version",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_relative_battle_scheme,
+ { "Relative Battle Scheme", "dis.relative_battle_scheme",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_terrain_version,
+ { "Terrain Version", "dis.terrain_version",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_terrain_name,
+ {"Terrain Name", "dis.terrain_name",
+ FT_STRING, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_host_name,
+ {"Host Name", "dis.host_name",
+ FT_STRING, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_sequence_number,
+ { "Sequence Number", "dis.sequence_number",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_persist_obj_class,
+ { "Object Class", "dis.persist_obj_class",
+ FT_UINT8, BASE_DEC|BASE_EXT_STRING, &DIS_PDU_PO_ObjectClass_Strings_Ext, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_missing_from_world_state,
+ { "Missing From World State", "dis.missing_from_world_state",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_obj_count,
+ { "Object Count", "dis.obj_count",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_clock_rate,
+ {"Clock Rate", "dis.clock_rate",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_sec_since_1970,
+ { "Seconds Since 1970", "dis.sec_since_1970",
+ FT_UINT32, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_str_data,
+ { "Data", "dis.str_data",
+ FT_BYTES, BASE_NONE, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_record_data,
+ {"Record data", "dis.record_data",
+ FT_BYTES, BASE_NONE, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_alignment_padding,
+ {"Alignment padding", "dis.alignment_padding",
+ FT_BYTES, BASE_NONE, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_vp_change_indicator,
+ { "Change Indicator", "dis.vp.change_indicator",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_vp_association_status,
+ { "Association Status", "dis.vp.association_status",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_vp_association_type,
+ { "Association Type", "dis.vp.association_type",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_vp_phys_conn_type,
+ { "Physical Connection Type", "dis.vp.phys_conn_type",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_vp_group_member_type,
+ { "Group Member Type", "dis.vp.group_member_type",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_vp_own_station_location,
+ { "Group Member Type", "dis.vp.own_station_location",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_vp_group_number,
+ { "Group Member Type", "dis.vp.group_number",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_vp_offset_type,
+ { "Offset Type", "dis.vp.offset_type",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_vp_offset_x,
+ {"X", "dis.vp.offset.x",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_vp_offset_y,
+ {"Y", "dis.vp.offset.y",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_vp_offset_z,
+ {"Z", "dis.vp.offset.z",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_vp_attached_indicator,
+ { "Attached Indicator", "dis.vp.attached_indicator",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_vp_part_attached_to_id,
+ { "Part Attached To ID", "dis.vp.part_attached_to_id",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_vp_artic_param_type,
+ { "Parameter Type", "dis.vp.artic_param_type",
+ FT_UINT32, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_vp_change,
+ { "Change", "dis.vp.change",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_vp_parameter_value,
+ { "Parameter Value", "dis.vp.parameter_value",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_vp_padding,
+ { "Padding (unused)", "dis.vp.padding",
+ FT_UINT32, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_vr_num_records,
+ { "Num Records", "dis.vr.num_records",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_vr_exercise_id,
+ { "Exercise ID", "dis.vr.exercise_id",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_vr_exercise_file_path,
+ {"Exercise File Path", "dis.vr.exercise_file_path",
+ FT_STRING, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_vr_exercise_file_name,
+ {"Exercise File Name", "dis.vr.exercise_file_name",
+ FT_STRING, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_vr_application_role,
+ {"Application Role", "dis.vr.application_role",
+ FT_STRING, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_vr_status_type,
+ { "Status Type", "dis.vr.status_type",
+ FT_UINT16, BASE_DEC, VALS(DIS_PDU_ApplicationStatusType_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_vr_general_status,
+ { "General Status", "dis.vr.general_status",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_ApplicationGeneralStatus_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_vr_specific_status,
+ { "Specific Status", "dis.vr.specific_status",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_vr_status_value_int,
+ { "Status Value Int", "dis.vr.status_value_int",
+ FT_INT32, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_vr_status_value_float,
+ {"Status Value Float", "dis.vr.status_value_float",
+ FT_DOUBLE, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_iff_system_type,
+ { "System Type", "dis.iff.system_type",
+ FT_UINT16, BASE_DEC, VALS(DIS_PDU_IffSystemType_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_system_name,
+ { "System Name", "dis.iff.system_name",
+ FT_UINT16, BASE_DEC, VALS(DIS_PDU_IffSystemName_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_system_mode,
+ { "System Mode", "dis.iff.system_mode",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_IffSystemMode_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_change_options,
+ { "Change/Options", "dis.iff.change_options",
+ FT_UINT8, BASE_HEX, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_change_indicator,
+ { "Change Indicator", "dis.iff.change_indicator",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_IffChangeIndicator_Strings), 0x01,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_alternate_mode_4,
+ { "Alternate Mode 4", "dis.iff.alternate_mode_4",
+ FT_BOOLEAN, 8, TFS(&tfs_yes_no), 0x02,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_alternate_mode_c,
+ { "Alternate Mode C", "dis.iff.alternate_mode_c",
+ FT_BOOLEAN, 8, TFS(&tfs_yes_no), 0x04,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_heartbeat_indicator,
+ { "Heartbeat Indicator", "dis.iff.heartbeat_indicator",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_IffHeartbeat_Strings), 0x8,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_transponder_interrogator_indicator,
+ { "Transponder/Interrogator Indicator", "dis.iff.transponder_interrogator_indicator",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_IffTransponder_Interrogator_Strings), 0x10,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_simulation_mode,
+ { "Simulation Mode", "dis.iff.simulation_mode",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_IffSimulation_Mode_Strings), 0x20,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_interactive_capable,
+ { "Interactive Capable", "dis.iff.interactive_capable",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_IffCapable_Strings), 0x40,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_test_mode,
+ { "Test Mode", "dis.iff.test_mode",
+ FT_BOOLEAN, 8, TFS(&tfs_on_off), 0x80,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_system_designator,
+ { "System Designator", "dis.iff.system_designator",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_system_specific_data,
+ { "System Specific Data", "dis.iff.system_specific_data",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_system_status,
+ { "System Status", "dis.iff.system_status",
+ FT_UINT8, BASE_HEX, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_system_status_system_onoff,
+ { "System On/Off", "dis.iff.system_status.system_onoff",
+ FT_BOOLEAN, 8, TFS(&tfs_on_off), 0x01,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_system_status_parameter_1,
+ { "Parameter 1", "dis.iff.system_status.parameter_1",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_IffCapable_Strings), 0x2,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_system_status_parameter_2,
+ { "Parameter 2", "dis.iff.system_status.parameter_2",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_IffCapable_Strings), 0x4,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_system_status_parameter_3,
+ { "Parameter 3", "dis.iff.system_status.parameter_3",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_IffCapable_Strings), 0x8,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_system_status_parameter_4,
+ { "Parameter 4", "dis.iff.system_status.parameter_4",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_IffCapable_Strings), 0x10,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_system_status_parameter_5,
+ { "Parameter 5", "dis.iff.system_status.parameter_5",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_IffCapable_Strings), 0x20,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_system_status_parameter_6,
+ { "Parameter 6", "dis.iff.system_status.parameter_6",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_IffCapable_Strings), 0x40,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_system_status_operational,
+ { "Operational", "dis.iff.system_status.operational",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_IffOperational_Strings), 0x80,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_alternate_parameter_4,
+ { "Alternate Parameter 4", "dis.iff.alternate_parameter_4",
+ FT_UINT8, BASE_DEC, VALS(DIS_PDU_IffAlternateMode4_Strings), 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_information_layers,
+ { "Information Layers", "dis.iff.information_layers",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_information_layers_layer_1,
+ { "Layer 1", "dis.iff.information_layers.layer_1",
+ FT_BOOLEAN, 8, TFS(&tfs_present_not_present), 0x2,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_information_layers_layer_2,
+ { "Layer 2", "dis.iff.information_layers.layer_2",
+ FT_BOOLEAN, 8, TFS(&tfs_present_not_present), 0x4,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_information_layers_layer_3,
+ { "Layer 3", "dis.iff.information_layers.layer_3",
+ FT_BOOLEAN, 8, TFS(&tfs_present_not_present), 0x8,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_information_layers_layer_4,
+ { "Layer 4", "dis.iff.information_layers.layer_4",
+ FT_BOOLEAN, 8, TFS(&tfs_present_not_present), 0x10,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_information_layers_layer_5,
+ { "Layer 5", "dis.iff.information_layers.layer_5",
+ FT_BOOLEAN, 8, TFS(&tfs_present_not_present), 0x20,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_information_layers_layer_6,
+ { "Layer 6", "dis.iff.information_layers.layer_6",
+ FT_BOOLEAN, 8, TFS(&tfs_present_not_present), 0x40,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_information_layers_layer_7,
+ { "Layer 7", "dis.iff.information_layers.layer_7",
+ FT_BOOLEAN, 8, TFS(&tfs_present_not_present), 0x80,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_modifier,
+ { "Modifier", "dis.iff.modifier",
+ FT_UINT8, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_modifier_emergency,
+ { "Military Emergency", "dis.iff.modifier.emergency",
+ FT_BOOLEAN, 8, TFS(&tfs_on_off), 0x02,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_modifier_ident,
+ { "Ident/Squawk Flash", "dis.iff.modifier_ident",
+ FT_BOOLEAN, 8, TFS(&tfs_on_off), 0x04,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_modifier_sti,
+ { "STI", "dis.iff.modifier_sti",
+ FT_BOOLEAN, 8, TFS(&tfs_on_off), 0x08,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_modifier_unmanned_aircraft,
+ { "Unmanned Aircraft", "dis.iff.modifier_unmanned_aircraft",
+ FT_BOOLEAN, 8, TFS(&tfs_on_off), 0x10,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_parameter_1,
+ { "Parameter 1", "dis.iff.parameter_1",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_parameter_2,
+ { "Parameter 2", "dis.iff.parameter_2",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_parameter_3,
+ { "Parameter 3", "dis.iff.parameter_3",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_parameter_4,
+ { "Parameter 4", "dis.iff.parameter_4",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_parameter_5,
+ { "Parameter 5", "dis.iff.parameter_5",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_parameter_6,
+ { "Parameter 6", "dis.iff.parameter_6",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_mode_code_element_1,
+ { "Code Element 1", "dis.iff.mode_code.element_1",
+ FT_UINT16, BASE_OCT, NULL, 0x0007,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_mode_code_element_2,
+ { "Code Element 2", "dis.iff.mode_code.element_2",
+ FT_UINT16, BASE_OCT, NULL, 0x0038,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_mode_code_element_3,
+ { "Code Element 3", "dis.iff.mode_code.element_3",
+ FT_UINT16, BASE_OCT, NULL, 0x01C0,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_mode_code_element_4,
+ { "Code Element 4", "dis.iff.mode_code.element_4",
+ FT_UINT16, BASE_OCT, NULL, 0x0E00,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_rrb,
+ { "RRB Transponder", "dis.iff.rrb",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_rrb_rrb_code,
+ { "RRB Code", "dis.iff.rrb.rrb_code",
+ FT_UINT16, BASE_DEC, NULL, 0x001F,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_rrb_power_reduction_indicator,
+ { "Power Reduction Indicator", "dis.iff.rrb.power_reduction_indicator",
+ FT_BOOLEAN, 16, TFS(&tfs_on_off), 0x0800,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_rrb_radar_enhancement_indicator,
+ { "Radar Enhancement Indicator", "dis.iff.rrb.radar_enhancement_indicator",
+ FT_BOOLEAN, 16, TFS(&tfs_on_off), 0x1000,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_mode_s_interrogator_identifier,
+ { "Mode S Interrogator Identifier", "dis.iff.mode_s_interrogator_identifier",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_mode_s_interrogator_identifier_primary_ic_type,
+ { "Primary IC Type", "dis.iff.mode_s_interrogator_identifier.primary_ic_type",
+ FT_UINT16, BASE_DEC, VALS(DIS_PDU_IffModeSInterrogatorIdentifierICType_Strings), 0x0001,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_mode_s_interrogator_identifier_primary_ic_code,
+ { "Primary IC Code", "dis.iff.mode_s_interrogator_identifier.primary_ic_code",
+ FT_UINT16, BASE_DEC, NULL, 0x00FE,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_mode_s_interrogator_identifier_secondary_ic_type,
+ { "Secondary IC Type", "dis.iff.mode_s_interrogator_identifier.secondary_ic_type",
+ FT_UINT16, BASE_DEC, VALS(DIS_PDU_IffModeSInterrogatorIdentifierICType_Strings), 0x0100,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_mode_s_interrogator_identifier_secondary_ic_code,
+ { "Secondary IC Code", "dis.iff.mode_s_interrogator_identifier.secondary_ic_code",
+ FT_UINT16, BASE_DEC, NULL, 0xFE00,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_mode_4,
+ { "Mode 4 Code", "dis.iff.mode_4",
+ FT_UINT16, BASE_DEC, VALS(DIS_PDU_IffMode4_Strings), 0x0FFF,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_mode_c_altitude_indicator,
+ { "Altitude Indicator", "dis.iff.mode_c.altitude_indicator",
+ FT_UINT16, BASE_DEC, VALS(DIS_PDU_IffModeCAltitudeIndicator_Strings), 0x0001,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_mode_c_altitude,
+ { "Mode C Altitude", "dis.iff.mode_c.altitude",
+ FT_UINT16, BASE_DEC, VALS(DIS_PDU_IffModeC_Strings), 0x0FFE,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_tcas_acas,
+ { "TCAS", "dis.iff.tcas_acas",
+ FT_UINT16, BASE_DEC, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_tcas_acas_basic_advanced_indicator,
+ { "Basic/Advanced", "dis.iff.tcas_acas.basic_advanced_indicator",
+ FT_UINT16, BASE_DEC, VALS(DIS_PDU_IffTCASACASBasicAdvanced_Strings), 0x0001,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_tcas_acas_tcas_acas_indicator,
+ { "TCAS/ACAS", "dis.iff.tcas_acas.tcas_acas_indicator",
+ FT_UINT16, BASE_DEC, VALS(DIS_PDU_IffTCASACASIndicator_Strings), 0x0002,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_tcas_acas_software_version,
+ { "Software Version", "dis.iff.tcas_acas.software_version",
+ FT_UINT16, BASE_DEC, VALS(DIS_PDU_IffTCASACASSoftwareVersion_Strings), 0x001C,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_tcas_acas_tcas_acas_type,
+ { "TCAS/ACAS Type", "dis.iff.tcas_acas.tcas_acas_type",
+ FT_UINT16, BASE_DEC, VALS(DIS_PDU_IffTCASACASType_Strings), 0x0E00,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_tcas_acas_tcas_type,
+ { "TCAS I/II", "dis.iff.tcas_acas.tcas_type",
+ FT_UINT16, BASE_DEC, VALS(DIS_PDU_IffTCASType_Strings), 0x1000,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_mode_status,
+ { "Status", "dis.iff.mode_status",
+ FT_BOOLEAN, 16, TFS(&tfs_on_off), 0x2000,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_mode_damage,
+ { "Damage", "dis.iff.mode_damage",
+ FT_UINT16, BASE_DEC, VALS(DIS_PDU_IffDamaged_Strings), 0x4000,
+ NULL, HFILL }
+ },
+ { &hf_dis_iff_mode_malfunction,
+ { "Malfunction", "dis.iff.mode_malfunction",
+ FT_UINT16, BASE_DEC, VALS(DIS_PDU_IffMalfunction_Strings), 0x8000,
+ NULL, HFILL }
+ },
+ { &hf_dis_collision_type,
+ { "Collision Type", "dis.collision.type",
+ FT_UINT8, BASE_DEC|BASE_EXT_STRING, &DIS_PDU_CollisionType_Strings_Ext, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_collision_mass,
+ { "Mass", "dis.collision.mass",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL }
+ },
+ { &hf_dis_collision_location_x,
+ {"X", "dis.collision.location.x",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_collision_location_y,
+ {"Y", "dis.collision.location.y",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ },
+ { &hf_dis_collision_location_z,
+ {"Z", "dis.collision.location.z",
+ FT_FLOAT, BASE_NONE, NULL, 0x0,
+ NULL, HFILL}
+ }
+ };
+
+ /* Setup protocol subtree array */
+ static gint *ett[] =
+ {
+ &ett_dis,
+ &ett_dis_header,
+ &ett_pdu_status,
+ &ett_dis_po_header,
+ &ett_dis_ens,
+ &ett_dis_crypto_key,
+ &ett_dis_payload,
+ &ett_entity,
+ &ett_trackjam,
+ &ett_radio_entity_type,
+ &ett_entity_type,
+ &ett_antenna_location,
+ &ett_rel_antenna_location,
+ &ett_aggregate_dimensions,
+ &ett_modulation_type,
+ &ett_modulation_parameters,
+ &ett_entity_linear_velocity,
+ &ett_aggregate_orientation,
+ &ett_aggregate_velocity,
+ &ett_aggregate_id_list,
+ &ett_entity_id_list,
+ &ett_variable_datum,
+ &ett_entity_marking_text,
+ &ett_aggregate_marking_text,
+ &ett_entity_dead_reckoning_parameters,
+ &ett_entity_linear_acceleration,
+ &ett_entity_angular_velocity,
+ &ett_environmental_environment_status,
+ &ett_environmental_environment_type,
+ &ett_aggregate_type,
+ &ett_aggregate_center_of_mass,
+ &ett_designator_spot_location,
+ &ett_designator_spot_with_respect_to_designated_entity,
+ &ett_designator_entity_linear_acceleration,
+ &ett_entity_location,
+ &ett_entity_orientation,
+ &ett_entity_appearance,
+ &ett_variable_parameter,
+ &ett_event_id,
+ &ett_shafts,
+ &ett_apas,
+ &ett_underwater_acoustic_emission,
+ &ett_acoustic_emitter_system,
+ &ett_ua_location,
+ &ett_ua_beams,
+ &ett_ua_beam_data,
+ &ett_emission_system,
+ &ett_emitter_system,
+ &ett_em_beam,
+ &ett_emitter_location,
+ &ett_em_fundamental_parameter_data,
+ &ett_burst_descriptor,
+ &ett_fire_location,
+ &ett_linear_velocity,
+ &ett_detonation_location,
+ &ett_clock_time,
+ &ett_fixed_datum,
+ &ett_record,
+ &ett_simulation_address,
+ &ett_offset_vector,
+ &ett_dis_signal_link16_network_header,
+ &ett_dis_signal_link16_message_data,
+ &ett_dis_signal_link16_jtids_header,
+ &ett_iff_location,
+ &ett_iff_system_id,
+ &ett_iff_change_options,
+ &ett_iff_fundamental_operational_data,
+ &ett_iff_system_status,
+ &ett_iff_information_layers,
+ &ett_iff_modifier,
+ &ett_iff_parameter_1,
+ &ett_iff_rrb,
+ &ett_iff_parameter_2,
+ &ett_iff_parameter_3,
+ &ett_iff_parameter_4,
+ & ett_iff_mode_s_interrogator_identifier,
+ &ett_iff_parameter_5,
+ &ett_iff_parameter_6,
+ };
+
+ proto_dis = proto_register_protocol("Distributed Interactive Simulation", "DIS", "dis");
+ proto_register_field_array(proto_dis, hf, array_length(hf));
+ proto_register_subtree_array(ett, array_length(ett));
+
+ dis_dissector_handle = register_dissector("dis", dissect_dis, proto_dis);
+}
+
+/* Register handoff routine for DIS dissector. This will be invoked initially
+ * and when the preferences are changed, to handle changing the UDP port for
+ * which this dissector is registered.
+ */
+void proto_reg_handoff_dis(void)
+{
+ dissector_add_uint_with_preference("udp.port", DEFAULT_DIS_UDP_PORT, dis_dissector_handle);
+
+ link16_handle = find_dissector_add_dependency("link16", proto_dis);
+}
+
+/*
+ * Editor modelines - https://www.wireshark.org/tools/modelines.html
+ *
+ * Local variables:
+ * c-basic-offset: 4
+ * tab-width: 8
+ * indent-tabs-mode: nil
+ * End:
+ *
+ * vi: set shiftwidth=4 tabstop=8 expandtab:
+ * :indentSize=4:tabSize=8:noTabs=true:
+ */