\doxysection{src/ss7\+\_\+route\+\_\+table.h File Reference} \label{ss7__route__table_8h}\index{src/ss7\_route\_table.h@{src/ss7\_route\_table.h}} {\ttfamily \#include $<$stdint.\+h$>$}\newline {\ttfamily \#include $<$osmocom/core/linuxlist.\+h$>$}\newline \doxysubsection*{Data Structures} \begin{DoxyCompactItemize} \item struct \textbf{ osmo\+\_\+ss7\+\_\+route\+\_\+table} \end{DoxyCompactItemize} \doxysubsection*{Functions} \begin{DoxyCompactItemize} \item struct \textbf{ osmo\+\_\+ss7\+\_\+route\+\_\+table} $\ast$ \textbf{ ss7\+\_\+route\+\_\+table\+\_\+find} (struct \textbf{ osmo\+\_\+ss7\+\_\+instance} $\ast$inst, const char $\ast$name) \item struct \textbf{ osmo\+\_\+ss7\+\_\+route\+\_\+table} $\ast$ \textbf{ ss7\+\_\+route\+\_\+table\+\_\+find\+\_\+or\+\_\+create} (struct \textbf{ osmo\+\_\+ss7\+\_\+instance} $\ast$inst, const char $\ast$name) \item void \textbf{ ss7\+\_\+route\+\_\+table\+\_\+destroy} (struct \textbf{ osmo\+\_\+ss7\+\_\+route\+\_\+table} $\ast$rtbl) \item struct \textbf{ osmo\+\_\+ss7\+\_\+route} $\ast$ \textbf{ ss7\+\_\+route\+\_\+table\+\_\+find\+\_\+route\+\_\+by\+\_\+dpc} (struct \textbf{ osmo\+\_\+ss7\+\_\+route\+\_\+table} $\ast$rtbl, uint32\+\_\+t \textbf{ dpc}) \begin{DoxyCompactList}\small\item\em Find a SS7 route for given destination point code in given table. \end{DoxyCompactList}\item struct \textbf{ osmo\+\_\+ss7\+\_\+route} $\ast$ \textbf{ ss7\+\_\+route\+\_\+table\+\_\+find\+\_\+route\+\_\+by\+\_\+dpc\+\_\+mask} (struct \textbf{ osmo\+\_\+ss7\+\_\+route\+\_\+table} $\ast$rtbl, uint32\+\_\+t \textbf{ dpc}, uint32\+\_\+t mask) \begin{DoxyCompactList}\small\item\em Find a SS7 route for given destination point code + mask in given table. \end{DoxyCompactList}\item void \textbf{ ss7\+\_\+route\+\_\+table\+\_\+del\+\_\+routes\+\_\+by\+\_\+as} (struct \textbf{ osmo\+\_\+ss7\+\_\+route\+\_\+table} $\ast$rtbl, struct \textbf{ osmo\+\_\+ss7\+\_\+as} $\ast$as) \item void \textbf{ ss7\+\_\+route\+\_\+table\+\_\+del\+\_\+routes\+\_\+by\+\_\+linkset} (struct \textbf{ osmo\+\_\+ss7\+\_\+route\+\_\+table} $\ast$rtbl, struct \textbf{ osmo\+\_\+ss7\+\_\+linkset} $\ast$lset) \end{DoxyCompactItemize} \doxysubsection{Function Documentation} \mbox{\label{ss7__route__table_8h_a31366f9d23c4f7498118f19ce34ee49d}} \index{ss7\_route\_table.h@{ss7\_route\_table.h}!ss7\_route\_table\_del\_routes\_by\_as@{ss7\_route\_table\_del\_routes\_by\_as}} \index{ss7\_route\_table\_del\_routes\_by\_as@{ss7\_route\_table\_del\_routes\_by\_as}!ss7\_route\_table.h@{ss7\_route\_table.h}} \doxysubsubsection{ss7\_route\_table\_del\_routes\_by\_as()} {\footnotesize\ttfamily void ss7\+\_\+route\+\_\+table\+\_\+del\+\_\+routes\+\_\+by\+\_\+as (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+ss7\+\_\+route\+\_\+table} $\ast$}]{rtbl, }\item[{struct \textbf{ osmo\+\_\+ss7\+\_\+as} $\ast$}]{as }\end{DoxyParamCaption})} References \textbf{ osmo\+\_\+ss7\+\_\+route\+::as}, \textbf{ osmo\+\_\+ss7\+\_\+route\+::dest}, \textbf{ osmo\+\_\+ss7\+\_\+route\+::list}, \textbf{ osmo\+\_\+ss7\+\_\+route\+\_\+table\+::routes}, and \textbf{ ss7\+\_\+route\+\_\+destroy()}. Referenced by \textbf{ osmo\+\_\+ss7\+\_\+as\+\_\+destroy()}. \mbox{\label{ss7__route__table_8h_a6654b99144311dad1d260b18211870ef}} \index{ss7\_route\_table.h@{ss7\_route\_table.h}!ss7\_route\_table\_del\_routes\_by\_linkset@{ss7\_route\_table\_del\_routes\_by\_linkset}} \index{ss7\_route\_table\_del\_routes\_by\_linkset@{ss7\_route\_table\_del\_routes\_by\_linkset}!ss7\_route\_table.h@{ss7\_route\_table.h}} \doxysubsubsection{ss7\_route\_table\_del\_routes\_by\_linkset()} {\footnotesize\ttfamily void ss7\+\_\+route\+\_\+table\+\_\+del\+\_\+routes\+\_\+by\+\_\+linkset (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+ss7\+\_\+route\+\_\+table} $\ast$}]{rtbl, }\item[{struct \textbf{ osmo\+\_\+ss7\+\_\+linkset} $\ast$}]{lset }\end{DoxyParamCaption})} References \textbf{ osmo\+\_\+ss7\+\_\+route\+::dest}, \textbf{ osmo\+\_\+ss7\+\_\+route\+::linkset}, \textbf{ osmo\+\_\+ss7\+\_\+route\+::list}, \textbf{ osmo\+\_\+ss7\+\_\+route\+\_\+table\+::routes}, and \textbf{ ss7\+\_\+route\+\_\+destroy()}. Referenced by \textbf{ ss7\+\_\+linkset\+\_\+destroy()}. \mbox{\label{ss7__route__table_8h_a954b58f587a98e6c5e92f1b7a73975e9}} \index{ss7\_route\_table.h@{ss7\_route\_table.h}!ss7\_route\_table\_destroy@{ss7\_route\_table\_destroy}} \index{ss7\_route\_table\_destroy@{ss7\_route\_table\_destroy}!ss7\_route\_table.h@{ss7\_route\_table.h}} \doxysubsubsection{ss7\_route\_table\_destroy()} {\footnotesize\ttfamily void ss7\+\_\+route\+\_\+table\+\_\+destroy (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+ss7\+\_\+route\+\_\+table} $\ast$}]{rtbl }\end{DoxyParamCaption})} References \textbf{ osmo\+\_\+ss7\+\_\+route\+\_\+table\+::list}. \mbox{\label{ss7__route__table_8h_aed9bc0d02f1541dd23f33b9183e70324}} \index{ss7\_route\_table.h@{ss7\_route\_table.h}!ss7\_route\_table\_find@{ss7\_route\_table\_find}} \index{ss7\_route\_table\_find@{ss7\_route\_table\_find}!ss7\_route\_table.h@{ss7\_route\_table.h}} \doxysubsubsection{ss7\_route\_table\_find()} {\footnotesize\ttfamily struct \textbf{ osmo\+\_\+ss7\+\_\+route\+\_\+table} $\ast$ ss7\+\_\+route\+\_\+table\+\_\+find (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+ss7\+\_\+instance} $\ast$}]{inst, }\item[{const char $\ast$}]{name }\end{DoxyParamCaption})} References \textbf{ osmo\+\_\+ss7\+\_\+route\+\_\+table\+::cfg}, \textbf{ osmo\+\_\+ss7\+\_\+route\+\_\+table\+::inst}, \textbf{ osmo\+\_\+ss7\+\_\+route\+\_\+table\+::list}, \textbf{ osmo\+\_\+ss7\+\_\+route\+\_\+table\+::name}, \textbf{ osmo\+\_\+ss7\+\_\+instance\+::rtable\+\_\+list}, and \textbf{ ss7\+\_\+initialized}. Referenced by \textbf{ ss7\+\_\+route\+\_\+table\+\_\+find\+\_\+or\+\_\+create()}. \mbox{\label{ss7__route__table_8h_adec7dc12336efe6460d6e036dea8a7a1}} \index{ss7\_route\_table.h@{ss7\_route\_table.h}!ss7\_route\_table\_find\_or\_create@{ss7\_route\_table\_find\_or\_create}} \index{ss7\_route\_table\_find\_or\_create@{ss7\_route\_table\_find\_or\_create}!ss7\_route\_table.h@{ss7\_route\_table.h}} \doxysubsubsection{ss7\_route\_table\_find\_or\_create()} {\footnotesize\ttfamily struct \textbf{ osmo\+\_\+ss7\+\_\+route\+\_\+table} $\ast$ ss7\+\_\+route\+\_\+table\+\_\+find\+\_\+or\+\_\+create (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+ss7\+\_\+instance} $\ast$}]{inst, }\item[{const char $\ast$}]{name }\end{DoxyParamCaption})} References \textbf{ osmo\+\_\+ss7\+\_\+route\+\_\+table\+::inst}, \textbf{ osmo\+\_\+ss7\+\_\+route\+\_\+table\+::name}, \textbf{ ss7\+\_\+initialized}, \textbf{ ss7\+\_\+route\+\_\+table\+\_\+alloc()}, and \textbf{ ss7\+\_\+route\+\_\+table\+\_\+find()}. Referenced by \textbf{ ss7\+\_\+instance\+\_\+alloc()}. \mbox{\label{ss7__route__table_8h_af56917fe948b55718c2c6f1473c25448}} \index{ss7\_route\_table.h@{ss7\_route\_table.h}!ss7\_route\_table\_find\_route\_by\_dpc@{ss7\_route\_table\_find\_route\_by\_dpc}} \index{ss7\_route\_table\_find\_route\_by\_dpc@{ss7\_route\_table\_find\_route\_by\_dpc}!ss7\_route\_table.h@{ss7\_route\_table.h}} \doxysubsubsection{ss7\_route\_table\_find\_route\_by\_dpc()} {\footnotesize\ttfamily struct \textbf{ osmo\+\_\+ss7\+\_\+route} $\ast$ ss7\+\_\+route\+\_\+table\+\_\+find\+\_\+route\+\_\+by\+\_\+dpc (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+ss7\+\_\+route\+\_\+table} $\ast$}]{rtbl, }\item[{uint32\+\_\+t}]{dpc }\end{DoxyParamCaption})} Find a SS7 route for given destination point code in given table. References \textbf{ osmo\+\_\+ss7\+\_\+instance\+::cfg}, \textbf{ osmo\+\_\+ss7\+\_\+route\+::cfg}, \textbf{ dpc}, \textbf{ osmo\+\_\+ss7\+\_\+route\+\_\+table\+::inst}, \textbf{ osmo\+\_\+ss7\+\_\+route\+::list}, \textbf{ osmo\+\_\+ss7\+\_\+route\+::mask}, \textbf{ osmo\+\_\+ss7\+\_\+pc\+\_\+normalize()}, \textbf{ osmo\+\_\+ss7\+\_\+route\+::pc}, \textbf{ osmo\+\_\+ss7\+\_\+instance\+::pc\+\_\+fmt}, \textbf{ osmo\+\_\+ss7\+\_\+route\+\_\+table\+::routes}, and \textbf{ ss7\+\_\+initialized}. Referenced by \textbf{ handle\+\_\+rkey\+\_\+dereg()}, and \textbf{ osmo\+\_\+ss7\+\_\+route\+\_\+lookup()}. \mbox{\label{ss7__route__table_8h_a67b95bb2b2a8bb9f66c54c2f9bb33543}} \index{ss7\_route\_table.h@{ss7\_route\_table.h}!ss7\_route\_table\_find\_route\_by\_dpc\_mask@{ss7\_route\_table\_find\_route\_by\_dpc\_mask}} \index{ss7\_route\_table\_find\_route\_by\_dpc\_mask@{ss7\_route\_table\_find\_route\_by\_dpc\_mask}!ss7\_route\_table.h@{ss7\_route\_table.h}} \doxysubsubsection{ss7\_route\_table\_find\_route\_by\_dpc\_mask()} {\footnotesize\ttfamily struct \textbf{ osmo\+\_\+ss7\+\_\+route} $\ast$ ss7\+\_\+route\+\_\+table\+\_\+find\+\_\+route\+\_\+by\+\_\+dpc\+\_\+mask (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+ss7\+\_\+route\+\_\+table} $\ast$}]{rtbl, }\item[{uint32\+\_\+t}]{dpc, }\item[{uint32\+\_\+t}]{mask }\end{DoxyParamCaption})} Find a SS7 route for given destination point code + mask in given table. References \textbf{ osmo\+\_\+ss7\+\_\+instance\+::cfg}, \textbf{ osmo\+\_\+ss7\+\_\+route\+::cfg}, \textbf{ dpc}, \textbf{ osmo\+\_\+ss7\+\_\+route\+\_\+table\+::inst}, \textbf{ osmo\+\_\+ss7\+\_\+route\+::list}, \textbf{ osmo\+\_\+ss7\+\_\+route\+::mask}, \textbf{ osmo\+\_\+ss7\+\_\+pc\+\_\+normalize()}, \textbf{ osmo\+\_\+ss7\+\_\+route\+::pc}, \textbf{ osmo\+\_\+ss7\+\_\+instance\+::pc\+\_\+fmt}, \textbf{ osmo\+\_\+ss7\+\_\+route\+\_\+table\+::routes}, and \textbf{ ss7\+\_\+initialized}. Referenced by \textbf{ \+\_\+rout\+\_\+key()}, \textbf{ DEFUN\+\_\+\+ATTR()}, \textbf{ ipa\+\_\+add\+\_\+route()}, \textbf{ ipa\+\_\+del\+\_\+route()}, \textbf{ osmo\+\_\+sccp\+\_\+simple\+\_\+client\+\_\+on\+\_\+ss7\+\_\+id()}, \textbf{ ss7\+\_\+route\+\_\+create()}, and \textbf{ ss7\+\_\+route\+\_\+insert()}.