\doxysection{GMR-\/1 GSMtap helpers}
\label{group__gsmtap}\index{GMR-\/1 GSMtap helpers@{GMR-\/1 GSMtap helpers}}
\doxysubsection*{Files}
\begin{DoxyCompactItemize}
\item 
file \textbf{ gsmtap.\+h}
\begin{DoxyCompactList}\small\item\em Osmocom GMR-\/1 GSMtap helpers header. \end{DoxyCompactList}\item 
file \textbf{ gsmtap.\+c}
\begin{DoxyCompactList}\small\item\em Osmocom GMR-\/1 GSMtap helpers header. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
struct msgb $\ast$ \textbf{ gmr1\+\_\+gsmtap\+\_\+makemsg} (uint8\+\_\+t chan\+\_\+type, uint32\+\_\+t fn, uint8\+\_\+t tn, const uint8\+\_\+t $\ast$l2, int len)
\begin{DoxyCompactList}\small\item\em Helper to build GSM tap message with GMR-\/1 payload. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}


\doxysubsection{Function Documentation}
\mbox{\label{group__gsmtap_gaade0b34d5438103fb3376d6061b0193d}} 
\index{GMR-\/1 GSMtap helpers@{GMR-\/1 GSMtap helpers}!gmr1\_gsmtap\_makemsg@{gmr1\_gsmtap\_makemsg}}
\index{gmr1\_gsmtap\_makemsg@{gmr1\_gsmtap\_makemsg}!GMR-\/1 GSMtap helpers@{GMR-\/1 GSMtap helpers}}
\doxysubsubsection{gmr1\_gsmtap\_makemsg()}
{\footnotesize\ttfamily struct msgb $\ast$ gmr1\+\_\+gsmtap\+\_\+makemsg (\begin{DoxyParamCaption}\item[{uint8\+\_\+t}]{chan\+\_\+type,  }\item[{uint32\+\_\+t}]{fn,  }\item[{uint8\+\_\+t}]{tn,  }\item[{const uint8\+\_\+t $\ast$}]{l2,  }\item[{int}]{len }\end{DoxyParamCaption})}



Helper to build GSM tap message with GMR-\/1 payload. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em chan\+\_\+type} & Type of channel (one of GSMTAP\+\_\+\+GMR1\+\_\+xxx) \\
\hline
\mbox{\texttt{ in}}  & {\em l2} & Packet of L2 data to encapsulate \\
\hline
\mbox{\texttt{ in}}  & {\em len} & Length of the l2 data in bytes \\
\hline
\end{DoxyParams}
