\doxysection{sccp\+\_\+internal.\+h}
\label{sccp__internal_8h_source}\index{src/sccp\_internal.h@{src/sccp\_internal.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 <inttypes.h>}}
\DoxyCodeLine{4 }
\DoxyCodeLine{5 \textcolor{preprocessor}{\#include <osmocom/core/fsm.h>}}
\DoxyCodeLine{6 \textcolor{preprocessor}{\#include <osmocom/core/prim.h>}}
\DoxyCodeLine{7 \textcolor{preprocessor}{\#include <osmocom/core/linuxlist.h>}}
\DoxyCodeLine{8 \textcolor{preprocessor}{\#include <osmocom/core/linuxrbtree.h>}}
\DoxyCodeLine{9 \textcolor{preprocessor}{\#include <osmocom/core/tdef.h>}}
\DoxyCodeLine{10 \textcolor{preprocessor}{\#include <osmocom/sigtran/sccp\_sap.h>}}
\DoxyCodeLine{11 \textcolor{preprocessor}{\#include <osmocom/sigtran/osmo\_ss7.h>}}
\DoxyCodeLine{12 \textcolor{preprocessor}{\#include <osmocom/sigtran/protocol/mtp.h>}}
\DoxyCodeLine{13 }
\DoxyCodeLine{14 \textcolor{preprocessor}{\#define SCCP\_STR "{}Signalling Connection Control Part\(\backslash\)n"{}}}
\DoxyCodeLine{15 }
\DoxyCodeLine{16 \textcolor{keyword}{struct }osmo\_sccp\_instance;}
\DoxyCodeLine{17 \textcolor{keyword}{struct }osmo\_sccp\_user;}
\DoxyCodeLine{18 }
\DoxyCodeLine{19 \textcolor{comment}{/* SCCP addressbook */}}
\DoxyCodeLine{20 \textcolor{keyword}{extern} \textcolor{keyword}{struct }llist\_head sccp\_address\_book\_global;}
\DoxyCodeLine{21 \textcolor{keyword}{struct }osmo\_sccp\_addr\_entry \{}
\DoxyCodeLine{22         \textcolor{keyword}{struct }llist\_head list;}
\DoxyCodeLine{23         \textcolor{keyword}{struct }llist\_head list\_global;}
\DoxyCodeLine{24         \textcolor{keyword}{struct }osmo\_ss7\_instance *inst;}
\DoxyCodeLine{25         \textcolor{keywordtype}{char} name[32];}
\DoxyCodeLine{26         \textcolor{keyword}{struct }osmo\_sccp\_addr addr;}
\DoxyCodeLine{27 \};}
\DoxyCodeLine{28 \textcolor{keyword}{struct }osmo\_sccp\_addr\_entry *addr\_entry\_by\_name\_local(\textcolor{keyword}{const} \textcolor{keywordtype}{char} *name,}
\DoxyCodeLine{29                                                       \textcolor{keyword}{const} \textcolor{keyword}{struct} osmo\_ss7\_instance *inst);}
\DoxyCodeLine{30 \textcolor{keyword}{struct }osmo\_sccp\_addr\_entry *addr\_entry\_by\_name\_global(\textcolor{keyword}{const} \textcolor{keywordtype}{char} *name);}
\DoxyCodeLine{31 }
\DoxyCodeLine{32 \textcolor{keyword}{extern} \textcolor{keywordtype}{int} DSCCP;}
\DoxyCodeLine{33 }
\DoxyCodeLine{34 \textcolor{keyword}{struct }xua\_msg;}
\DoxyCodeLine{35 }
\DoxyCodeLine{36 \textcolor{keyword}{struct }sccp\_connection *sccp\_find\_conn\_by\_id(\textcolor{keyword}{const} \textcolor{keyword}{struct} osmo\_sccp\_instance *inst, uint32\_t \textcolor{keywordtype}{id});}
\DoxyCodeLine{37 }
\DoxyCodeLine{38 \textcolor{comment}{/* Message from SCOC -\/> SCRC */}}
\DoxyCodeLine{39 \textcolor{keywordtype}{int} sccp\_scrc\_rx\_scoc\_conn\_msg(\textcolor{keyword}{struct} osmo\_sccp\_instance *inst,}
\DoxyCodeLine{40                                 \textcolor{keyword}{struct} xua\_msg *xua);}
\DoxyCodeLine{41 }
\DoxyCodeLine{42 \textcolor{comment}{/* Message from SCLC -\/> SCRC */}}
\DoxyCodeLine{43 \textcolor{keywordtype}{int} sccp\_scrc\_rx\_sclc\_msg(\textcolor{keyword}{struct} osmo\_sccp\_instance *inst, \textcolor{keyword}{struct} xua\_msg *xua);}
\DoxyCodeLine{44 }
\DoxyCodeLine{45 \textcolor{comment}{/* Message from MTP (SUA) -\/> SCRC */}}
\DoxyCodeLine{46 \textcolor{keywordtype}{int} scrc\_rx\_mtp\_xfer\_ind\_xua(\textcolor{keyword}{struct} osmo\_sccp\_instance *inst,}
\DoxyCodeLine{47                              \textcolor{keyword}{struct} xua\_msg *xua);}
\DoxyCodeLine{48 }
\DoxyCodeLine{49 \textcolor{comment}{/* Message from SCRC -\/> SCOC */}}
\DoxyCodeLine{50 \textcolor{keywordtype}{void} sccp\_scoc\_rx\_from\_scrc(\textcolor{keyword}{struct} osmo\_sccp\_instance *inst,}
\DoxyCodeLine{51                             \textcolor{keyword}{struct} xua\_msg *xua);}
\DoxyCodeLine{52 \textcolor{keywordtype}{void} sccp\_scoc\_rx\_scrc\_rout\_fail(\textcolor{keyword}{struct} osmo\_sccp\_instance *inst,}
\DoxyCodeLine{53                                  \textcolor{keyword}{struct} xua\_msg *xua, uint32\_t cause);}
\DoxyCodeLine{54 }
\DoxyCodeLine{55 \textcolor{comment}{/* Message from SCRC -\/> SCLC */}}
\DoxyCodeLine{56 \textcolor{keywordtype}{int} sccp\_sclc\_rx\_from\_scrc(\textcolor{keyword}{struct} osmo\_sccp\_instance *inst,}
\DoxyCodeLine{57                            \textcolor{keyword}{struct} xua\_msg *xua);}
\DoxyCodeLine{58 \textcolor{keywordtype}{void} sccp\_sclc\_rx\_scrc\_rout\_fail(\textcolor{keyword}{struct} osmo\_sccp\_instance *inst,}
\DoxyCodeLine{59                                  \textcolor{keyword}{struct} xua\_msg *xua, uint32\_t cause);}
\DoxyCodeLine{60 }
\DoxyCodeLine{61 \textcolor{comment}{/* Route Failure from SCRX -\/> SCOC or SCLC */}}
\DoxyCodeLine{62 \textcolor{keywordtype}{void} sccp\_rout\_fail\_enqueue(\textcolor{keyword}{struct} osmo\_sccp\_instance *inst, \textcolor{keyword}{const} \textcolor{keyword}{struct} xua\_msg *xua, uint32\_t cause, \textcolor{keywordtype}{bool} scoc);}
\DoxyCodeLine{63 }
\DoxyCodeLine{64 \textcolor{comment}{/* SCU -\/> SCLC */}}
\DoxyCodeLine{65 \textcolor{keywordtype}{int} sccp\_sclc\_user\_sap\_down(\textcolor{keyword}{struct} osmo\_sccp\_user *scu, \textcolor{keyword}{struct} osmo\_prim\_hdr *oph);}
\DoxyCodeLine{66 \textcolor{keywordtype}{int} sccp\_sclc\_user\_sap\_down\_nofree(\textcolor{keyword}{struct} osmo\_sccp\_user *scu, \textcolor{keyword}{struct} osmo\_prim\_hdr *oph);}
\DoxyCodeLine{67 }
\DoxyCodeLine{68 \textcolor{keyword}{struct }msgb *sccp\_msgb\_alloc(\textcolor{keyword}{const} \textcolor{keywordtype}{char} *name);}
\DoxyCodeLine{69 }
\DoxyCodeLine{70 \textcolor{keywordtype}{void} osmo\_sccp\_vty\_write\_cs7\_node(\textcolor{keyword}{struct} vty *vty, \textcolor{keyword}{const} \textcolor{keywordtype}{char} *indent, \textcolor{keyword}{struct} osmo\_sccp\_instance *inst);}
\DoxyCodeLine{71 }
\DoxyCodeLine{72 \textcolor{comment}{/* Local Broadcast (LBCS) */}}
\DoxyCodeLine{73 \textcolor{keywordtype}{void} sccp\_lbcs\_local\_bcast\_pcstate(\textcolor{keyword}{struct} osmo\_sccp\_instance *inst,}
\DoxyCodeLine{74                                    \textcolor{keyword}{const} \textcolor{keyword}{struct} osmo\_scu\_pcstate\_param *pcstate);}
\DoxyCodeLine{75 \textcolor{keywordtype}{void} sccp\_lbcs\_local\_bcast\_state(\textcolor{keyword}{struct} osmo\_sccp\_instance *inst,}
\DoxyCodeLine{76                                    \textcolor{keyword}{const} \textcolor{keyword}{struct} osmo\_scu\_state\_param *state);}
\DoxyCodeLine{77 }
\DoxyCodeLine{78 \textcolor{comment}{/* SCCP Management (SCMG) */}}
\DoxyCodeLine{79 \textcolor{keywordtype}{void} sccp\_scmg\_rx\_ssn\_allowed(\textcolor{keyword}{struct} osmo\_sccp\_instance *inst, uint32\_t dpc, uint32\_t ssn, uint32\_t smi);}
\DoxyCodeLine{80 \textcolor{keywordtype}{void} sccp\_scmg\_rx\_ssn\_prohibited(\textcolor{keyword}{struct} osmo\_sccp\_instance *inst, uint32\_t dpc, uint32\_t ssn, uint32\_t smi);}
\DoxyCodeLine{81 \textcolor{keywordtype}{void} sccp\_scmg\_rx\_mtp\_pause(\textcolor{keyword}{struct} osmo\_sccp\_instance *inst, uint32\_t dpc);}
\DoxyCodeLine{82 \textcolor{keywordtype}{void} sccp\_scmg\_rx\_mtp\_resume(\textcolor{keyword}{struct} osmo\_sccp\_instance *inst, uint32\_t dpc);}
\DoxyCodeLine{83 \textcolor{keywordtype}{void} sccp\_scmg\_rx\_mtp\_status(\textcolor{keyword}{struct} osmo\_sccp\_instance *inst, uint32\_t dpc, \textcolor{keyword}{enum} mtp\_unavail\_cause cause, uint8\_t cong\_level);}
\DoxyCodeLine{84 \textcolor{keywordtype}{int} sccp\_scmg\_init(\textcolor{keyword}{struct} osmo\_sccp\_instance *inst);}

\end{DoxyCode}
