\doxysection{osmo\+\_\+v110\+\_\+ta\+\_\+cfg Struct Reference}
\label{structosmo__v110__ta__cfg}\index{osmo\_v110\_ta\_cfg@{osmo\_v110\_ta\_cfg}}


Configuration for a V.\+110 TA instance.  




{\ttfamily \#include $<$v110\+\_\+ta.\+h$>$}

\doxysubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
unsigned int \textbf{ flags}
\begin{DoxyCompactList}\small\item\em Configuration flags (behavior switches and quirks) \end{DoxyCompactList}\item 
enum \textbf{ osmo\+\_\+v100\+\_\+sync\+\_\+ra1\+\_\+rate} \textbf{ rate}
\begin{DoxyCompactList}\small\item\em Synchronous user rate. \end{DoxyCompactList}\item 
\begin{tabbing}
xx\=xx\=xx\=xx\=xx\=xx\=xx\=xx\=xx\=\kill
struct \{\\
\>enum \textbf{ osmo\_v110\_local\_flow\_ctrl\_mode} \textbf{ local}\\
\>\>{\em Local TA-\/TE (DTE-\/DCE) flow control mode. }\\
\>bool \textbf{ end\_to\_end}\\
\>\>{\em End-\/to-\/end (TA-\/to-\/TA) flow control state. }\\
\} \textbf{ flow\_ctrl}\\

\end{tabbing}\begin{DoxyCompactList}\small\item\em Flow control configuration. \end{DoxyCompactList}\item 
void $\ast$ \textbf{ priv}
\begin{DoxyCompactList}\small\item\em Opaque application-\/private data; passed to call-\/backs. \end{DoxyCompactList}\item 
void($\ast$ \textbf{ rx\+\_\+cb} )(void $\ast$\textbf{ priv}, const \textbf{ ubit\+\_\+t} $\ast$buf, size\+\_\+t buf\+\_\+size)
\begin{DoxyCompactList}\small\item\em Receive call-\/back of the application. \end{DoxyCompactList}\item 
void($\ast$ \textbf{ tx\+\_\+cb} )(void $\ast$\textbf{ priv}, \textbf{ ubit\+\_\+t} $\ast$buf, size\+\_\+t buf\+\_\+size)
\begin{DoxyCompactList}\small\item\em Transmit call-\/back of the application. \end{DoxyCompactList}\item 
void($\ast$ \textbf{ status\+\_\+update\+\_\+cb} )(void $\ast$\textbf{ priv}, unsigned int status)
\begin{DoxyCompactList}\small\item\em Modem status line update call-\/back (optional). \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Configuration for a V.\+110 TA instance. 

\doxysubsection{Field Documentation}
\mbox{\label{structosmo__v110__ta__cfg_a9f1a54dc74fe6a9af423d790e025b53b}} 
\index{osmo\_v110\_ta\_cfg@{osmo\_v110\_ta\_cfg}!end\_to\_end@{end\_to\_end}}
\index{end\_to\_end@{end\_to\_end}!osmo\_v110\_ta\_cfg@{osmo\_v110\_ta\_cfg}}
\doxysubsubsection{end\_to\_end}
{\footnotesize\ttfamily bool osmo\+\_\+v110\+\_\+ta\+\_\+cfg\+::end\+\_\+to\+\_\+end}



End-\/to-\/end (TA-\/to-\/\+TA) flow control state. 



Referenced by \textbf{ v110\+\_\+ta\+\_\+fsm\+\_\+data\+\_\+transfer\+\_\+onenter()}.

\mbox{\label{structosmo__v110__ta__cfg_ada6941027d6ccff7dbab49c40089d25d}} 
\index{osmo\_v110\_ta\_cfg@{osmo\_v110\_ta\_cfg}!flags@{flags}}
\index{flags@{flags}!osmo\_v110\_ta\_cfg@{osmo\_v110\_ta\_cfg}}
\doxysubsubsection{flags}
{\footnotesize\ttfamily unsigned int osmo\+\_\+v110\+\_\+ta\+\_\+cfg\+::flags}



Configuration flags (behavior switches and quirks) 

\mbox{\label{structosmo__v110__ta__cfg_a1a65aa40421cbd7af9f737b84bd7f2e3}} 
\index{osmo\_v110\_ta\_cfg@{osmo\_v110\_ta\_cfg}!flow\_ctrl@{flow\_ctrl}}
\index{flow\_ctrl@{flow\_ctrl}!osmo\_v110\_ta\_cfg@{osmo\_v110\_ta\_cfg}}
\doxysubsubsection{}
{\footnotesize\ttfamily struct  \{ ... \}  osmo\+\_\+v110\+\_\+ta\+\_\+cfg\+::flow\+\_\+ctrl}



Flow control configuration. 



Referenced by \textbf{ osmo\+\_\+v110\+\_\+ta\+\_\+alloc()}, and \textbf{ v110\+\_\+ta\+\_\+fsm\+\_\+data\+\_\+transfer\+\_\+onenter()}.

\mbox{\label{structosmo__v110__ta__cfg_ad59bebb80f985a1282ed829791bd0de5}} 
\index{osmo\_v110\_ta\_cfg@{osmo\_v110\_ta\_cfg}!local@{local}}
\index{local@{local}!osmo\_v110\_ta\_cfg@{osmo\_v110\_ta\_cfg}}
\doxysubsubsection{local}
{\footnotesize\ttfamily enum \textbf{ osmo\+\_\+v110\+\_\+local\+\_\+flow\+\_\+ctrl\+\_\+mode} osmo\+\_\+v110\+\_\+ta\+\_\+cfg\+::local}



Local TA-\/\+TE (DTE-\/\+DCE) flow control mode. 



Referenced by \textbf{ osmo\+\_\+v110\+\_\+ta\+\_\+alloc()}.

\mbox{\label{structosmo__v110__ta__cfg_a7016679c7426a4f94009bd7f87170e13}} 
\index{osmo\_v110\_ta\_cfg@{osmo\_v110\_ta\_cfg}!priv@{priv}}
\index{priv@{priv}!osmo\_v110\_ta\_cfg@{osmo\_v110\_ta\_cfg}}
\doxysubsubsection{priv}
{\footnotesize\ttfamily void$\ast$ osmo\+\_\+v110\+\_\+ta\+\_\+cfg\+::priv}



Opaque application-\/private data; passed to call-\/backs. 



Referenced by \textbf{ v110\+\_\+ta\+\_\+build\+\_\+frame()}, \textbf{ v110\+\_\+ta\+\_\+flags\+\_\+update()}, and \textbf{ v110\+\_\+ta\+\_\+handle\+\_\+frame()}.

\mbox{\label{structosmo__v110__ta__cfg_a207493b04594b5ce66080d1697b41db9}} 
\index{osmo\_v110\_ta\_cfg@{osmo\_v110\_ta\_cfg}!rate@{rate}}
\index{rate@{rate}!osmo\_v110\_ta\_cfg@{osmo\_v110\_ta\_cfg}}
\doxysubsubsection{rate}
{\footnotesize\ttfamily enum \textbf{ osmo\+\_\+v100\+\_\+sync\+\_\+ra1\+\_\+rate} osmo\+\_\+v110\+\_\+ta\+\_\+cfg\+::rate}



Synchronous user rate. 



Referenced by \textbf{ v110\+\_\+ta\+\_\+build\+\_\+frame()}, and \textbf{ v110\+\_\+ta\+\_\+handle\+\_\+frame()}.

\mbox{\label{structosmo__v110__ta__cfg_a9e8b3c213b3469deb3319a0c20a428b1}} 
\index{osmo\_v110\_ta\_cfg@{osmo\_v110\_ta\_cfg}!rx\_cb@{rx\_cb}}
\index{rx\_cb@{rx\_cb}!osmo\_v110\_ta\_cfg@{osmo\_v110\_ta\_cfg}}
\doxysubsubsection{rx\_cb}
{\footnotesize\ttfamily void($\ast$ osmo\+\_\+v110\+\_\+ta\+\_\+cfg\+::rx\+\_\+cb) (void $\ast$\textbf{ priv}, const \textbf{ ubit\+\_\+t} $\ast$buf, size\+\_\+t buf\+\_\+size)}



Receive call-\/back of the application. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em priv} & opaque application-\/private data. \\
\hline
\mbox{\texttt{ in}}  & {\em buf} & output buffer for writing to be transmitted data. \\
\hline
\mbox{\texttt{ in}}  & {\em buf\+\_\+size} & size of the output buffer. \\
\hline
\end{DoxyParams}


