\doxysection{gsmtap\+\_\+hdr Struct Reference}
\label{structgsmtap__hdr}\index{gsmtap\_hdr@{gsmtap\_hdr}}


Structure of the GSMTAP pseudo-\/header.  




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

\doxysubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
uint8\+\_\+t \textbf{ version}
\begin{DoxyCompactList}\small\item\em version, set to 0x01 currently \end{DoxyCompactList}\item 
uint8\+\_\+t \textbf{ hdr\+\_\+len}
\begin{DoxyCompactList}\small\item\em length in number of 32bit words \end{DoxyCompactList}\item 
uint8\+\_\+t \textbf{ type}
\begin{DoxyCompactList}\small\item\em see GSMTAP\+\_\+\+TYPE\+\_\+$\ast$ \end{DoxyCompactList}\item 
uint8\+\_\+t \textbf{ timeslot}
\begin{DoxyCompactList}\small\item\em timeslot (0..7 on Um) \end{DoxyCompactList}\item 
uint16\+\_\+t \textbf{ arfcn}
\begin{DoxyCompactList}\small\item\em ARFCN (frequency) \end{DoxyCompactList}\item 
int8\+\_\+t \textbf{ signal\+\_\+dbm}
\begin{DoxyCompactList}\small\item\em signal level in d\+Bm \end{DoxyCompactList}\item 
int8\+\_\+t \textbf{ snr\+\_\+db}
\begin{DoxyCompactList}\small\item\em signal/noise ratio in dB \end{DoxyCompactList}\item 
uint32\+\_\+t \textbf{ frame\+\_\+number}
\begin{DoxyCompactList}\small\item\em GSM Frame Number (FN) \end{DoxyCompactList}\item 
uint8\+\_\+t \textbf{ sub\+\_\+type}
\begin{DoxyCompactList}\small\item\em Type of burst/channel, see above. \end{DoxyCompactList}\item 
uint8\+\_\+t \textbf{ antenna\+\_\+nr}
\begin{DoxyCompactList}\small\item\em Antenna Number. \end{DoxyCompactList}\item 
uint8\+\_\+t \textbf{ sub\+\_\+slot}
\begin{DoxyCompactList}\small\item\em sub-\/slot within timeslot \end{DoxyCompactList}\item 
uint8\+\_\+t \textbf{ res}
\begin{DoxyCompactList}\small\item\em reserved for future use (RFU) \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Structure of the GSMTAP pseudo-\/header. 

\doxysubsection{Field Documentation}
\mbox{\label{structgsmtap__hdr_a974a19308eebb8d042313051b88b7db5}} 
\index{gsmtap\_hdr@{gsmtap\_hdr}!antenna\_nr@{antenna\_nr}}
\index{antenna\_nr@{antenna\_nr}!gsmtap\_hdr@{gsmtap\_hdr}}
\doxysubsubsection{antenna\_nr}
{\footnotesize\ttfamily uint8\+\_\+t gsmtap\+\_\+hdr\+::antenna\+\_\+nr}



Antenna Number. 



Referenced by \textbf{ gsmtap\+\_\+makemsg\+\_\+ex()}.

\mbox{\label{structgsmtap__hdr_ab6c41886100938190f399b11b01951e7}} 
\index{gsmtap\_hdr@{gsmtap\_hdr}!arfcn@{arfcn}}
\index{arfcn@{arfcn}!gsmtap\_hdr@{gsmtap\_hdr}}
\doxysubsubsection{arfcn}
{\footnotesize\ttfamily uint16\+\_\+t gsmtap\+\_\+hdr\+::arfcn}



ARFCN (frequency) 



Referenced by \textbf{ gsmtap\+\_\+makemsg\+\_\+ex()}.

\mbox{\label{structgsmtap__hdr_a3208b2aefe6cc7d07014540f122e77e4}} 
\index{gsmtap\_hdr@{gsmtap\_hdr}!frame\_number@{frame\_number}}
\index{frame\_number@{frame\_number}!gsmtap\_hdr@{gsmtap\_hdr}}
\doxysubsubsection{frame\_number}
{\footnotesize\ttfamily uint32\+\_\+t gsmtap\+\_\+hdr\+::frame\+\_\+number}



GSM Frame Number (FN) 



Referenced by \textbf{ gsmtap\+\_\+makemsg\+\_\+ex()}.

\mbox{\label{structgsmtap__hdr_a8fb686054baf3622f7fb45aec0245986}} 
\index{gsmtap\_hdr@{gsmtap\_hdr}!hdr\_len@{hdr\_len}}
\index{hdr\_len@{hdr\_len}!gsmtap\_hdr@{gsmtap\_hdr}}
\doxysubsubsection{hdr\_len}
{\footnotesize\ttfamily uint8\+\_\+t gsmtap\+\_\+hdr\+::hdr\+\_\+len}



length in number of 32bit words 



Referenced by \textbf{ \+\_\+gsmtap\+\_\+raw\+\_\+output()}, and \textbf{ gsmtap\+\_\+makemsg\+\_\+ex()}.

