\doxysection{src/ss7\+\_\+linkset.h File Reference}
\label{ss7__linkset_8h}\index{src/ss7\_linkset.h@{src/ss7\_linkset.h}}
{\ttfamily \#include $<$stdint.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/core/linuxlist.\+h$>$}\newline
\doxysubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \textbf{ osmo\+\_\+ss7\+\_\+linkset}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \textbf{ ss7\+\_\+linkset\+\_\+destroy} (struct \textbf{ osmo\+\_\+ss7\+\_\+linkset} $\ast$lset)
\begin{DoxyCompactList}\small\item\em Destroy a SS7 Linkset. \end{DoxyCompactList}\item 
struct \textbf{ osmo\+\_\+ss7\+\_\+linkset} $\ast$ \textbf{ ss7\+\_\+linkset\+\_\+find\+\_\+by\+\_\+name} (struct \textbf{ osmo\+\_\+ss7\+\_\+instance} $\ast$inst, const char $\ast$name)
\begin{DoxyCompactList}\small\item\em Find SS7 Linkset by given name. \end{DoxyCompactList}\item 
struct \textbf{ osmo\+\_\+ss7\+\_\+linkset} $\ast$ \textbf{ ss7\+\_\+linkset\+\_\+find\+\_\+or\+\_\+create} (struct \textbf{ osmo\+\_\+ss7\+\_\+instance} $\ast$inst, const char $\ast$name, uint32\+\_\+t \textbf{ pc})
\begin{DoxyCompactList}\small\item\em Find or allocate SS7 Linkset. \end{DoxyCompactList}\item 
bool \textbf{ ss7\+\_\+linkset\+\_\+is\+\_\+available} (const struct \textbf{ osmo\+\_\+ss7\+\_\+linkset} $\ast$lset)
\end{DoxyCompactItemize}


\doxysubsection{Function Documentation}
\mbox{\label{ss7__linkset_8h_a73529845640f1cfd4273765a691d77f9}} 
\index{ss7\_linkset.h@{ss7\_linkset.h}!ss7\_linkset\_destroy@{ss7\_linkset\_destroy}}
\index{ss7\_linkset\_destroy@{ss7\_linkset\_destroy}!ss7\_linkset.h@{ss7\_linkset.h}}
\doxysubsubsection{ss7\_linkset\_destroy()}
{\footnotesize\ttfamily void ss7\+\_\+linkset\+\_\+destroy (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+ss7\+\_\+linkset} $\ast$}]{lset }\end{DoxyParamCaption})}



Destroy a SS7 Linkset. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em lset} & Linkset to be destroyed \\
\hline
\end{DoxyParams}


References \textbf{ osmo\+\_\+ss7\+\_\+linkset\+::cfg}, \textbf{ osmo\+\_\+ss7\+\_\+linkset\+::inst}, \textbf{ osmo\+\_\+ss7\+\_\+linkset\+::links}, \textbf{ osmo\+\_\+ss7\+\_\+linkset\+::list}, \textbf{ LOGSS7}, \textbf{ osmo\+\_\+ss7\+\_\+linkset\+::name}, \textbf{ osmo\+\_\+ss7\+\_\+instance\+::rtable\+\_\+system}, \textbf{ ss7\+\_\+initialized}, \textbf{ ss7\+\_\+link\+\_\+destroy()}, and \textbf{ ss7\+\_\+route\+\_\+table\+\_\+del\+\_\+routes\+\_\+by\+\_\+linkset()}.



Referenced by \textbf{ osmo\+\_\+ss7\+\_\+instance\+\_\+destroy()}.

\mbox{\label{ss7__linkset_8h_a5199628104fb354176dadf1b44eb1b09}} 
\index{ss7\_linkset.h@{ss7\_linkset.h}!ss7\_linkset\_find\_by\_name@{ss7\_linkset\_find\_by\_name}}
\index{ss7\_linkset\_find\_by\_name@{ss7\_linkset\_find\_by\_name}!ss7\_linkset.h@{ss7\_linkset.h}}
\doxysubsubsection{ss7\_linkset\_find\_by\_name()}
{\footnotesize\ttfamily struct \textbf{ osmo\+\_\+ss7\+\_\+linkset} $\ast$ ss7\+\_\+linkset\+\_\+find\+\_\+by\+\_\+name (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+ss7\+\_\+instance} $\ast$}]{inst,  }\item[{const char $\ast$}]{name }\end{DoxyParamCaption})}



