\doxysection{src/sccp\+\_\+internal.h File Reference}
\label{sccp__internal_8h}\index{src/sccp\_internal.h@{src/sccp\_internal.h}}
{\ttfamily \#include $<$inttypes.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/core/fsm.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/core/prim.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/core/linuxlist.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/core/linuxrbtree.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/core/tdef.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/sigtran/sccp\+\_\+sap.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/sigtran/osmo\+\_\+ss7.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/sigtran/protocol/mtp.\+h$>$}\newline
\doxysubsubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \textbf{ osmo\+\_\+sccp\+\_\+addr\+\_\+entry}
\end{DoxyCompactItemize}
\doxysubsubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \textbf{ SCCP\+\_\+\+STR}~"{}Signalling Connection Control Part\textbackslash{}n"{}
\end{DoxyCompactItemize}
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
struct \textbf{ osmo\+\_\+sccp\+\_\+addr\+\_\+entry} $\ast$ \textbf{ addr\+\_\+entry\+\_\+by\+\_\+name\+\_\+local} (const char $\ast$name, const struct \textbf{ osmo\+\_\+ss7\+\_\+instance} $\ast$inst)
\item 
struct \textbf{ osmo\+\_\+sccp\+\_\+addr\+\_\+entry} $\ast$ \textbf{ addr\+\_\+entry\+\_\+by\+\_\+name\+\_\+global} (const char $\ast$name)
\item 
struct \textbf{ sccp\+\_\+connection} $\ast$ \textbf{ sccp\+\_\+find\+\_\+conn\+\_\+by\+\_\+id} (const struct \textbf{ osmo\+\_\+sccp\+\_\+instance} $\ast$inst, uint32\+\_\+t id)
\item 
int \textbf{ sccp\+\_\+scrc\+\_\+rx\+\_\+scoc\+\_\+conn\+\_\+msg} (struct \textbf{ osmo\+\_\+sccp\+\_\+instance} $\ast$inst, struct \textbf{ xua\+\_\+msg} $\ast$xua)
\item 
int \textbf{ sccp\+\_\+scrc\+\_\+rx\+\_\+sclc\+\_\+msg} (struct \textbf{ osmo\+\_\+sccp\+\_\+instance} $\ast$inst, struct \textbf{ xua\+\_\+msg} $\ast$xua)
\item 
int \textbf{ scrc\+\_\+rx\+\_\+mtp\+\_\+xfer\+\_\+ind\+\_\+xua} (struct \textbf{ osmo\+\_\+sccp\+\_\+instance} $\ast$inst, struct \textbf{ xua\+\_\+msg} $\ast$xua)
\item 
void \textbf{ sccp\+\_\+scoc\+\_\+rx\+\_\+from\+\_\+scrc} (struct \textbf{ osmo\+\_\+sccp\+\_\+instance} $\ast$inst, struct \textbf{ xua\+\_\+msg} $\ast$xua)
\begin{DoxyCompactList}\small\item\em Main entrance function for primitives from the SCRC (Routing Control) \end{DoxyCompactList}\item 
void \textbf{ sccp\+\_\+scoc\+\_\+rx\+\_\+scrc\+\_\+rout\+\_\+fail} (struct \textbf{ osmo\+\_\+sccp\+\_\+instance} $\ast$inst, struct \textbf{ xua\+\_\+msg} $\ast$xua, uint32\+\_\+t cause)
\begin{DoxyCompactList}\small\item\em SCOC\+: Receive SCRC Routing Failure. \end{DoxyCompactList}\item 
int \textbf{ sccp\+\_\+sclc\+\_\+rx\+\_\+from\+\_\+scrc} (struct \textbf{ osmo\+\_\+sccp\+\_\+instance} $\ast$inst, struct \textbf{ xua\+\_\+msg} $\ast$xua)
\begin{DoxyCompactList}\small\item\em SCRC -\/$>$ SCLC (connectionless message) \end{DoxyCompactList}\item 
void \textbf{ sccp\+\_\+sclc\+\_\+rx\+\_\+scrc\+\_\+rout\+\_\+fail} (struct \textbf{ osmo\+\_\+sccp\+\_\+instance} $\ast$inst, struct \textbf{ xua\+\_\+msg} $\ast$xua, uint32\+\_\+t cause)
\begin{DoxyCompactList}\small\item\em SCRC -\/$>$ SCLC (Routing Failure. \end{DoxyCompactList}\item 
void \textbf{ sccp\+\_\+rout\+\_\+fail\+\_\+enqueue} (struct \textbf{ osmo\+\_\+sccp\+\_\+instance} $\ast$inst, const struct \textbf{ xua\+\_\+msg} $\ast$xua, uint32\+\_\+t cause, bool scoc)
\item 
int \textbf{ sccp\+\_\+sclc\+\_\+user\+\_\+sap\+\_\+down} (struct \textbf{ osmo\+\_\+sccp\+\_\+user} $\ast$scu, struct osmo\+\_\+prim\+\_\+hdr $\ast$oph)
\begin{DoxyCompactList}\small\item\em Main entrance function for primitives from SCCP User. \end{DoxyCompactList}\item 
int \textbf{ sccp\+\_\+sclc\+\_\+user\+\_\+sap\+\_\+down\+\_\+nofree} (struct \textbf{ osmo\+\_\+sccp\+\_\+user} $\ast$scu, struct osmo\+\_\+prim\+\_\+hdr $\ast$oph)
\begin{DoxyCompactList}\small\item\em Main entrance function for primitives from SCCP User. \end{DoxyCompactList}\item 
struct msgb $\ast$ \textbf{ sccp\+\_\+msgb\+\_\+alloc} (const char $\ast$name)
\item 
void \textbf{ osmo\+\_\+sccp\+\_\+vty\+\_\+write\+\_\+cs7\+\_\+node} (struct vty $\ast$vty, const char $\ast$indent, struct \textbf{ osmo\+\_\+sccp\+\_\+instance} $\ast$inst)
\item 
void \textbf{ sccp\+\_\+lbcs\+\_\+local\+\_\+bcast\+\_\+pcstate} (struct \textbf{ osmo\+\_\+sccp\+\_\+instance} $\ast$inst, const struct \textbf{ osmo\+\_\+scu\+\_\+pcstate\+\_\+param} $\ast$pcstate)
\item 
void \textbf{ sccp\+\_\+lbcs\+\_\+local\+\_\+bcast\+\_\+state} (struct \textbf{ osmo\+\_\+sccp\+\_\+instance} $\ast$inst, const struct \textbf{ osmo\+\_\+scu\+\_\+state\+\_\+param} $\ast$state)
\item 
void \textbf{ sccp\+\_\+scmg\+\_\+rx\+\_\+ssn\+\_\+allowed} (struct \textbf{ osmo\+\_\+sccp\+\_\+instance} $\ast$inst, uint32\+\_\+t \textbf{ dpc}, uint32\+\_\+t \textbf{ ssn}, uint32\+\_\+t \textbf{ smi})
\item 
void \textbf{ sccp\+\_\+scmg\+\_\+rx\+\_\+ssn\+\_\+prohibited} (struct \textbf{ osmo\+\_\+sccp\+\_\+instance} $\ast$inst, uint32\+\_\+t \textbf{ dpc}, uint32\+\_\+t \textbf{ ssn}, uint32\+\_\+t \textbf{ smi})
\item 
void \textbf{ sccp\+\_\+scmg\+\_\+rx\+\_\+mtp\+\_\+pause} (struct \textbf{ osmo\+\_\+sccp\+\_\+instance} $\ast$inst, uint32\+\_\+t \textbf{ dpc})
\begin{DoxyCompactList}\small\item\em brief MTP -\/$>$ SNM (MTP-\/\+PAUSE.\+ind) -\/ inability to providing MTP service Q.\+714 5.\+2.\+2 \end{DoxyCompactList}\item 
void \textbf{ sccp\+\_\+scmg\+\_\+rx\+\_\+mtp\+\_\+resume} (struct \textbf{ osmo\+\_\+sccp\+\_\+instance} $\ast$inst, uint32\+\_\+t \textbf{ dpc})
\begin{DoxyCompactList}\small\item\em brief MTP -\/$>$ SNM (MTP-\/\+RESUME.\+ind) -\/ ability of providing the MTP service Q.\+714 5.\+2.\+3 \end{DoxyCompactList}\item 
void \textbf{ sccp\+\_\+scmg\+\_\+rx\+\_\+mtp\+\_\+status} (struct \textbf{ osmo\+\_\+sccp\+\_\+instance} $\ast$inst, uint32\+\_\+t \textbf{ dpc}, enum \textbf{ mtp\+\_\+unavail\+\_\+cause} cause, uint8\+\_\+t cong\+\_\+level)
\item 
int \textbf{ sccp\+\_\+scmg\+\_\+init} (struct \textbf{ osmo\+\_\+sccp\+\_\+instance} $\ast$inst)
\end{DoxyCompactItemize}
\doxysubsubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
struct llist\+\_\+head \textbf{ sccp\+\_\+address\+\_\+book\+\_\+global}
\item 
int \textbf{ DSCCP}
\end{DoxyCompactItemize}


\doxysubsection{Macro Definition Documentation}
\label{sccp__internal_8h_aece26f11b022cc13c6691b4b8f20ea3c} 
\index{sccp\_internal.h@{sccp\_internal.h}!SCCP\_STR@{SCCP\_STR}}
\index{SCCP\_STR@{SCCP\_STR}!sccp\_internal.h@{sccp\_internal.h}}
\doxysubsubsection{SCCP\_STR}
{\footnotesize\ttfamily \#define SCCP\+\_\+\+STR~"{}Signalling Connection Control Part\textbackslash{}n"{}}



\doxysubsection{Function Documentation}
\label{sccp__internal_8h_a5d9d69978ec8635f8c1884aafb57b651} 
\index{sccp\_internal.h@{sccp\_internal.h}!addr\_entry\_by\_name\_global@{addr\_entry\_by\_name\_global}}
\index{addr\_entry\_by\_name\_global@{addr\_entry\_by\_name\_global}!sccp\_internal.h@{sccp\_internal.h}}
\doxysubsubsection{addr\_entry\_by\_name\_global()}
{\footnotesize\ttfamily struct \textbf{ osmo\+\_\+sccp\+\_\+addr\+\_\+entry} $\ast$ addr\+\_\+entry\+\_\+by\+\_\+name\+\_\+global (\begin{DoxyParamCaption}\item[{const char $\ast$}]{name }\end{DoxyParamCaption})}



References \textbf{ osmo\+\_\+sccp\+\_\+addr\+\_\+entry\+::list\+\_\+global}, \textbf{ osmo\+\_\+sccp\+\_\+addr\+\_\+entry\+::name}, \textbf{ NULL}, and \textbf{ sccp\+\_\+address\+\_\+book\+\_\+global}.



Referenced by \textbf{ osmo\+\_\+sccp\+\_\+addr\+\_\+by\+\_\+name()}, and \textbf{ osmo\+\_\+sccp\+\_\+addr\+\_\+create()}.

\label{sccp__internal_8h_a3275f8a93d080733c921503ecb80eb06} 
\index{sccp\_internal.h@{sccp\_internal.h}!addr\_entry\_by\_name\_local@{addr\_entry\_by\_name\_local}}
\index{addr\_entry\_by\_name\_local@{addr\_entry\_by\_name\_local}!sccp\_internal.h@{sccp\_internal.h}}
\doxysubsubsection{addr\_entry\_by\_name\_local()}
{\footnotesize\ttfamily struct \textbf{ osmo\+\_\+sccp\+\_\+addr\+\_\+entry} $\ast$ addr\+\_\+entry\+\_\+by\+\_\+name\+\_\+local (\begin{DoxyParamCaption}\item[{const char $\ast$}]{name,  }\item[{const struct \textbf{ osmo\+\_\+ss7\+\_\+instance} $\ast$}]{inst }\end{DoxyParamCaption})}



References \textbf{ osmo\+\_\+ss7\+\_\+instance\+::cfg}, \textbf{ osmo\+\_\+sccp\+\_\+addr\+\_\+entry\+::inst}, \textbf{ osmo\+\_\+sccp\+\_\+addr\+\_\+entry\+::list}, \textbf{ osmo\+\_\+sccp\+\_\+addr\+\_\+entry\+::name}, \textbf{ NULL}, and \textbf{ osmo\+\_\+ss7\+\_\+instance\+::sccp\+\_\+address\+\_\+book}.



Referenced by \textbf{ DEFUN\+\_\+\+ATTR()}, \textbf{ DEFUN\+\_\+\+ATTR()}, \textbf{ osmo\+\_\+sccp\+\_\+addr\+\_\+by\+\_\+name\+\_\+local()}, and \textbf{ osmo\+\_\+sccp\+\_\+addr\+\_\+update()}.

\label{sccp__internal_8h_a03d33d5b19ae71529da0ac0984de2794} 
\index{sccp\_internal.h@{sccp\_internal.h}!osmo\_sccp\_vty\_write\_cs7\_node@{osmo\_sccp\_vty\_write\_cs7\_node}}
\index{osmo\_sccp\_vty\_write\_cs7\_node@{osmo\_sccp\_vty\_write\_cs7\_node}!sccp\_internal.h@{sccp\_internal.h}}
\doxysubsubsection{osmo\_sccp\_vty\_write\_cs7\_node()}
{\footnotesize\ttfamily void osmo\+\_\+sccp\+\_\+vty\+\_\+write\+\_\+cs7\+\_\+node (\begin{DoxyParamCaption}\item[{struct vty $\ast$}]{vty,  }\item[{const char $\ast$}]{indent,  }\item[{struct \textbf{ osmo\+\_\+sccp\+\_\+instance} $\ast$}]{inst }\end{DoxyParamCaption})}



References \textbf{ osmo\+\_\+sccp\+\_\+instance\+::max\+\_\+optional\+\_\+data}, and \textbf{ write\+\_\+sccp\+\_\+timers()}.



Referenced by \textbf{ write\+\_\+one\+\_\+cs7()}.

\label{sccp__internal_8h_a97fc3394fe39073c174c7440138964e2} 
\index{sccp\_internal.h@{sccp\_internal.h}!sccp\_find\_conn\_by\_id@{sccp\_find\_conn\_by\_id}}
\index{sccp\_find\_conn\_by\_id@{sccp\_find\_conn\_by\_id}!sccp\_internal.h@{sccp\_internal.h}}
\doxysubsubsection{sccp\_find\_conn\_by\_id()}
{\footnotesize\ttfamily struct \textbf{ sccp\+\_\+connection} $\ast$ sccp\+\_\+find\+\_\+conn\+\_\+by\+\_\+id (\begin{DoxyParamCaption}\item[{const struct \textbf{ osmo\+\_\+sccp\+\_\+instance} $\ast$}]{inst,  }\item[{uint32\+\_\+t}]{id }\end{DoxyParamCaption})}



References \textbf{ sccp\+\_\+connection\+::conn\+\_\+id}, \textbf{ osmo\+\_\+sccp\+\_\+instance\+::connections}, and \textbf{ NULL}.



Referenced by \textbf{ osmo\+\_\+sccp\+\_\+conn\+\_\+id\+\_\+exists()}, \textbf{ osmo\+\_\+sccp\+\_\+instance\+\_\+next\+\_\+conn\+\_\+id()}, \textbf{ osmo\+\_\+sccp\+\_\+user\+\_\+sap\+\_\+down\+\_\+nofree()}, \textbf{ sccp\+\_\+scoc\+\_\+rx\+\_\+from\+\_\+scrc()}, and \textbf{ sccp\+\_\+scoc\+\_\+rx\+\_\+scrc\+\_\+rout\+\_\+fail()}.

\label{sccp__internal_8h_ab1db96d27a773af541638dc93fdace21} 
\index{sccp\_internal.h@{sccp\_internal.h}!sccp\_lbcs\_local\_bcast\_pcstate@{sccp\_lbcs\_local\_bcast\_pcstate}}
\index{sccp\_lbcs\_local\_bcast\_pcstate@{sccp\_lbcs\_local\_bcast\_pcstate}!sccp\_internal.h@{sccp\_internal.h}}
\doxysubsubsection{sccp\_lbcs\_local\_bcast\_pcstate()}
{\footnotesize\ttfamily void sccp\+\_\+lbcs\+\_\+local\+\_\+bcast\+\_\+pcstate (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+sccp\+\_\+instance} $\ast$}]{inst,  }\item[{const struct \textbf{ osmo\+\_\+scu\+\_\+pcstate\+\_\+param} $\ast$}]{pcstate }\end{DoxyParamCaption})}



