\doxysection{xua\+\_\+lm\+\_\+sap.\+h}
\label{xua__lm__sap_8h_source}\index{src/xua\_lm\_sap.h@{src/xua\_lm\_sap.h}}
\textbf{ Go to the documentation of this file.}
\begin{DoxyCode}{0}
\DoxyCodeLine{1 \textcolor{comment}{/* M3UA/SUA <-\/> XUA Layer Manager SAP, RFC466 1.6.3 \& RFC3868 1.6.3 */}}
\DoxyCodeLine{2 \textcolor{preprocessor}{\#pragma once}}
\DoxyCodeLine{3 }
\DoxyCodeLine{4 \textcolor{preprocessor}{\#include <unistd.h>}}
\DoxyCodeLine{5 \textcolor{preprocessor}{\#include <stdint.h>}}
\DoxyCodeLine{6 }
\DoxyCodeLine{7 \textcolor{preprocessor}{\#include <osmocom/core/tdef.h>}}
\DoxyCodeLine{8 \textcolor{preprocessor}{\#include <osmocom/sigtran/osmo\_ss7.h>}}
\DoxyCodeLine{9 \textcolor{preprocessor}{\#include <osmocom/sigtran/sigtran\_sap.h>}}
\DoxyCodeLine{10 }
\DoxyCodeLine{11 \textcolor{keyword}{struct }osmo\_xlm\_prim *xua\_xlm\_prim\_alloc(\textcolor{keyword}{enum} osmo\_xlm\_prim\_type prim\_type,}
\DoxyCodeLine{12                                          \textcolor{keyword}{enum} osmo\_prim\_operation op);}
\DoxyCodeLine{13 \textcolor{keyword}{struct }osmo\_xlm\_prim *xua\_xlm\_prim\_alloc\_m\_rk\_reg\_req(\textcolor{keyword}{const} \textcolor{keyword}{struct} osmo\_ss7\_routing\_key *rkey,}
\DoxyCodeLine{14                                                       \textcolor{keyword}{enum} osmo\_ss7\_as\_traffic\_mode mode);}
\DoxyCodeLine{15 \textcolor{keyword}{struct }osmo\_xlm\_prim *xua\_xlm\_prim\_alloc\_m\_rk\_reg\_cfm(\textcolor{keyword}{const} \textcolor{keyword}{struct} osmo\_ss7\_routing\_key *rkey,}
\DoxyCodeLine{16                                                       uint32\_t status);}
\DoxyCodeLine{17 \textcolor{keyword}{struct }osmo\_xlm\_prim *xua\_xlm\_prim\_alloc\_m\_rk\_dereg\_cfm(uint32\_t route\_ctx, uint32\_t status);}
\DoxyCodeLine{18 \textcolor{keyword}{struct }osmo\_xlm\_prim *xua\_xlm\_prim\_alloc\_m\_error\_ind(uint32\_t err\_code);}
\DoxyCodeLine{19 \textcolor{keyword}{struct }osmo\_xlm\_prim *xua\_xlm\_prim\_alloc\_m\_notify\_ind(\textcolor{keyword}{const} \textcolor{keyword}{struct} osmo\_xlm\_prim\_notify *ntfy);}
\DoxyCodeLine{20 }
\DoxyCodeLine{21 \textcolor{keywordtype}{void} xua\_asp\_send\_xlm\_prim(\textcolor{keyword}{struct} osmo\_ss7\_asp *asp, \textcolor{keyword}{struct} osmo\_xlm\_prim *prim);}
\DoxyCodeLine{22 \textcolor{keywordtype}{void} xua\_asp\_send\_xlm\_prim\_simple(\textcolor{keyword}{struct} osmo\_ss7\_asp *asp,}
\DoxyCodeLine{23                                   \textcolor{keyword}{enum} osmo\_xlm\_prim\_type prim\_type,}
\DoxyCodeLine{24                                   \textcolor{keyword}{enum} osmo\_prim\_operation op);}
\DoxyCodeLine{25 }
\DoxyCodeLine{26 \textcolor{keywordtype}{int} xlm\_sap\_down\_simple(\textcolor{keyword}{struct} osmo\_ss7\_asp *asp,}
\DoxyCodeLine{27                         \textcolor{keyword}{enum} osmo\_xlm\_prim\_type prim\_type,}
\DoxyCodeLine{28                         \textcolor{keyword}{enum} osmo\_prim\_operation op);}

\end{DoxyCode}