Find SS7 Linkset by given name. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em inst} & SS7 Instance in which to look \\
\hline
\mbox{\texttt{ in}}  & {\em name} & Name of SS7 Linkset \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
pointer to linkset on success; NULL on error 
\end{DoxyReturn}


References \textbf{ osmo\+\_\+ss7\+\_\+linkset\+::cfg}, \textbf{ osmo\+\_\+ss7\+\_\+linkset\+::inst}, \textbf{ osmo\+\_\+ss7\+\_\+instance\+::linksets}, \textbf{ osmo\+\_\+ss7\+\_\+linkset\+::list}, \textbf{ osmo\+\_\+ss7\+\_\+linkset\+::name}, \textbf{ NULL}, and \textbf{ ss7\+\_\+initialized}.



Referenced by \textbf{ ss7\+\_\+linkset\+\_\+find\+\_\+or\+\_\+create()}, and \textbf{ ss7\+\_\+route\+\_\+set\+\_\+linkset()}.

\mbox{\label{ss7__linkset_8h_a0dae9af955b0d4998739082b222d9bb2}} 
\index{ss7\_linkset.h@{ss7\_linkset.h}!ss7\_linkset\_find\_or\_create@{ss7\_linkset\_find\_or\_create}}
\index{ss7\_linkset\_find\_or\_create@{ss7\_linkset\_find\_or\_create}!ss7\_linkset.h@{ss7\_linkset.h}}
\doxysubsubsection{ss7\_linkset\_find\_or\_create()}
{\footnotesize\ttfamily struct \textbf{ osmo\+\_\+ss7\+\_\+linkset} $\ast$ ss7\+\_\+linkset\+\_\+find\+\_\+or\+\_\+create (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+ss7\+\_\+instance} $\ast$}]{inst,  }\item[{const char $\ast$}]{name,  }\item[{uint32\+\_\+t}]{pc }\end{DoxyParamCaption})}



Find or allocate SS7 Linkset. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em inst} & SS7 Instance in which we operate \\
\hline
\mbox{\texttt{ in}}  & {\em name} & Name of SS7 Linkset \\
\hline
\mbox{\texttt{ in}}  & {\em pc} & Adjacent Pointcode \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
pointer to Linkset on success; NULL on error 
\end{DoxyReturn}


References \textbf{ osmo\+\_\+ss7\+\_\+linkset\+::adjacent\+\_\+pc}, \textbf{ osmo\+\_\+ss7\+\_\+linkset\+::cfg}, \textbf{ osmo\+\_\+ss7\+\_\+linkset\+::inst}, \textbf{ osmo\+\_\+ss7\+\_\+instance\+::linksets}, \textbf{ osmo\+\_\+ss7\+\_\+linkset\+::list}, \textbf{ LOGSS7}, \textbf{ osmo\+\_\+ss7\+\_\+linkset\+::name}, \textbf{ NULL}, \textbf{ pc}, \textbf{ ss7\+\_\+initialized}, and \textbf{ ss7\+\_\+linkset\+\_\+find\+\_\+by\+\_\+name()}.

\mbox{\label{ss7__linkset_8h_af086f84f7aa8bbab715fdbd97f89e401}} 
\index{ss7\_linkset.h@{ss7\_linkset.h}!ss7\_linkset\_is\_available@{ss7\_linkset\_is\_available}}
\index{ss7\_linkset\_is\_available@{ss7\_linkset\_is\_available}!ss7\_linkset.h@{ss7\_linkset.h}}
\doxysubsubsection{ss7\_linkset\_is\_available()}
{\footnotesize\ttfamily bool ss7\+\_\+linkset\+\_\+is\+\_\+available (\begin{DoxyParamCaption}\item[{const struct \textbf{ osmo\+\_\+ss7\+\_\+linkset} $\ast$}]{lset }\end{DoxyParamCaption})}



References \textbf{ osmo\+\_\+ss7\+\_\+linkset\+::links}, and \textbf{ ss7\+\_\+link\+\_\+is\+\_\+available()}.



Referenced by \textbf{ ss7\+\_\+route\+\_\+dest\+\_\+is\+\_\+available()}.

