Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
packet-atn-ulcs.h
1 /* Do not modify this file. Changes will be overwritten. */
2 /* Generated automatically by the ASN.1 to Wireshark dissector compiler */
3 /* packet-atn-ulcs.h */
4 /* asn2wrs.py -u -L -p atn-ulcs -c ./atn-ulcs.cnf -s ./packet-atn-ulcs-template -D . -O ../.. atn-ulcs.asn */
5 
6 /* Input file: packet-atn-ulcs-template.h */
7 
8 #line 1 "./asn1/atn-ulcs/packet-atn-ulcs-template.h"
9 /* packet-atn-ulcs.h
10  * Definitions for atn packet disassembly structures and routines
11  *
12  * Wireshark - Network traffic analyzer
13  * By Gerald Combs <gerald@wireshark.org>
14  * Copyright 1998 Gerald Combs
15  *
16  * SPDX-License-Identifier: GPL-2.0-or-later
17  */
18 #ifndef PACKET_ATN_ULCS_H
19 #define PACKET_ATN_ULCS_H
20 
21 #include <config.h>
22 
23 #include "packet.h"
24 
25 #include <epan/wmem/wmem.h>
26 
27 enum msg_type {
28  um,
29  dm,
30  no_msg
31 };
32 
33 enum ae_qualifier {
34  ads = 0,
35  cma =1, /* contact management (CM) */
36  cpdlc = 2, /* "plain old" CPDLC */
37  ati = 3 ,
38  arf =10 ,
39  met =11,
40  gac =12,
41  pmcpdlc =22, /* "protected mode" CPDLC */
42  unknown = -1
43 };
44 
45 typedef struct atn_conversation_t {
46  gint ae_qualifier; /* A/G application type */
48 
49 atn_conversation_t * create_atn_conversation(
50  address*,
51  guint16,
52  address*,
54 
55 atn_conversation_t * find_atn_conversation(
56  address*,
57  guint16,
58  address*);
59 
60 /* struct for conversation data reconstruction used in AARQ and AARE */
61 /* if transport data is larger than 32 octets AARQ/AARE is contained */
62 /* within DT frames which have only dest_ref, but no src_ref */
63 /* if AARQ/AARQ is contained within CR/CC only src_ref is present in CR */
64 /* while CC provides src_ref and dstref */
65 typedef struct aarq_data_t {
66  gboolean aarq_pending; /* flag tells whether AARQ/sequence is pending (true) */
67  /* required not to mix up different AARQ/AARE sequences */
68  /* during simoultanous establishment of transport connections */
69  /* i.e. GND facility initialises cpcstart and cmcontact at the same time */
70  atn_conversation_t* cv; /* pointer to AARQ conversation */
71 } aarq_data_t;
72 
73 wmem_tree_t *get_atn_conversation_tree(void);
74 
75 guint32 get_aircraft_24_bit_address_from_nsap(packet_info *);
76 int check_heur_msg_type(packet_info *);
77 
78 #endif
79 
80 /*
81  * Editor modelines - http://www.wireshark.org/tools/modelines.html
82  *
83  * Local variables:
84  * c-basic-offset: 4
85  * tab-width: 8
86  * indent-tabs-mode: nil
87  * End:
88  *
89  * vi: set shiftwidth=4 tabstop=8 expandtab:
90  * :indentSize=4:tabSize=8:noTabs=true:
91  */
Definition: wmem_tree-int.h:47
Definition: packet_info.h:44
Definition: packet-atn-ulcs-template.h:57
Definition: packet-atn-ulcs-template.h:37
Definition: address.h:47