\doxysection{bssgp\+\_\+bvc\+\_\+ctx Struct Reference}
\label{structbssgp__bvc__ctx}\index{bssgp\_bvc\_ctx@{bssgp\_bvc\_ctx}}


{\ttfamily \#include $<$gprs\+\_\+bssgp.\+h$>$}

\doxysubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
struct \textbf{ llist\+\_\+head} \textbf{ list}
\item 
struct \textbf{ gprs\+\_\+ra\+\_\+id} \textbf{ ra\+\_\+id}
\begin{DoxyCompactList}\small\item\em parsed RA ID of the remote BTS \end{DoxyCompactList}\item 
uint16\+\_\+t \textbf{ cell\+\_\+id}
\begin{DoxyCompactList}\small\item\em Cell ID of the remote BTS. \end{DoxyCompactList}\item 
uint16\+\_\+t \textbf{ bvci}
\item 
uint16\+\_\+t \textbf{ nsei}
\item 
uint32\+\_\+t \textbf{ state}
\item 
struct \textbf{ rate\+\_\+ctr\+\_\+group} $\ast$ \textbf{ ctrg}
\item 
struct \textbf{ bssgp\+\_\+flow\+\_\+control} $\ast$ \textbf{ fc}
\item 
uint32\+\_\+t \textbf{ bmax\+\_\+default\+\_\+ms}
\begin{DoxyCompactList}\small\item\em default maximum size of per-\/\+MS bucket in octets \end{DoxyCompactList}\item 
uint32\+\_\+t \textbf{ r\+\_\+default\+\_\+ms}
\begin{DoxyCompactList}\small\item\em default bucket leak rate of per-\/\+MS bucket in octests/s \end{DoxyCompactList}\item 
bool \textbf{ is\+\_\+sgsn}
\begin{DoxyCompactList}\small\item\em BSS or SGSN. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Field Documentation}
\mbox{\label{structbssgp__bvc__ctx_af1c09025f385444fd2f95b25c71b0ac6}} 
\index{bssgp\_bvc\_ctx@{bssgp\_bvc\_ctx}!bmax\_default\_ms@{bmax\_default\_ms}}
\index{bmax\_default\_ms@{bmax\_default\_ms}!bssgp\_bvc\_ctx@{bssgp\_bvc\_ctx}}
\doxysubsubsection{bmax\_default\_ms}
{\footnotesize\ttfamily uint32\+\_\+t bssgp\+\_\+bvc\+\_\+ctx\+::bmax\+\_\+default\+\_\+ms}



default maximum size of per-\/\+MS bucket in octets 



Referenced by \textbf{ bssgp\+\_\+fc\+\_\+ms\+\_\+init()}, and \textbf{ bssgp\+\_\+rx\+\_\+fc\+\_\+bvc()}.

\mbox{\label{structbssgp__bvc__ctx_a2dc54b0b36ef3cf073759b3b9e7f26c4}} 
\index{bssgp\_bvc\_ctx@{bssgp\_bvc\_ctx}!bvci@{bvci}}
\index{bvci@{bvci}!bssgp\_bvc\_ctx@{bssgp\_bvc\_ctx}}
\doxysubsubsection{bvci}
{\footnotesize\ttfamily uint16\+\_\+t bssgp\+\_\+bvc\+\_\+ctx\+::bvci}



Referenced by \textbf{ bssgp\+\_\+rx\+\_\+fc\+\_\+bvc()}, \textbf{ bssgp\+\_\+rx\+\_\+llc\+\_\+disc()}, \textbf{ bssgp\+\_\+rx\+\_\+ptp()}, \textbf{ bssgp\+\_\+rx\+\_\+sign()}, \textbf{ bssgp\+\_\+rx\+\_\+ul\+\_\+ud()}, \textbf{ bssgp\+\_\+tx\+\_\+bvc\+\_\+block()}, \textbf{ bssgp\+\_\+tx\+\_\+bvc\+\_\+ptp\+\_\+reset()}, \textbf{ bssgp\+\_\+tx\+\_\+bvc\+\_\+unblock()}, \textbf{ bssgp\+\_\+tx\+\_\+fc\+\_\+bvc()}, \textbf{ bssgp\+\_\+tx\+\_\+fc\+\_\+ms()}, \textbf{ bssgp\+\_\+tx\+\_\+llc\+\_\+discarded()}, \textbf{ bssgp\+\_\+tx\+\_\+ra\+\_\+capa\+\_\+upd()}, \textbf{ bssgp\+\_\+tx\+\_\+ul\+\_\+ud()}, \textbf{ btsctx\+\_\+alloc()}, \textbf{ btsctx\+\_\+by\+\_\+bvci\+\_\+nsei()}, \textbf{ common\+\_\+tx\+\_\+radio\+\_\+status()}, and \textbf{ dump\+\_\+bvc()}.

