\doxysection{gsm\+\_\+23\+\_\+003.\+h}
\label{gsm__23__003_8h_source}\index{include/osmocom/gsm/protocol/gsm\_23\_003.h@{include/osmocom/gsm/protocol/gsm\_23\_003.h}}
\textbf{ Go to the documentation of this file.}
\begin{DoxyCode}{0}
\DoxyCodeLine{1 }
\DoxyCodeLine{3 \textcolor{preprocessor}{\#pragma once}}
\DoxyCodeLine{4 }
\DoxyCodeLine{5 \textcolor{comment}{/* Chapter 2.2 */}}
\DoxyCodeLine{6 \textcolor{preprocessor}{\#define GSM23003\_IMSI\_MAX\_DIGITS        15}}
\DoxyCodeLine{7 \textcolor{preprocessor}{\#define GSM23003\_IMSI\_MIN\_DIGITS        6}}
\DoxyCodeLine{10 \textcolor{preprocessor}{\#define OSMO\_IMSI\_BUF\_SIZE (GSM23003\_IMSI\_MAX\_DIGITS+2)}}
\DoxyCodeLine{11 \textcolor{comment}{/* Chapter 2.4 */}}
\DoxyCodeLine{12 \textcolor{preprocessor}{\#define GSM23003\_TMSI\_NUM\_BYTES         4}}
\DoxyCodeLine{13 \textcolor{preprocessor}{\#define GSM23003\_TMSI\_SGSN\_MASK         0xC0000000UL}}
\DoxyCodeLine{14 \textcolor{comment}{/* Chapter 2.5 */}}
\DoxyCodeLine{15 \textcolor{preprocessor}{\#define GSM23003\_LMSI\_NUM\_BYTES         4}}
\DoxyCodeLine{16 \textcolor{comment}{/* Chapter 2.6 */}}
\DoxyCodeLine{17 \textcolor{preprocessor}{\#define GSM23003\_TLLI\_NUM\_BYTES         4}}
\DoxyCodeLine{18 \textcolor{comment}{/* Chapter 2.7 */}}
\DoxyCodeLine{19 \textcolor{preprocessor}{\#define GSM23003\_PTMSI\_SIG\_NUM\_BYTES    3}}
\DoxyCodeLine{20 \textcolor{comment}{/* Chapter 2.8 */}}
\DoxyCodeLine{21 \textcolor{preprocessor}{\#define GSM23003\_MME\_CODE\_NUM\_BYTES     1}}
\DoxyCodeLine{22 \textcolor{preprocessor}{\#define GSM23003\_MME\_GROUP\_NUM\_BYTES    2}}
\DoxyCodeLine{23 \textcolor{preprocessor}{\#define GSM23003\_MTMSI\_NUM\_BYTES        4}}
\DoxyCodeLine{24 \textcolor{comment}{/* Chapter 3.2 */}}
\DoxyCodeLine{25 \textcolor{preprocessor}{\#define GSM23003\_MSISDN\_MAX\_DIGITS      15 }\textcolor{comment}{/* ITU-\/T Rec. E.164 6.1 */}\textcolor{preprocessor}{}}
\DoxyCodeLine{26 \textcolor{preprocessor}{\#define GSM23003\_MSISDN\_MIN\_DIGITS      1}}
\DoxyCodeLine{27 \textcolor{comment}{/* Chapter 6.2.1 */}}
\DoxyCodeLine{28 \textcolor{preprocessor}{\#define GSM23003\_IMEI\_TAC\_NUM\_DIGITS    8}}
\DoxyCodeLine{29 \textcolor{preprocessor}{\#define GSM23003\_IMEI\_SNR\_NUM\_DIGITS    6}}
\DoxyCodeLine{30 \textcolor{preprocessor}{\#define GSM23003\_IMEI\_NUM\_DIGITS        (GSM23003\_IMEI\_TAC\_NUM\_DIGITS + \(\backslash\)}}
\DoxyCodeLine{31 \textcolor{preprocessor}{                                         GSM23003\_IMEI\_SNR\_NUM\_DIGITS + 1)}}
\DoxyCodeLine{32 \textcolor{preprocessor}{\#define GSM23003\_IMEISV\_NUM\_DIGITS      (GSM23003\_IMEI\_TAC\_NUM\_DIGITS + \(\backslash\)}}
\DoxyCodeLine{33 \textcolor{preprocessor}{                                         GSM23003\_IMEI\_SNR\_NUM\_DIGITS + 2)}}
\DoxyCodeLine{34 \textcolor{comment}{/* IMEI without Luhn checksum */}}
\DoxyCodeLine{35 \textcolor{preprocessor}{\#define GSM23003\_IMEI\_NUM\_DIGITS\_NO\_CHK (GSM23003\_IMEI\_TAC\_NUM\_DIGITS + \(\backslash\)}}
\DoxyCodeLine{36 \textcolor{preprocessor}{                                         GSM23003\_IMEI\_SNR\_NUM\_DIGITS)}}
\DoxyCodeLine{37 }
\DoxyCodeLine{38 \textcolor{comment}{/* Chapter 19.2 "{}epc.mnc000.mcc000.3gppnetwork.org"{} */}}
\DoxyCodeLine{39 \textcolor{preprocessor}{\#define GSM23003\_HOME\_NETWORK\_DOMAIN\_LEN        33}}
\DoxyCodeLine{40 }
\DoxyCodeLine{41 \textcolor{comment}{/* Chapter 19.4.2.4: "{}mmec00.mmegi0000.mme.epc.mnc000.mcc000.3gppnetwork.org"{} */}}
\DoxyCodeLine{42 \textcolor{preprocessor}{\#define GSM23003\_MME\_DOMAIN\_LEN                 55}}

\end{DoxyCode}
