\doxysection{sccp\+\_\+scmg.\+h}
\label{sccp__scmg_8h_source}\index{include/osmocom/sigtran/protocol/sccp\_scmg.h@{include/osmocom/sigtran/protocol/sccp\_scmg.h}}
\textbf{ Go to the documentation of this file.}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{preprocessor}{\#pragma\ once}}
\DoxyCodeLine{00002\ }
\DoxyCodeLine{00003\ \textcolor{comment}{/*\ SCCP\ Management\ as\ per\ Section\ 5.3\ of\ ITU-\/T\ Q.713\ */}}
\DoxyCodeLine{00004\ }
\DoxyCodeLine{00005\ \textcolor{keyword}{enum}\ sccp\_scmg\_msg\_type\ \{}
\DoxyCodeLine{00006\ \ \ \ \ \ \ \ \ SCCP\_SCMG\_MSGT\_SSA\ \ \ \ =\ 0x01,\ \textcolor{comment}{/*\ Subsystem\ Allowed\ */}}
\DoxyCodeLine{00007\ \ \ \ \ \ \ \ \ SCCP\_SCMG\_MSGT\_SSP\ \ \ \ =\ 0x02,\ \textcolor{comment}{/*\ Subsystem\ Prohibited\ */}}
\DoxyCodeLine{00008\ \ \ \ \ \ \ \ \ SCCP\_SCMG\_MSGT\_SST\ \ \ \ =\ 0x03,\ \textcolor{comment}{/*\ Subsystem\ Status\ Test\ */}}
\DoxyCodeLine{00009\ \ \ \ \ \ \ \ \ SCCP\_SCMG\_MSGT\_SOR\ \ \ \ =\ 0x04,\ \textcolor{comment}{/*\ Subsystem\ Out-\/of-\/service\ Request\ */}}
\DoxyCodeLine{00010\ \ \ \ \ \ \ \ \ SCCP\_SCMG\_MSGT\_SOG\ \ \ \ =\ 0x05,\ \textcolor{comment}{/*\ Subsystem\ Out-\/of-\/service\ Grant\ */}}
\DoxyCodeLine{00011\ \ \ \ \ \ \ \ \ SCCP\_SCMG\_MSGT\_SSC\ \ \ \ =\ 0x06,\ \textcolor{comment}{/*\ Subsystem\ Congested\ */}}
\DoxyCodeLine{00012\ \};}
\DoxyCodeLine{00013\ }
\DoxyCodeLine{00014\ \textcolor{keyword}{struct\ }sccp\_scmg\_msg\ \{}
\DoxyCodeLine{00015\ \ \ \ \ \ \ \ \ uint8\_t\ msg\_type;\ \ \ \ \ \ \ \textcolor{comment}{/*\ enum\ sccp\_scmg\_msg\_type\ */}}
\DoxyCodeLine{00016\ \ \ \ \ \ \ \ \ uint8\_t\ affected\_ssn;}
\DoxyCodeLine{00017\ \ \ \ \ \ \ \ \ uint16\_t\ affected\_pc;}
\DoxyCodeLine{00018\ \ \ \ \ \ \ \ \ uint8\_t\ smi;}
\DoxyCodeLine{00019\ \ \ \ \ \ \ \ \ \textcolor{comment}{/*\ one\ octet,\ only\ in\ case\ of\ SSC\ */}}
\DoxyCodeLine{00020\ \ \ \ \ \ \ \ \ uint8\_t\ ssc\_congestion\_lvl[0];}
\DoxyCodeLine{00021\ \}\ \_\_attribute\_\_\ ((packed));}
\DoxyCodeLine{00022\ }
\DoxyCodeLine{00023\ \textcolor{keyword}{extern}\ \textcolor{keyword}{const}\ \textcolor{keyword}{struct\ }value\_string\ sccp\_scmg\_msgt\_names[];}
\DoxyCodeLine{00024\ \textcolor{keyword}{static}\ \textcolor{keyword}{inline}\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *sccp\_scmg\_msgt\_name(\textcolor{keyword}{enum}\ sccp\_scmg\_msg\_type\ msgt)}
\DoxyCodeLine{00025\ \{\ \textcolor{keywordflow}{return}\ get\_value\_string(sccp\_scmg\_msgt\_names,\ msgt);\ \}}

\end{DoxyCode}
