\doxysection{src/ss7\+\_\+xua\+\_\+srv\+\_\+vty.c File Reference}
\label{ss7__xua__srv__vty_8c}\index{src/ss7\_xua\_srv\_vty.c@{src/ss7\_xua\_srv\_vty.c}}
{\ttfamily \#include $<$stdlib.\+h$>$}\newline
{\ttfamily \#include $<$unistd.\+h$>$}\newline
{\ttfamily \#include $<$errno.\+h$>$}\newline
{\ttfamily \#include $<$stdint.\+h$>$}\newline
{\ttfamily \#include $<$string.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/vty/vty.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/vty/command.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/vty/logging.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/vty/telnet\+\_\+interface.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/vty/misc.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/netif/stream.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/sigtran/osmo\+\_\+ss7.\+h$>$}\newline
{\ttfamily \#include \char`\"{}xua\+\_\+internal.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}ss7\+\_\+asp.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}ss7\+\_\+internal.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}ss7\+\_\+vty.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}ss7\+\_\+xua\+\_\+srv.\+h\char`\"{}}\newline
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \textbf{ XUA\+\_\+\+SRV\+\_\+\+SCTP\+\_\+\+PARAM\+\_\+\+INIT\+\_\+\+DESC}
\item 
\#define \textbf{ XUA\+\_\+\+SRV\+\_\+\+SCTP\+\_\+\+PARAM\+\_\+\+INIT\+\_\+\+FIELDS}~\char`\"{}(num-\/ostreams$\vert$max-\/instreams)\char`\"{}
\item 
\#define \textbf{ SHOW\+\_\+\+CS7\+\_\+\+XUA\+\_\+\+CMD}~ \char`\"{}show cs7 \char`\"{} XUA\+\_\+\+VAR\+\_\+\+STR
\item 
\#define \textbf{ SHOW\+\_\+\+CS7\+\_\+\+XUA\+\_\+\+CMD\+\_\+\+HELP}~ SHOW\+\_\+\+STR \textbf{ CS7\+\_\+\+STR} \textbf{ XUA\+\_\+\+VAR\+\_\+\+HELP\+\_\+\+STR}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\textbf{ DEFUN\+\_\+\+ATTR} (cs7\+\_\+xua, cs7\+\_\+xua\+\_\+cmd, \char`\"{}listen \char`\"{} XUA\+\_\+\+VAR\+\_\+\+STR \char`\"{} $<$0-\/65534$>$ [\char`\"{} \textbf{ IPPROTO\+\_\+\+VAR\+\_\+\+STR} \char`\"{}]\char`\"{}, \char`\"{}Configure/Enable x\+UA Listener\textbackslash{}n\char`\"{} XUA\+\_\+\+VAR\+\_\+\+HELP\+\_\+\+STR \char`\"{}Port number\textbackslash{}n\char`\"{} IPPROTO\+\_\+\+VAR\+\_\+\+HELP\+\_\+\+STR, CMD\+\_\+\+ATTR\+\_\+\+IMMEDIATE)
\item 
\textbf{ DEFUN\+\_\+\+ATTR} (no\+\_\+cs7\+\_\+xua, no\+\_\+cs7\+\_\+xua\+\_\+cmd, \char`\"{}no listen \char`\"{} XUA\+\_\+\+VAR\+\_\+\+STR \char`\"{} $<$0-\/65534$>$ [\char`\"{} \textbf{ IPPROTO\+\_\+\+VAR\+\_\+\+STR} \char`\"{}]\char`\"{}, NO\+\_\+\+STR \char`\"{}Disable x\+UA Listener on given port\textbackslash{}n\char`\"{} XUA\+\_\+\+VAR\+\_\+\+HELP\+\_\+\+STR \char`\"{}Port number\textbackslash{}n\char`\"{} IPPROTO\+\_\+\+VAR\+\_\+\+HELP\+\_\+\+STR, CMD\+\_\+\+ATTR\+\_\+\+IMMEDIATE)
\item 
\textbf{ DEFUN\+\_\+\+ATTR} (xua\+\_\+local\+\_\+ip, xua\+\_\+local\+\_\+ip\+\_\+cmd, \char`\"{}local-\/ip \char`\"{} VTY\+\_\+\+IPV46\+\_\+\+CMD, \char`\"{}Configure the Local IP Address for x\+UA\textbackslash{}n\char`\"{} \char`\"{}IPv4 Address to use for XUA\textbackslash{}n\char`\"{} \char`\"{}IPv6 Address to use for XUA\textbackslash{}n\char`\"{}, CMD\+\_\+\+ATTR\+\_\+\+IMMEDIATE)
\item 
\textbf{ DEFUN\+\_\+\+ATTR} (xua\+\_\+no\+\_\+local\+\_\+ip, xua\+\_\+no\+\_\+local\+\_\+ip\+\_\+cmd, \char`\"{}no local-\/ip \char`\"{} VTY\+\_\+\+IPV46\+\_\+\+CMD, NO\+\_\+\+STR \char`\"{}Configure the Local IP Address for x\+UA\textbackslash{}n\char`\"{} \char`\"{}IPv4 Address to use for XUA\textbackslash{}n\char`\"{} \char`\"{}IPv6 Address to use for XUA\textbackslash{}n\char`\"{}, CMD\+\_\+\+ATTR\+\_\+\+NODE\+\_\+\+EXIT)
\item 
\textbf{ DEFUN\+\_\+\+ATTR} (xua\+\_\+accept\+\_\+dyn\+\_\+asp, xua\+\_\+accept\+\_\+dyn\+\_\+asp\+\_\+cmd, \char`\"{}accept-\/asp-\/connections (pre-\/configured$\vert$dynamic-\/permitted)\char`\"{}, \char`\"{}Define what kind of ASP connections to accept\textbackslash{}n\char`\"{} \char`\"{}Accept only pre-\/configured ASPs (source IP/port)\textbackslash{}n\char`\"{} \char`\"{}Accept any connection and dynamically create an ASP definition\textbackslash{}n\char`\"{}, CMD\+\_\+\+ATTR\+\_\+\+IMMEDIATE)
\item 
\textbf{ DEFUN\+\_\+\+ATTR} (xua\+\_\+sctp\+\_\+param\+\_\+init, xua\+\_\+sctp\+\_\+param\+\_\+init\+\_\+cmd, \char`\"{}sctp-\/param init \char`\"{} XUA\+\_\+\+SRV\+\_\+\+SCTP\+\_\+\+PARAM\+\_\+\+INIT\+\_\+\+FIELDS \char`\"{} $<$0-\/65535$>$\char`\"{}, \textbf{ XUA\+\_\+\+SRV\+\_\+\+SCTP\+\_\+\+PARAM\+\_\+\+INIT\+\_\+\+DESC} \char`\"{}Value of the parameter\textbackslash{}n\char`\"{}, CMD\+\_\+\+ATTR\+\_\+\+NODE\+\_\+\+EXIT)
\item 
\textbf{ DEFUN\+\_\+\+ATTR} (xua\+\_\+no\+\_\+sctp\+\_\+param\+\_\+init, xua\+\_\+no\+\_\+sctp\+\_\+param\+\_\+init\+\_\+cmd, \char`\"{}no sctp-\/param init \char`\"{} XUA\+\_\+\+SRV\+\_\+\+SCTP\+\_\+\+PARAM\+\_\+\+INIT\+\_\+\+FIELDS, NO\+\_\+\+STR \textbf{ XUA\+\_\+\+SRV\+\_\+\+SCTP\+\_\+\+PARAM\+\_\+\+INIT\+\_\+\+DESC}, CMD\+\_\+\+ATTR\+\_\+\+NODE\+\_\+\+EXIT)
\item 
void \textbf{ ss7\+\_\+vty\+\_\+write\+\_\+one\+\_\+oxs} (struct vty $\ast$vty, struct \textbf{ osmo\+\_\+xua\+\_\+server} $\ast$xs)
\item 
static void \textbf{ vty\+\_\+dump\+\_\+xua\+\_\+server} (struct vty $\ast$vty, struct \textbf{ osmo\+\_\+xua\+\_\+server} $\ast$xs)
\item 
static int \textbf{ \+\_\+show\+\_\+cs7\+\_\+xua} (struct vty $\ast$vty, enum \textbf{ osmo\+\_\+ss7\+\_\+asp\+\_\+protocol} proto, int trans\+\_\+proto, int local\+\_\+port)
\item 
\textbf{ DEFUN} (show\+\_\+cs7\+\_\+xua, show\+\_\+cs7\+\_\+xua\+\_\+cmd, \textbf{ SHOW\+\_\+\+CS7\+\_\+\+XUA\+\_\+\+CMD} \char`\"{} [$<$0-\/65534$>$]\char`\"{}, \textbf{ SHOW\+\_\+\+CS7\+\_\+\+XUA\+\_\+\+CMD\+\_\+\+HELP} \char`\"{}Local Port Number\textbackslash{}n\char`\"{})
\item 
\textbf{ DEFUN} (show\+\_\+cs7\+\_\+xua\+\_\+trans\+\_\+proto, show\+\_\+cs7\+\_\+xua\+\_\+trans\+\_\+proto\+\_\+cmd, \textbf{ SHOW\+\_\+\+CS7\+\_\+\+XUA\+\_\+\+CMD} \char`\"{} \char`\"{} \textbf{ IPPROTO\+\_\+\+VAR\+\_\+\+STR} \char`\"{} [$<$0-\/65534$>$]\char`\"{}, \textbf{ SHOW\+\_\+\+CS7\+\_\+\+XUA\+\_\+\+CMD\+\_\+\+HELP} \textbf{ IPPROTO\+\_\+\+VAR\+\_\+\+HELP\+\_\+\+STR} \char`\"{}Local Port Number\textbackslash{}n\char`\"{})
\item 
int \textbf{ ss7\+\_\+vty\+\_\+node\+\_\+oxs\+\_\+go\+\_\+parent} (struct vty $\ast$vty)
\item 
void \textbf{ ss7\+\_\+vty\+\_\+init\+\_\+show\+\_\+oxs} (void)
\item 
void \textbf{ ss7\+\_\+vty\+\_\+init\+\_\+node\+\_\+oxs} (void)
\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
static struct cmd\+\_\+node \textbf{ xua\+\_\+node}
\end{DoxyCompactItemize}


\doxysubsection{Macro Definition Documentation}
\mbox{\label{ss7__xua__srv__vty_8c_a95a59d463a958297fb1392a6f5730965}} 
\index{ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}!SHOW\_CS7\_XUA\_CMD@{SHOW\_CS7\_XUA\_CMD}}
\index{SHOW\_CS7\_XUA\_CMD@{SHOW\_CS7\_XUA\_CMD}!ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}}
\doxysubsubsection{SHOW\_CS7\_XUA\_CMD}
{\footnotesize\ttfamily \#define SHOW\+\_\+\+CS7\+\_\+\+XUA\+\_\+\+CMD~ \char`\"{}show cs7 \char`\"{} XUA\+\_\+\+VAR\+\_\+\+STR}

\mbox{\label{ss7__xua__srv__vty_8c_a35d0511b3953b1d7ab06e7feb576820d}} 
\index{ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}!SHOW\_CS7\_XUA\_CMD\_HELP@{SHOW\_CS7\_XUA\_CMD\_HELP}}
\index{SHOW\_CS7\_XUA\_CMD\_HELP@{SHOW\_CS7\_XUA\_CMD\_HELP}!ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}}
\doxysubsubsection{SHOW\_CS7\_XUA\_CMD\_HELP}
{\footnotesize\ttfamily \#define SHOW\+\_\+\+CS7\+\_\+\+XUA\+\_\+\+CMD\+\_\+\+HELP~ SHOW\+\_\+\+STR \textbf{ CS7\+\_\+\+STR} \textbf{ XUA\+\_\+\+VAR\+\_\+\+HELP\+\_\+\+STR}}

\mbox{\label{ss7__xua__srv__vty_8c_aa970b6b7097ca558e60926e15ed75c43}} 
\index{ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}!XUA\_SRV\_SCTP\_PARAM\_INIT\_DESC@{XUA\_SRV\_SCTP\_PARAM\_INIT\_DESC}}
\index{XUA\_SRV\_SCTP\_PARAM\_INIT\_DESC@{XUA\_SRV\_SCTP\_PARAM\_INIT\_DESC}!ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}}
\doxysubsubsection{XUA\_SRV\_SCTP\_PARAM\_INIT\_DESC}
{\footnotesize\ttfamily \#define XUA\+\_\+\+SRV\+\_\+\+SCTP\+\_\+\+PARAM\+\_\+\+INIT\+\_\+\+DESC}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{        \textcolor{stringliteral}{"{}Configure SCTP parameters\(\backslash\)n"{}} \(\backslash\)}
\DoxyCodeLine{        \textcolor{stringliteral}{"{}Configure INIT related parameters\(\backslash\)n"{}} \(\backslash\)}
\DoxyCodeLine{        \textcolor{stringliteral}{"{}Configure INIT Number of Outbound Streams\(\backslash\)n"{}} \(\backslash\)}
\DoxyCodeLine{        \textcolor{stringliteral}{"{}Configure INIT Maximum Inboud Streams\(\backslash\)n"{}}}

\end{DoxyCode}
\mbox{\label{ss7__xua__srv__vty_8c_a61c76d67573fdc9e7b1f52ad1a79bb62}} 
\index{ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}!XUA\_SRV\_SCTP\_PARAM\_INIT\_FIELDS@{XUA\_SRV\_SCTP\_PARAM\_INIT\_FIELDS}}
\index{XUA\_SRV\_SCTP\_PARAM\_INIT\_FIELDS@{XUA\_SRV\_SCTP\_PARAM\_INIT\_FIELDS}!ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}}
\doxysubsubsection{XUA\_SRV\_SCTP\_PARAM\_INIT\_FIELDS}
{\footnotesize\ttfamily \#define XUA\+\_\+\+SRV\+\_\+\+SCTP\+\_\+\+PARAM\+\_\+\+INIT\+\_\+\+FIELDS~\char`\"{}(num-\/ostreams$\vert$max-\/instreams)\char`\"{}}



\doxysubsection{Function Documentation}
\mbox{\label{ss7__xua__srv__vty_8c_a430ac4b28077dd34fa216f1518e67716}} 
\index{ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}!\_show\_cs7\_xua@{\_show\_cs7\_xua}}
\index{\_show\_cs7\_xua@{\_show\_cs7\_xua}!ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}}
\doxysubsubsection{\_show\_cs7\_xua()}
{\footnotesize\ttfamily static int \+\_\+show\+\_\+cs7\+\_\+xua (\begin{DoxyParamCaption}\item[{struct vty $\ast$}]{vty,  }\item[{enum \textbf{ osmo\+\_\+ss7\+\_\+asp\+\_\+protocol}}]{proto,  }\item[{int}]{trans\+\_\+proto,  }\item[{int}]{local\+\_\+port }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



References \textbf{ osmo\+\_\+xua\+\_\+server\+::cfg}, \textbf{ osmo\+\_\+xua\+\_\+server\+::inst}, \textbf{ osmo\+\_\+ss7\+\_\+instance\+::list}, \textbf{ osmo\+\_\+xua\+\_\+server\+::list}, \textbf{ osmo\+\_\+xua\+\_\+server\+::local}, \textbf{ osmo\+\_\+ss7\+\_\+instances}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+\_\+peer\+::port}, \textbf{ osmo\+\_\+xua\+\_\+server\+::proto}, \textbf{ osmo\+\_\+xua\+\_\+server\+::trans\+\_\+proto}, \textbf{ vty\+\_\+dump\+\_\+xua\+\_\+server()}, and \textbf{ osmo\+\_\+ss7\+\_\+instance\+::xua\+\_\+servers}.



Referenced by \textbf{ DEFUN()}.

\mbox{\label{ss7__xua__srv__vty_8c_a2e2cc172a330b1fabe85590f1abd6e83}} 
\index{ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}!DEFUN@{DEFUN}}
\index{DEFUN@{DEFUN}!ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}}
\doxysubsubsection{DEFUN()\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily DEFUN (\begin{DoxyParamCaption}\item[{show\+\_\+cs7\+\_\+xua}]{,  }\item[{show\+\_\+cs7\+\_\+xua\+\_\+cmd}]{,  }\item[{\textbf{ SHOW\+\_\+\+CS7\+\_\+\+XUA\+\_\+\+CMD} \char`\"{} \char`\"{}}]{[$<$ 0-\/65534 $>$],  }\item[{\textbf{ SHOW\+\_\+\+CS7\+\_\+\+XUA\+\_\+\+CMD\+\_\+\+HELP} \char`\"{}Local Port Number\textbackslash{}n\char`\"{}}]{ }\end{DoxyParamCaption})}



References \textbf{ \+\_\+show\+\_\+cs7\+\_\+xua()}, \textbf{ parse\+\_\+asp\+\_\+proto()}, and \textbf{ osmo\+\_\+xua\+\_\+server\+::proto}.

\mbox{\label{ss7__xua__srv__vty_8c_ae6155cb747f1b37de9eac0ee3c28af99}} 
\index{ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}!DEFUN@{DEFUN}}
\index{DEFUN@{DEFUN}!ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}}
\doxysubsubsection{DEFUN()\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily DEFUN (\begin{DoxyParamCaption}\item[{show\+\_\+cs7\+\_\+xua\+\_\+trans\+\_\+proto}]{,  }\item[{show\+\_\+cs7\+\_\+xua\+\_\+trans\+\_\+proto\+\_\+cmd}]{,  }\item[{\textbf{ SHOW\+\_\+\+CS7\+\_\+\+XUA\+\_\+\+CMD} \char`\"{} \char`\"{} \textbf{ IPPROTO\+\_\+\+VAR\+\_\+\+STR} \char`\"{} \char`\"{}}]{[$<$ 0-\/65534 $>$],  }\item[{\textbf{ SHOW\+\_\+\+CS7\+\_\+\+XUA\+\_\+\+CMD\+\_\+\+HELP} \textbf{ IPPROTO\+\_\+\+VAR\+\_\+\+HELP\+\_\+\+STR} \char`\"{}Local Port Number\textbackslash{}n\char`\"{}}]{ }\end{DoxyParamCaption})}



References \textbf{ \+\_\+show\+\_\+cs7\+\_\+xua()}, \textbf{ parse\+\_\+asp\+\_\+proto()}, \textbf{ parse\+\_\+trans\+\_\+proto()}, \textbf{ osmo\+\_\+xua\+\_\+server\+::proto}, and \textbf{ osmo\+\_\+xua\+\_\+server\+::trans\+\_\+proto}.

\mbox{\label{ss7__xua__srv__vty_8c_ab007bb8aa4b7d98adc32e544bfeed86c}} 
\index{ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}!DEFUN\_ATTR@{DEFUN\_ATTR}}
\index{DEFUN\_ATTR@{DEFUN\_ATTR}!ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}}
\doxysubsubsection{DEFUN\_ATTR()\hspace{0.1cm}{\footnotesize\ttfamily [1/7]}}
{\footnotesize\ttfamily DEFUN\+\_\+\+ATTR (\begin{DoxyParamCaption}\item[{cs7\+\_\+xua}]{,  }\item[{cs7\+\_\+xua\+\_\+cmd}]{,  }\item[{\char`\"{}listen \char`\"{} XUA\+\_\+\+VAR\+\_\+\+STR \char`\"{} $<$0-\/65534$>$ \char`\"{}}]{[\char`\"{} IPPROTO\+\_\+\+VAR\+\_\+\+STR \char`\"{}],  }\item[{\char`\"{}Configure/Enable x\+UA Listener\textbackslash{}n\char`\"{} XUA\+\_\+\+VAR\+\_\+\+HELP\+\_\+\+STR \char`\"{}Port number\textbackslash{}n\char`\"{}}]{IPPROTO\+\_\+\+VAR\+\_\+\+HELP\+\_\+\+STR,  }\item[{CMD\+\_\+\+ATTR\+\_\+\+IMMEDIATE}]{ }\end{DoxyParamCaption})}



References \textbf{ osmo\+\_\+xua\+\_\+server\+::inst}, \textbf{ NULL}, \textbf{ parse\+\_\+asp\+\_\+proto()}, \textbf{ parse\+\_\+trans\+\_\+proto()}, \textbf{ osmo\+\_\+xua\+\_\+server\+::proto}, \textbf{ ss7\+\_\+default\+\_\+trans\+\_\+proto\+\_\+for\+\_\+asp\+\_\+proto()}, \textbf{ ss7\+\_\+xua\+\_\+server\+\_\+create2()}, \textbf{ ss7\+\_\+xua\+\_\+server\+\_\+find2()}, \textbf{ ss7\+\_\+xua\+\_\+server\+\_\+set\+\_\+local\+\_\+hosts()}, and \textbf{ osmo\+\_\+xua\+\_\+server\+::trans\+\_\+proto}.

\mbox{\label{ss7__xua__srv__vty_8c_ac40a301c7b86975c22e988f66a03dc84}} 
\index{ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}!DEFUN\_ATTR@{DEFUN\_ATTR}}
\index{DEFUN\_ATTR@{DEFUN\_ATTR}!ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}}
\doxysubsubsection{DEFUN\_ATTR()\hspace{0.1cm}{\footnotesize\ttfamily [2/7]}}
{\footnotesize\ttfamily DEFUN\+\_\+\+ATTR (\begin{DoxyParamCaption}\item[{no\+\_\+cs7\+\_\+xua}]{,  }\item[{no\+\_\+cs7\+\_\+xua\+\_\+cmd}]{,  }\item[{\char`\"{}no listen \char`\"{} XUA\+\_\+\+VAR\+\_\+\+STR \char`\"{} $<$0-\/65534$>$ \char`\"{}}]{[\char`\"{} IPPROTO\+\_\+\+VAR\+\_\+\+STR \char`\"{}],  }\item[{NO\+\_\+\+STR \char`\"{}Disable x\+UA Listener on given port\textbackslash{}n\char`\"{} XUA\+\_\+\+VAR\+\_\+\+HELP\+\_\+\+STR \char`\"{}Port number\textbackslash{}n\char`\"{}}]{IPPROTO\+\_\+\+VAR\+\_\+\+HELP\+\_\+\+STR,  }\item[{CMD\+\_\+\+ATTR\+\_\+\+IMMEDIATE}]{ }\end{DoxyParamCaption})}



References \textbf{ osmo\+\_\+xua\+\_\+server\+::inst}, \textbf{ parse\+\_\+asp\+\_\+proto()}, \textbf{ parse\+\_\+trans\+\_\+proto()}, \textbf{ osmo\+\_\+xua\+\_\+server\+::proto}, \textbf{ ss7\+\_\+default\+\_\+trans\+\_\+proto\+\_\+for\+\_\+asp\+\_\+proto()}, \textbf{ ss7\+\_\+xua\+\_\+server\+\_\+destroy()}, \textbf{ ss7\+\_\+xua\+\_\+server\+\_\+find2()}, and \textbf{ osmo\+\_\+xua\+\_\+server\+::trans\+\_\+proto}.

\mbox{\label{ss7__xua__srv__vty_8c_ae3e6720cd2bc46972ecfedf7d54b3724}} 
\index{ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}!DEFUN\_ATTR@{DEFUN\_ATTR}}
\index{DEFUN\_ATTR@{DEFUN\_ATTR}!ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}}
\doxysubsubsection{DEFUN\_ATTR()\hspace{0.1cm}{\footnotesize\ttfamily [3/7]}}
{\footnotesize\ttfamily DEFUN\+\_\+\+ATTR (\begin{DoxyParamCaption}\item[{xua\+\_\+accept\+\_\+dyn\+\_\+asp}]{,  }\item[{xua\+\_\+accept\+\_\+dyn\+\_\+asp\+\_\+cmd}]{,  }\item[{\char`\"{}accept-\/asp-\/connections (pre-\/configured$\vert$dynamic-\/permitted)\char`\"{}}]{,  }\item[{\char`\"{}Define what kind of ASP connections to accept\textbackslash{}n\char`\"{} \char`\"{}Accept only pre-\/configured ASPs (source IP/port)\textbackslash{}n\char`\"{} \char`\"{}Accept any connection and dynamically create an ASP definition\textbackslash{}n\char`\"{}}]{,  }\item[{CMD\+\_\+\+ATTR\+\_\+\+IMMEDIATE}]{ }\end{DoxyParamCaption})}



References \textbf{ osmo\+\_\+xua\+\_\+server\+::accept\+\_\+dyn\+\_\+reg}, and \textbf{ osmo\+\_\+xua\+\_\+server\+::cfg}.

\mbox{\label{ss7__xua__srv__vty_8c_aad6cc096a0dff3166357244b9454d909}} 
\index{ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}!DEFUN\_ATTR@{DEFUN\_ATTR}}
\index{DEFUN\_ATTR@{DEFUN\_ATTR}!ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}}
\doxysubsubsection{DEFUN\_ATTR()\hspace{0.1cm}{\footnotesize\ttfamily [4/7]}}
{\footnotesize\ttfamily DEFUN\+\_\+\+ATTR (\begin{DoxyParamCaption}\item[{xua\+\_\+local\+\_\+ip}]{,  }\item[{xua\+\_\+local\+\_\+ip\+\_\+cmd}]{,  }\item[{\char`\"{}local-\/ip \char`\"{}}]{VTY\+\_\+\+IPV46\+\_\+\+CMD,  }\item[{\char`\"{}Configure the Local IP Address for x\+UA\textbackslash{}n\char`\"{} \char`\"{}IPv4 Address to use for XUA\textbackslash{}n\char`\"{} \char`\"{}IPv6 Address to use for XUA\textbackslash{}n\char`\"{}}]{,  }\item[{CMD\+\_\+\+ATTR\+\_\+\+IMMEDIATE}]{ }\end{DoxyParamCaption})}



References \textbf{ ss7\+\_\+xua\+\_\+server\+\_\+add\+\_\+local\+\_\+host()}.

\mbox{\label{ss7__xua__srv__vty_8c_acdcad8356e9a232b5e6510def307cfc9}} 
\index{ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}!DEFUN\_ATTR@{DEFUN\_ATTR}}
\index{DEFUN\_ATTR@{DEFUN\_ATTR}!ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}}
\doxysubsubsection{DEFUN\_ATTR()\hspace{0.1cm}{\footnotesize\ttfamily [5/7]}}
{\footnotesize\ttfamily DEFUN\+\_\+\+ATTR (\begin{DoxyParamCaption}\item[{xua\+\_\+no\+\_\+local\+\_\+ip}]{,  }\item[{xua\+\_\+no\+\_\+local\+\_\+ip\+\_\+cmd}]{,  }\item[{\char`\"{}no local-\/ip \char`\"{}}]{VTY\+\_\+\+IPV46\+\_\+\+CMD,  }\item[{NO\+\_\+\+STR \char`\"{}Configure the Local IP Address for x\+UA\textbackslash{}n\char`\"{} \char`\"{}IPv4 Address to use for XUA\textbackslash{}n\char`\"{} \char`\"{}IPv6 Address to use for XUA\textbackslash{}n\char`\"{}}]{,  }\item[{CMD\+\_\+\+ATTR\+\_\+\+NODE\+\_\+\+EXIT}]{ }\end{DoxyParamCaption})}



References \textbf{ ss7\+\_\+xua\+\_\+server\+\_\+del\+\_\+local\+\_\+host()}.

\mbox{\label{ss7__xua__srv__vty_8c_aae27b2c9df177a82d35d553e1f64b6d4}} 
\index{ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}!DEFUN\_ATTR@{DEFUN\_ATTR}}
\index{DEFUN\_ATTR@{DEFUN\_ATTR}!ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}}
\doxysubsubsection{DEFUN\_ATTR()\hspace{0.1cm}{\footnotesize\ttfamily [6/7]}}
{\footnotesize\ttfamily DEFUN\+\_\+\+ATTR (\begin{DoxyParamCaption}\item[{xua\+\_\+no\+\_\+sctp\+\_\+param\+\_\+init}]{,  }\item[{xua\+\_\+no\+\_\+sctp\+\_\+param\+\_\+init\+\_\+cmd}]{,  }\item[{\char`\"{}no sctp-\/param init \char`\"{}}]{XUA\+\_\+\+SRV\+\_\+\+SCTP\+\_\+\+PARAM\+\_\+\+INIT\+\_\+\+FIELDS,  }\item[{NO\+\_\+\+STR}]{XUA\+\_\+\+SRV\+\_\+\+SCTP\+\_\+\+PARAM\+\_\+\+INIT\+\_\+\+DESC,  }\item[{CMD\+\_\+\+ATTR\+\_\+\+NODE\+\_\+\+EXIT}]{ }\end{DoxyParamCaption})}



References \textbf{ osmo\+\_\+xua\+\_\+server\+::cfg}, \textbf{ osmo\+\_\+xua\+\_\+server\+::max\+\_\+instreams\+\_\+present}, \textbf{ osmo\+\_\+xua\+\_\+server\+::num\+\_\+ostreams\+\_\+present}, and \textbf{ osmo\+\_\+xua\+\_\+server\+::sctp\+\_\+init}.

\mbox{\label{ss7__xua__srv__vty_8c_a093e0541f06a942cf653f4beeda8c3be}} 
\index{ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}!DEFUN\_ATTR@{DEFUN\_ATTR}}
\index{DEFUN\_ATTR@{DEFUN\_ATTR}!ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}}
\doxysubsubsection{DEFUN\_ATTR()\hspace{0.1cm}{\footnotesize\ttfamily [7/7]}}
{\footnotesize\ttfamily DEFUN\+\_\+\+ATTR (\begin{DoxyParamCaption}\item[{xua\+\_\+sctp\+\_\+param\+\_\+init}]{,  }\item[{xua\+\_\+sctp\+\_\+param\+\_\+init\+\_\+cmd}]{,  }\item[{\char`\"{}sctp-\/param init \char`\"{} XUA\+\_\+\+SRV\+\_\+\+SCTP\+\_\+\+PARAM\+\_\+\+INIT\+\_\+\+FIELDS \char`\"{} $<$0-\/65535$>$\char`\"{}}]{,  }\item[{\textbf{ XUA\+\_\+\+SRV\+\_\+\+SCTP\+\_\+\+PARAM\+\_\+\+INIT\+\_\+\+DESC} \char`\"{}Value of the parameter\textbackslash{}n\char`\"{}}]{,  }\item[{CMD\+\_\+\+ATTR\+\_\+\+NODE\+\_\+\+EXIT}]{ }\end{DoxyParamCaption})}



References \textbf{ osmo\+\_\+xua\+\_\+server\+::cfg}, \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}, and \textbf{ osmo\+\_\+xua\+\_\+server\+::sctp\+\_\+init}.

\mbox{\label{ss7__xua__srv__vty_8c_a4b9a4077266a98064719ffd71e8a1330}} 
\index{ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}!ss7\_vty\_init\_node\_oxs@{ss7\_vty\_init\_node\_oxs}}
\index{ss7\_vty\_init\_node\_oxs@{ss7\_vty\_init\_node\_oxs}!ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}}
\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__xua__srv__vty_8c_a233262627271ce6d66a600a7b45e6b50}} 
\index{ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}!ss7\_vty\_init\_show\_oxs@{ss7\_vty\_init\_show\_oxs}}
\index{ss7\_vty\_init\_show\_oxs@{ss7\_vty\_init\_show\_oxs}!ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}}
\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__xua__srv__vty_8c_ae4cc812abe4a0c483908b17cc29f6776}} 
\index{ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}!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\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}}
\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__xua__srv__vty_8c_aa7be34fb83ba9209305ee6ceb17238d2}} 
\index{ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}!ss7\_vty\_write\_one\_oxs@{ss7\_vty\_write\_one\_oxs}}
\index{ss7\_vty\_write\_one\_oxs@{ss7\_vty\_write\_one\_oxs}!ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}}
\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()}.

\mbox{\label{ss7__xua__srv__vty_8c_a090a9a134832fe71c9cbda54542ee075}} 
\index{ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}!vty\_dump\_xua\_server@{vty\_dump\_xua\_server}}
\index{vty\_dump\_xua\_server@{vty\_dump\_xua\_server}!ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}}
\doxysubsubsection{vty\_dump\_xua\_server()}
{\footnotesize\ttfamily static void vty\+\_\+dump\+\_\+xua\+\_\+server (\begin{DoxyParamCaption}\item[{struct vty $\ast$}]{vty,  }\item[{struct \textbf{ osmo\+\_\+xua\+\_\+server} $\ast$}]{xs }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



References \textbf{ osmo\+\_\+xua\+\_\+server\+::cfg}, \textbf{ ipproto\+\_\+vals}, \textbf{ osmo\+\_\+xua\+\_\+server\+::local}, \textbf{ osmo\+\_\+ss7\+\_\+asp\+\_\+protocol\+\_\+vals}, \textbf{ osmo\+\_\+xua\+\_\+server\+::proto}, \textbf{ osmo\+\_\+xua\+\_\+server\+::server}, \textbf{ ss7\+\_\+asp\+\_\+peer\+\_\+snprintf()}, and \textbf{ osmo\+\_\+xua\+\_\+server\+::trans\+\_\+proto}.



Referenced by \textbf{ \+\_\+show\+\_\+cs7\+\_\+xua()}.



\doxysubsection{Variable Documentation}
\mbox{\label{ss7__xua__srv__vty_8c_a111fd18d75ae97c8f6b04fa4bfab8484}} 
\index{ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}!xua\_node@{xua\_node}}
\index{xua\_node@{xua\_node}!ss7\_xua\_srv\_vty.c@{ss7\_xua\_srv\_vty.c}}
\doxysubsubsection{xua\_node}
{\footnotesize\ttfamily struct cmd\+\_\+node xua\+\_\+node\hspace{0.3cm}{\ttfamily [static]}}

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{= \{}
\DoxyCodeLine{        L\_CS7\_XUA\_NODE,}
\DoxyCodeLine{        \textcolor{stringliteral}{"{}\%s(config-\/cs7-\/listen)\# "{}},}
\DoxyCodeLine{        1,}
\DoxyCodeLine{\}}

\end{DoxyCode}


Referenced by \textbf{ ss7\+\_\+vty\+\_\+init\+\_\+node\+\_\+oxs()}.

