\doxysection{osmo\+\_\+trxd\+\_\+parse\+\_\+state Struct Reference}
\label{structosmo__trxd__parse__state}\index{osmo\_trxd\_parse\_state@{osmo\_trxd\_parse\_state}}


Parser state, keeping cross-\/\+PDU context for TRXDv2 batches.  




{\ttfamily \#include $<$trxd.\+h$>$}

\doxysubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
uint8\+\_\+t \textbf{ pdu\+\_\+ver}
\begin{DoxyCompactList}\small\item\em PDU version (parsed from the first PDU) \end{DoxyCompactList}\item 
unsigned int \textbf{ num\+\_\+pdus}
\begin{DoxyCompactList}\small\item\em number of PDUs parsed so far \end{DoxyCompactList}\item 
uint32\+\_\+t \textbf{ fn}
\begin{DoxyCompactList}\small\item\em TDMA fn of the first PDU (v2 batches omit it later) \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Parser state, keeping cross-\/\+PDU context for TRXDv2 batches. 

Initialize with \doxyref{osmo\+\_\+trxd\+\_\+parse\+\_\+state\+\_\+init()}{p.}{trxd_8h_adbcdd7c1e4f0a54fbe0e8c6bf38fb46b} before parsing each datagram. 

\doxysubsection{Field Documentation}
\mbox{\label{structosmo__trxd__parse__state_afb95fd8cc2059185a175ffbba2809703}} 
\index{osmo\_trxd\_parse\_state@{osmo\_trxd\_parse\_state}!fn@{fn}}
\index{fn@{fn}!osmo\_trxd\_parse\_state@{osmo\_trxd\_parse\_state}}
\doxysubsubsection{fn}
{\footnotesize\ttfamily uint32\+\_\+t osmo\+\_\+trxd\+\_\+parse\+\_\+state\+::fn}



TDMA fn of the first PDU (v2 batches omit it later) 



Referenced by \textbf{ trxd\+\_\+burst\+\_\+ind\+\_\+parse\+\_\+v2()}, and \textbf{ trxd\+\_\+burst\+\_\+req\+\_\+parse\+\_\+v2()}.

\mbox{\label{structosmo__trxd__parse__state_a2aac5ff26b4090b130457f55c2b3916e}} 
\index{osmo\_trxd\_parse\_state@{osmo\_trxd\_parse\_state}!num\_pdus@{num\_pdus}}
\index{num\_pdus@{num\_pdus}!osmo\_trxd\_parse\_state@{osmo\_trxd\_parse\_state}}
\doxysubsubsection{num\_pdus}
{\footnotesize\ttfamily unsigned int osmo\+\_\+trxd\+\_\+parse\+\_\+state\+::num\+\_\+pdus}



number of PDUs parsed so far 



Referenced by \textbf{ osmo\+\_\+trxd\+\_\+burst\+\_\+ind\+\_\+parse()}, \textbf{ osmo\+\_\+trxd\+\_\+burst\+\_\+req\+\_\+parse()}, \textbf{ trxd\+\_\+burst\+\_\+ind\+\_\+parse\+\_\+v2()}, and \textbf{ trxd\+\_\+burst\+\_\+req\+\_\+parse\+\_\+v2()}.

\mbox{\label{structosmo__trxd__parse__state_aa5b784106ac3f2c028e1552c62d3fcc1}} 
\index{osmo\_trxd\_parse\_state@{osmo\_trxd\_parse\_state}!pdu\_ver@{pdu\_ver}}
\index{pdu\_ver@{pdu\_ver}!osmo\_trxd\_parse\_state@{osmo\_trxd\_parse\_state}}
\doxysubsubsection{pdu\_ver}
{\footnotesize\ttfamily uint8\+\_\+t osmo\+\_\+trxd\+\_\+parse\+\_\+state\+::pdu\+\_\+ver}



PDU version (parsed from the first PDU) 



Referenced by \textbf{ osmo\+\_\+trxd\+\_\+burst\+\_\+ind\+\_\+parse()}, and \textbf{ osmo\+\_\+trxd\+\_\+burst\+\_\+req\+\_\+parse()}.



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