Wireshark  4.3.0
The Wireshark network protocol analyzer
packet-ieee1609dot2.h
1 /* Do not modify this file. Changes will be overwritten. */
2 /* Generated automatically by the ASN.1 to Wireshark dissector compiler */
3 /* packet-ieee1609dot2.h */
4 /* asn2wrs.py -q -L -p ieee1609dot2 -c ./ieee1609dot2.cnf -s ./packet-ieee1609dot2-template -D . -O ../.. IEEE1609dot2BaseTypes.asn Ieee1609Dot2CrlBaseTypes.asn Ieee1609Dot2Crl.asn Ieee1609Dot2.asn IEEE1609dot12.asn */
5 
6 /* packet-IEEE1609dot2.h
7  * Routines for IEEE 1609.2
8  * Copyright 2018, Anders Broman <anders.broman@ericsson.com>
9  *
10  * Wireshark - Network traffic analyzer
11  * By Gerald Combs <gerald@wireshark.org>
12  * Copyright 1998 Gerald Combs
13  *
14  * SPDX-License-Identifier: GPL-2.0-or-later
15  */
16 
17 #ifndef _IEEE1609DOT2_H_
18 #define _IEEE1609DOT2_H_
19 
20 #include "ws_symbol_export.h"
21 
22 #define p2pcd8ByteLearningRequestId 1
23 
24 typedef enum _Psid_enum {
25  psid_system = 0,
26  psid_electronic_fee_collection = 1,
27  psid_freight_fleet_management = 2,
28  psid_public_transport = 3,
29  psid_traffic_traveller_information = 4,
30  psid_traffic_control = 5,
31  psid_parking_management = 6,
32  psid_geographic_road_database = 7,
33  psid_medium_range_preinformation = 8,
34  psid_man_machine_interface = 9,
35  psid_intersystem_interface = 10,
36  psid_automatic_vehicle_identification = 11,
37  psid_emergency_warning = 12,
38  psid_private = 13,
39  psid_multi_purpose_payment = 14,
40  psid_dsrc_resource_manager = 15,
41  psid_after_theft_systems = 16,
42  psid_cruise_assist_highway_system = 17,
43  psid_multi_purpose_information_system = 18,
44  psid_multi_mobile_information_system = 19,
45  psid_efc_compliance_check_communication_applications = 20,
46  psid_efc_localisation_augmentation_communication_applications = 21,
47  psid_iso_cen_dsrc_applications_0x16 = 22,
48  psid_iso_cen_dsrc_applications_0x17 = 23,
49  psid_iso_cen_dsrc_applications_0x18 = 24,
50  psid_iso_cen_dsrc_applications_0x19 = 25,
51  psid_iso_cen_dsrc_applications_0x1a = 26,
52  psid_iso_cen_dsrc_applications_0x1b = 27,
53  psid_iso_cen_dsrc_applications_0x1c = 28,
54  psid_private_use_0x1d = 29,
55  psid_private_use_0x1e = 30,
56  psid_iso_cen_dsrc_applications_0x1f = 31,
57  psid_vehicle_to_vehicle_safety_and_awarenesss = 32,
58  psid_limited_sensor_vehicle_to_vehicle_safety_and_awarenesss = 33,
59  psid_tracked_vehicle_safety_and_awarenesss = 34,
60  psid_wave_security_managements = 35,
61  psid_ca_basic_services = 36,
62  psid_den_basic_services = 37,
63  psid_misbehavior_reporting_for_common_applications = 38,
64  psid_vulnerable_road_users_safety_applications = 39,
65  psid_testings = 127,
66  psid_differential_gps_corrections_uncompressed = 128,
67  psid_differential_gps_corrections_compressed = 129,
68  psid_intersection_safety_and_awareness = 130,
69  psid_traveller_information_and_roadside_signage = 131,
70  psid_mobile_probe_exchanges = 132,
71  psid_emergency_and_erratic_vehicles_present_in_roadway = 133,
72  psid_remote_management_protocol_execution = 134,
73  psid_wave_service_advertisement = 135,
74  psid_peer_to_peer_distribution_of_security_management_information = 136,
75  psid_traffic_light_manoeuver_service = 137,
76  psid_road_and_lane_topology_service = 138,
77  psid_infrastructure_to_vehicle_information_service = 139,
78  psid_traffic_light_control_requests_service = 140,
79  psid_geonetworking_management_communications = 141,
80  psid_certificate_revocation_list_application = 256,
81  psid_traffic_light_control_status_service = 637,
82  psid_collective_perception_service = 639,
83  psid_vehicle_initiated_distress_notivication = 16514,
84  psid_fast_service_advertisement_protocol = 2113664,
85  psid_its_station_internal_management_communications_protocol = 2113665,
86  psid_veniam_delay_tolerant_networking = 2113666,
87  psid_transcore_software_update = 2113667,
88  psid_sra_private_applications_0x204084 = 2113668,
89  psid_sra_private_applications_0x204085 = 2113669,
90  psid_sra_private_applications_0x204086 = 2113670,
91  psid_sra_private_applications_0x204087 = 2113671,
92  psid_ipv6_routing = 270549118
93 } Psid_enum;
94 
95 /*
96  * When dissecting IEEE1609.2 structure containing only unsecured data, no PSID
97  * is provided inside. Caller has to provide a ITS-AID/PSID before calling the
98  * dissector to have a chance to dissect the data part.
99  * For signed data, PSID is provided and the caller do not have to provide the
100  * PSID. If he does, the provided PSID takes precedence on the PSID inside the
101  * structure.
102  */
103 WS_DLL_PUBLIC
104 void ieee1609dot2_set_next_default_psid(packet_info *pinfo, guint32 psid);
105 
106 WS_DLL_PUBLIC const val64_string ieee1609dot2_Psid_vals[];
107 
108 #endif /* _IEEE1609DOT2_H_ */
109 
110 /*
111  * Editor modelines - https://www.wireshark.org/tools/modelines.html
112  *
113  * Local Variables:
114  * c-basic-offset: 2
115  * tab-width: 8
116  * indent-tabs-mode: nil
117  * End:
118  *
119  * vi: set shiftwidth=2 tabstop=8 expandtab:
120  * :indentSize=2:tabSize=8:noTabs=true:
121  */
Definition: packet_info.h:44
Definition: value_string.h:133