\doxysection{src/ss7\+\_\+vty.h File Reference} \label{ss7__vty_8h}\index{src/ss7\_vty.h@{src/ss7\_vty.h}} {\ttfamily \#include $<$stdbool.\+h$>$}\newline {\ttfamily \#include $<$stdint.\+h$>$}\newline {\ttfamily \#include $<$osmocom/vty/vty.\+h$>$}\newline {\ttfamily \#include $<$osmocom/netif/stream.\+h$>$}\newline {\ttfamily \#include $<$osmocom/sigtran/osmo\+\_\+ss7.\+h$>$}\newline {\ttfamily \#include \char`\"{}ss7\+\_\+instance.\+h\char`\"{}}\newline \doxysubsection*{Macros} \begin{DoxyCompactItemize} \item \#define \textbf{ CS7\+\_\+\+STR}~\char`\"{}ITU-\/T Signaling System 7\textbackslash{}n\char`\"{} \item \#define \textbf{ PC\+\_\+\+STR}~\char`\"{}Point Code\textbackslash{}n\char`\"{} \item \#define \textbf{ INST\+\_\+\+STR}~\char`\"{}An instance of the SS7 stack\textbackslash{}n\char`\"{} \item \#define \textbf{ XUA\+\_\+\+VAR\+\_\+\+STR}~\char`\"{}(sua$\vert$m3ua$\vert$ipa)\char`\"{} \item \#define \textbf{ XUA\+\_\+\+VAR\+\_\+\+HELP\+\_\+\+STR} \item \#define \textbf{ IPPROTO\+\_\+\+VAR\+\_\+\+STR}~\char`\"{}(sctp$\vert$tcp)\char`\"{} \item \#define \textbf{ IPPROTO\+\_\+\+VAR\+\_\+\+HELP\+\_\+\+STR} \item \#define \textbf{ QOS\+\_\+\+CLASS\+\_\+\+RANGE\+\_\+\+STR}~\char`\"{}$<$0-\/7$>$\char`\"{} \item \#define \textbf{ QOS\+\_\+\+CLASS\+\_\+\+RANGE\+\_\+\+HELP\+\_\+\+STR}~\char`\"{}QoS Class\textbackslash{}n\char`\"{} \item \#define \textbf{ QOS\+\_\+\+CLASS\+\_\+\+VAR\+\_\+\+STR}~\char`\"{}(\char`\"{} \textbf{ QOS\+\_\+\+CLASS\+\_\+\+RANGE\+\_\+\+STR} \char`\"{}$\vert$default)\char`\"{} \item \#define \textbf{ QOS\+\_\+\+CLASS\+\_\+\+VAR\+\_\+\+HELP\+\_\+\+STR} \end{DoxyCompactItemize} \doxysubsection*{Enumerations} \begin{DoxyCompactItemize} \item enum \textbf{ cs7\+\_\+role\+\_\+t} \{ \textbf{ CS7\+\_\+\+ROLE\+\_\+\+SG} , \textbf{ CS7\+\_\+\+ROLE\+\_\+\+ASP} \} \end{DoxyCompactItemize} \doxysubsection*{Functions} \begin{DoxyCompactItemize} \item int \textbf{ parse\+\_\+trans\+\_\+proto} (const char $\ast$protocol) \item enum \textbf{ osmo\+\_\+ss7\+\_\+asp\+\_\+protocol} \textbf{ parse\+\_\+asp\+\_\+proto} (const char $\ast$protocol) \item void \textbf{ ss7\+\_\+vty\+\_\+init\+\_\+node\+\_\+asp} (void) \item void \textbf{ ss7\+\_\+vty\+\_\+write\+\_\+one\+\_\+asp} (struct vty $\ast$vty, struct \textbf{ osmo\+\_\+ss7\+\_\+asp} $\ast$asp, bool show\+\_\+dyn\+\_\+config) \item int \textbf{ ss7\+\_\+vty\+\_\+node\+\_\+asp\+\_\+go\+\_\+parent} (struct vty $\ast$vty) \item void \textbf{ ss7\+\_\+vty\+\_\+init\+\_\+node\+\_\+as} (void) \item void \textbf{ ss7\+\_\+vty\+\_\+write\+\_\+one\+\_\+as} (struct vty $\ast$vty, struct \textbf{ osmo\+\_\+ss7\+\_\+as} $\ast$as, bool show\+\_\+dyn\+\_\+config) \item int \textbf{ ss7\+\_\+vty\+\_\+node\+\_\+as\+\_\+go\+\_\+parent} (struct vty $\ast$vty) \item void \textbf{ ss7\+\_\+vty\+\_\+init\+\_\+node\+\_\+oxs} (void) \item void \textbf{ ss7\+\_\+vty\+\_\+init\+\_\+show\+\_\+oxs} (void) \item void \textbf{ ss7\+\_\+vty\+\_\+write\+\_\+one\+\_\+oxs} (struct vty $\ast$vty, struct \textbf{ osmo\+\_\+xua\+\_\+server} $\ast$xs) \item int \textbf{ ss7\+\_\+vty\+\_\+node\+\_\+oxs\+\_\+go\+\_\+parent} (struct vty $\ast$vty) \end{DoxyCompactItemize} \doxysubsection*{Variables} \begin{DoxyCompactItemize} \item void $\ast$ \textbf{ g\+\_\+ctx} \item enum \textbf{ cs7\+\_\+role\+\_\+t} \textbf{ cs7\+\_\+role} \item const struct value\+\_\+string \textbf{ ipproto\+\_\+vals} [$\,$] \end{DoxyCompactItemize} \doxysubsection{Macro Definition Documentation} \mbox{\label{ss7__vty_8h_ad788266d373ac76d807afcb62fbbe19d}} \index{ss7\_vty.h@{ss7\_vty.h}!CS7\_STR@{CS7\_STR}} \index{CS7\_STR@{CS7\_STR}!ss7\_vty.h@{ss7\_vty.h}} \doxysubsubsection{CS7\_STR} {\footnotesize\ttfamily \#define CS7\+\_\+\+STR~\char`\"{}ITU-\/T Signaling System 7\textbackslash{}n\char`\"{}} \mbox{\label{ss7__vty_8h_a38728b918d70320ea5e7c07687f584c4}} \index{ss7\_vty.h@{ss7\_vty.h}!INST\_STR@{INST\_STR}} \index{INST\_STR@{INST\_STR}!ss7\_vty.h@{ss7\_vty.h}} \doxysubsubsection{INST\_STR} {\footnotesize\ttfamily \#define INST\+\_\+\+STR~\char`\"{}An instance of the SS7 stack\textbackslash{}n\char`\"{}} \mbox{\label{ss7__vty_8h_aad73bd9d42950dd01b053f3d696bdd54}} \index{ss7\_vty.h@{ss7\_vty.h}!IPPROTO\_VAR\_HELP\_STR@{IPPROTO\_VAR\_HELP\_STR}} \index{IPPROTO\_VAR\_HELP\_STR@{IPPROTO\_VAR\_HELP\_STR}!ss7\_vty.h@{ss7\_vty.h}} \doxysubsubsection{IPPROTO\_VAR\_HELP\_STR} {\footnotesize\ttfamily \#define IPPROTO\+\_\+\+VAR\+\_\+\+HELP\+\_\+\+STR} {\bfseries Value\+:} \begin{DoxyCode}{0} \DoxyCodeLine{ \textcolor{stringliteral}{"{}SCTP (Stream Control Transmission Protocol)\(\backslash\)n"{}} \(\backslash\)} \DoxyCodeLine{ \textcolor{stringliteral}{"{}TCP (Transmission Control Protocol)\(\backslash\)n"{}}} \end{DoxyCode} \mbox{\label{ss7__vty_8h_a14f39118c7b544669d2a5d4b3b7abd17}} \index{ss7\_vty.h@{ss7\_vty.h}!IPPROTO\_VAR\_STR@{IPPROTO\_VAR\_STR}} \index{IPPROTO\_VAR\_STR@{IPPROTO\_VAR\_STR}!ss7\_vty.h@{ss7\_vty.h}} \doxysubsubsection{IPPROTO\_VAR\_STR} {\footnotesize\ttfamily \#define IPPROTO\+\_\+\+VAR\+\_\+\+STR~\char`\"{}(sctp$\vert$tcp)\char`\"{}} \mbox{\label{ss7__vty_8h_ae1a8027d8962d120ef6c12ab6979bbc9}} \index{ss7\_vty.h@{ss7\_vty.h}!PC\_STR@{PC\_STR}} \index{PC\_STR@{PC\_STR}!ss7\_vty.h@{ss7\_vty.h}} \doxysubsubsection{PC\_STR} {\footnotesize\ttfamily \#define PC\+\_\+\+STR~\char`\"{}Point Code\textbackslash{}n\char`\"{}} \mbox{\label{ss7__vty_8h_af4b8513a622a33439545e84d26a2c1b2}} \index{ss7\_vty.h@{ss7\_vty.h}!QOS\_CLASS\_RANGE\_HELP\_STR@{QOS\_CLASS\_RANGE\_HELP\_STR}} \index{QOS\_CLASS\_RANGE\_HELP\_STR@{QOS\_CLASS\_RANGE\_HELP\_STR}!ss7\_vty.h@{ss7\_vty.h}} \doxysubsubsection{QOS\_CLASS\_RANGE\_HELP\_STR} {\footnotesize\ttfamily \#define QOS\+\_\+\+CLASS\+\_\+\+RANGE\+\_\+\+HELP\+\_\+\+STR~\char`\"{}QoS Class\textbackslash{}n\char`\"{}} \mbox{\label{ss7__vty_8h_af532196e3ea0d15b1c7e564c4c07b1f4}} \index{ss7\_vty.h@{ss7\_vty.h}!QOS\_CLASS\_RANGE\_STR@{QOS\_CLASS\_RANGE\_STR}} \index{QOS\_CLASS\_RANGE\_STR@{QOS\_CLASS\_RANGE\_STR}!ss7\_vty.h@{ss7\_vty.h}} \doxysubsubsection{QOS\_CLASS\_RANGE\_STR} {\footnotesize\ttfamily \#define QOS\+\_\+\+CLASS\+\_\+\+RANGE\+\_\+\+STR~\char`\"{}$<$0-\/7$>$\char`\"{}} \mbox{\label{ss7__vty_8h_a5d9bae3737f61e1d07571fce5e09670a}} \index{ss7\_vty.h@{ss7\_vty.h}!QOS\_CLASS\_VAR\_HELP\_STR@{QOS\_CLASS\_VAR\_HELP\_STR}} \index{QOS\_CLASS\_VAR\_HELP\_STR@{QOS\_CLASS\_VAR\_HELP\_STR}!ss7\_vty.h@{ss7\_vty.h}} \doxysubsubsection{QOS\_CLASS\_VAR\_HELP\_STR} {\footnotesize\ttfamily \#define QOS\+\_\+\+CLASS\+\_\+\+VAR\+\_\+\+HELP\+\_\+\+STR} {\bfseries Value\+:} \begin{DoxyCode}{0} \DoxyCodeLine{ QOS\_CLASS\_RANGE\_HELP\_STR \(\backslash\)} \DoxyCodeLine{ \textcolor{stringliteral}{"{}Default QoS Class (0)\(\backslash\)n"{}}} \end{DoxyCode} \mbox{\label{ss7__vty_8h_ac687877cfe9fa9153baa2b08fe2c4c72}} \index{ss7\_vty.h@{ss7\_vty.h}!QOS\_CLASS\_VAR\_STR@{QOS\_CLASS\_VAR\_STR}} \index{QOS\_CLASS\_VAR\_STR@{QOS\_CLASS\_VAR\_STR}!ss7\_vty.h@{ss7\_vty.h}} \doxysubsubsection{QOS\_CLASS\_VAR\_STR} {\footnotesize\ttfamily \#define QOS\+\_\+\+CLASS\+\_\+\+VAR\+\_\+\+STR~\char`\"{}(\char`\"{} \textbf{ QOS\+\_\+\+CLASS\+\_\+\+RANGE\+\_\+\+STR} \char`\"{}$\vert$default)\char`\"{}} \mbox{\label{ss7__vty_8h_a949d5f69b175d77ee760da96301724c5}} \index{ss7\_vty.h@{ss7\_vty.h}!XUA\_VAR\_HELP\_STR@{XUA\_VAR\_HELP\_STR}} \index{XUA\_VAR\_HELP\_STR@{XUA\_VAR\_HELP\_STR}!ss7\_vty.h@{ss7\_vty.h}} \doxysubsubsection{XUA\_VAR\_HELP\_STR} {\footnotesize\ttfamily \#define XUA\+\_\+\+VAR\+\_\+\+HELP\+\_\+\+STR} {\bfseries Value\+:} \begin{DoxyCode}{0} \DoxyCodeLine{ \textcolor{stringliteral}{"{}SCCP User Adaptation\(\backslash\)n"{}} \(\backslash\)} \DoxyCodeLine{ \textcolor{stringliteral}{"{}MTP3 User Adaptation\(\backslash\)n"{}} \(\backslash\)} \DoxyCodeLine{ \textcolor{stringliteral}{"{}IPA Multiplex (SCCP Lite)\(\backslash\)n"{}}} \end{DoxyCode} \mbox{\label{ss7__vty_8h_ad33390e3572b10c583f9cf2aac606608}} \index{ss7\_vty.h@{ss7\_vty.h}!XUA\_VAR\_STR@{XUA\_VAR\_STR}} \index{XUA\_VAR\_STR@{XUA\_VAR\_STR}!ss7\_vty.h@{ss7\_vty.h}} \doxysubsubsection{XUA\_VAR\_STR} {\footnotesize\ttfamily \#define XUA\+\_\+\+VAR\+\_\+\+STR~\char`\"{}(sua$\vert$m3ua$\vert$ipa)\char`\"{}} \doxysubsection{Enumeration Type Documentation} \mbox{\label{ss7__vty_8h_aa6181aded5492004a6442972bb31c15b}} \index{ss7\_vty.h@{ss7\_vty.h}!cs7\_role\_t@{cs7\_role\_t}} \index{cs7\_role\_t@{cs7\_role\_t}!ss7\_vty.h@{ss7\_vty.h}} \doxysubsubsection{cs7\_role\_t} {\footnotesize\ttfamily enum \textbf{ cs7\+\_\+role\+\_\+t}} \begin{DoxyEnumFields}{Enumerator} \raisebox{\heightof{T}}[0pt][0pt]{\index{CS7\_ROLE\_SG@{CS7\_ROLE\_SG}!ss7\_vty.h@{ss7\_vty.h}}\index{ss7\_vty.h@{ss7\_vty.h}!CS7\_ROLE\_SG@{CS7\_ROLE\_SG}}}\mbox{\label{ss7__vty_8h_aa6181aded5492004a6442972bb31c15ba6251043fc6df5347b66432be2da06d62}} CS7\+\_\+\+ROLE\+\_\+\+SG&\\ \hline \raisebox{\heightof{T}}[0pt][0pt]{\index{CS7\_ROLE\_ASP@{CS7\_ROLE\_ASP}!ss7\_vty.h@{ss7\_vty.h}}\index{ss7\_vty.h@{ss7\_vty.h}!CS7\_ROLE\_ASP@{CS7\_ROLE\_ASP}}}\mbox{\label{ss7__vty_8h_aa6181aded5492004a6442972bb31c15ba2a7a9a010cf4c267e4b996a0661bc5ec}} CS7\+\_\+\+ROLE\+\_\+\+ASP&\\ \hline \end{DoxyEnumFields} \doxysubsection{Function Documentation} \mbox{\label{ss7__vty_8h_a4d6cdf347ccc4448d7476de512e10585}} \index{ss7\_vty.h@{ss7\_vty.h}!parse\_asp\_proto@{parse\_asp\_proto}} \index{parse\_asp\_proto@{parse\_asp\_proto}!ss7\_vty.h@{ss7\_vty.h}} \doxysubsubsection{parse\_asp\_proto()} {\footnotesize\ttfamily enum \textbf{ osmo\+\_\+ss7\+\_\+asp\+\_\+protocol} parse\+\_\+asp\+\_\+proto (\begin{DoxyParamCaption}\item[{const char $\ast$}]{protocol }\end{DoxyParamCaption})} References \textbf{ osmo\+\_\+ss7\+\_\+asp\+\_\+protocol\+\_\+vals}. Referenced by \textbf{ DEFUN()}, and \textbf{ DEFUN\+\_\+\+ATTR()}. \mbox{\label{ss7__vty_8h_a75342344dc65049fcdcee60bb857072b}} \index{ss7\_vty.h@{ss7\_vty.h}!parse\_trans\_proto@{parse\_trans\_proto}} \index{parse\_trans\_proto@{parse\_trans\_proto}!ss7\_vty.h@{ss7\_vty.h}} \doxysubsubsection{parse\_trans\_proto()} {\footnotesize\ttfamily int parse\+\_\+trans\+\_\+proto (\begin{DoxyParamCaption}\item[{const char $\ast$}]{protocol }\end{DoxyParamCaption})} References \textbf{ ipproto\+\_\+vals}. Referenced by \textbf{ DEFUN()}, and \textbf{ DEFUN\+\_\+\+ATTR()}. \mbox{\label{ss7__vty_8h_aaf458cc0a1436126eafe1dd2ae55bc8c}} \index{ss7\_vty.h@{ss7\_vty.h}!ss7\_vty\_init\_node\_as@{ss7\_vty\_init\_node\_as}} \index{ss7\_vty\_init\_node\_as@{ss7\_vty\_init\_node\_as}!ss7\_vty.h@{ss7\_vty.h}} \doxysubsubsection{ss7\_vty\_init\_node\_as()} {\footnotesize\ttfamily void ss7\+\_\+vty\+\_\+init\+\_\+node\+\_\+as (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})} References \textbf{ as\+\_\+node}, and \textbf{ NULL}. Referenced by \textbf{ vty\+\_\+init\+\_\+shared()}. \mbox{\label{ss7__vty_8h_a3409e8ad094d0e3964c9d0502608f60d}} \index{ss7\_vty.h@{ss7\_vty.h}!ss7\_vty\_init\_node\_asp@{ss7\_vty\_init\_node\_asp}} \index{ss7\_vty\_init\_node\_asp@{ss7\_vty\_init\_node\_asp}!ss7\_vty.h@{ss7\_vty.h}} \doxysubsubsection{ss7\_vty\_init\_node\_asp()} {\footnotesize\ttfamily void ss7\+\_\+vty\+\_\+init\+\_\+node\+\_\+asp (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})} References \textbf{ asp\+\_\+node}, \textbf{ asp\+\_\+quirk\+\_\+descs}, \textbf{ asp\+\_\+quirk\+\_\+names}, \textbf{ g\+\_\+ctx}, \textbf{ gen\+\_\+asp\+\_\+timer\+\_\+lm\+\_\+cmd\+\_\+strs()}, \textbf{ gen\+\_\+asp\+\_\+timer\+\_\+xua\+\_\+cmd\+\_\+strs()}, and \textbf{ NULL}. Referenced by \textbf{ vty\+\_\+init\+\_\+shared()}. \mbox{\label{ss7__vty_8h_a4b9a4077266a98064719ffd71e8a1330}} \index{ss7\_vty.h@{ss7\_vty.h}!ss7\_vty\_init\_node\_oxs@{ss7\_vty\_init\_node\_oxs}} \index{ss7\_vty\_init\_node\_oxs@{ss7\_vty\_init\_node\_oxs}!ss7\_vty.h@{ss7\_vty.h}} \doxysubsubsection{ss7\_vty\_init\_node\_oxs()} {\footnotesize\ttfamily void ss7\+\_\+vty\+\_\+init\+\_\+node\+\_\+oxs (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})} References \textbf{ NULL}, and \textbf{ xua\+\_\+node}. Referenced by \textbf{ osmo\+\_\+ss7\+\_\+vty\+\_\+init\+\_\+sg()}. \mbox{\label{ss7__vty_8h_a233262627271ce6d66a600a7b45e6b50}} \index{ss7\_vty.h@{ss7\_vty.h}!ss7\_vty\_init\_show\_oxs@{ss7\_vty\_init\_show\_oxs}} \index{ss7\_vty\_init\_show\_oxs@{ss7\_vty\_init\_show\_oxs}!ss7\_vty.h@{ss7\_vty.h}} \doxysubsubsection{ss7\_vty\_init\_show\_oxs()} {\footnotesize\ttfamily void ss7\+\_\+vty\+\_\+init\+\_\+show\+\_\+oxs (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})} Referenced by \textbf{ vty\+\_\+init\+\_\+shared()}. \mbox{\label{ss7__vty_8h_a76b41de65de7de7b4f2ec10b7b122e3d}} \index{ss7\_vty.h@{ss7\_vty.h}!ss7\_vty\_node\_as\_go\_parent@{ss7\_vty\_node\_as\_go\_parent}} \index{ss7\_vty\_node\_as\_go\_parent@{ss7\_vty\_node\_as\_go\_parent}!ss7\_vty.h@{ss7\_vty.h}} \doxysubsubsection{ss7\_vty\_node\_as\_go\_parent()} {\footnotesize\ttfamily int ss7\+\_\+vty\+\_\+node\+\_\+as\+\_\+go\+\_\+parent (\begin{DoxyParamCaption}\item[{struct vty $\ast$}]{vty }\end{DoxyParamCaption})} References \textbf{ osmo\+\_\+ss7\+\_\+as\+::cfg}, \textbf{ cs7\+\_\+role}, \textbf{ CS7\+\_\+\+ROLE\+\_\+\+ASP}, \textbf{ osmo\+\_\+ss7\+\_\+as\+::dpc\+\_\+enabled}, \textbf{ osmo\+\_\+ss7\+\_\+as\+::inst}, \textbf{ osmo\+\_\+ss7\+\_\+as\+::name}, \textbf{ osmo\+\_\+ss7\+\_\+as\+::opc\+\_\+enabled}, \textbf{ OSMO\+\_\+\+SS7\+\_\+\+ASP\+\_\+\+PROT\+\_\+\+IPA}, \textbf{ OSMO\+\_\+\+SS7\+\_\+\+ASP\+\_\+\+ROLE\+\_\+\+ASP}, \textbf{ OSMO\+\_\+\+SS7\+\_\+\+ASP\+\_\+\+ROLE\+\_\+\+SG}, \textbf{ osmo\+\_\+ss7\+\_\+pc\+\_\+is\+\_\+local()}, \textbf{ osmo\+\_\+ss7\+\_\+routing\+\_\+key\+::pc}, \textbf{ osmo\+\_\+ss7\+\_\+as\+::pc\+\_\+override}, \textbf{ osmo\+\_\+ss7\+\_\+as\+::proto}, \textbf{ osmo\+\_\+ss7\+\_\+as\+::routing\+\_\+key}, and \textbf{ ss7\+\_\+as\+\_\+get\+\_\+local\+\_\+role()}. Referenced by \textbf{ osmo\+\_\+ss7\+\_\+vty\+\_\+go\+\_\+parent()}. \mbox{\label{ss7__vty_8h_a2d0e95f4aedeed2951f4fe6c58594c00}} \index{ss7\_vty.h@{ss7\_vty.h}!ss7\_vty\_node\_asp\_go\_parent@{ss7\_vty\_node\_asp\_go\_parent}} \index{ss7\_vty\_node\_asp\_go\_parent@{ss7\_vty\_node\_asp\_go\_parent}!ss7\_vty.h@{ss7\_vty.h}} \doxysubsubsection{ss7\_vty\_node\_asp\_go\_parent()} {\footnotesize\ttfamily int ss7\+\_\+vty\+\_\+node\+\_\+asp\+\_\+go\+\_\+parent (\begin{DoxyParamCaption}\item[{struct vty $\ast$}]{vty }\end{DoxyParamCaption})} References \textbf{ osmo\+\_\+ss7\+\_\+asp\+::cfg}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::explicit\+\_\+shutdown\+\_\+state\+\_\+by\+\_\+vty\+\_\+since\+\_\+node\+\_\+enter}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::inst}, and \textbf{ ss7\+\_\+asp\+\_\+restart\+\_\+after\+\_\+reconfigure()}. Referenced by \textbf{ osmo\+\_\+ss7\+\_\+vty\+\_\+go\+\_\+parent()}. \mbox{\label{ss7__vty_8h_ae4cc812abe4a0c483908b17cc29f6776}} \index{ss7\_vty.h@{ss7\_vty.h}!ss7\_vty\_node\_oxs\_go\_parent@{ss7\_vty\_node\_oxs\_go\_parent}} \index{ss7\_vty\_node\_oxs\_go\_parent@{ss7\_vty\_node\_oxs\_go\_parent}!ss7\_vty.h@{ss7\_vty.h}} \doxysubsubsection{ss7\_vty\_node\_oxs\_go\_parent()} {\footnotesize\ttfamily int ss7\+\_\+vty\+\_\+node\+\_\+oxs\+\_\+go\+\_\+parent (\begin{DoxyParamCaption}\item[{struct vty $\ast$}]{vty }\end{DoxyParamCaption})} References \textbf{ osmo\+\_\+xua\+\_\+server\+::inst}, \textbf{ ss7\+\_\+xua\+\_\+server\+\_\+bind()}, and \textbf{ ss7\+\_\+xua\+\_\+server\+\_\+set\+\_\+default\+\_\+local\+\_\+hosts()}. Referenced by \textbf{ osmo\+\_\+ss7\+\_\+vty\+\_\+go\+\_\+parent()}. \mbox{\label{ss7__vty_8h_a434ed8a733bfa91a0bb288bba07af7be}} \index{ss7\_vty.h@{ss7\_vty.h}!ss7\_vty\_write\_one\_as@{ss7\_vty\_write\_one\_as}} \index{ss7\_vty\_write\_one\_as@{ss7\_vty\_write\_one\_as}!ss7\_vty.h@{ss7\_vty.h}} \doxysubsubsection{ss7\_vty\_write\_one\_as()} {\footnotesize\ttfamily void ss7\+\_\+vty\+\_\+write\+\_\+one\+\_\+as (\begin{DoxyParamCaption}\item[{struct vty $\ast$}]{vty, }\item[{struct \textbf{ osmo\+\_\+ss7\+\_\+as} $\ast$}]{as, }\item[{bool}]{show\+\_\+dyn\+\_\+config }\end{DoxyParamCaption})} References \textbf{ osmo\+\_\+ss7\+\_\+as\+::asps}, \textbf{ osmo\+\_\+ss7\+\_\+as\+::cfg}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::cfg}, \textbf{ osmo\+\_\+ss7\+\_\+routing\+\_\+key\+::context}, \textbf{ osmo\+\_\+ss7\+\_\+as\+::description}, \textbf{ osmo\+\_\+ss7\+\_\+as\+::dpc}, \textbf{ osmo\+\_\+ss7\+\_\+as\+::dpc\+\_\+enabled}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::dyn\+\_\+allocated}, \textbf{ osmo\+\_\+ss7\+\_\+as\+::inst}, \textbf{ osmo\+\_\+ss7\+\_\+as\+::loadshare}, \textbf{ osmo\+\_\+ss7\+\_\+as\+::mode}, \textbf{ osmo\+\_\+ss7\+\_\+as\+::mode\+\_\+set\+\_\+by\+\_\+vty}, \textbf{ mtp\+\_\+si\+\_\+vals}, \textbf{ osmo\+\_\+ss7\+\_\+as\+::name}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::name}, \textbf{ osmo\+\_\+ss7\+\_\+as\+::opc}, \textbf{ osmo\+\_\+ss7\+\_\+as\+::opc\+\_\+enabled}, \textbf{ osmo\+\_\+ss7\+\_\+as\+::opc\+\_\+shift}, \textbf{ osmo\+\_\+ss7\+\_\+as\+::opc\+\_\+sls}, \textbf{ OSMO\+\_\+\+SS7\+\_\+\+AS\+\_\+\+TMOD\+\_\+\+LOADSHARE}, \textbf{ osmo\+\_\+ss7\+\_\+as\+\_\+traffic\+\_\+mode\+\_\+name()}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+\_\+protocol\+\_\+name()}, \textbf{ osmo\+\_\+ss7\+\_\+pointcode\+\_\+print()}, \textbf{ osmo\+\_\+ss7\+\_\+routing\+\_\+key\+::pc}, \textbf{ osmo\+\_\+ss7\+\_\+as\+::pc\+\_\+override}, \textbf{ osmo\+\_\+ss7\+\_\+as\+::proto}, \textbf{ osmo\+\_\+ss7\+\_\+as\+::qos\+\_\+class}, \textbf{ osmo\+\_\+ss7\+\_\+as\+::recovery\+\_\+timeout\+\_\+msec}, \textbf{ osmo\+\_\+ss7\+\_\+as\+::rkm\+\_\+dyn\+\_\+allocated}, \textbf{ osmo\+\_\+ss7\+\_\+as\+::routing\+\_\+key}, \textbf{ osmo\+\_\+ss7\+\_\+as\+::sccp\+\_\+mode}, \textbf{ osmo\+\_\+ss7\+\_\+routing\+\_\+key\+::si}, \textbf{ osmo\+\_\+ss7\+\_\+as\+::simple\+\_\+client\+\_\+allocated}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::simple\+\_\+client\+\_\+allocated}, \textbf{ osmo\+\_\+ss7\+\_\+as\+::sls\+\_\+shift}, and \textbf{ osmo\+\_\+ss7\+\_\+routing\+\_\+key\+::ssn}. Referenced by \textbf{ write\+\_\+one\+\_\+cs7()}. \mbox{\label{ss7__vty_8h_ac84e17d333952c98348757e01f616e58}} \index{ss7\_vty.h@{ss7\_vty.h}!ss7\_vty\_write\_one\_asp@{ss7\_vty\_write\_one\_asp}} \index{ss7\_vty\_write\_one\_asp@{ss7\_vty\_write\_one\_asp}!ss7\_vty.h@{ss7\_vty.h}} \doxysubsubsection{ss7\_vty\_write\_one\_asp()} {\footnotesize\ttfamily void ss7\+\_\+vty\+\_\+write\+\_\+one\+\_\+asp (\begin{DoxyParamCaption}\item[{struct vty $\ast$}]{vty, }\item[{struct \textbf{ osmo\+\_\+ss7\+\_\+asp} $\ast$}]{asp, }\item[{bool}]{show\+\_\+dyn\+\_\+config }\end{DoxyParamCaption})} References \textbf{ osmo\+\_\+ss7\+\_\+asp\+::adm\+\_\+state}, \textbf{ asp\+\_\+quirk\+\_\+names}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::cfg}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::daud\+\_\+act}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::description}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::dyn\+\_\+allocated}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+\_\+peer\+::host}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+\_\+peer\+::host\+\_\+cnt}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+\_\+peer\+::idx\+\_\+primary}, \textbf{ ipproto\+\_\+vals}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::is\+\_\+server}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::keepalive\+\_\+enable}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::keepalive\+\_\+intvl\+\_\+present}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::keepalive\+\_\+intvl\+\_\+value}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::keepalive\+\_\+probes\+\_\+present}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::keepalive\+\_\+probes\+\_\+value}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::keepalive\+\_\+time\+\_\+present}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::keepalive\+\_\+time\+\_\+value}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::local}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::max\+\_\+attempts\+\_\+present}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::max\+\_\+attempts\+\_\+value}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::max\+\_\+init\+\_\+timeo\+\_\+present}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::max\+\_\+init\+\_\+timeo\+\_\+value}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::max\+\_\+instreams\+\_\+present}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::max\+\_\+instreams\+\_\+value}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::name}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::num\+\_\+ostreams\+\_\+present}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::num\+\_\+ostreams\+\_\+value}, \textbf{ OSMO\+\_\+\+SS7\+\_\+\+ASP\+\_\+\+ADM\+\_\+\+S\+\_\+\+BLOCKED}, \textbf{ OSMO\+\_\+\+SS7\+\_\+\+ASP\+\_\+\+ADM\+\_\+\+S\+\_\+\+ENABLED}, \textbf{ OSMO\+\_\+\+SS7\+\_\+\+ASP\+\_\+\+ADM\+\_\+\+S\+\_\+\+SHUTDOWN}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+\_\+protocol\+\_\+name()}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+\_\+role\+\_\+names}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+\_\+peer\+::port}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::proto}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::qos\+\_\+class}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::quirks}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::remote}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::role}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::sctp\+\_\+init}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::simple\+\_\+client\+\_\+allocated}, \textbf{ ss7\+\_\+default\+\_\+trans\+\_\+proto\+\_\+for\+\_\+asp\+\_\+proto()}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::tcp}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::trans\+\_\+proto}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::user\+\_\+timeout\+\_\+present}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+::user\+\_\+timeout\+\_\+value}, \textbf{ write\+\_\+asp\+\_\+timers\+\_\+lm()}, and \textbf{ write\+\_\+asp\+\_\+timers\+\_\+xua()}. Referenced by \textbf{ write\+\_\+one\+\_\+cs7()}. \mbox{\label{ss7__vty_8h_aa7be34fb83ba9209305ee6ceb17238d2}} \index{ss7\_vty.h@{ss7\_vty.h}!ss7\_vty\_write\_one\_oxs@{ss7\_vty\_write\_one\_oxs}} \index{ss7\_vty\_write\_one\_oxs@{ss7\_vty\_write\_one\_oxs}!ss7\_vty.h@{ss7\_vty.h}} \doxysubsubsection{ss7\_vty\_write\_one\_oxs()} {\footnotesize\ttfamily void ss7\+\_\+vty\+\_\+write\+\_\+one\+\_\+oxs (\begin{DoxyParamCaption}\item[{struct vty $\ast$}]{vty, }\item[{struct \textbf{ osmo\+\_\+xua\+\_\+server} $\ast$}]{xs }\end{DoxyParamCaption})} References \textbf{ osmo\+\_\+xua\+\_\+server\+::accept\+\_\+dyn\+\_\+reg}, \textbf{ osmo\+\_\+xua\+\_\+server\+::cfg}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+\_\+peer\+::host}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+\_\+peer\+::host\+\_\+cnt}, \textbf{ ipproto\+\_\+vals}, \textbf{ osmo\+\_\+xua\+\_\+server\+::local}, \textbf{ osmo\+\_\+xua\+\_\+server\+::max\+\_\+instreams\+\_\+present}, \textbf{ osmo\+\_\+xua\+\_\+server\+::max\+\_\+instreams\+\_\+value}, \textbf{ osmo\+\_\+xua\+\_\+server\+::num\+\_\+ostreams\+\_\+present}, \textbf{ osmo\+\_\+xua\+\_\+server\+::num\+\_\+ostreams\+\_\+value}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+\_\+protocol\+\_\+vals}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+\_\+peer\+::port}, \textbf{ osmo\+\_\+xua\+\_\+server\+::proto}, \textbf{ osmo\+\_\+xua\+\_\+server\+::sctp\+\_\+init}, \textbf{ ss7\+\_\+default\+\_\+trans\+\_\+proto\+\_\+for\+\_\+asp\+\_\+proto()}, and \textbf{ osmo\+\_\+xua\+\_\+server\+::trans\+\_\+proto}. Referenced by \textbf{ write\+\_\+one\+\_\+cs7()}. \doxysubsection{Variable Documentation} \mbox{\label{ss7__vty_8h_a12db7bf4e93c97d4d465048ed4484b98}} \index{ss7\_vty.h@{ss7\_vty.h}!cs7\_role@{cs7\_role}} \index{cs7\_role@{cs7\_role}!ss7\_vty.h@{ss7\_vty.h}} \doxysubsubsection{cs7\_role} {\footnotesize\ttfamily enum \textbf{ cs7\+\_\+role\+\_\+t} cs7\+\_\+role\hspace{0.3cm}{\ttfamily [extern]}} Referenced by \textbf{ DEFUN\+\_\+\+ATTR()}, \textbf{ osmo\+\_\+ss7\+\_\+vty\+\_\+init\+\_\+asp()}, \textbf{ osmo\+\_\+ss7\+\_\+vty\+\_\+init\+\_\+sg()}, \textbf{ ss7\+\_\+vty\+\_\+node\+\_\+as\+\_\+go\+\_\+parent()}, and \textbf{ write\+\_\+one\+\_\+cs7()}. \mbox{\label{ss7__vty_8h_a01cf3ea623f5aa14d7127d26c4dba715}} \index{ss7\_vty.h@{ss7\_vty.h}!g\_ctx@{g\_ctx}} \index{g\_ctx@{g\_ctx}!ss7\_vty.h@{ss7\_vty.h}} \doxysubsubsection{g\_ctx} {\footnotesize\ttfamily void$\ast$ g\+\_\+ctx\hspace{0.3cm}{\ttfamily [extern]}} Referenced by \textbf{ DEFUN\+\_\+\+ATTR()}, \textbf{ ss7\+\_\+vty\+\_\+init\+\_\+node\+\_\+asp()}, and \textbf{ vty\+\_\+init\+\_\+shared()}. \mbox{\label{ss7__vty_8h_aff335d3ca8096a83d5d8dfb229f680fe}} \index{ss7\_vty.h@{ss7\_vty.h}!ipproto\_vals@{ipproto\_vals}} \index{ipproto\_vals@{ipproto\_vals}!ss7\_vty.h@{ss7\_vty.h}} \doxysubsubsection{ipproto\_vals} {\footnotesize\ttfamily const struct value\+\_\+string ipproto\+\_\+vals[$\,$]\hspace{0.3cm}{\ttfamily [extern]}} Referenced by \textbf{ parse\+\_\+trans\+\_\+proto()}, \textbf{ ss7\+\_\+vty\+\_\+write\+\_\+one\+\_\+asp()}, \textbf{ ss7\+\_\+vty\+\_\+write\+\_\+one\+\_\+oxs()}, and \textbf{ vty\+\_\+dump\+\_\+xua\+\_\+server()}.