\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{00001\ \textcolor{preprocessor}{\#pragma\ once}}
\DoxyCodeLine{00002\ }
\DoxyCodeLine{00003\ \textcolor{comment}{/*\ Internal\ header\ used\ by\ libosmo-\/sccp,\ not\ available\ publicly\ for\ lib\ users\ */}}
\DoxyCodeLine{00004\ }
\DoxyCodeLine{00005\ \textcolor{preprocessor}{\#include\ <stdbool.h>}}
\DoxyCodeLine{00006\ \textcolor{preprocessor}{\#include\ <stdint.h>}}
\DoxyCodeLine{00007\ }
\DoxyCodeLine{00008\ \textcolor{preprocessor}{\#include\ <osmocom/vty/vty.h>}}
\DoxyCodeLine{00009\ }
\DoxyCodeLine{00010\ \textcolor{preprocessor}{\#include\ <osmocom/netif/stream.h>}}
\DoxyCodeLine{00011\ \textcolor{preprocessor}{\#include\ <osmocom/sigtran/osmo\_ss7.h>}}
\DoxyCodeLine{00012\ }
\DoxyCodeLine{00013\ \textcolor{preprocessor}{\#include\ "{}ss7\_instance.h"{}}}
\DoxyCodeLine{00014\ }
\DoxyCodeLine{00015\ \textcolor{keyword}{enum}\ cs7\_role\_t\ \{}
\DoxyCodeLine{00016\ \ \ \ \ \ \ \ \ CS7\_ROLE\_SG,}
\DoxyCodeLine{00017\ \ \ \ \ \ \ \ \ CS7\_ROLE\_ASP}
\DoxyCodeLine{00018\ \};}
\DoxyCodeLine{00019\ }
\DoxyCodeLine{00020\ \textcolor{keyword}{extern}\ \textcolor{keywordtype}{void}\ *g\_ctx;}
\DoxyCodeLine{00021\ \textcolor{keyword}{extern}\ \textcolor{keyword}{enum}\ cs7\_role\_t\ cs7\_role;}
\DoxyCodeLine{00022\ \textcolor{keyword}{extern}\ \textcolor{keyword}{const}\ \textcolor{keyword}{struct\ }value\_string\ ipproto\_vals[];}
\DoxyCodeLine{00023\ }
\DoxyCodeLine{00024\ \textcolor{preprocessor}{\#define\ CS7\_STR\ "{}ITU-\/T\ Signaling\ System\ 7\(\backslash\)n"{}}}
\DoxyCodeLine{00025\ \textcolor{preprocessor}{\#define\ PC\_STR\ \ "{}Point\ Code\(\backslash\)n"{}}}
\DoxyCodeLine{00026\ \textcolor{preprocessor}{\#define\ INST\_STR\ "{}An\ instance\ of\ the\ SS7\ stack\(\backslash\)n"{}}}
\DoxyCodeLine{00027\ }
\DoxyCodeLine{00028\ \textcolor{preprocessor}{\#define\ XUA\_VAR\_STR\ \ \ \ \ "{}(sua|m3ua|ipa)"{}}}
\DoxyCodeLine{00029\ }
\DoxyCodeLine{00030\ \textcolor{preprocessor}{\#define\ XUA\_VAR\_HELP\_STR\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00031\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ "{}SCCP\ User\ Adaptation\(\backslash\)n"{}\ \ \ \ \ \ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00032\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ "{}MTP3\ User\ Adaptation\(\backslash\)n"{}\ \ \ \ \ \ \ \ \(\backslash\)}}
\DoxyCodeLine{00033\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ "{}IPA\ Multiplex\ (SCCP\ Lite)\(\backslash\)n"{}}}
\DoxyCodeLine{00034\ }
\DoxyCodeLine{00035\ \textcolor{preprocessor}{\#define\ IPPROTO\_VAR\_STR\ "{}(sctp|tcp)"{}}}
\DoxyCodeLine{00036\ \textcolor{preprocessor}{\#define\ IPPROTO\_VAR\_HELP\_STR\ \(\backslash\)}}
\DoxyCodeLine{00037\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ "{}SCTP\ (Stream\ Control\ Transmission\ Protocol)\(\backslash\)n"{}\ \(\backslash\)}}
\DoxyCodeLine{00038\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ "{}TCP\ (Transmission\ Control\ Protocol)\(\backslash\)n"{}}}
\DoxyCodeLine{00039\ }
\DoxyCodeLine{00040\ \textcolor{preprocessor}{\#define\ QOS\_CLASS\_RANGE\_STR\ "{}<0-\/7>"{}}}
\DoxyCodeLine{00041\ \textcolor{preprocessor}{\#define\ QOS\_CLASS\_RANGE\_HELP\_STR\ "{}QoS\ Class\(\backslash\)n"{}}}
\DoxyCodeLine{00042\ \textcolor{preprocessor}{\#define\ QOS\_CLASS\_VAR\_STR\ "{}("{}\ QOS\_CLASS\_RANGE\_STR\ "{}|default)"{}}}
\DoxyCodeLine{00043\ \textcolor{preprocessor}{\#define\ QOS\_CLASS\_VAR\_HELP\_STR\ \(\backslash\)}}
\DoxyCodeLine{00044\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ QOS\_CLASS\_RANGE\_HELP\_STR\ \(\backslash\)}}
\DoxyCodeLine{00045\ \textcolor{preprocessor}{\ \ \ \ \ \ \ \ "{}Default\ QoS\ Class\ (0)\(\backslash\)n"{}}}
\DoxyCodeLine{00046\ }
\DoxyCodeLine{00047\ \textcolor{keywordtype}{int}\ parse\_trans\_proto(\textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *protocol);}
\DoxyCodeLine{00048\ \textcolor{keyword}{enum}\ osmo\_ss7\_asp\_protocol\ parse\_asp\_proto(\textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *protocol);}
\DoxyCodeLine{00049\ }
\DoxyCodeLine{00050\ \textcolor{comment}{/*\ ss7\_asp\_vty.c\ */}}
\DoxyCodeLine{00051\ \textcolor{keywordtype}{void}\ ss7\_vty\_init\_node\_asp(\textcolor{keywordtype}{void});}
\DoxyCodeLine{00052\ \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{00053\ \textcolor{keywordtype}{int}\ ss7\_vty\_node\_asp\_go\_parent(\textcolor{keyword}{struct}\ vty\ *vty);}
\DoxyCodeLine{00054\ }
\DoxyCodeLine{00055\ \textcolor{comment}{/*\ ss7\_as\_vty.c\ */}}
\DoxyCodeLine{00056\ \textcolor{keywordtype}{void}\ ss7\_vty\_init\_node\_as(\textcolor{keywordtype}{void});}
\DoxyCodeLine{00057\ \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{00058\ \textcolor{keywordtype}{int}\ ss7\_vty\_node\_as\_go\_parent(\textcolor{keyword}{struct}\ vty\ *vty);}
\DoxyCodeLine{00059\ }
\DoxyCodeLine{00060\ \textcolor{comment}{/*\ ss7\_xua\_srv\_vty.c\ */}}
\DoxyCodeLine{00061\ \textcolor{keywordtype}{void}\ ss7\_vty\_init\_node\_oxs(\textcolor{keywordtype}{void});}
\DoxyCodeLine{00062\ \textcolor{keywordtype}{void}\ ss7\_vty\_init\_show\_oxs(\textcolor{keywordtype}{void});}
\DoxyCodeLine{00063\ \textcolor{keywordtype}{void}\ ss7\_vty\_write\_one\_oxs(\textcolor{keyword}{struct}\ vty\ *vty,\ \textcolor{keyword}{struct}\ osmo\_xua\_server\ *xs);}
\DoxyCodeLine{00064\ \textcolor{keywordtype}{int}\ ss7\_vty\_node\_oxs\_go\_parent(\textcolor{keyword}{struct}\ vty\ *vty);}

\end{DoxyCode}