\mbox{\label{structbssgp__bvc__ctx_a78773e94e2296dbd002ddfd1977cec82}} 
\index{bssgp\_bvc\_ctx@{bssgp\_bvc\_ctx}!cell\_id@{cell\_id}}
\index{cell\_id@{cell\_id}!bssgp\_bvc\_ctx@{bssgp\_bvc\_ctx}}
\doxysubsubsection{cell\_id}
{\footnotesize\ttfamily uint16\+\_\+t bssgp\+\_\+bvc\+\_\+ctx\+::cell\+\_\+id}



Cell ID of the remote BTS. 



Referenced by \textbf{ bssgp\+\_\+rx\+\_\+bvc\+\_\+reset()}, \textbf{ bssgp\+\_\+tx\+\_\+bvc\+\_\+reset2()}, \textbf{ bssgp\+\_\+tx\+\_\+ul\+\_\+ud()}, \textbf{ btsctx\+\_\+by\+\_\+raid\+\_\+cid()}, and \textbf{ dump\+\_\+bvc()}.

\mbox{\label{structbssgp__bvc__ctx_ac87df57be103c57a8e4fe06c62567301}} 
\index{bssgp\_bvc\_ctx@{bssgp\_bvc\_ctx}!ctrg@{ctrg}}
\index{ctrg@{ctrg}!bssgp\_bvc\_ctx@{bssgp\_bvc\_ctx}}
\doxysubsubsection{ctrg}
{\footnotesize\ttfamily struct \textbf{ rate\+\_\+ctr\+\_\+group}$\ast$ bssgp\+\_\+bvc\+\_\+ctx\+::ctrg}



Referenced by \textbf{ bssgp\+\_\+bvc\+\_\+ctx\+\_\+free()}, \textbf{ bssgp\+\_\+rcvmsg()}, \textbf{ bssgp\+\_\+rx\+\_\+bvc\+\_\+block()}, \textbf{ bssgp\+\_\+rx\+\_\+llc\+\_\+disc()}, \textbf{ bssgp\+\_\+rx\+\_\+status()}, \textbf{ bssgp\+\_\+tx\+\_\+dl\+\_\+ud()}, \textbf{ bssgp\+\_\+tx\+\_\+ul\+\_\+ud()}, \textbf{ btsctx\+\_\+alloc()}, and \textbf{ dump\+\_\+bvc()}.

\mbox{\label{structbssgp__bvc__ctx_a4b4a4cacc17c129b339b3814c6308767}} 
\index{bssgp\_bvc\_ctx@{bssgp\_bvc\_ctx}!fc@{fc}}
\index{fc@{fc}!bssgp\_bvc\_ctx@{bssgp\_bvc\_ctx}}
\doxysubsubsection{fc}
{\footnotesize\ttfamily struct \textbf{ bssgp\+\_\+flow\+\_\+control}$\ast$ bssgp\+\_\+bvc\+\_\+ctx\+::fc}



Referenced by \textbf{ bssgp\+\_\+bvc\+\_\+ctx\+\_\+free()}, \textbf{ bssgp\+\_\+flush\+\_\+all\+\_\+queues()}, \textbf{ bssgp\+\_\+rx\+\_\+fc\+\_\+bvc()}, \textbf{ bssgp\+\_\+tx\+\_\+dl\+\_\+ud()}, \textbf{ btsctx\+\_\+alloc()}, and \textbf{ dump\+\_\+bvc()}.

\mbox{\label{structbssgp__bvc__ctx_ae13cc008261417e999c48753a8461faf}} 
\index{bssgp\_bvc\_ctx@{bssgp\_bvc\_ctx}!is\_sgsn@{is\_sgsn}}
\index{is\_sgsn@{is\_sgsn}!bssgp\_bvc\_ctx@{bssgp\_bvc\_ctx}}
\doxysubsubsection{is\_sgsn}
{\footnotesize\ttfamily bool bssgp\+\_\+bvc\+\_\+ctx\+::is\+\_\+sgsn}



BSS or SGSN. 

This defines the local state. 

Referenced by \textbf{ bssgp\+\_\+rx\+\_\+bvc\+\_\+reset()}, and \textbf{ btsctx\+\_\+alloc()}.

\mbox{\label{structbssgp__bvc__ctx_a101f02dcb36f676624d51e54e86547e1}} 
\index{bssgp\_bvc\_ctx@{bssgp\_bvc\_ctx}!list@{list}}
\index{list@{list}!bssgp\_bvc\_ctx@{bssgp\_bvc\_ctx}}
\doxysubsubsection{list}
{\footnotesize\ttfamily struct \textbf{ llist\+\_\+head} bssgp\+\_\+bvc\+\_\+ctx\+::list}



Referenced by \textbf{ bssgp\+\_\+bvc\+\_\+ctx\+\_\+free()}, and \textbf{ btsctx\+\_\+alloc()}.