References \textbf{ osmo\+\_\+sccp\+\_\+user\+::inst}, \textbf{ osmo\+\_\+sccp\+\_\+user\+::list}, \textbf{ osmo\+\_\+scu\+\_\+prim\+::oph}, \textbf{ OSMO\+\_\+\+SCU\+\_\+\+PRIM\+\_\+\+N\+\_\+\+PCSTATE}, \textbf{ osmo\+\_\+scu\+\_\+prim\+::pcstate}, \textbf{ sccp\+\_\+msgb\+\_\+alloc()}, \textbf{ SCCP\+\_\+\+SAP\+\_\+\+USER}, \textbf{ sccp\+\_\+user\+\_\+prim\+\_\+up()}, \textbf{ osmo\+\_\+scu\+\_\+prim\+::u}, and \textbf{ osmo\+\_\+sccp\+\_\+instance\+::users}.



Referenced by \textbf{ sccp\+\_\+scmg\+\_\+rx\+\_\+mtp\+\_\+pause()}, \textbf{ sccp\+\_\+scmg\+\_\+rx\+\_\+mtp\+\_\+resume()}, and \textbf{ sccp\+\_\+scmg\+\_\+rx\+\_\+mtp\+\_\+status()}.

\label{sccp__internal_8h_aabfd5fec32f2a90b0e50d028b39b1291} 
\index{sccp\_internal.h@{sccp\_internal.h}!sccp\_lbcs\_local\_bcast\_state@{sccp\_lbcs\_local\_bcast\_state}}
\index{sccp\_lbcs\_local\_bcast\_state@{sccp\_lbcs\_local\_bcast\_state}!sccp\_internal.h@{sccp\_internal.h}}
\doxysubsubsection{sccp\_lbcs\_local\_bcast\_state()}
{\footnotesize\ttfamily void sccp\+\_\+lbcs\+\_\+local\+\_\+bcast\+\_\+state (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+sccp\+\_\+instance} $\ast$}]{inst,  }\item[{const struct \textbf{ osmo\+\_\+scu\+\_\+state\+\_\+param} $\ast$}]{state }\end{DoxyParamCaption})}



