libosmogsm 1.13.1.1-afb4 Osmocom GSM library

gsm23003.h
Go to the documentation of this file.
1
3#pragma once
4
5#include <stddef.h>
6#include <stdint.h>
7#include <stdbool.h>
8
9/* 23.003 Chapter 12.1 */
10 struct osmo_plmn_id {
11 uint16_t mcc;
12 uint16_t mnc;
13 bool mnc_3_digits; /*< ignored and implied true if mnc > 99, otherwise defines leading zeros. */
14};
15
16/* 4.1 */
17 struct osmo_location_area_id {
18 struct osmo_plmn_id plmn;
19 uint16_t lac;
20};
21
22/* 4.2 */
23 struct osmo_routing_area_id {
24 struct osmo_location_area_id lac;
25 uint8_t rac;
26};
27
28/* 4.3.1 */
29 struct osmo_cell_global_id {
30 struct osmo_location_area_id lai;
31 uint16_t cell_identity;
32};
33
34/* 3GPP TS 48.018:
35 * 8c.1.4.1.1 GERAN BSS identification (RIM)
36 * sec 11.3.9 Cell Identifier */
37 struct osmo_cell_global_id_ps {
38 struct osmo_routing_area_id rai;
39 uint16_t cell_identity;
40};
41
45 enum osmo_cgi_part {
46 OSMO_CGI_PART_PLMN = 1,
47 OSMO_CGI_PART_LAC = 2,
48 OSMO_CGI_PART_CI = 4,
49 OSMO_CGI_PART_RAC = 8,
50};
51
52/* Actually defined in 3GPP TS 48.008 3.2.2.27 Cell Identifier List,
53 * but conceptually belongs with the above structures. */
54 struct osmo_lac_and_ci_id {
55 uint16_t lac;
56 uint16_t ci;
57};
58
59/* 12.4 */
60 struct osmo_rnc_id {
61 struct osmo_plmn_id plmn;
62 uint16_t rnc_id;
63};
64
65/* 12.5 */
66 struct osmo_service_area_id {
67 struct osmo_location_area_id lai;
68 uint16_t sac;
69};
70
71/* 12.6 */
72 struct osmo_shared_network_area_id {
73 struct osmo_plmn_id plmn;
74 uint32_t snac;
75};
76
77/* 5.1 */
78 enum osmo_gsn_addr_type {
79 GSN_ADDR_TYPE_IPV4 = 0,
80 GSN_ADDR_TYPE_IPV6 = 1,
81};
82
83/* 5.1 */
84 struct osmo_gsn_address {
85 enum osmo_gsn_addr_type type;
86 uint8_t length;
87 uint8_t addr[16];
88};
89
90/* 19.4.2.3 */
91 struct osmo_tracking_area_id {
92 struct osmo_plmn_id plmn;
93 uint16_t tac;
94};
95
96 struct osmo_eutran_cell_global_id {
97 struct osmo_plmn_id plmn;
98 uint32_t eci; /* FIXME */
99};
100
101/* 2.8.1 */
102 struct osmo_mme_id {
103 uint16_t group_id;
104 uint8_t code;
105};
106
107/* 2.8.1 */
108 struct osmo_gummei {
109 struct osmo_plmn_id plmn;
110 struct osmo_mme_id mme;
111};
112
113/* 2.8.1 */
114 struct osmo_guti {
115 struct osmo_gummei gummei;
116 uint32_t mtmsi;
117};
118
119 bool osmo_imsi_str_valid(const char *imsi);
120 bool osmo_msisdn_str_valid(const char *msisdn);
121 bool osmo_imei_str_valid(const char *imei, bool with_15th_digit);
122
123 const char *osmo_mcc_name(uint16_t mcc);
124 char *osmo_mcc_name_buf(char *buf, size_t buf_len, uint16_t mcc);
125 const char *osmo_mcc_name_c(const void *ctx, uint16_t mcc);
126 const char *osmo_mnc_name(uint16_t mnc, bool mnc_3_digits);
127 char *osmo_mnc_name_buf(char *buf, size_t buf_len, uint16_t mnc, bool mnc_3_digits);
128 char *osmo_mnc_name_c(const void *ctx, uint16_t mnc, bool mnc_3_digits);
129 const char *osmo_plmn_name(const struct osmo_plmn_id *plmn);
130 const char *osmo_plmn_name2(const struct osmo_plmn_id *plmn);
131 char *osmo_plmn_name_buf(char *buf, size_t buf_len, const struct osmo_plmn_id *plmn);
132 char *osmo_plmn_name_c(const void *ctx, const struct osmo_plmn_id *plmn);
133 const char *osmo_lai_name(const struct osmo_location_area_id *lai);
134 char *osmo_lai_name_buf(char *buf, size_t buf_len, const struct osmo_location_area_id *lai);
135 char *osmo_lai_name_c(const void *ctx, const struct osmo_location_area_id *lai);
136 const char *osmo_rai_name2(const struct osmo_routing_area_id *rai);
137 char *osmo_rai_name2_buf(char *buf, size_t buf_len, const struct osmo_routing_area_id *rai);
138 char *osmo_rai_name2_c(const void *ctx, const struct osmo_routing_area_id *rai);
139 const char *osmo_cgi_name(const struct osmo_cell_global_id *cgi);
140 const char *osmo_cgi_name2(const struct osmo_cell_global_id *cgi);
141 char *osmo_cgi_name_buf(char *buf, size_t buf_len, const struct osmo_cell_global_id *cgi);
142 char *osmo_cgi_name_c(const void *ctx, const struct osmo_cell_global_id *cgi);
143 const char *osmo_cgi_ps_name(const struct osmo_cell_global_id_ps *cgi_ps);
144 const char *osmo_cgi_ps_name2(const struct osmo_cell_global_id_ps *cgi_ps);
145 char *osmo_cgi_ps_name_buf(char *buf, size_t buf_len, const struct osmo_cell_global_id_ps *cgi_ps);
146 char *osmo_cgi_ps_name_c(const void *ctx, const struct osmo_cell_global_id_ps *cgi_ps);
147 const char *osmo_rnc_id_name(const struct osmo_rnc_id *rnc_id);
148 char *osmo_rnc_id_name_buf(char *buf, size_t buf_len, const struct osmo_rnc_id *rnc_id);
149 char *osmo_rnc_id_name_c(const void *ctx, const struct osmo_rnc_id *rnc_id);
150 const char *osmo_sai_name(const struct osmo_service_area_id *sai);
151 const char *osmo_sai_name2(const struct osmo_service_area_id *sai);
152 char *osmo_sai_name_buf(char *buf, size_t buf_len, const struct osmo_service_area_id *sai);
153 char *osmo_sai_name_c(const void *ctx, const struct osmo_service_area_id *sai);
154 const char *osmo_gummei_name(const struct osmo_gummei *gummei);
155 char *osmo_gummei_name_buf(char *buf, size_t buf_len, const struct osmo_gummei *gummei);
156 char *osmo_gummei_name_c(const void *ctx, const struct osmo_gummei *gummei);
157
158 void osmo_plmn_to_bcd(uint8_t *bcd_dst, const struct osmo_plmn_id *plmn);
159 void osmo_plmn_from_bcd(const uint8_t *bcd_src, struct osmo_plmn_id *plmn);
160
161 int osmo_mnc_from_str(const char *mnc_str, uint16_t *mnc, bool *mnc_3_digits);
162
163/* Convert string to MCC.
164 * \param mcc_str[in] String representation of an MCC, with or without leading zeros.
165 * \param mcc[out] MCC result buffer, or NULL.
166 * \returns zero on success, -EINVAL in case of surplus characters, negative errno in case of conversion
167 * errors. In case of error, do not modify the out-arguments.
168 */
169 static inline int osmo_mcc_from_str(const char *mcc_str, uint16_t *mcc)
170{
171 return osmo_mnc_from_str(mcc_str, mcc, NULL);
172}
173
174 int osmo_mnc_cmp(uint16_t a_mnc, bool a_mnc_3_digits, uint16_t b_mnc, bool b_mnc_3_digits);
175 int osmo_plmn_cmp(const struct osmo_plmn_id *a, const struct osmo_plmn_id *b);
176 int osmo_lai_cmp(const struct osmo_location_area_id *a, const struct osmo_location_area_id *b);
177 int osmo_rai_cmp(const struct osmo_routing_area_id *a, const struct osmo_routing_area_id *b);
178 int osmo_cgi_cmp(const struct osmo_cell_global_id *a, const struct osmo_cell_global_id *b);
179 int osmo_cgi_ps_cmp(const struct osmo_cell_global_id_ps *a, const struct osmo_cell_global_id_ps *b);
180 int osmo_rnc_id_cmp(const struct osmo_rnc_id *a, const struct osmo_rnc_id *b);
181 int osmo_mme_id_cmp(const struct osmo_mme_id *a, const struct osmo_mme_id *b);
182 int osmo_gummei_cmp(const struct osmo_gummei *a, const struct osmo_gummei *b);
183
184 int osmo_gen_home_network_domain(char *out, const struct osmo_plmn_id *plmn);
185 int osmo_parse_home_network_domain(struct osmo_plmn_id *out, const char *in);
186 int osmo_gen_mme_domain(char *out, const struct osmo_gummei *gummei);
187 int osmo_gen_mme_group_domain(char *out, uint16_t mmegi, const struct osmo_plmn_id *plmn);
188 int osmo_parse_mme_domain(struct osmo_gummei *out, const char *in);
osmo_sai_name_buf
char * osmo_sai_name_buf(char *buf, size_t buf_len, const struct osmo_service_area_id *sai)
Return MCC-MNC-LAC-SAC as string, in caller-provided output buffer.
Definition: gsm23003.c:415
osmo_cgi_name_c
char * osmo_cgi_name_c(const void *ctx, const struct osmo_cell_global_id *cgi)
Return MCC-MNC-LAC-CI as string, in a talloc-allocated output buffer.
Definition: gsm23003.c:321
osmo_cgi_name_buf
char * osmo_cgi_name_buf(char *buf, size_t buf_len, const struct osmo_cell_global_id *cgi)
Return MCC-MNC-LAC-CI as string, in caller-provided output buffer.
Definition: gsm23003.c:289
osmo_cgi_name2
const char * osmo_cgi_name2(const struct osmo_cell_global_id *cgi)
Same as osmo_cgi_name(), but uses a different static buffer.
Definition: gsm23003.c:310
osmo_gen_home_network_domain
int osmo_gen_home_network_domain(char *out, const struct osmo_plmn_id *plmn)
Generate TS 23.003 Section 19.2 Home Network Realm/Domain (text form)
Definition: gsm23003.c:753
osmo_mcc_name
const char * osmo_mcc_name(uint16_t mcc)
Return MCC string as standardized 3-digit with leading zeros.
Definition: gsm23003.c:104
osmo_mnc_name
const char * osmo_mnc_name(uint16_t mnc, bool mnc_3_digits)
Return MNC string as standardized 2- or 3-digit with leading zeros.
Definition: gsm23003.c:155
osmo_mcc_name_buf
char * osmo_mcc_name_buf(char *buf, size_t buf_len, uint16_t mcc)
Return MCC string as standardized 3-digit with leading zeros.
Definition: gsm23003.c:94
osmo_gummei_name
const char * osmo_gummei_name(const struct osmo_gummei *gummei)
Return string representation of GUMMEI in static output buffer.
Definition: gsm23003.c:481
osmo_rai_cmp
int osmo_rai_cmp(const struct osmo_routing_area_id *a, const struct osmo_routing_area_id *b)
Definition: gsm23003.c:651
osmo_parse_home_network_domain
int osmo_parse_home_network_domain(struct osmo_plmn_id *out, const char *in)
Parse a TS 23.003 Section 19.2 Home Network Realm/Domain (text form) into a osmo_plmn_id.
Definition: gsm23003.c:766
osmo_cgi_ps_cmp
int osmo_cgi_ps_cmp(const struct osmo_cell_global_id_ps *a, const struct osmo_cell_global_id_ps *b)
Definition: gsm23003.c:685
osmo_mnc_name_c
char * osmo_mnc_name_c(const void *ctx, uint16_t mnc, bool mnc_3_digits)
Return MNC string as standardized 2- or 3-digit with leading zeros, into a talloc-allocated buffer.
Definition: gsm23003.c:142
osmo_gummei_cmp
int osmo_gummei_cmp(const struct osmo_gummei *a, const struct osmo_gummei *b)
Definition: gsm23003.c:740
osmo_lai_name
const char * osmo_lai_name(const struct osmo_location_area_id *lai)
Return MCC-MNC-LAC as string, in a static buffer.
Definition: gsm23003.c:227
osmo_plmn_to_bcd
void osmo_plmn_to_bcd(uint8_t *bcd_dst, const struct osmo_plmn_id *plmn)
Definition: gsm23003.c:513
osmo_rnc_id_cmp
int osmo_rnc_id_cmp(const struct osmo_rnc_id *a, const struct osmo_rnc_id *b)
Definition: gsm23003.c:702
osmo_parse_mme_domain
int osmo_parse_mme_domain(struct osmo_gummei *out, const char *in)
Parse a TS 23.003 Section 19.4.2.4 MME Domain (text form) into a osmo_gummei.
Definition: gsm23003.c:797
osmo_mcc_name_c
const char * osmo_mcc_name_c(const void *ctx, uint16_t mcc)
Return MCC string as standardized 3-digit with leading zeros, into a talloc-allocated buffer.
Definition: gsm23003.c:115
osmo_sai_name
const char * osmo_sai_name(const struct osmo_service_area_id *sai)
Return MCC-MNC-LAC-SAC as string, in a static buffer.
Definition: gsm23003.c:425
osmo_plmn_cmp
int osmo_plmn_cmp(const struct osmo_plmn_id *a, const struct osmo_plmn_id *b)
Definition: gsm23003.c:618
osmo_lai_name_c
char * osmo_lai_name_c(const void *ctx, const struct osmo_location_area_id *lai)
Return MCC-MNC-LAC as string, in a talloc-allocated output buffer.
Definition: gsm23003.c:238
osmo_cgi_cmp
int osmo_cgi_cmp(const struct osmo_cell_global_id *a, const struct osmo_cell_global_id *b)
Definition: gsm23003.c:668
osmo_rai_name2_buf
char * osmo_rai_name2_buf(char *buf, size_t buf_len, const struct osmo_routing_area_id *rai)
Return MCC-MNC-LAC-RAC as string, in caller-provided output buffer.
Definition: gsm23003.c:252
osmo_plmn_name
const char * osmo_plmn_name(const struct osmo_plmn_id *plmn)
Return MCC-MNC string as standardized 3-digit-dash-2/3-digit with leading zeros.
Definition: gsm23003.c:179
osmo_imsi_str_valid
bool osmo_imsi_str_valid(const char *imsi)
Determine whether the given IMSI is valid according to 3GPP TS 23.003.
Definition: gsm23003.c:56
osmo_rai_name2
const char * osmo_rai_name2(const struct osmo_routing_area_id *rai)
Return MCC-MNC-LAC-RAC as string, in a static buffer.
Definition: gsm23003.c:264
osmo_rnc_id_name
const char * osmo_rnc_id_name(const struct osmo_rnc_id *rnc_id)
Return string representation of RNC in static output buffer.
Definition: gsm23003.c:378
osmo_plmn_name_buf
char * osmo_plmn_name_buf(char *buf, size_t buf_len, const struct osmo_plmn_id *plmn)
Return MCC-MNC string as standardized 3-digit-dash-2/3-digit with leading zeros.
Definition: gsm23003.c:167
osmo_mme_id_cmp
int osmo_mme_id_cmp(const struct osmo_mme_id *a, const struct osmo_mme_id *b)
Definition: gsm23003.c:720
osmo_mnc_cmp
int osmo_mnc_cmp(uint16_t a_mnc, bool a_mnc_3_digits, uint16_t b_mnc, bool b_mnc_3_digits)
Definition: gsm23003.c:602
osmo_cgi_part
osmo_cgi_part
Bitmask of items contained in a struct osmo_cell_global_id.
Definition: gsm23003.h:45
OSMO_CGI_PART_CI
@ OSMO_CGI_PART_CI
Definition: gsm23003.h:48
OSMO_CGI_PART_RAC
@ OSMO_CGI_PART_RAC
Definition: gsm23003.h:49
OSMO_CGI_PART_LAC
@ OSMO_CGI_PART_LAC
Definition: gsm23003.h:47
OSMO_CGI_PART_PLMN
@ OSMO_CGI_PART_PLMN
Definition: gsm23003.h:46
osmo_rai_name2_c
char * osmo_rai_name2_c(const void *ctx, const struct osmo_routing_area_id *rai)
Return MCC-MNC-LAC-RAC as string, in a talloc-allocated output buffer.
Definition: gsm23003.c:275
osmo_lai_cmp
int osmo_lai_cmp(const struct osmo_location_area_id *a, const struct osmo_location_area_id *b)
Definition: gsm23003.c:634
osmo_sai_name2
const char * osmo_sai_name2(const struct osmo_service_area_id *sai)
Same as osmo_cgi_name(), but uses a different static buffer.
Definition: gsm23003.c:436
osmo_cgi_ps_name
const char * osmo_cgi_ps_name(const struct osmo_cell_global_id_ps *cgi_ps)
Return MCC-MNC-LAC-RAC-CI as string, in a static buffer.
Definition: gsm23003.c:343
osmo_mcc_from_str
static int osmo_mcc_from_str(const char *mcc_str, uint16_t *mcc)
Definition: gsm23003.h:169
osmo_gummei_name_c
char * osmo_gummei_name_c(const void *ctx, const struct osmo_gummei *gummei)
Return string representation of GUMMEI in static output buffer.
Definition: gsm23003.c:493
osmo_sai_name_c
char * osmo_sai_name_c(const void *ctx, const struct osmo_service_area_id *sai)
Return MCC-MNC-LAC-SAC as string, in a talloc-allocated output buffer.
Definition: gsm23003.c:447
osmo_cgi_ps_name_buf
char * osmo_cgi_ps_name_buf(char *buf, size_t buf_len, const struct osmo_cell_global_id_ps *cgi_ps)
Return MCC-MNC-LAC-RAC-CI as string, in caller-provided output buffer.
Definition: gsm23003.c:333
osmo_gummei_name_buf
char * osmo_gummei_name_buf(char *buf, size_t buf_len, const struct osmo_gummei *gummei)
Return string representation of GUMMEI in caller-provided output buffer.
Definition: gsm23003.c:469
osmo_rnc_id_name_buf
char * osmo_rnc_id_name_buf(char *buf, size_t buf_len, const struct osmo_rnc_id *rnc_id)
Return string representation of RNC in caller-provided output buffer.
Definition: gsm23003.c:366
osmo_cgi_ps_name2
const char * osmo_cgi_ps_name2(const struct osmo_cell_global_id_ps *cgi_ps)
Same as osmo_cgi_ps_name(), but uses a different static buffer.
Definition: gsm23003.c:354
osmo_plmn_name_c
char * osmo_plmn_name_c(const void *ctx, const struct osmo_plmn_id *plmn)
Return MCC-MNC string as standardized 3-digit-dash-2/3-digit with leading zeros, into a dynamically-a...
Definition: gsm23003.c:202
osmo_imei_str_valid
bool osmo_imei_str_valid(const char *imei, bool with_15th_digit)
Determine whether the given IMEI is valid according to 3GPP TS 23.003, Section 6.2....
Definition: gsm23003.c:80
osmo_lai_name_buf
char * osmo_lai_name_buf(char *buf, size_t buf_len, const struct osmo_location_area_id *lai)
Return MCC-MNC-LAC as string, in caller-provided output buffer.
Definition: gsm23003.c:216
osmo_plmn_name2
const char * osmo_plmn_name2(const struct osmo_plmn_id *plmn)
Same as osmo_plmn_name(), but returning in a different static buffer.
Definition: gsm23003.c:190
osmo_msisdn_str_valid
bool osmo_msisdn_str_valid(const char *msisdn)
Determine whether the given MSISDN is valid according to 3GPP TS 23.003.
Definition: gsm23003.c:66
osmo_gsn_addr_type
osmo_gsn_addr_type
Definition: gsm23003.h:78
GSN_ADDR_TYPE_IPV6
@ GSN_ADDR_TYPE_IPV6
Definition: gsm23003.h:80
GSN_ADDR_TYPE_IPV4
@ GSN_ADDR_TYPE_IPV4
Definition: gsm23003.h:79
osmo_cgi_ps_name_c
char * osmo_cgi_ps_name_c(const void *ctx, const struct osmo_cell_global_id_ps *cgi_ps)
Return MCC-MNC-LAC-RAC-CI as string, in a talloc-allocated output buffer.
Definition: gsm23003.c:403
osmo_plmn_from_bcd
void osmo_plmn_from_bcd(const uint8_t *bcd_src, struct osmo_plmn_id *plmn)
Definition: gsm23003.c:538
osmo_gen_mme_domain
int osmo_gen_mme_domain(char *out, const struct osmo_gummei *gummei)
Generate TS 23.003 Section 19.4.2.4 MME Domain (text form)
Definition: gsm23003.c:783
osmo_mnc_from_str
int osmo_mnc_from_str(const char *mnc_str, uint16_t *mnc, bool *mnc_3_digits)
Definition: gsm23003.c:565
osmo_cgi_name
const char * osmo_cgi_name(const struct osmo_cell_global_id *cgi)
Return MCC-MNC-LAC-CI as string, in a static buffer.
Definition: gsm23003.c:299
osmo_gen_mme_group_domain
int osmo_gen_mme_group_domain(char *out, uint16_t mmegi, const struct osmo_plmn_id *plmn)
Generate TS 23.003 Section 19.4.2.4 MME Group Domain (text form)
Definition: gsm23003.c:817
osmo_mnc_name_buf
char * osmo_mnc_name_buf(char *buf, size_t buf_len, uint16_t mnc, bool mnc_3_digits)
Return MNC string as standardized 2- or 3-digit with leading zeros.
Definition: gsm23003.c:130
osmo_rnc_id_name_c
char * osmo_rnc_id_name_c(const void *ctx, const struct osmo_rnc_id *rnc_id)
Return string representation of RNC in static output buffer.
Definition: gsm23003.c:390
lai
struct gsm48_loc_area_id lai
Definition: gsm_04_08.h:2
osmo_cell_global_id_ps
Definition: gsm23003.h:37
osmo_cell_global_id_ps::cell_identity
uint16_t cell_identity
Definition: gsm23003.h:39
osmo_cell_global_id_ps::rai
struct osmo_routing_area_id rai
Definition: gsm23003.h:38
osmo_cell_global_id
Definition: gsm23003.h:29
osmo_cell_global_id::cell_identity
uint16_t cell_identity
Definition: gsm23003.h:31
osmo_cell_global_id::lai
struct osmo_location_area_id lai
Definition: gsm23003.h:30
osmo_eutran_cell_global_id
Definition: gsm23003.h:96
osmo_eutran_cell_global_id::eci
uint32_t eci
Definition: gsm23003.h:98
osmo_eutran_cell_global_id::plmn
struct osmo_plmn_id plmn
Definition: gsm23003.h:97
osmo_gsn_address
Definition: gsm23003.h:84
osmo_gsn_address::length
uint8_t length
Definition: gsm23003.h:86
osmo_gsn_address::addr
uint8_t addr[16]
Definition: gsm23003.h:87
osmo_gsn_address::type
enum osmo_gsn_addr_type type
Definition: gsm23003.h:85
osmo_gummei
Definition: gsm23003.h:108
osmo_gummei::plmn
struct osmo_plmn_id plmn
Definition: gsm23003.h:109
osmo_gummei::mme
struct osmo_mme_id mme
Definition: gsm23003.h:110
osmo_guti
Definition: gsm23003.h:114
osmo_guti::gummei
struct osmo_gummei gummei
Definition: gsm23003.h:115
osmo_guti::mtmsi
uint32_t mtmsi
Definition: gsm23003.h:116
osmo_lac_and_ci_id
Definition: gsm23003.h:54
osmo_lac_and_ci_id::lac
uint16_t lac
Definition: gsm23003.h:55
osmo_lac_and_ci_id::ci
uint16_t ci
Definition: gsm23003.h:56
osmo_location_area_id
Definition: gsm23003.h:17
osmo_location_area_id::lac
uint16_t lac
Definition: gsm23003.h:19
osmo_location_area_id::plmn
struct osmo_plmn_id plmn
Definition: gsm23003.h:18
osmo_mme_id
Definition: gsm23003.h:102
osmo_mme_id::code
uint8_t code
Definition: gsm23003.h:104
osmo_mme_id::group_id
uint16_t group_id
Definition: gsm23003.h:103
osmo_plmn_id
Definition: gsm23003.h:10
osmo_plmn_id::mcc
uint16_t mcc
Definition: gsm23003.h:11
osmo_plmn_id::mnc_3_digits
bool mnc_3_digits
Definition: gsm23003.h:13
osmo_plmn_id::mnc
uint16_t mnc
Definition: gsm23003.h:12
osmo_rnc_id
Definition: gsm23003.h:60
osmo_rnc_id::rnc_id
uint16_t rnc_id
Definition: gsm23003.h:62
osmo_rnc_id::plmn
struct osmo_plmn_id plmn
Definition: gsm23003.h:61
osmo_routing_area_id
Definition: gsm23003.h:23
osmo_routing_area_id::lac
struct osmo_location_area_id lac
Definition: gsm23003.h:24
osmo_routing_area_id::rac
uint8_t rac
Definition: gsm23003.h:25
osmo_service_area_id
Definition: gsm23003.h:66
osmo_service_area_id::sac
uint16_t sac
Definition: gsm23003.h:68
osmo_service_area_id::lai
struct osmo_location_area_id lai
Definition: gsm23003.h:67
osmo_shared_network_area_id
Definition: gsm23003.h:72
osmo_shared_network_area_id::snac
uint32_t snac
Definition: gsm23003.h:74
osmo_shared_network_area_id::plmn
struct osmo_plmn_id plmn
Definition: gsm23003.h:73
osmo_tracking_area_id
Definition: gsm23003.h:91
osmo_tracking_area_id::plmn
struct osmo_plmn_id plmn
Definition: gsm23003.h:92
osmo_tracking_area_id::tac
uint16_t tac
Definition: gsm23003.h:93