Wireshark
4.5.0
The Wireshark network protocol analyzer
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
Variables
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
m
o
p
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
Typedefs
a
b
c
d
e
f
g
h
i
m
p
r
s
t
u
v
w
Enumerations
Enumerator
a
b
c
e
f
h
i
n
o
r
s
t
w
Macros
_
a
b
c
d
e
f
g
h
i
j
m
n
o
p
r
s
t
u
v
w
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
epan
dissectors
packet-umts_mac.h
1
/* packet-umts_mac.h
2
*
3
* Wireshark - Network traffic analyzer
4
* By Gerald Combs <gerald@wireshark.org>
5
* Copyright 1998 Gerald Combs
6
*
7
* SPDX-License-Identifier: GPL-2.0-or-later
8
*/
9
10
#ifndef PACKET_UMTS_MAC_H
11
#define PACKET_UMTS_MAC_H
12
13
/* Target Channel Type Field (TCTF) values */
14
#define TCTF_CCCH_RACH_FDD 0x0
15
#define TCTF_DCCH_DTCH_RACH_FDD 0x1
16
17
#define TCTF_BCCH_FACH_FDD 0x0
18
#define TCTF_DCCH_DTCH_FACH_FDD 0x3
19
#define TCTF_MTCH_FACH_FDD 0x6
20
#define TCTF_CCCH_FACH_FDD 0x40
21
#define TCTF_MCCH_FACH_FDD 0x50
22
#define TCTF_MSCH_FACH_FDD 0x5f
23
#define TCTF_CTCH_FACH_FDD 0x80
24
25
/* UeID Type values */
26
#define MAC_UEID_TYPE_URNTI 0x0
27
#define MAC_UEID_TYPE_CRNTI 0x1
28
29
enum
mac_content_type {
30
MAC_CONTENT_UNKNOWN,
31
MAC_CONTENT_DCCH,
32
MAC_CONTENT_PS_DTCH,
33
MAC_CONTENT_CS_DTCH,
34
MAC_CONTENT_CCCH
35
};
36
37
/* Used for mapping id to string names*/
38
#define MAC_PCCH 0
39
#define MAC_CCCH 1
40
#define MAC_CTCH 2
41
#define MAC_DCCH 3
42
#define MAC_DTCH 4
43
#define MAC_BCCH 5
44
#define MAC_MCCH 6
45
#define MAC_MSCH 7
46
#define MAC_MTCH 8
47
#define MAC_N_A 9
48
49
#define MAX_MAC_FRAMES 64
50
typedef
struct
umts_mac_info
51
{
52
bool
ctmux[MAX_MAC_FRAMES];
53
uint8_t content[MAX_MAC_FRAMES];
54
uint8_t lchid[MAX_MAC_FRAMES];
/*Makes displaying logical channel a lot easier*/
55
uint8_t macdflow_id[MAX_MAC_FRAMES];
/*Makes displaying logical channel a lot easier*/
56
57
bool
fake_chid[MAX_MAC_FRAMES];
/*Indicate if the child ID is faked or not*/
58
unsigned
pdu_len;
/*Length of MAC PDU, same for all PDUs in one FP frame*/
59
uint8_t trchid[MAX_MAC_FRAMES];
/*Makes displaying logical channel a lot easier*/
60
}
umts_mac_info
;
50
typedef
struct
umts_mac_info
{
…
};
61
62
typedef
struct
63
{
64
unsigned
number_of_mac_is_sdus;
65
uint8_t lchid[MAX_MAC_FRAMES];
66
int
sdulength[MAX_MAC_FRAMES];
67
}
umts_mac_is_info
;
62
typedef
struct
{
…
};
68
69
enum
enum_mac_tsn_size {
70
MAC_TSN_6BITS,
71
MAC_TSN_14BITS
72
};
73
int
get_mac_tsn_size(
void
);
74
75
#endif
umts_mac_info
Definition
packet-umts_mac.h:51
umts_mac_is_info
Definition
packet-umts_mac.h:63
Generated by
1.9.8