References \textbf{ osmo\+\_\+sccp\+\_\+user\+::inst}, \textbf{ osmo\+\_\+sccp\+\_\+user\+::list}, \textbf{ osmo\+\_\+scu\+\_\+prim\+::oph}, \textbf{ OSMO\+\_\+\+SCU\+\_\+\+PRIM\+\_\+\+N\+\_\+\+STATE}, \textbf{ sccp\+\_\+msgb\+\_\+alloc()}, \textbf{ SCCP\+\_\+\+SAP\+\_\+\+USER}, \textbf{ sccp\+\_\+user\+\_\+prim\+\_\+up()}, \textbf{ osmo\+\_\+scu\+\_\+prim\+::state}, \textbf{ osmo\+\_\+scu\+\_\+prim\+::u}, and \textbf{ osmo\+\_\+sccp\+\_\+instance\+::users}.



Referenced by \textbf{ sccp\+\_\+scmg\+\_\+rx\+\_\+ssn\+\_\+allowed()}, and \textbf{ sccp\+\_\+scmg\+\_\+rx\+\_\+ssn\+\_\+prohibited()}.

\label{sccp__internal_8h_a314fa68b28682a608594b73638ef701e} 
\index{sccp\_internal.h@{sccp\_internal.h}!sccp\_msgb\_alloc@{sccp\_msgb\_alloc}}
\index{sccp\_msgb\_alloc@{sccp\_msgb\_alloc}!sccp\_internal.h@{sccp\_internal.h}}
\doxysubsubsection{sccp\_msgb\_alloc()}
{\footnotesize\ttfamily struct msgb $\ast$ sccp\+\_\+msgb\+\_\+alloc (\begin{DoxyParamCaption}\item[{const char $\ast$}]{name }\end{DoxyParamCaption})}



References \textbf{ NULL}, \textbf{ SCCP\+\_\+\+MSG\+\_\+\+HEADROOM}, and \textbf{ SCCP\+\_\+\+MSG\+\_\+\+SIZE}.



Referenced by \textbf{ osmo\+\_\+sua\+\_\+to\+\_\+sccp()}, \textbf{ sccp\+\_\+lbcs\+\_\+local\+\_\+bcast\+\_\+pcstate()}, \textbf{ sccp\+\_\+lbcs\+\_\+local\+\_\+bcast\+\_\+state()}, \textbf{ sccp\+\_\+scmg\+\_\+tx()}, \textbf{ sclc\+\_\+rx\+\_\+cldr()}, and \textbf{ sclc\+\_\+rx\+\_\+cldt()}.

