\doxysection{gprs\+\_\+msgb.\+h}
\label{gprs__msgb_8h_source}\index{include/osmocom/gprs/gprs\_msgb.h@{include/osmocom/gprs/gprs\_msgb.h}}
\textbf{ Go to the documentation of this file.}
\begin{DoxyCode}{0}
\DoxyCodeLine{1 }
\DoxyCodeLine{3 \textcolor{preprocessor}{\#pragma once}}
\DoxyCodeLine{4 }
\DoxyCodeLine{5 \textcolor{preprocessor}{\#include <stdint.h>}}
\DoxyCodeLine{7 \textcolor{keyword}{struct }libgb\_msgb\_cb \{}
\DoxyCodeLine{8         \textcolor{keywordtype}{unsigned} \textcolor{keywordtype}{char} *bssgph;}
\DoxyCodeLine{9         \textcolor{keywordtype}{unsigned} \textcolor{keywordtype}{char} *llch;}
\DoxyCodeLine{10 }
\DoxyCodeLine{12         \textcolor{keywordtype}{unsigned} \textcolor{keywordtype}{char} *bssgp\_cell\_id;}
\DoxyCodeLine{13 }
\DoxyCodeLine{15         uint16\_t nsei;}
\DoxyCodeLine{16         uint16\_t bvci;}
\DoxyCodeLine{17 }
\DoxyCodeLine{19         uint32\_t tlli;}
\DoxyCodeLine{20 \} \_\_attribute\_\_((packed, may\_alias));}
\DoxyCodeLine{21 \textcolor{preprocessor}{\#define LIBGB\_MSGB\_CB(\_\_msgb)   ((struct libgb\_msgb\_cb *)\&((\_\_msgb)-\/>cb[0]))}}
\DoxyCodeLine{22 \textcolor{preprocessor}{\#define msgb\_tlli(\_\_x)          LIBGB\_MSGB\_CB(\_\_x)-\/>tlli}}
\DoxyCodeLine{23 \textcolor{preprocessor}{\#define msgb\_nsei(\_\_x)          LIBGB\_MSGB\_CB(\_\_x)-\/>nsei}}
\DoxyCodeLine{24 \textcolor{preprocessor}{\#define msgb\_bvci(\_\_x)          LIBGB\_MSGB\_CB(\_\_x)-\/>bvci}}
\DoxyCodeLine{25 \textcolor{preprocessor}{\#define msgb\_gmmh(\_\_x)          (\_\_x)-\/>l3h}}
\DoxyCodeLine{26 \textcolor{preprocessor}{\#define msgb\_bssgph(\_\_x)        LIBGB\_MSGB\_CB(\_\_x)-\/>bssgph}}
\DoxyCodeLine{27 \textcolor{preprocessor}{\#define msgb\_bssgp\_len(\_\_x)     ((\_\_x)-\/>tail -\/ (uint8\_t *)msgb\_bssgph(\_\_x))}}
\DoxyCodeLine{28 \textcolor{preprocessor}{\#define msgb\_bcid(\_\_x)          LIBGB\_MSGB\_CB(\_\_x)-\/>bssgp\_cell\_id}}
\DoxyCodeLine{29 \textcolor{preprocessor}{\#define msgb\_llch(\_\_x)          LIBGB\_MSGB\_CB(\_\_x)-\/>llch}}
\DoxyCodeLine{30 }
\DoxyCodeLine{31 \textcolor{preprocessor}{\#include <osmocom/core/logging.h>}}
\DoxyCodeLine{32 \textcolor{keywordtype}{int} gprs\_log\_filter\_fn(\textcolor{keyword}{const} \textcolor{keyword}{struct} log\_context *ctx,}
\DoxyCodeLine{33                         \textcolor{keyword}{struct} log\_target *tar);}

\end{DoxyCode}
