\doxysection{ss7\+\_\+vty.\+h} \label{ss7__vty_8h_source}\index{src/ss7\_vty.h@{src/ss7\_vty.h}} \textbf{ Go to the documentation of this file.} \begin{DoxyCode}{0} \DoxyCodeLine{1 \textcolor{preprocessor}{\#pragma once}} \DoxyCodeLine{2 } \DoxyCodeLine{3 \textcolor{comment}{/* Internal header used by libosmo-\/sccp, not available publicly for lib users */}} \DoxyCodeLine{4 } \DoxyCodeLine{5 \textcolor{preprocessor}{\#include }} \DoxyCodeLine{6 \textcolor{preprocessor}{\#include }} \DoxyCodeLine{7 } \DoxyCodeLine{8 \textcolor{preprocessor}{\#include }} \DoxyCodeLine{9 } \DoxyCodeLine{10 \textcolor{preprocessor}{\#include }} \DoxyCodeLine{11 \textcolor{preprocessor}{\#include }} \DoxyCodeLine{12 } \DoxyCodeLine{13 \textcolor{preprocessor}{\#include "{}ss7\_instance.h"{}}} \DoxyCodeLine{14 } \DoxyCodeLine{15 \textcolor{keyword}{enum} cs7\_role\_t \{} \DoxyCodeLine{16 CS7\_ROLE\_SG,} \DoxyCodeLine{17 CS7\_ROLE\_ASP} \DoxyCodeLine{18 \};} \DoxyCodeLine{19 } \DoxyCodeLine{20 \textcolor{keyword}{extern} \textcolor{keywordtype}{void} *g\_ctx;} \DoxyCodeLine{21 \textcolor{keyword}{extern} \textcolor{keyword}{enum} cs7\_role\_t cs7\_role;} \DoxyCodeLine{22 \textcolor{keyword}{extern} \textcolor{keyword}{const} \textcolor{keyword}{struct }value\_string ipproto\_vals[];} \DoxyCodeLine{23 } \DoxyCodeLine{24 \textcolor{preprocessor}{\#define CS7\_STR "{}ITU-\/T Signaling System 7\(\backslash\)n"{}}} \DoxyCodeLine{25 \textcolor{preprocessor}{\#define PC\_STR "{}Point Code\(\backslash\)n"{}}} \DoxyCodeLine{26 \textcolor{preprocessor}{\#define INST\_STR "{}An instance of the SS7 stack\(\backslash\)n"{}}} \DoxyCodeLine{27 } \DoxyCodeLine{28 \textcolor{preprocessor}{\#define XUA\_VAR\_STR "{}(sua|m3ua|ipa)"{}}} \DoxyCodeLine{29 } \DoxyCodeLine{30 \textcolor{preprocessor}{\#define XUA\_VAR\_HELP\_STR \(\backslash\)}} \DoxyCodeLine{31 \textcolor{preprocessor}{ "{}SCCP User Adaptation\(\backslash\)n"{}} \(\backslash\)} \DoxyCodeLine{32 "{}MTP3 User Adaptation\(\backslash\)n"{} \(\backslash\)} \DoxyCodeLine{33 "{}IPA Multiplex (SCCP Lite)\(\backslash\)n"{}} \DoxyCodeLine{34 } \DoxyCodeLine{35 \textcolor{preprocessor}{\#define IPPROTO\_VAR\_STR "{}(sctp|tcp)"{}}} \DoxyCodeLine{36 \textcolor{preprocessor}{\#define IPPROTO\_VAR\_HELP\_STR \(\backslash\)}} \DoxyCodeLine{37 \textcolor{preprocessor}{ "{}SCTP (Stream Control Transmission Protocol)\(\backslash\)n"{}} \(\backslash\)} \DoxyCodeLine{38 "{}TCP (Transmission Control Protocol)\(\backslash\)n"{}} \DoxyCodeLine{39 } \DoxyCodeLine{40 \textcolor{preprocessor}{\#define QOS\_CLASS\_RANGE\_STR "{}<0-\/7>"{}}} \DoxyCodeLine{41 \textcolor{preprocessor}{\#define QOS\_CLASS\_RANGE\_HELP\_STR "{}QoS Class\(\backslash\)n"{}}} \DoxyCodeLine{42 \textcolor{preprocessor}{\#define QOS\_CLASS\_VAR\_STR "{}("{}} QOS\_CLASS\_RANGE\_STR "{}|default)"{}} \DoxyCodeLine{43 \textcolor{preprocessor}{\#define QOS\_CLASS\_VAR\_HELP\_STR \(\backslash\)}} \DoxyCodeLine{44 \textcolor{preprocessor}{ QOS\_CLASS\_RANGE\_HELP\_STR \(\backslash\)}} \DoxyCodeLine{45 \textcolor{preprocessor}{ "{}Default QoS Class (0)\(\backslash\)n"{}}} \DoxyCodeLine{46 } \DoxyCodeLine{47 \textcolor{keywordtype}{int} parse\_trans\_proto(\textcolor{keyword}{const} \textcolor{keywordtype}{char} *protocol);} \DoxyCodeLine{48 \textcolor{keyword}{enum} osmo\_ss7\_asp\_protocol parse\_asp\_proto(\textcolor{keyword}{const} \textcolor{keywordtype}{char} *protocol);} \DoxyCodeLine{49 } \DoxyCodeLine{50 \textcolor{comment}{/* ss7\_asp\_vty.c */}} \DoxyCodeLine{51 \textcolor{keywordtype}{void} ss7\_vty\_init\_node\_asp(\textcolor{keywordtype}{void});} \DoxyCodeLine{52 \textcolor{keywordtype}{void} ss7\_vty\_write\_one\_asp(\textcolor{keyword}{struct} vty *vty, \textcolor{keyword}{struct} osmo\_ss7\_asp *asp, \textcolor{keywordtype}{bool} show\_dyn\_config);} \DoxyCodeLine{53 \textcolor{keywordtype}{int} ss7\_vty\_node\_asp\_go\_parent(\textcolor{keyword}{struct} vty *vty);} \DoxyCodeLine{54 } \DoxyCodeLine{55 \textcolor{comment}{/* ss7\_as\_vty.c */}} \DoxyCodeLine{56 \textcolor{keywordtype}{void} ss7\_vty\_init\_node\_as(\textcolor{keywordtype}{void});} \DoxyCodeLine{57 \textcolor{keywordtype}{void} ss7\_vty\_write\_one\_as(\textcolor{keyword}{struct} vty *vty, \textcolor{keyword}{struct} osmo\_ss7\_as *as, \textcolor{keywordtype}{bool} show\_dyn\_config);} \DoxyCodeLine{58 \textcolor{keywordtype}{int} ss7\_vty\_node\_as\_go\_parent(\textcolor{keyword}{struct} vty *vty);} \DoxyCodeLine{59 } \DoxyCodeLine{60 \textcolor{comment}{/* ss7\_xua\_srv\_vty.c */}} \DoxyCodeLine{61 \textcolor{keywordtype}{void} ss7\_vty\_init\_node\_oxs(\textcolor{keywordtype}{void});} \DoxyCodeLine{62 \textcolor{keywordtype}{void} ss7\_vty\_init\_show\_oxs(\textcolor{keywordtype}{void});} \DoxyCodeLine{63 \textcolor{keywordtype}{void} ss7\_vty\_write\_one\_oxs(\textcolor{keyword}{struct} vty *vty, \textcolor{keyword}{struct} osmo\_xua\_server *xs);} \DoxyCodeLine{64 \textcolor{keywordtype}{int} ss7\_vty\_node\_oxs\_go\_parent(\textcolor{keyword}{struct} vty *vty);} \end{DoxyCode}