\label{sccp__internal_8h_aff2a54492701d8b2e4ffcf6e14e17fb5} 
\index{sccp\_internal.h@{sccp\_internal.h}!sccp\_rout\_fail\_enqueue@{sccp\_rout\_fail\_enqueue}}
\index{sccp\_rout\_fail\_enqueue@{sccp\_rout\_fail\_enqueue}!sccp\_internal.h@{sccp\_internal.h}}
\doxysubsubsection{sccp\_rout\_fail\_enqueue()}
{\footnotesize\ttfamily void sccp\+\_\+rout\+\_\+fail\+\_\+enqueue (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+sccp\+\_\+instance} $\ast$}]{inst,  }\item[{const struct \textbf{ xua\+\_\+msg} $\ast$}]{xua,  }\item[{uint32\+\_\+t}]{cause,  }\item[{bool}]{scoc }\end{DoxyParamCaption})}



References \textbf{ sccp\+\_\+pending\+\_\+rout\+\_\+fail\+::cause}, \textbf{ sccp\+\_\+pending\+\_\+rout\+\_\+fail\+::list}, \textbf{ LOGPSCI}, \textbf{ osmo\+\_\+sccp\+\_\+instance\+::queue}, \textbf{ osmo\+\_\+sccp\+\_\+instance\+::rout\+\_\+fail\+\_\+pending}, \textbf{ sccp\+\_\+pending\+\_\+rout\+\_\+fail\+::scoc}, \textbf{ osmo\+\_\+sccp\+\_\+instance\+::timer}, \textbf{ sccp\+\_\+pending\+\_\+rout\+\_\+fail\+::xua}, \textbf{ xua\+\_\+dialect\+\_\+sua}, \textbf{ xua\+\_\+hdr\+\_\+dump()}, and \textbf{ xua\+\_\+msg\+\_\+copy()}.



Referenced by \textbf{ gen\+\_\+mtp\+\_\+transfer\+\_\+req\+\_\+xua()}, \textbf{ scrc\+\_\+node\+\_\+2()}, \textbf{ scrc\+\_\+node\+\_\+4()}, \textbf{ scrc\+\_\+node\+\_\+6()}, and \textbf{ scrc\+\_\+translate\+\_\+node\+\_\+9()}.

\label{sccp__internal_8h_a839b843770fe7a81ec460ace5ddfe7d0} 
\index{sccp\_internal.h@{sccp\_internal.h}!sccp\_sclc\_rx\_from\_scrc@{sccp\_sclc\_rx\_from\_scrc}}
\index{sccp\_sclc\_rx\_from\_scrc@{sccp\_sclc\_rx\_from\_scrc}!sccp\_internal.h@{sccp\_internal.h}}
\doxysubsubsection{sccp\_sclc\_rx\_from\_scrc()}
{\footnotesize\ttfamily int sccp\+\_\+sclc\+\_\+rx\+\_\+from\+\_\+scrc (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+sccp\+\_\+instance} $\ast$}]{inst,  }\item[{struct \textbf{ xua\+\_\+msg} $\ast$}]{xua }\end{DoxyParamCaption})}



SCRC -\/$>$ SCLC (connectionless message) 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em inst} & SCCP Instance in which we operate \\
\hline
\mbox{\texttt{ in}}  & {\em xua} & SUA connectionless message \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
0 on success; negative on error 
\end{DoxyReturn}


References \textbf{ \+\_\+\+LOGPSCI}, \textbf{ xua\+\_\+msg\+::hdr}, \textbf{ xua\+\_\+common\+\_\+hdr\+::msg\+\_\+class}, \textbf{ xua\+\_\+common\+\_\+hdr\+::msg\+\_\+type}, \textbf{ sclc\+\_\+rx\+\_\+cldr()}, \textbf{ sclc\+\_\+rx\+\_\+cldt()}, \textbf{ SUA\+\_\+\+CL\+\_\+\+CLDR}, \textbf{ SUA\+\_\+\+CL\+\_\+\+CLDT}, \textbf{ SUA\+\_\+\+MSGC\+\_\+\+CL}, \textbf{ xua\+\_\+dialect\+\_\+sua}, and \textbf{ xua\+\_\+hdr\+\_\+dump()}.



Referenced by \textbf{ scrc\+\_\+node\+\_\+6()}, and \textbf{ scrc\+\_\+translate\+\_\+node\+\_\+9()}.

\label{sccp__internal_8h_a086464ecc2db005660b615f84680b7fd} 
\index{sccp\_internal.h@{sccp\_internal.h}!sccp\_sclc\_rx\_scrc\_rout\_fail@{sccp\_sclc\_rx\_scrc\_rout\_fail}}
\index{sccp\_sclc\_rx\_scrc\_rout\_fail@{sccp\_sclc\_rx\_scrc\_rout\_fail}!sccp\_internal.h@{sccp\_internal.h}}
\doxysubsubsection{sccp\_sclc\_rx\_scrc\_rout\_fail()}
{\footnotesize\ttfamily void sccp\+\_\+sclc\+\_\+rx\+\_\+scrc\+\_\+rout\+\_\+fail (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+sccp\+\_\+instance} $\ast$}]{inst,  }\item[{struct \textbf{ xua\+\_\+msg} $\ast$}]{xua\+\_\+in,  }\item[{uint32\+\_\+t}]{cause }\end{DoxyParamCaption})}



SCRC -\/$>$ SCLC (Routing Failure. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em inst} & SCCP Instance in which we operate \\
\hline
\mbox{\texttt{ in}}  & {\em xua\+\_\+in} & Message that failed to be routed \\
\hline
\mbox{\texttt{ in}}  & {\em cause} & SCCP Return Cause \\
\hline
\end{DoxyParams}


References \textbf{ gen\+\_\+ret\+\_\+msg()}, \textbf{ xua\+\_\+msg\+::hdr}, \textbf{ LOGPSCI}, \textbf{ xua\+\_\+common\+\_\+hdr\+::msg\+\_\+type}, \textbf{ xua\+\_\+msg\+::mtp}, \textbf{ osmo\+\_\+mtp\+\_\+transfer\+\_\+param\+::opc}, \textbf{ osmo\+\_\+ss7\+\_\+pc\+\_\+is\+\_\+local()}, \textbf{ sccp\+\_\+scrc\+\_\+rx\+\_\+sclc\+\_\+msg()}, \textbf{ sclc\+\_\+rx\+\_\+cldr()}, \textbf{ osmo\+\_\+sccp\+\_\+instance\+::ss7}, \textbf{ SUA\+\_\+\+CL\+\_\+\+CLDR}, \textbf{ SUA\+\_\+\+CL\+\_\+\+CLDT}, \textbf{ xua\+\_\+dialect\+\_\+sua}, \textbf{ xua\+\_\+hdr\+\_\+dump()}, and \textbf{ xua\+\_\+msg\+\_\+free()}.



Referenced by \textbf{ rout\+\_\+fail\+\_\+pending\+\_\+cb()}.

\label{sccp__internal_8h_a5a395d329728106701783c2a6a1c965c} 
\index{sccp\_internal.h@{sccp\_internal.h}!sccp\_sclc\_user\_sap\_down@{sccp\_sclc\_user\_sap\_down}}
\index{sccp\_sclc\_user\_sap\_down@{sccp\_sclc\_user\_sap\_down}!sccp\_internal.h@{sccp\_internal.h}}
\doxysubsubsection{sccp\_sclc\_user\_sap\_down()}
{\footnotesize\ttfamily int sccp\+\_\+sclc\+\_\+user\+\_\+sap\+\_\+down (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+sccp\+\_\+user} $\ast$}]{scu,  }\item[{struct osmo\+\_\+prim\+\_\+hdr $\ast$}]{oph }\end{DoxyParamCaption})}