Referenced by \textbf{ osmo\+\_\+v110\+\_\+ta\+\_\+alloc()}, and \textbf{ v110\+\_\+ta\+\_\+handle\+\_\+frame()}.

\mbox{\label{structosmo__v110__ta__cfg_acb164bfdfaf7d0e59cf3bb05964afb28}} 
\index{osmo\_v110\_ta\_cfg@{osmo\_v110\_ta\_cfg}!status\_update\_cb@{status\_update\_cb}}
\index{status\_update\_cb@{status\_update\_cb}!osmo\_v110\_ta\_cfg@{osmo\_v110\_ta\_cfg}}
\doxysubsubsection{status\_update\_cb}
{\footnotesize\ttfamily void($\ast$ osmo\+\_\+v110\+\_\+ta\+\_\+cfg\+::status\+\_\+update\+\_\+cb) (void $\ast$\textbf{ priv}, unsigned int status)}



Modem status line update call-\/back (optional). 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em priv} & opaque application-\/private data. \\
\hline
\mbox{\texttt{ in}}  & {\em status} & updated status; bit-\/mask of OSMO\+\_\+\+V110\+\_\+\+TA\+\_\+\+C\+\_\+$\ast$. \\
\hline
\end{DoxyParams}


Referenced by \textbf{ v110\+\_\+ta\+\_\+flags\+\_\+update()}.

\mbox{\label{structosmo__v110__ta__cfg_a303779a610af549159789a8c5e1ddc59}} 
\index{osmo\_v110\_ta\_cfg@{osmo\_v110\_ta\_cfg}!tx\_cb@{tx\_cb}}
\index{tx\_cb@{tx\_cb}!osmo\_v110\_ta\_cfg@{osmo\_v110\_ta\_cfg}}
\doxysubsubsection{tx\_cb}
{\footnotesize\ttfamily void($\ast$ osmo\+\_\+v110\+\_\+ta\+\_\+cfg\+::tx\+\_\+cb) (void $\ast$\textbf{ priv}, \textbf{ ubit\+\_\+t} $\ast$buf, size\+\_\+t buf\+\_\+size)}



Transmit call-\/back of the application. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em priv} & opaque application-\/private data. \\
\hline
\mbox{\texttt{ out}}  & {\em buf} & output buffer for writing to be transmitted data. \\
\hline
\mbox{\texttt{ in}}  & {\em buf\+\_\+size} & size of the output buffer. \\
\hline
\end{DoxyParams}


Referenced by \textbf{ osmo\+\_\+v110\+\_\+ta\+\_\+alloc()}, and \textbf{ v110\+\_\+ta\+\_\+build\+\_\+frame()}.



The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
include/osmocom/isdn/\textbf{ v110\+\_\+ta.\+h}\end{DoxyCompactItemize}
