\doxysection{sccp\+\_\+scoc\+\_\+fsm.\+h}
\label{sccp__scoc__fsm_8h_source}\index{src/sccp\_scoc\_fsm.h@{src/sccp\_scoc\_fsm.h}}
\textbf{ Go to the documentation of this file.}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{preprocessor}{\#pragma\ once}}
\DoxyCodeLine{00002\ }
\DoxyCodeLine{00003\ \textcolor{preprocessor}{\#include\ <osmocom/core/fsm.h>}}
\DoxyCodeLine{00004\ }
\DoxyCodeLine{00005\ \textcolor{keyword}{enum}\ sccp\_scoc\_fsm\_state\ \{}
\DoxyCodeLine{00006\ \ \ \ \ \ \ \ \ S\_IDLE,}
\DoxyCodeLine{00007\ \ \ \ \ \ \ \ \ S\_CONN\_PEND\_IN,}
\DoxyCodeLine{00008\ \ \ \ \ \ \ \ \ S\_CONN\_PEND\_OUT,}
\DoxyCodeLine{00009\ \ \ \ \ \ \ \ \ S\_ACTIVE,}
\DoxyCodeLine{00010\ \ \ \ \ \ \ \ \ S\_DISCONN\_PEND,}
\DoxyCodeLine{00011\ \ \ \ \ \ \ \ \ S\_RESET\_IN,}
\DoxyCodeLine{00012\ \ \ \ \ \ \ \ \ S\_RESET\_OUT,}
\DoxyCodeLine{00013\ \ \ \ \ \ \ \ \ S\_BOTHWAY\_RESET,}
\DoxyCodeLine{00014\ \ \ \ \ \ \ \ \ S\_WAIT\_CONN\_CONF,}
\DoxyCodeLine{00015\ \};}
\DoxyCodeLine{00016\ }
\DoxyCodeLine{00017\ \textcolor{comment}{/*\ Events\ that\ this\ FSM\ can\ process\ */}}
\DoxyCodeLine{00018\ \textcolor{keyword}{enum}\ sccp\_scoc\_fsm\_event\ \{}
\DoxyCodeLine{00019\ \ \ \ \ \ \ \ \ \textcolor{comment}{/*\ Primitives\ from\ SCCP-\/User\ */}}
\DoxyCodeLine{00020\ \ \ \ \ \ \ \ \ SCOC\_E\_SCU\_N\_CONN\_REQ,}
\DoxyCodeLine{00021\ \ \ \ \ \ \ \ \ SCOC\_E\_SCU\_N\_CONN\_RESP,}
\DoxyCodeLine{00022\ \ \ \ \ \ \ \ \ SCOC\_E\_SCU\_N\_DISC\_REQ,}
\DoxyCodeLine{00023\ \ \ \ \ \ \ \ \ SCOC\_E\_SCU\_N\_DATA\_REQ,}
\DoxyCodeLine{00024\ \ \ \ \ \ \ \ \ SCOC\_E\_SCU\_N\_EXP\_DATA\_REQ,}
\DoxyCodeLine{00025\ }
\DoxyCodeLine{00026\ \ \ \ \ \ \ \ \ \textcolor{comment}{/*\ Events\ from\ RCOC\ (Routing\ for\ Connection\ Oriented)\ */}}
\DoxyCodeLine{00027\ \ \ \ \ \ \ \ \ SCOC\_E\_RCOC\_CONN\_IND,}
\DoxyCodeLine{00028\ \ \ \ \ \ \ \ \ SCOC\_E\_RCOC\_ROUT\_FAIL\_IND,}
\DoxyCodeLine{00029\ \ \ \ \ \ \ \ \ SCOC\_E\_RCOC\_RLSD\_IND,}
\DoxyCodeLine{00030\ \ \ \ \ \ \ \ \ SCOC\_E\_RCOC\_REL\_COMPL\_IND,}
\DoxyCodeLine{00031\ \ \ \ \ \ \ \ \ SCOC\_E\_RCOC\_CREF\_IND,}
\DoxyCodeLine{00032\ \ \ \ \ \ \ \ \ SCOC\_E\_RCOC\_CC\_IND,}
\DoxyCodeLine{00033\ \ \ \ \ \ \ \ \ SCOC\_E\_RCOC\_DT1\_IND,}
\DoxyCodeLine{00034\ \ \ \ \ \ \ \ \ SCOC\_E\_RCOC\_DT2\_IND,}
\DoxyCodeLine{00035\ \ \ \ \ \ \ \ \ SCOC\_E\_RCOC\_IT\_IND,}
\DoxyCodeLine{00036\ \ \ \ \ \ \ \ \ SCOC\_E\_RCOC\_OTHER\_NPDU,}
\DoxyCodeLine{00037\ \ \ \ \ \ \ \ \ SCOC\_E\_RCOC\_ERROR\_IND,}
\DoxyCodeLine{00038\ }
\DoxyCodeLine{00039\ \ \ \ \ \ \ \ \ \textcolor{comment}{/*\ Timer\ Events\ */}}
\DoxyCodeLine{00040\ \ \ \ \ \ \ \ \ SCOC\_E\_T\_IAR\_EXP,}
\DoxyCodeLine{00041\ \ \ \ \ \ \ \ \ SCOC\_E\_T\_IAS\_EXP,}
\DoxyCodeLine{00042\ }
\DoxyCodeLine{00043\ \ \ \ \ \ \ \ \ SCOC\_E\_CONN\_TMR\_EXP,}
\DoxyCodeLine{00044\ }
\DoxyCodeLine{00045\ \ \ \ \ \ \ \ \ SCOC\_E\_T\_REL\_EXP,}
\DoxyCodeLine{00046\ \ \ \ \ \ \ \ \ SCOC\_E\_T\_INT\_EXP,}
\DoxyCodeLine{00047\ \ \ \ \ \ \ \ \ SCOC\_E\_T\_REP\_REL\_EXP,}
\DoxyCodeLine{00048\ \};}
\DoxyCodeLine{00049\ }
\DoxyCodeLine{00050\ \textcolor{keyword}{extern}\ \textcolor{keyword}{struct\ }osmo\_fsm\ sccp\_scoc\_fsm;}

\end{DoxyCode}