Main entrance function for primitives from SCCP User. 

Implies a msgb\+\_\+free(oph-\/$>$msg), otherwise the same as \doxyref{sccp\+\_\+sclc\+\_\+user\+\_\+sap\+\_\+down\+\_\+nofree()}{p.}{sccp__sclc_8c_a60bc93a2c2c73fd5ff578713e0f1bde5}. 
\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em scu} & SCCP User who is sending the primitive \\
\hline
 & {\em \mbox{[}on\mbox{]}} & oph Osmocom primitive header of the primitive \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
0 on success; negative in case of error 
\end{DoxyReturn}


References \textbf{ osmo\+\_\+scu\+\_\+prim\+::oph}, and \textbf{ sccp\+\_\+sclc\+\_\+user\+\_\+sap\+\_\+down\+\_\+nofree()}.

\label{sccp__internal_8h_a60bc93a2c2c73fd5ff578713e0f1bde5} 
\index{sccp\_internal.h@{sccp\_internal.h}!sccp\_sclc\_user\_sap\_down\_nofree@{sccp\_sclc\_user\_sap\_down\_nofree}}
\index{sccp\_sclc\_user\_sap\_down\_nofree@{sccp\_sclc\_user\_sap\_down\_nofree}!sccp\_internal.h@{sccp\_internal.h}}
\doxysubsubsection{sccp\_sclc\_user\_sap\_down\_nofree()}
{\footnotesize\ttfamily int sccp\+\_\+sclc\+\_\+user\+\_\+sap\+\_\+down\+\_\+nofree (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+sccp\+\_\+user} $\ast$}]{scu,  }\item[{struct osmo\+\_\+prim\+\_\+hdr $\ast$}]{oph }\end{DoxyParamCaption})}



Main entrance function for primitives from SCCP User. 

The caller is required to free oph-\/$>$msg, otherwise the same as \doxyref{sccp\+\_\+sclc\+\_\+user\+\_\+sap\+\_\+down()}{p.}{sccp__sclc_8c_a5a395d329728106701783c2a6a1c965c}. 
\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em scu} & SCCP User who is sending the primitive \\
\hline
 & {\em \mbox{[}on\mbox{]}} & oph Osmocom primitive header of the primitive \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
0 on success; negative in case of error 
\end{DoxyReturn}


References \textbf{ LOGPSCU}, \textbf{ osmo\+\_\+scu\+\_\+prim\+::oph}, \textbf{ OSMO\+\_\+\+SCU\+\_\+\+PRIM\+\_\+\+N\+\_\+\+UNITDATA}, \textbf{ osmo\+\_\+scu\+\_\+prim\+\_\+name()}, \textbf{ SUA\+\_\+\+CL\+\_\+\+CLDT}, and \textbf{ xua\+\_\+gen\+\_\+encode\+\_\+and\+\_\+send()}.



Referenced by \textbf{ osmo\+\_\+sccp\+\_\+user\+\_\+sap\+\_\+down\+\_\+nofree()}, and \textbf{ sccp\+\_\+sclc\+\_\+user\+\_\+sap\+\_\+down()}.

\label{sccp__internal_8h_a78005d521d9f14a1a8504b2d18691539} 
\index{sccp\_internal.h@{sccp\_internal.h}!sccp\_scmg\_init@{sccp\_scmg\_init}}
\index{sccp\_scmg\_init@{sccp\_scmg\_init}!sccp\_internal.h@{sccp\_internal.h}}
\doxysubsubsection{sccp\_scmg\_init()}
{\footnotesize\ttfamily int sccp\+\_\+scmg\+\_\+init (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+sccp\+\_\+instance} $\ast$}]{inst }\end{DoxyParamCaption})}



References \textbf{ osmo\+\_\+sccp\+\_\+user\+::inst}, \textbf{ osmo\+\_\+sccp\+\_\+user\+\_\+bind()}, and \textbf{ scmg\+\_\+prim\+\_\+cb()}.



Referenced by \textbf{ osmo\+\_\+sccp\+\_\+instance\+\_\+create()}.

\label{sccp__internal_8h_a6e1de1fdffab62084b3e51db5a09b7c4} 
\index{sccp\_internal.h@{sccp\_internal.h}!sccp\_scmg\_rx\_mtp\_pause@{sccp\_scmg\_rx\_mtp\_pause}}
\index{sccp\_scmg\_rx\_mtp\_pause@{sccp\_scmg\_rx\_mtp\_pause}!sccp\_internal.h@{sccp\_internal.h}}
\doxysubsubsection{sccp\_scmg\_rx\_mtp\_pause()}
{\footnotesize\ttfamily void sccp\+\_\+scmg\+\_\+rx\+\_\+mtp\+\_\+pause (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+sccp\+\_\+instance} $\ast$}]{inst,  }\item[{uint32\+\_\+t}]{dpc }\end{DoxyParamCaption})}



brief MTP -\/$>$ SNM (MTP-\/\+PAUSE.\+ind) -\/ inability to providing MTP service Q.\+714 5.\+2.\+2 



References \textbf{ osmo\+\_\+scu\+\_\+pcstate\+\_\+param\+::affected\+\_\+pc}, \textbf{ dpc}, \textbf{ OSMO\+\_\+\+SCCP\+\_\+\+REM\+\_\+\+SCCP\+\_\+\+S\+\_\+\+UNAVAILABLE\+\_\+\+UNKNOWN}, \textbf{ OSMO\+\_\+\+SCCP\+\_\+\+SP\+\_\+\+S\+\_\+\+INACCESSIBLE}, and \textbf{ sccp\+\_\+lbcs\+\_\+local\+\_\+bcast\+\_\+pcstate()}.



Referenced by \textbf{ xua\+\_\+snm\+\_\+pc\+\_\+available\+\_\+to\+\_\+sccp()}.

\label{sccp__internal_8h_a9b395f6f66a9d5cd22fec3841738d6ca} 
\index{sccp\_internal.h@{sccp\_internal.h}!sccp\_scmg\_rx\_mtp\_resume@{sccp\_scmg\_rx\_mtp\_resume}}
\index{sccp\_scmg\_rx\_mtp\_resume@{sccp\_scmg\_rx\_mtp\_resume}!sccp\_internal.h@{sccp\_internal.h}}
\doxysubsubsection{sccp\_scmg\_rx\_mtp\_resume()}
{\footnotesize\ttfamily void sccp\+\_\+scmg\+\_\+rx\+\_\+mtp\+\_\+resume (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+sccp\+\_\+instance} $\ast$}]{inst,  }\item[{uint32\+\_\+t}]{dpc }\end{DoxyParamCaption})}



brief MTP -\/$>$ SNM (MTP-\/\+RESUME.\+ind) -\/ ability of providing the MTP service Q.\+714 5.\+2.\+3 