\mbox{\label{structgsmtap__hdr_a628c9e41f24b1a7013235ce5aff1e470}} 
\index{gsmtap\_hdr@{gsmtap\_hdr}!res@{res}}
\index{res@{res}!gsmtap\_hdr@{gsmtap\_hdr}}
\doxysubsubsection{res}
{\footnotesize\ttfamily uint8\+\_\+t gsmtap\+\_\+hdr\+::res}



reserved for future use (RFU) 

\mbox{\label{structgsmtap__hdr_a088b1333ae244779d803c946abc7e7a8}} 
\index{gsmtap\_hdr@{gsmtap\_hdr}!signal\_dbm@{signal\_dbm}}
\index{signal\_dbm@{signal\_dbm}!gsmtap\_hdr@{gsmtap\_hdr}}
\doxysubsubsection{signal\_dbm}
{\footnotesize\ttfamily int8\+\_\+t gsmtap\+\_\+hdr\+::signal\+\_\+dbm}



signal level in d\+Bm 



Referenced by \textbf{ gsmtap\+\_\+makemsg\+\_\+ex()}.

\mbox{\label{structgsmtap__hdr_a34ea047bde5efc0e52e054a9f36d8250}} 
\index{gsmtap\_hdr@{gsmtap\_hdr}!snr\_db@{snr\_db}}
\index{snr\_db@{snr\_db}!gsmtap\_hdr@{gsmtap\_hdr}}
\doxysubsubsection{snr\_db}
{\footnotesize\ttfamily int8\+\_\+t gsmtap\+\_\+hdr\+::snr\+\_\+db}



signal/noise ratio in dB 



Referenced by \textbf{ gsmtap\+\_\+makemsg\+\_\+ex()}.

\mbox{\label{structgsmtap__hdr_a6ef64a365ab61e88e8465c62e3d30312}} 
\index{gsmtap\_hdr@{gsmtap\_hdr}!sub\_slot@{sub\_slot}}
\index{sub\_slot@{sub\_slot}!gsmtap\_hdr@{gsmtap\_hdr}}
\doxysubsubsection{sub\_slot}
{\footnotesize\ttfamily uint8\+\_\+t gsmtap\+\_\+hdr\+::sub\+\_\+slot}



sub-\/slot within timeslot 



Referenced by \textbf{ gsmtap\+\_\+makemsg\+\_\+ex()}.

\mbox{\label{structgsmtap__hdr_ae8b3cb3b4b1bc32e113a4fb1fc66988f}} 
\index{gsmtap\_hdr@{gsmtap\_hdr}!sub\_type@{sub\_type}}
\index{sub\_type@{sub\_type}!gsmtap\_hdr@{gsmtap\_hdr}}
\doxysubsubsection{sub\_type}
{\footnotesize\ttfamily uint8\+\_\+t gsmtap\+\_\+hdr\+::sub\+\_\+type}



Type of burst/channel, see above. 



Referenced by \textbf{ gsmtap\+\_\+makemsg\+\_\+ex()}.

\mbox{\label{structgsmtap__hdr_a51812157bbd2a012f8e4a09f1ff82c71}} 
\index{gsmtap\_hdr@{gsmtap\_hdr}!timeslot@{timeslot}}
\index{timeslot@{timeslot}!gsmtap\_hdr@{gsmtap\_hdr}}
\doxysubsubsection{timeslot}
{\footnotesize\ttfamily uint8\+\_\+t gsmtap\+\_\+hdr\+::timeslot}



timeslot (0..7 on Um) 



Referenced by \textbf{ gsmtap\+\_\+makemsg\+\_\+ex()}.

\mbox{\label{structgsmtap__hdr_a844ce29629ea9925ccf6ae7029d80dd8}} 
\index{gsmtap\_hdr@{gsmtap\_hdr}!type@{type}}
\index{type@{type}!gsmtap\_hdr@{gsmtap\_hdr}}
\doxysubsubsection{type}
{\footnotesize\ttfamily uint8\+\_\+t gsmtap\+\_\+hdr\+::type}



see GSMTAP\+\_\+\+TYPE\+\_\+$\ast$ 



Referenced by \textbf{ \+\_\+gsmtap\+\_\+raw\+\_\+output()}, and \textbf{ gsmtap\+\_\+makemsg\+\_\+ex()}.

\mbox{\label{structgsmtap__hdr_a565b128cd19ec40c435bd4540ba9df8c}} 
\index{gsmtap\_hdr@{gsmtap\_hdr}!version@{version}}
\index{version@{version}!gsmtap\_hdr@{gsmtap\_hdr}}
\doxysubsubsection{version}
{\footnotesize\ttfamily uint8\+\_\+t gsmtap\+\_\+hdr\+::version}



version, set to 0x01 currently 



Referenced by \textbf{ \+\_\+gsmtap\+\_\+raw\+\_\+output()}, and \textbf{ gsmtap\+\_\+makemsg\+\_\+ex()}.



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