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