References \textbf{ osmo\+\_\+scu\+\_\+pcstate\+\_\+param\+::affected\+\_\+pc}, \textbf{ dpc}, \textbf{ OSMO\+\_\+\+SCCP\+\_\+\+REM\+\_\+\+SCCP\+\_\+\+S\+\_\+\+AVAILABLE}, \textbf{ OSMO\+\_\+\+SCCP\+\_\+\+SP\+\_\+\+S\+\_\+\+ACCESSIBLE}, and \textbf{ sccp\+\_\+lbcs\+\_\+local\+\_\+bcast\+\_\+pcstate()}.



Referenced by \textbf{ xua\+\_\+snm\+\_\+pc\+\_\+available\+\_\+to\+\_\+sccp()}.

\label{sccp__internal_8h_a406d0f1c5da139aae859553dc759fca4} 
\index{sccp\_internal.h@{sccp\_internal.h}!sccp\_scmg\_rx\_mtp\_status@{sccp\_scmg\_rx\_mtp\_status}}
\index{sccp\_scmg\_rx\_mtp\_status@{sccp\_scmg\_rx\_mtp\_status}!sccp\_internal.h@{sccp\_internal.h}}
\doxysubsubsection{sccp\_scmg\_rx\_mtp\_status()}
{\footnotesize\ttfamily void sccp\+\_\+scmg\+\_\+rx\+\_\+mtp\+\_\+status (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+sccp\+\_\+instance} $\ast$}]{inst,  }\item[{uint32\+\_\+t}]{dpc,  }\item[{enum \textbf{ mtp\+\_\+unavail\+\_\+cause}}]{cause,  }\item[{uint8\+\_\+t}]{cong\+\_\+level }\end{DoxyParamCaption})}



References \textbf{ osmo\+\_\+scu\+\_\+pcstate\+\_\+param\+::affected\+\_\+pc}, \textbf{ dpc}, \textbf{ MTP\+\_\+\+UNAVAIL\+\_\+\+C\+\_\+\+CONGESTED}, \textbf{ MTP\+\_\+\+UNAVAIL\+\_\+\+C\+\_\+\+INACC\+\_\+\+REM\+\_\+\+USER}, \textbf{ MTP\+\_\+\+UNAVAIL\+\_\+\+C\+\_\+\+UNEQUIP\+\_\+\+REM\+\_\+\+USER}, \textbf{ MTP\+\_\+\+UNAVAIL\+\_\+\+C\+\_\+\+UNKNOWN}, \textbf{ OSMO\+\_\+\+SCCP\+\_\+\+REM\+\_\+\+SCCP\+\_\+\+S\+\_\+\+AVAILABLE}, \textbf{ OSMO\+\_\+\+SCCP\+\_\+\+REM\+\_\+\+SCCP\+\_\+\+S\+\_\+\+CONGESTED}, \textbf{ OSMO\+\_\+\+SCCP\+\_\+\+REM\+\_\+\+SCCP\+\_\+\+S\+\_\+\+UNAVAILABLE\+\_\+\+UNKNOWN}, \textbf{ OSMO\+\_\+\+SCCP\+\_\+\+SP\+\_\+\+S\+\_\+\+ACCESSIBLE}, \textbf{ OSMO\+\_\+\+SCCP\+\_\+\+SP\+\_\+\+S\+\_\+\+CONGESTED}, and \textbf{ sccp\+\_\+lbcs\+\_\+local\+\_\+bcast\+\_\+pcstate()}.



Referenced by \textbf{ xua\+\_\+snm\+\_\+scon\+\_\+to\+\_\+sccp()}, and \textbf{ xua\+\_\+snm\+\_\+upu()}.

\label{sccp__internal_8h_a112a6f006b73b2b5dc475c6ccd33337d} 
\index{sccp\_internal.h@{sccp\_internal.h}!sccp\_scmg\_rx\_ssn\_allowed@{sccp\_scmg\_rx\_ssn\_allowed}}
\index{sccp\_scmg\_rx\_ssn\_allowed@{sccp\_scmg\_rx\_ssn\_allowed}!sccp\_internal.h@{sccp\_internal.h}}
\doxysubsubsection{sccp\_scmg\_rx\_ssn\_allowed()}
{\footnotesize\ttfamily void sccp\+\_\+scmg\+\_\+rx\+\_\+ssn\+\_\+allowed (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+sccp\+\_\+instance} $\ast$}]{inst,  }\item[{uint32\+\_\+t}]{dpc,  }\item[{uint32\+\_\+t}]{ssn,  }\item[{uint32\+\_\+t}]{smi }\end{DoxyParamCaption})}



References \textbf{ osmo\+\_\+scu\+\_\+state\+\_\+param\+::affected\+\_\+pc}, \textbf{ dpc}, \textbf{ sccp\+\_\+lbcs\+\_\+local\+\_\+bcast\+\_\+state()}, \textbf{ smi}, and \textbf{ ssn}.



Referenced by \textbf{ scmg\+\_\+rx\+\_\+ssa()}, and \textbf{ sua\+\_\+snm\+\_\+ssn\+\_\+available\+\_\+to\+\_\+sccp()}.

\label{sccp__internal_8h_a6790766deb21c57560ab062d8a7ee0be} 
\index{sccp\_internal.h@{sccp\_internal.h}!sccp\_scmg\_rx\_ssn\_prohibited@{sccp\_scmg\_rx\_ssn\_prohibited}}
\index{sccp\_scmg\_rx\_ssn\_prohibited@{sccp\_scmg\_rx\_ssn\_prohibited}!sccp\_internal.h@{sccp\_internal.h}}
\doxysubsubsection{sccp\_scmg\_rx\_ssn\_prohibited()}
{\footnotesize\ttfamily void sccp\+\_\+scmg\+\_\+rx\+\_\+ssn\+\_\+prohibited (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+sccp\+\_\+instance} $\ast$}]{inst,  }\item[{uint32\+\_\+t}]{dpc,  }\item[{uint32\+\_\+t}]{ssn,  }\item[{uint32\+\_\+t}]{smi }\end{DoxyParamCaption})}



References \textbf{ osmo\+\_\+scu\+\_\+state\+\_\+param\+::affected\+\_\+pc}, \textbf{ dpc}, \textbf{ sccp\+\_\+lbcs\+\_\+local\+\_\+bcast\+\_\+state()}, \textbf{ smi}, and \textbf{ ssn}.



Referenced by \textbf{ scmg\+\_\+rx\+\_\+ssp()}, and \textbf{ sua\+\_\+snm\+\_\+ssn\+\_\+available\+\_\+to\+\_\+sccp()}.

\label{sccp__internal_8h_a7e6ca58debc34b50244590c90e68943f} 
\index{sccp\_internal.h@{sccp\_internal.h}!sccp\_scoc\_rx\_from\_scrc@{sccp\_scoc\_rx\_from\_scrc}}
\index{sccp\_scoc\_rx\_from\_scrc@{sccp\_scoc\_rx\_from\_scrc}!sccp\_internal.h@{sccp\_internal.h}}
\doxysubsubsection{sccp\_scoc\_rx\_from\_scrc()}
{\footnotesize\ttfamily void sccp\+\_\+scoc\+\_\+rx\+\_\+from\+\_\+scrc (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+sccp\+\_\+instance} $\ast$}]{inst,  }\item[{struct \textbf{ xua\+\_\+msg} $\ast$}]{xua }\end{DoxyParamCaption})}



