\doxysection{ss7\+\_\+route.\+h} \label{ss7__route_8h_source}\index{src/ss7\_route.h@{src/ss7\_route.h}} \textbf{ Go to the documentation of this file.} \begin{DoxyCode}{0} \DoxyCodeLine{1 \textcolor{preprocessor}{\#pragma once}} \DoxyCodeLine{2 } \DoxyCodeLine{3 \textcolor{preprocessor}{\#include }} \DoxyCodeLine{4 \textcolor{preprocessor}{\#include }} \DoxyCodeLine{5 } \DoxyCodeLine{6 \textcolor{comment}{/***********************************************************************}} \DoxyCodeLine{7 \textcolor{comment}{ * SS7 Routes}} \DoxyCodeLine{8 \textcolor{comment}{ ***********************************************************************/}} \DoxyCodeLine{9 } \DoxyCodeLine{10 \textcolor{keyword}{struct }osmo\_ss7\_instance;} \DoxyCodeLine{11 \textcolor{keyword}{struct }osmo\_ss7\_route\_table;} \DoxyCodeLine{12 \textcolor{keyword}{struct }osmo\_ss7\_linkset;} \DoxyCodeLine{13 \textcolor{keyword}{struct }osmo\_ss7\_as;} \DoxyCodeLine{14 } \DoxyCodeLine{15 \textcolor{preprocessor}{\#define OSMO\_SS7\_ROUTE\_PRIO\_DEFAULT 5}} \DoxyCodeLine{16 } \DoxyCodeLine{17 \textcolor{keyword}{struct }osmo\_ss7\_route \{} \DoxyCodeLine{19 \textcolor{keyword}{struct }llist\_head list;} \DoxyCodeLine{21 \textcolor{keyword}{struct }osmo\_ss7\_route\_table *rtable;} \DoxyCodeLine{22 } \DoxyCodeLine{23 \textcolor{keyword}{struct }\{} \DoxyCodeLine{25 \textcolor{keyword}{struct }osmo\_ss7\_linkset *linkset;} \DoxyCodeLine{27 \textcolor{keyword}{struct }osmo\_ss7\_as *as;} \DoxyCodeLine{28 \} dest;} \DoxyCodeLine{29 } \DoxyCodeLine{30 \textcolor{keyword}{struct }\{} \DoxyCodeLine{31 \textcolor{comment}{/* FIXME: presence? */}} \DoxyCodeLine{32 uint32\_t pc;} \DoxyCodeLine{33 uint32\_t mask;} \DoxyCodeLine{35 \textcolor{keywordtype}{char} *linkset\_name;} \DoxyCodeLine{37 uint32\_t priority;} \DoxyCodeLine{38 uint8\_t qos\_class;} \DoxyCodeLine{39 \} cfg;} \DoxyCodeLine{40 \};} \DoxyCodeLine{41 } \DoxyCodeLine{42 \textcolor{keyword}{struct }osmo\_ss7\_route *} \DoxyCodeLine{43 ss7\_route\_alloc(\textcolor{keyword}{struct} osmo\_ss7\_route\_table *rtbl, uint32\_t pc, uint32\_t mask);} \DoxyCodeLine{44 \textcolor{keyword}{struct }osmo\_ss7\_route *} \DoxyCodeLine{45 ss7\_route\_create(\textcolor{keyword}{struct} osmo\_ss7\_route\_table *rtbl, uint32\_t dpc,} \DoxyCodeLine{46 uint32\_t mask, \textcolor{keyword}{const} \textcolor{keywordtype}{char} *linkset\_name);} \DoxyCodeLine{47 \textcolor{keywordtype}{void} ss7\_route\_destroy(\textcolor{keyword}{struct} osmo\_ss7\_route *rt);} \DoxyCodeLine{48 } \DoxyCodeLine{49 \textcolor{keyword}{struct }osmo\_ss7\_route *} \DoxyCodeLine{50 ss7\_route\_find\_dpc(\textcolor{keyword}{struct} osmo\_ss7\_route\_table *rtbl, uint32\_t dpc);} \DoxyCodeLine{51 \textcolor{keyword}{struct }osmo\_ss7\_route *} \DoxyCodeLine{52 ss7\_route\_find\_dpc\_mask(\textcolor{keyword}{struct} osmo\_ss7\_route\_table *rtbl, uint32\_t dpc,} \DoxyCodeLine{53 uint32\_t mask);} \DoxyCodeLine{54 } \DoxyCodeLine{55 \textcolor{keywordtype}{int} ss7\_route\_set\_linkset(\textcolor{keyword}{struct} osmo\_ss7\_route *rt, \textcolor{keyword}{const} \textcolor{keywordtype}{char} *linkset\_name);} \DoxyCodeLine{56 \textcolor{keywordtype}{int} ss7\_route\_insert(\textcolor{keyword}{struct} osmo\_ss7\_route *rt);} \end{DoxyCode}