\mbox{\label{structbssgp__bvc__ctx_aca1789058ff86a95bdd8c674914419cc}} 
\index{bssgp\_bvc\_ctx@{bssgp\_bvc\_ctx}!nsei@{nsei}}
\index{nsei@{nsei}!bssgp\_bvc\_ctx@{bssgp\_bvc\_ctx}}
\doxysubsubsection{nsei}
{\footnotesize\ttfamily uint16\+\_\+t bssgp\+\_\+bvc\+\_\+ctx\+::nsei}



Referenced by \textbf{ bssgp\+\_\+rx\+\_\+ul\+\_\+ud()}, \textbf{ bssgp\+\_\+tx\+\_\+bvc\+\_\+block()}, \textbf{ bssgp\+\_\+tx\+\_\+bvc\+\_\+ptp\+\_\+reset()}, \textbf{ bssgp\+\_\+tx\+\_\+bvc\+\_\+reset2()}, \textbf{ bssgp\+\_\+tx\+\_\+bvc\+\_\+unblock()}, \textbf{ bssgp\+\_\+tx\+\_\+fc\+\_\+bvc()}, \textbf{ bssgp\+\_\+tx\+\_\+fc\+\_\+ms()}, \textbf{ bssgp\+\_\+tx\+\_\+flush\+\_\+ll\+\_\+ack()}, \textbf{ bssgp\+\_\+tx\+\_\+llc\+\_\+discarded()}, \textbf{ bssgp\+\_\+tx\+\_\+ra\+\_\+capa\+\_\+upd()}, \textbf{ bssgp\+\_\+tx\+\_\+ul\+\_\+ud()}, \textbf{ btsctx\+\_\+alloc()}, \textbf{ btsctx\+\_\+by\+\_\+bvci\+\_\+nsei()}, \textbf{ common\+\_\+tx\+\_\+radio\+\_\+status()}, \textbf{ DEFUN()}, and \textbf{ dump\+\_\+bvc()}.

\mbox{\label{structbssgp__bvc__ctx_aa6a60d8ca43faaca188c14f98fb278a5}} 
\index{bssgp\_bvc\_ctx@{bssgp\_bvc\_ctx}!r\_default\_ms@{r\_default\_ms}}
\index{r\_default\_ms@{r\_default\_ms}!bssgp\_bvc\_ctx@{bssgp\_bvc\_ctx}}
\doxysubsubsection{r\_default\_ms}
{\footnotesize\ttfamily uint32\+\_\+t bssgp\+\_\+bvc\+\_\+ctx\+::r\+\_\+default\+\_\+ms}



default bucket leak rate of per-\/\+MS bucket in octests/s 



Referenced by \textbf{ bssgp\+\_\+fc\+\_\+ms\+\_\+init()}, and \textbf{ bssgp\+\_\+rx\+\_\+fc\+\_\+bvc()}.

\mbox{\label{structbssgp__bvc__ctx_a41f326362eca6c50e1fc87101bb8f972}} 
\index{bssgp\_bvc\_ctx@{bssgp\_bvc\_ctx}!ra\_id@{ra\_id}}
\index{ra\_id@{ra\_id}!bssgp\_bvc\_ctx@{bssgp\_bvc\_ctx}}
\doxysubsubsection{ra\_id}
{\footnotesize\ttfamily struct \textbf{ gprs\+\_\+ra\+\_\+id} bssgp\+\_\+bvc\+\_\+ctx\+::ra\+\_\+id}



parsed RA ID of the remote BTS 



Referenced by \textbf{ bssgp\+\_\+rx\+\_\+bvc\+\_\+reset()}, \textbf{ bssgp\+\_\+tx\+\_\+bvc\+\_\+reset2()}, \textbf{ bssgp\+\_\+tx\+\_\+ul\+\_\+ud()}, \textbf{ btsctx\+\_\+by\+\_\+raid\+\_\+cid()}, and \textbf{ dump\+\_\+bvc()}.

\mbox{\label{structbssgp__bvc__ctx_ae561b637f92c4ee68623b767949e6897}} 
\index{bssgp\_bvc\_ctx@{bssgp\_bvc\_ctx}!state@{state}}
\index{state@{state}!bssgp\_bvc\_ctx@{bssgp\_bvc\_ctx}}
\doxysubsubsection{state}
{\footnotesize\ttfamily uint32\+\_\+t bssgp\+\_\+bvc\+\_\+ctx\+::state}



Referenced by \textbf{ bssgp\+\_\+rx\+\_\+bvc\+\_\+block()}, \textbf{ bssgp\+\_\+rx\+\_\+bvc\+\_\+reset()}, \textbf{ bssgp\+\_\+rx\+\_\+bvc\+\_\+unblock()}, \textbf{ bssgp\+\_\+rx\+\_\+ptp()}, and \textbf{ dump\+\_\+bvc()}.



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