Main entrance function for primitives from the SCRC (Routing Control) 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em inst} & SCCP Instance in which we operate \\
\hline
\mbox{\texttt{ in}}  & {\em xua} & SUA message in \doxyref{xua\+\_\+msg}{p.}{structxua__msg} format \\
\hline
\end{DoxyParams}


References \textbf{ conn\+\_\+create()}, \textbf{ sccp\+\_\+connection\+::fi}, \textbf{ xua\+\_\+msg\+::hdr}, \textbf{ sccp\+\_\+connection\+::incoming}, \textbf{ osmo\+\_\+sccp\+\_\+user\+::inst}, \textbf{ LOGPSCC}, \textbf{ LOGPSCI}, \textbf{ xua\+\_\+common\+\_\+hdr\+::msg\+\_\+type}, \textbf{ xua\+\_\+msg\+::mtp}, \textbf{ osmo\+\_\+mtp\+\_\+transfer\+\_\+param\+::opc}, \textbf{ sccp\+\_\+connection\+::remote\+\_\+pc}, \textbf{ sccp\+\_\+connection\+::remote\+\_\+ref}, \textbf{ sccp\+\_\+find\+\_\+conn\+\_\+by\+\_\+id()}, \textbf{ sccp\+\_\+find\+\_\+user()}, \textbf{ sccp\+\_\+scoc\+\_\+rx\+\_\+inval\+\_\+opc()}, \textbf{ sccp\+\_\+scoc\+\_\+rx\+\_\+inval\+\_\+src\+\_\+ref()}, \textbf{ sccp\+\_\+scoc\+\_\+rx\+\_\+unass\+\_\+local\+\_\+ref()}, \textbf{ SUA\+\_\+\+CO\+\_\+\+COAK}, \textbf{ SUA\+\_\+\+CO\+\_\+\+CORE}, \textbf{ SUA\+\_\+\+CO\+\_\+\+COREF}, \textbf{ SUA\+\_\+\+IEI\+\_\+\+DEST\+\_\+\+REF}, \textbf{ SUA\+\_\+\+IEI\+\_\+\+SRC\+\_\+\+REF}, \textbf{ sua\+\_\+scoc\+\_\+event\+\_\+map}, \textbf{ xua\+\_\+dialect\+\_\+sua}, \textbf{ xua\+\_\+hdr\+\_\+dump()}, \textbf{ xua\+\_\+msg\+\_\+find\+\_\+tag()}, and \textbf{ xua\+\_\+msg\+\_\+get\+\_\+u32()}.



Referenced by \textbf{ scrc\+\_\+node\+\_\+6()}, \textbf{ scrc\+\_\+rx\+\_\+mtp\+\_\+xfer\+\_\+ind\+\_\+xua()}, and \textbf{ scrc\+\_\+translate\+\_\+node\+\_\+9()}.

\label{sccp__internal_8h_a92800c00e934b3faaf1c7dc6552d9bf5} 
\index{sccp\_internal.h@{sccp\_internal.h}!sccp\_scoc\_rx\_scrc\_rout\_fail@{sccp\_scoc\_rx\_scrc\_rout\_fail}}
\index{sccp\_scoc\_rx\_scrc\_rout\_fail@{sccp\_scoc\_rx\_scrc\_rout\_fail}!sccp\_internal.h@{sccp\_internal.h}}
\doxysubsubsection{sccp\_scoc\_rx\_scrc\_rout\_fail()}
{\footnotesize\ttfamily void sccp\+\_\+scoc\+\_\+rx\+\_\+scrc\+\_\+rout\+\_\+fail (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+sccp\+\_\+instance} $\ast$}]{inst,  }\item[{struct \textbf{ xua\+\_\+msg} $\ast$}]{xua,  }\item[{uint32\+\_\+t}]{return\+\_\+cause }\end{DoxyParamCaption})}



SCOC\+: Receive SCRC Routing Failure. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em inst} & SCCP Instance on which we operate \\
\hline
\mbox{\texttt{ in}}  & {\em xua} & SUA message that was failed to route \\
\hline
\mbox{\texttt{ in}}  & {\em return\+\_\+cause} & Reason (cause) for routing failure \\
\hline
\end{DoxyParams}


References \textbf{ sccp\+\_\+connection\+::conn\+\_\+id}, \textbf{ sccp\+\_\+connection\+::fi}, \textbf{ gen\+\_\+coref\+\_\+without\+\_\+conn()}, \textbf{ get\+\_\+cref\+\_\+cause\+\_\+for\+\_\+ret()}, \textbf{ sccp\+\_\+connection\+::inst}, \textbf{ LOGPSCI}, \textbf{ sccp\+\_\+find\+\_\+conn\+\_\+by\+\_\+id()}, \textbf{ sccp\+\_\+scrc\+\_\+rx\+\_\+scoc\+\_\+conn\+\_\+msg()}, \textbf{ SCOC\+\_\+\+E\+\_\+\+RCOC\+\_\+\+ROUT\+\_\+\+FAIL\+\_\+\+IND}, \textbf{ SUA\+\_\+\+IEI\+\_\+\+SRC\+\_\+\+REF}, \textbf{ xua\+\_\+dialect\+\_\+sua}, \textbf{ xua\+\_\+hdr\+\_\+dump()}, \textbf{ xua\+\_\+msg\+\_\+free()}, and \textbf{ xua\+\_\+msg\+\_\+get\+\_\+u32()}.



Referenced by \textbf{ rout\+\_\+fail\+\_\+pending\+\_\+cb()}.

\label{sccp__internal_8h_a8dc48be976019be4ab89019aabcb3bbc} 
\index{sccp\_internal.h@{sccp\_internal.h}!sccp\_scrc\_rx\_sclc\_msg@{sccp\_scrc\_rx\_sclc\_msg}}
\index{sccp\_scrc\_rx\_sclc\_msg@{sccp\_scrc\_rx\_sclc\_msg}!sccp\_internal.h@{sccp\_internal.h}}
\doxysubsubsection{sccp\_scrc\_rx\_sclc\_msg()}
{\footnotesize\ttfamily int sccp\+\_\+scrc\+\_\+rx\+\_\+sclc\+\_\+msg (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+sccp\+\_\+instance} $\ast$}]{inst,  }\item[{struct \textbf{ xua\+\_\+msg} $\ast$}]{xua }\end{DoxyParamCaption})}



References \textbf{ xua\+\_\+msg\+::hdr}, \textbf{ LOGPSCI}, \textbf{ xua\+\_\+common\+\_\+hdr\+::msg\+\_\+type}, \textbf{ OSMO\+\_\+\+SCCP\+\_\+\+RI\+\_\+\+GT}, \textbf{ osmo\+\_\+sccp\+\_\+addr\+::ri}, \textbf{ scrc\+\_\+local\+\_\+out\+\_\+common()}, \textbf{ scrc\+\_\+node\+\_\+12()}, \textbf{ scrc\+\_\+node\+\_\+7()}, \textbf{ sua\+\_\+addr\+\_\+parse()}, \textbf{ SUA\+\_\+\+CL\+\_\+\+CLDR}, \textbf{ SUA\+\_\+\+IEI\+\_\+\+DEST\+\_\+\+ADDR}, \textbf{ xua\+\_\+dialect\+\_\+sua}, \textbf{ xua\+\_\+hdr\+\_\+dump()}, and \textbf{ xua\+\_\+msg\+\_\+dump()}.



