\section{src/osmo\+\_\+ss7\+\_\+xua\+\_\+srv.c File Reference} \label{osmo__ss7__xua__srv_8c}\index{src/osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c@{src/osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c}} {\ttfamily \#include $<$string.\+h$>$}\newline {\ttfamily \#include $<$errno.\+h$>$}\newline {\ttfamily \#include $<$unistd.\+h$>$}\newline {\ttfamily \#include $<$inttypes.\+h$>$}\newline {\ttfamily \#include $<$netdb.\+h$>$}\newline {\ttfamily \#include $<$netinet/in.\+h$>$}\newline {\ttfamily \#include $<$netinet/sctp.\+h$>$}\newline {\ttfamily \#include $<$osmocom/sigtran/osmo\+\_\+ss7.\+h$>$}\newline {\ttfamily \#include $<$osmocom/sigtran/mtp\+\_\+sap.\+h$>$}\newline {\ttfamily \#include $<$osmocom/sigtran/protocol/mtp.\+h$>$}\newline {\ttfamily \#include $<$osmocom/sigtran/protocol/sua.\+h$>$}\newline {\ttfamily \#include $<$osmocom/sigtran/protocol/m3ua.\+h$>$}\newline {\ttfamily \#include $<$osmocom/core/linuxlist.\+h$>$}\newline {\ttfamily \#include $<$osmocom/core/select.\+h$>$}\newline {\ttfamily \#include $<$osmocom/core/utils.\+h$>$}\newline {\ttfamily \#include $<$osmocom/core/talloc.\+h$>$}\newline {\ttfamily \#include $<$osmocom/core/logging.\+h$>$}\newline {\ttfamily \#include $<$osmocom/core/msgb.\+h$>$}\newline {\ttfamily \#include $<$osmocom/core/socket.\+h$>$}\newline {\ttfamily \#include $<$osmocom/core/sockaddr\+\_\+str.\+h$>$}\newline {\ttfamily \#include $<$osmocom/core/osmo\+\_\+io.\+h$>$}\newline {\ttfamily \#include $<$osmocom/netif/stream.\+h$>$}\newline {\ttfamily \#include $<$osmocom/netif/ipa.\+h$>$}\newline {\ttfamily \#include $<$osmocom/netif/sctp.\+h$>$}\newline {\ttfamily \#include \char`\"{}sccp\+\_\+internal.\+h\char`\"{}}\newline {\ttfamily \#include \char`\"{}xua\+\_\+internal.\+h\char`\"{}}\newline {\ttfamily \#include \char`\"{}ss7\+\_\+internal.\+h\char`\"{}}\newline {\ttfamily \#include \char`\"{}xua\+\_\+asp\+\_\+fsm.\+h\char`\"{}}\newline {\ttfamily \#include \char`\"{}xua\+\_\+as\+\_\+fsm.\+h\char`\"{}}\newline \subsection*{Functions} \begin{DoxyCompactItemize} \item static int \textbf{ xua\+\_\+accept\+\_\+cb} (struct osmo\+\_\+stream\+\_\+srv\+\_\+link $\ast$link, int fd) \item struct \textbf{ osmo\+\_\+xua\+\_\+server} $\ast$ \textbf{ osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+create2} (struct \textbf{ osmo\+\_\+ss7\+\_\+instance} $\ast$inst, int trans\+\_\+proto, enum \textbf{ osmo\+\_\+ss7\+\_\+asp\+\_\+protocol} proto, uint16\+\_\+t local\+\_\+port, const char $\ast$local\+\_\+host) \begin{DoxyCompactList}\small\item\em create a new x\+UA server configured with given ip/port \end{DoxyCompactList}\item struct \textbf{ osmo\+\_\+xua\+\_\+server} $\ast$ \textbf{ osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+create} (struct \textbf{ osmo\+\_\+ss7\+\_\+instance} $\ast$inst, enum \textbf{ osmo\+\_\+ss7\+\_\+asp\+\_\+protocol} proto, uint16\+\_\+t local\+\_\+port, const char $\ast$local\+\_\+host) \begin{DoxyCompactList}\small\item\em create a new x\+UA server configured with given ip/port \end{DoxyCompactList}\item int \textbf{ osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+bind} (struct \textbf{ osmo\+\_\+xua\+\_\+server} $\ast$xs) \begin{DoxyCompactList}\small\item\em Set the x\+UA server to bind/listen to the currently configured ip/port. \end{DoxyCompactList}\item int \textbf{ osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+set\+\_\+local\+\_\+host} (struct \textbf{ osmo\+\_\+xua\+\_\+server} $\ast$xs, const char $\ast$local\+\_\+host) \item int \textbf{ osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+set\+\_\+local\+\_\+hosts} (struct \textbf{ osmo\+\_\+xua\+\_\+server} $\ast$xs, const char $\ast$$\ast$local\+\_\+hosts, size\+\_\+t local\+\_\+host\+\_\+cnt) \item int \textbf{ osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+add\+\_\+local\+\_\+host} (struct \textbf{ osmo\+\_\+xua\+\_\+server} $\ast$xs, const char $\ast$local\+\_\+host) \item int \textbf{ osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+del\+\_\+local\+\_\+host} (struct \textbf{ osmo\+\_\+xua\+\_\+server} $\ast$xs, const char $\ast$local\+\_\+host) \item bool \textbf{ ss7\+\_\+xua\+\_\+server\+\_\+set\+\_\+default\+\_\+local\+\_\+hosts} (struct \textbf{ osmo\+\_\+xua\+\_\+server} $\ast$oxs) \item void \textbf{ osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+destroy} (struct \textbf{ osmo\+\_\+xua\+\_\+server} $\ast$xs) \end{DoxyCompactItemize} \subsection{Function Documentation} \mbox{\label{osmo__ss7__xua__srv_8c_a318b39d0f350e34da5bd5b4d9a4a38fd}} \index{osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c@{osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c}!osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+add\+\_\+local\+\_\+host@{osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+add\+\_\+local\+\_\+host}} \index{osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+add\+\_\+local\+\_\+host@{osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+add\+\_\+local\+\_\+host}!osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c@{osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c}} \subsubsection{osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+add\+\_\+local\+\_\+host()} {\footnotesize\ttfamily int osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+add\+\_\+local\+\_\+host (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+xua\+\_\+server} $\ast$}]{xs, }\item[{const char $\ast$}]{local\+\_\+host }\end{DoxyParamCaption})} References osmo\+\_\+xua\+\_\+server\+::cfg, osmo\+\_\+ss7\+\_\+asp\+\_\+peer\+::host, osmo\+\_\+ss7\+\_\+asp\+\_\+peer\+::host\+\_\+cnt, osmo\+\_\+xua\+\_\+server\+::local, osmo\+\_\+ss7\+\_\+asp\+\_\+peer\+\_\+add\+\_\+host(), and osmo\+\_\+xua\+\_\+server\+::server. Referenced by D\+E\+F\+U\+N\+\_\+\+A\+T\+T\+R(). \mbox{\label{osmo__ss7__xua__srv_8c_abf0d6146779911d066a27685e262133f}} \index{osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c@{osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c}!osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+bind@{osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+bind}} \index{osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+bind@{osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+bind}!osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c@{osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c}} \subsubsection{osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+bind()} {\footnotesize\ttfamily int osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+bind (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+xua\+\_\+server} $\ast$}]{xs }\end{DoxyParamCaption})} Set the x\+UA server to bind/listen to the currently configured ip/port. \begin{DoxyParams}[1]{Parameters} \mbox{\tt in} & {\em xs} & x\+UA server to operate \\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} 0 on success, negative value on error. \end{DoxyReturn} References osmo\+\_\+xua\+\_\+server\+::cfg, osmo\+\_\+xua\+\_\+server\+::local, osmo\+\_\+ss7\+\_\+asp\+\_\+peer\+\_\+snprintf(), osmo\+\_\+ss7\+\_\+asp\+\_\+protocol\+\_\+vals, osmo\+\_\+xua\+\_\+server\+::proto, osmo\+\_\+xua\+\_\+server\+::sctp\+\_\+init, and osmo\+\_\+xua\+\_\+server\+::server. Referenced by osmo\+\_\+sccp\+\_\+simple\+\_\+server\+\_\+on\+\_\+ss7\+\_\+id(), and osmo\+\_\+ss7\+\_\+vty\+\_\+go\+\_\+parent(). \mbox{\label{osmo__ss7__xua__srv_8c_a92f4ef281565a355bf55e35396d9ead7}} \index{osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c@{osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c}!osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+create@{osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+create}} \index{osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+create@{osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+create}!osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c@{osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c}} \subsubsection{osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+create()} {\footnotesize\ttfamily struct \textbf{ osmo\+\_\+xua\+\_\+server}$\ast$ osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+create (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+ss7\+\_\+instance} $\ast$}]{inst, }\item[{enum \textbf{ osmo\+\_\+ss7\+\_\+asp\+\_\+protocol}}]{proto, }\item[{uint16\+\_\+t}]{local\+\_\+port, }\item[{const char $\ast$}]{local\+\_\+host }\end{DoxyParamCaption})} create a new x\+UA server configured with given ip/port \begin{DoxyParams}[1]{Parameters} \mbox{\tt in} & {\em ctx} & talloc allocation context \\ \hline \mbox{\tt in} & {\em proto} & protocol (x\+UA variant) to use \\ \hline \mbox{\tt in} & {\em local\+\_\+port} & local S\+C\+TP port to bind/listen to \\ \hline \mbox{\tt in} & {\em local\+\_\+host} & local IP address to bind/listen to (optional) \\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} callee-\/allocated \doxyref{osmo\+\_\+xua\+\_\+server}{p.}{structosmo__xua__server} in case of success \end{DoxyReturn} References osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+create2(), ss7\+\_\+default\+\_\+trans\+\_\+proto\+\_\+for\+\_\+asp\+\_\+proto(), and osmo\+\_\+xua\+\_\+server\+::trans\+\_\+proto. \mbox{\label{osmo__ss7__xua__srv_8c_a5422f8c0457f4dead4ec6345bd73fbe5}} \index{osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c@{osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c}!osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+create2@{osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+create2}} \index{osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+create2@{osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+create2}!osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c@{osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c}} \subsubsection{osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+create2()} {\footnotesize\ttfamily struct \textbf{ osmo\+\_\+xua\+\_\+server}$\ast$ osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+create2 (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+ss7\+\_\+instance} $\ast$}]{inst, }\item[{int}]{trans\+\_\+proto, }\item[{enum \textbf{ osmo\+\_\+ss7\+\_\+asp\+\_\+protocol}}]{proto, }\item[{uint16\+\_\+t}]{local\+\_\+port, }\item[{const char $\ast$}]{local\+\_\+host }\end{DoxyParamCaption})} create a new x\+UA server configured with given ip/port \begin{DoxyParams}[1]{Parameters} \mbox{\tt in} & {\em inst} & S\+S7 Instance on which we operate \\ \hline \mbox{\tt in} & {\em trans\+\_\+proto} & transport protocol to use (one of I\+P\+P\+R\+O\+T\+O\+\_\+$\ast$) \\ \hline \mbox{\tt in} & {\em proto} & protocol (x\+UA variant) to use \\ \hline \mbox{\tt in} & {\em local\+\_\+port} & local S\+C\+TP port to bind/listen to \\ \hline \mbox{\tt in} & {\em local\+\_\+host} & local IP address to bind/listen to (optional) \\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} callee-\/allocated \doxyref{osmo\+\_\+xua\+\_\+server}{p.}{structosmo__xua__server} in case of success \end{DoxyReturn} References osmo\+\_\+xua\+\_\+server\+::asp\+\_\+list, osmo\+\_\+xua\+\_\+server\+::cfg, osmo\+\_\+xua\+\_\+server\+::inst, osmo\+\_\+xua\+\_\+server\+::list, osmo\+\_\+xua\+\_\+server\+::local, O\+S\+M\+O\+\_\+\+S\+S7\+\_\+\+A\+S\+P\+\_\+\+P\+R\+O\+T\+\_\+\+S\+UA, osmo\+\_\+ss7\+\_\+asp\+\_\+protocol\+\_\+name(), osmo\+\_\+ss7\+\_\+asp\+\_\+protocol\+\_\+vals, osmo\+\_\+ss7\+\_\+ensure\+\_\+sccp(), osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+set\+\_\+local\+\_\+host(), osmo\+\_\+ss7\+\_\+asp\+\_\+peer\+::port, osmo\+\_\+xua\+\_\+server\+::proto, osmo\+\_\+xua\+\_\+server\+::server, ss7\+\_\+asp\+\_\+protocol\+\_\+check\+\_\+trans\+\_\+proto(), ss7\+\_\+initialized, osmo\+\_\+xua\+\_\+server\+::trans\+\_\+proto, xua\+\_\+accept\+\_\+cb(), and osmo\+\_\+ss7\+\_\+instance\+::xua\+\_\+servers. Referenced by D\+E\+F\+U\+N\+\_\+\+A\+T\+T\+R(), osmo\+\_\+sccp\+\_\+simple\+\_\+server\+\_\+on\+\_\+ss7\+\_\+id(), and osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+create(). \mbox{\label{osmo__ss7__xua__srv_8c_a9ecc8a3d9ff669d07fedd11dccc67782}} \index{osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c@{osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c}!osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+del\+\_\+local\+\_\+host@{osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+del\+\_\+local\+\_\+host}} \index{osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+del\+\_\+local\+\_\+host@{osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+del\+\_\+local\+\_\+host}!osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c@{osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c}} \subsubsection{osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+del\+\_\+local\+\_\+host()} {\footnotesize\ttfamily int osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+del\+\_\+local\+\_\+host (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+xua\+\_\+server} $\ast$}]{xs, }\item[{const char $\ast$}]{local\+\_\+host }\end{DoxyParamCaption})} References osmo\+\_\+xua\+\_\+server\+::cfg, osmo\+\_\+ss7\+\_\+asp\+\_\+peer\+::host, osmo\+\_\+ss7\+\_\+asp\+\_\+peer\+::host\+\_\+cnt, osmo\+\_\+xua\+\_\+server\+::local, osmo\+\_\+ss7\+\_\+asp\+\_\+peer\+\_\+del\+\_\+host(), and osmo\+\_\+xua\+\_\+server\+::server. Referenced by D\+E\+F\+U\+N\+\_\+\+A\+T\+T\+R(). \mbox{\label{osmo__ss7__xua__srv_8c_a27173446ba8d82c930840a6e3a8202d4}} \index{osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c@{osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c}!osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+destroy@{osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+destroy}} \index{osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+destroy@{osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+destroy}!osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c@{osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c}} \subsubsection{osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+destroy()} {\footnotesize\ttfamily void osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+destroy (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+xua\+\_\+server} $\ast$}]{xs }\end{DoxyParamCaption})} References osmo\+\_\+xua\+\_\+server\+::asp\+\_\+list, osmo\+\_\+xua\+\_\+server\+::list, osmo\+\_\+ss7\+\_\+asp\+\_\+destroy(), osmo\+\_\+xua\+\_\+server\+::server, and osmo\+\_\+ss7\+\_\+asp\+::siblings. Referenced by D\+E\+F\+U\+N\+\_\+\+A\+T\+T\+R(), and osmo\+\_\+sccp\+\_\+simple\+\_\+server\+\_\+on\+\_\+ss7\+\_\+id(). \mbox{\label{osmo__ss7__xua__srv_8c_ae97d2ba8d01c1819acad4f085c846bf8}} \index{osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c@{osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c}!osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+set\+\_\+local\+\_\+host@{osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+set\+\_\+local\+\_\+host}} \index{osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+set\+\_\+local\+\_\+host@{osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+set\+\_\+local\+\_\+host}!osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c@{osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c}} \subsubsection{osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+set\+\_\+local\+\_\+host()} {\footnotesize\ttfamily int osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+set\+\_\+local\+\_\+host (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+xua\+\_\+server} $\ast$}]{xs, }\item[{const char $\ast$}]{local\+\_\+host }\end{DoxyParamCaption})} References osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+set\+\_\+local\+\_\+hosts(). Referenced by osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+create2(), and ss7\+\_\+xua\+\_\+server\+\_\+set\+\_\+default\+\_\+local\+\_\+hosts(). \mbox{\label{osmo__ss7__xua__srv_8c_a6baf9122fc63dcf51ee9de5cc8fd7663}} \index{osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c@{osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c}!osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+set\+\_\+local\+\_\+hosts@{osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+set\+\_\+local\+\_\+hosts}} \index{osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+set\+\_\+local\+\_\+hosts@{osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+set\+\_\+local\+\_\+hosts}!osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c@{osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c}} \subsubsection{osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+set\+\_\+local\+\_\+hosts()} {\footnotesize\ttfamily int osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+set\+\_\+local\+\_\+hosts (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+xua\+\_\+server} $\ast$}]{xs, }\item[{const char $\ast$$\ast$}]{local\+\_\+hosts, }\item[{size\+\_\+t}]{local\+\_\+host\+\_\+cnt }\end{DoxyParamCaption})} References osmo\+\_\+xua\+\_\+server\+::cfg, osmo\+\_\+ss7\+\_\+asp\+\_\+peer\+::host, osmo\+\_\+ss7\+\_\+asp\+\_\+peer\+::host\+\_\+cnt, osmo\+\_\+xua\+\_\+server\+::local, osmo\+\_\+ss7\+\_\+asp\+\_\+peer\+\_\+set\+\_\+hosts(), osmo\+\_\+xua\+\_\+server\+::server, and ss7\+\_\+initialized. Referenced by D\+E\+F\+U\+N\+\_\+\+A\+T\+T\+R(), and osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+set\+\_\+local\+\_\+host(). \mbox{\label{osmo__ss7__xua__srv_8c_a9bffae77f1a675fbe61bd792d646c474}} \index{osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c@{osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c}!ss7\+\_\+xua\+\_\+server\+\_\+set\+\_\+default\+\_\+local\+\_\+hosts@{ss7\+\_\+xua\+\_\+server\+\_\+set\+\_\+default\+\_\+local\+\_\+hosts}} \index{ss7\+\_\+xua\+\_\+server\+\_\+set\+\_\+default\+\_\+local\+\_\+hosts@{ss7\+\_\+xua\+\_\+server\+\_\+set\+\_\+default\+\_\+local\+\_\+hosts}!osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c@{osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c}} \subsubsection{ss7\+\_\+xua\+\_\+server\+\_\+set\+\_\+default\+\_\+local\+\_\+hosts()} {\footnotesize\ttfamily bool ss7\+\_\+xua\+\_\+server\+\_\+set\+\_\+default\+\_\+local\+\_\+hosts (\begin{DoxyParamCaption}\item[{struct \textbf{ osmo\+\_\+xua\+\_\+server} $\ast$}]{oxs }\end{DoxyParamCaption})} References osmo\+\_\+xua\+\_\+server\+::cfg, osmo\+\_\+ss7\+\_\+asp\+\_\+peer\+::host\+\_\+cnt, osmo\+\_\+xua\+\_\+server\+::local, osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+set\+\_\+local\+\_\+host(), and ss7\+\_\+ipv6\+\_\+sctp\+\_\+supported(). Referenced by osmo\+\_\+ss7\+\_\+vty\+\_\+go\+\_\+parent(). \mbox{\label{osmo__ss7__xua__srv_8c_ac53c7d59ea8e1bb4b855ac893ff7e407}} \index{osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c@{osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c}!xua\+\_\+accept\+\_\+cb@{xua\+\_\+accept\+\_\+cb}} \index{xua\+\_\+accept\+\_\+cb@{xua\+\_\+accept\+\_\+cb}!osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c@{osmo\+\_\+ss7\+\_\+xua\+\_\+srv.\+c}} \subsubsection{xua\+\_\+accept\+\_\+cb()} {\footnotesize\ttfamily static int xua\+\_\+accept\+\_\+cb (\begin{DoxyParamCaption}\item[{struct osmo\+\_\+stream\+\_\+srv\+\_\+link $\ast$}]{link, }\item[{int}]{fd }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}} References osmo\+\_\+xua\+\_\+server\+::accept\+\_\+dyn\+\_\+reg, osmo\+\_\+xua\+\_\+server\+::asp\+\_\+list, osmo\+\_\+ss7\+\_\+asp\+::cfg, osmo\+\_\+xua\+\_\+server\+::cfg, osmo\+\_\+ss7\+\_\+asp\+::dyn\+\_\+allocated, osmo\+\_\+ss7\+\_\+asp\+::fi, osmo\+\_\+ss7\+\_\+asp\+\_\+peer\+::host, osmo\+\_\+ss7\+\_\+asp\+\_\+peer\+::host\+\_\+cnt, osmo\+\_\+xua\+\_\+server\+::inst, osmo\+\_\+ss7\+\_\+asp\+::is\+\_\+server, osmo\+\_\+ss7\+\_\+asp\+::local, osmo\+\_\+xua\+\_\+server\+::local, L\+O\+G\+P\+A\+SP, M3\+U\+A\+\_\+\+M\+S\+G\+\_\+\+H\+E\+A\+D\+R\+O\+OM, M3\+U\+A\+\_\+\+M\+S\+G\+\_\+\+S\+I\+ZE, osmo\+\_\+ss7\+\_\+asp\+::name, osmo\+\_\+ss7\+\_\+asp\+\_\+find\+\_\+or\+\_\+create2(), osmo\+\_\+ss7\+\_\+asp\+\_\+peer\+\_\+set\+\_\+hosts(), O\+S\+M\+O\+\_\+\+S\+S7\+\_\+\+A\+S\+P\+\_\+\+P\+R\+O\+T\+\_\+\+I\+PA, O\+S\+M\+O\+\_\+\+S\+S7\+\_\+\+A\+S\+P\+\_\+\+P\+R\+O\+T\+\_\+\+M3\+UA, osmo\+\_\+ss7\+\_\+asp\+\_\+protocol\+\_\+vals, osmo\+\_\+ss7\+\_\+asp\+\_\+restart(), O\+S\+M\+O\+\_\+\+S\+S7\+\_\+\+A\+S\+P\+\_\+\+R\+O\+L\+E\+\_\+\+SG, O\+S\+M\+O\+\_\+\+X\+L\+M\+\_\+\+P\+R\+I\+M\+\_\+\+M\+\_\+\+S\+C\+T\+P\+\_\+\+E\+S\+T\+A\+B\+L\+I\+SH, osmo\+\_\+ss7\+\_\+asp\+\_\+peer\+::port, osmo\+\_\+xua\+\_\+server\+::proto, osmo\+\_\+ss7\+\_\+asp\+::remote, osmo\+\_\+ss7\+\_\+asp\+::role, osmo\+\_\+ss7\+\_\+asp\+::server, osmo\+\_\+ss7\+\_\+asp\+::siblings, osmo\+\_\+ss7\+\_\+asp\+::sock\+\_\+name, ss7\+\_\+asp\+\_\+apply\+\_\+peer\+\_\+primary\+\_\+address(), ss7\+\_\+asp\+\_\+apply\+\_\+primary\+\_\+address(), ss7\+\_\+asp\+\_\+find\+\_\+by\+\_\+socket\+\_\+addr(), ss7\+\_\+asp\+\_\+ipa\+\_\+srv\+\_\+conn\+\_\+rx\+\_\+cb(), ss7\+\_\+asp\+\_\+m3ua\+\_\+tcp\+\_\+srv\+\_\+conn\+\_\+rx\+\_\+cb(), ss7\+\_\+asp\+\_\+xua\+\_\+srv\+\_\+conn\+\_\+closed\+\_\+cb(), ss7\+\_\+asp\+\_\+xua\+\_\+srv\+\_\+conn\+\_\+rx\+\_\+cb(), osmo\+\_\+xua\+\_\+server\+::trans\+\_\+proto, X\+U\+A\+\_\+\+A\+S\+P\+\_\+\+E\+\_\+\+S\+C\+T\+P\+\_\+\+E\+S\+T\+\_\+\+I\+ND, xua\+\_\+asp\+\_\+send\+\_\+xlm\+\_\+prim\+\_\+simple(), osmo\+\_\+ss7\+\_\+asp\+::xua\+\_\+server, and xua\+\_\+tcp\+\_\+segmentation\+\_\+cb(). Referenced by osmo\+\_\+ss7\+\_\+xua\+\_\+server\+\_\+create2().