\doxysection{osmo\+\_\+tlv\+\_\+prot\+\_\+def Struct Reference}
\label{structosmo__tlv__prot__def}\index{osmo\_tlv\_prot\_def@{osmo\_tlv\_prot\_def}}


Osmocom TLV protocol definition.  




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

\doxysubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
const char $\ast$ \textbf{ name}
\begin{DoxyCompactList}\small\item\em human-\/readable name of protocol \end{DoxyCompactList}\item 
const struct \textbf{ tlv\+\_\+definition} $\ast$ \textbf{ tlv\+\_\+def}
\begin{DoxyCompactList}\small\item\em TLV parser definition (optional) \end{DoxyCompactList}\item 
struct \textbf{ osmo\+\_\+tlv\+\_\+prot\+\_\+msg\+\_\+def} \textbf{ msg\+\_\+def} [256]
\begin{DoxyCompactList}\small\item\em definition of each message (8-\/bit message type) \end{DoxyCompactList}\item 
struct \textbf{ osmo\+\_\+tlv\+\_\+prot\+\_\+ie\+\_\+def} \textbf{ ie\+\_\+def} [256]
\begin{DoxyCompactList}\small\item\em definition of IE for each 8-\/bit tag \end{DoxyCompactList}\item 
const struct \textbf{ value\+\_\+string} $\ast$ \textbf{ msgt\+\_\+names}
\begin{DoxyCompactList}\small\item\em \textbf{ value\+\_\+string} array of message type names (legacy, if not populated in msg\+\_\+def) \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Osmocom TLV protocol definition. 

\doxysubsection{Field Documentation}
\mbox{\label{structosmo__tlv__prot__def_a19786f516a5926fceb6cd42d2219a6e2}} 
\index{osmo\_tlv\_prot\_def@{osmo\_tlv\_prot\_def}!ie\_def@{ie\_def}}
\index{ie\_def@{ie\_def}!osmo\_tlv\_prot\_def@{osmo\_tlv\_prot\_def}}
\doxysubsubsection{ie\_def}
{\footnotesize\ttfamily struct \textbf{ osmo\+\_\+tlv\+\_\+prot\+\_\+ie\+\_\+def} osmo\+\_\+tlv\+\_\+prot\+\_\+def\+::ie\+\_\+def[256]}



definition of IE for each 8-\/bit tag 



Referenced by \textbf{ osmo\+\_\+tlv\+\_\+prot\+\_\+ie\+\_\+name()}, and \textbf{ osmo\+\_\+tlv\+\_\+prot\+\_\+validate\+\_\+tp()}.

\mbox{\label{structosmo__tlv__prot__def_a77b3c20ae73e64e2c70ddb31e1a655b2}} 
\index{osmo\_tlv\_prot\_def@{osmo\_tlv\_prot\_def}!msg\_def@{msg\_def}}
\index{msg\_def@{msg\_def}!osmo\_tlv\_prot\_def@{osmo\_tlv\_prot\_def}}
\doxysubsubsection{msg\_def}
{\footnotesize\ttfamily struct \textbf{ osmo\+\_\+tlv\+\_\+prot\+\_\+msg\+\_\+def} osmo\+\_\+tlv\+\_\+prot\+\_\+def\+::msg\+\_\+def[256]}



definition of each message (8-\/bit message type) 



Referenced by \textbf{ osmo\+\_\+tlv\+\_\+prot\+\_\+msg\+\_\+name()}, \textbf{ osmo\+\_\+tlv\+\_\+prot\+\_\+msgt\+\_\+flags()}, and \textbf{ osmo\+\_\+tlv\+\_\+prot\+\_\+validate\+\_\+tp()}.

\mbox{\label{structosmo__tlv__prot__def_a92d940f2889f4720f5821cf3c964910d}} 
\index{osmo\_tlv\_prot\_def@{osmo\_tlv\_prot\_def}!msgt\_names@{msgt\_names}}
\index{msgt\_names@{msgt\_names}!osmo\_tlv\_prot\_def@{osmo\_tlv\_prot\_def}}
\doxysubsubsection{msgt\_names}
{\footnotesize\ttfamily const struct \textbf{ value\+\_\+string}$\ast$ osmo\+\_\+tlv\+\_\+prot\+\_\+def\+::msgt\+\_\+names}



\textbf{ value\+\_\+string} array of message type names (legacy, if not populated in msg\+\_\+def) 



Referenced by \textbf{ osmo\+\_\+tlv\+\_\+prot\+\_\+msg\+\_\+name()}.

\mbox{\label{structosmo__tlv__prot__def_aff653891c2e5d3e2230caebaa6a26294}} 
\index{osmo\_tlv\_prot\_def@{osmo\_tlv\_prot\_def}!name@{name}}
\index{name@{name}!osmo\_tlv\_prot\_def@{osmo\_tlv\_prot\_def}}
\doxysubsubsection{name}
{\footnotesize\ttfamily const char$\ast$ osmo\+\_\+tlv\+\_\+prot\+\_\+def\+::name}



human-\/readable name of protocol 



Referenced by \textbf{ osmo\+\_\+tlv\+\_\+prot\+\_\+parse()}, and \textbf{ osmo\+\_\+tlv\+\_\+prot\+\_\+validate\+\_\+tp()}.

\mbox{\label{structosmo__tlv__prot__def_a67d392f61ee67ef1e25b93162b22e0cb}} 
\index{osmo\_tlv\_prot\_def@{osmo\_tlv\_prot\_def}!tlv\_def@{tlv\_def}}
\index{tlv\_def@{tlv\_def}!osmo\_tlv\_prot\_def@{osmo\_tlv\_prot\_def}}
\doxysubsubsection{tlv\_def}
{\footnotesize\ttfamily const struct \textbf{ tlv\+\_\+definition}$\ast$ osmo\+\_\+tlv\+\_\+prot\+\_\+def\+::tlv\+\_\+def}



TLV parser definition (optional) 



Referenced by \textbf{ osmo\+\_\+tlv\+\_\+prot\+\_\+parse()}.



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