Referenced by \textbf{ sccp\+\_\+sclc\+\_\+rx\+\_\+scrc\+\_\+rout\+\_\+fail()}, and \textbf{ xua\+\_\+gen\+\_\+encode\+\_\+and\+\_\+send()}.

\label{sccp__internal_8h_a15a6de5f59a65101717acc2d1597d955} 
\index{sccp\_internal.h@{sccp\_internal.h}!sccp\_scrc\_rx\_scoc\_conn\_msg@{sccp\_scrc\_rx\_scoc\_conn\_msg}}
\index{sccp\_scrc\_rx\_scoc\_conn\_msg@{sccp\_scrc\_rx\_scoc\_conn\_msg}!sccp\_internal.h@{sccp\_internal.h}}
\doxysubsubsection{sccp\_scrc\_rx\_scoc\_conn\_msg()}
{\footnotesize\ttfamily int sccp\+\_\+scrc\+\_\+rx\+\_\+scoc\+\_\+conn\+\_\+msg (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+sccp\+\_\+instance} $\ast$}]{inst,  }\item[{struct \textbf{ xua\+\_\+msg} $\ast$}]{xua }\end{DoxyParamCaption})}



References \textbf{ xua\+\_\+msg\+::hdr}, \textbf{ LOGPSCI}, \textbf{ xua\+\_\+common\+\_\+hdr\+::msg\+\_\+type}, \textbf{ scrc\+\_\+local\+\_\+out\+\_\+common()}, \textbf{ scrc\+\_\+node\+\_\+2()}, \textbf{ sua\+\_\+addr\+\_\+parse()}, \textbf{ SUA\+\_\+\+CO\+\_\+\+CORE}, \textbf{ SUA\+\_\+\+IEI\+\_\+\+DEST\+\_\+\+ADDR}, \textbf{ xua\+\_\+dialect\+\_\+sua}, \textbf{ xua\+\_\+hdr\+\_\+dump()}, and \textbf{ xua\+\_\+msg\+\_\+dump()}.



Referenced by \textbf{ sccp\+\_\+conn\+\_\+xua\+\_\+gen\+\_\+encode\+\_\+and\+\_\+send()}, \textbf{ sccp\+\_\+conn\+\_\+xua\+\_\+gen\+\_\+relre\+\_\+and\+\_\+send()}, \textbf{ sccp\+\_\+scoc\+\_\+rx\+\_\+scrc\+\_\+rout\+\_\+fail()}, \textbf{ tx\+\_\+coerr\+\_\+from\+\_\+xua()}, \textbf{ tx\+\_\+relco\+\_\+from\+\_\+xua()}, and \textbf{ tx\+\_\+rlsd\+\_\+from\+\_\+xua\+\_\+twoway()}.

\label{sccp__internal_8h_a52d608a935f14519bcf883fc7858145e} 
\index{sccp\_internal.h@{sccp\_internal.h}!scrc\_rx\_mtp\_xfer\_ind\_xua@{scrc\_rx\_mtp\_xfer\_ind\_xua}}
\index{scrc\_rx\_mtp\_xfer\_ind\_xua@{scrc\_rx\_mtp\_xfer\_ind\_xua}!sccp\_internal.h@{sccp\_internal.h}}
\doxysubsubsection{scrc\_rx\_mtp\_xfer\_ind\_xua()}
{\footnotesize\ttfamily int scrc\+\_\+rx\+\_\+mtp\+\_\+xfer\+\_\+ind\+\_\+xua (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+sccp\+\_\+instance} $\ast$}]{inst,  }\item[{struct \textbf{ xua\+\_\+msg} $\ast$}]{xua }\end{DoxyParamCaption})}



References \textbf{ xua\+\_\+msg\+\_\+part\+::dat}, \textbf{ ensure\+\_\+opc\+\_\+in\+\_\+calling\+\_\+ssn()}, \textbf{ LOGPSCI}, \textbf{ OSMO\+\_\+\+SCCP\+\_\+\+RI\+\_\+\+GT}, \textbf{ osmo\+\_\+sccp\+\_\+addr\+::ri}, \textbf{ sccp\+\_\+scoc\+\_\+rx\+\_\+from\+\_\+scrc()}, \textbf{ scrc\+\_\+node\+\_\+4()}, \textbf{ scrc\+\_\+node\+\_\+6()}, \textbf{ scrc\+\_\+translate\+\_\+node\+\_\+9()}, \textbf{ sua\+\_\+addr\+\_\+parse()}, \textbf{ SUA\+\_\+\+IEI\+\_\+\+DEST\+\_\+\+ADDR}, \textbf{ SUA\+\_\+\+IEI\+\_\+\+PROTO\+\_\+\+CLASS}, \textbf{ SUA\+\_\+\+IEI\+\_\+\+S7\+\_\+\+HOP\+\_\+\+CTR}, \textbf{ sua\+\_\+is\+\_\+connectionless()}, \textbf{ sua\+\_\+is\+\_\+cr()}, \textbf{ xua\+\_\+dialect\+\_\+sua}, \textbf{ xua\+\_\+hdr\+\_\+dump()}, \textbf{ xua\+\_\+msg\+\_\+dump()}, \textbf{ xua\+\_\+msg\+\_\+find\+\_\+tag()}, \textbf{ xua\+\_\+msg\+\_\+get\+\_\+u32()}, and \textbf{ xua\+\_\+msg\+\_\+part\+\_\+get\+\_\+u32()}.



Referenced by \textbf{ mtp\+\_\+user\+\_\+prim\+\_\+cb()}, \textbf{ sua\+\_\+rx\+\_\+cl()}, and \textbf{ sua\+\_\+rx\+\_\+co()}.



\doxysubsection{Variable Documentation}
\label{sccp__internal_8h_a76289a1eaad826ce833ea29955728e6b} 
\index{sccp\_internal.h@{sccp\_internal.h}!DSCCP@{DSCCP}}
\index{DSCCP@{DSCCP}!sccp\_internal.h@{sccp\_internal.h}}
\doxysubsubsection{DSCCP}
{\footnotesize\ttfamily int DSCCP\hspace{0.3cm}{\ttfamily [extern]}}

\label{sccp__internal_8h_a0ddeb58d9e6776d669bca4b9e0c9730e} 
\index{sccp\_internal.h@{sccp\_internal.h}!sccp\_address\_book\_global@{sccp\_address\_book\_global}}
\index{sccp\_address\_book\_global@{sccp\_address\_book\_global}!sccp\_internal.h@{sccp\_internal.h}}
\doxysubsubsection{sccp\_address\_book\_global}
{\footnotesize\ttfamily struct llist\+\_\+head sccp\+\_\+address\+\_\+book\+\_\+global\hspace{0.3cm}{\ttfamily [extern]}}



Referenced by \textbf{ addr\+\_\+entry\+\_\+alloc()}, \textbf{ addr\+\_\+entry\+\_\+by\+\_\+name\+\_\+global()}, and \textbf{ osmo\+\_\+sccp\+\_\+name\+\_\+by\+\_\+addr()}.

