\hypertarget{classBGPParameter}{
\section{BGPParameter Class Reference}
\label{classBGPParameter}\index{BGPParameter@{BGPParameter}}
}
Inheritance diagram for BGPParameter:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=1.920000cm]{classBGPParameter}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classBGPParameter_a25d93c469ed4c86e7080fc1a91fbb6fb}{
{\bfseries BGPParameter} (uint8\_\-t l, const uint8\_\-t $\ast$d)}
\label{classBGPParameter_a25d93c469ed4c86e7080fc1a91fbb6fb}

\item 
\hypertarget{classBGPParameter_adc1f413e2c89d314b76424b757620b58}{
{\bfseries BGPParameter} (const \hyperlink{classBGPParameter}{BGPParameter} \&param)}
\label{classBGPParameter_adc1f413e2c89d314b76424b757620b58}

\item 
\hypertarget{classBGPParameter_aa60b95f6f0617b950f70e62b45a238a0}{
virtual void {\bfseries decode} ()=0}
\label{classBGPParameter_aa60b95f6f0617b950f70e62b45a238a0}

\item 
\hypertarget{classBGPParameter_aff2bf1385def113e28e248fae9c1334b}{
virtual void {\bfseries encode} () const =0}
\label{classBGPParameter_aff2bf1385def113e28e248fae9c1334b}

\item 
\hypertarget{classBGPParameter_a00fa65fda9143be9f1b8e26a2b500bff}{
virtual bool {\bfseries compare} (const \hyperlink{classBGPParameter}{BGPParameter} \&) const =0}
\label{classBGPParameter_a00fa65fda9143be9f1b8e26a2b500bff}

\item 
\hypertarget{classBGPParameter_ae07a66a7da0792ce1ec49e8f6b2200da}{
void {\bfseries dump\_\-contents} () const }
\label{classBGPParameter_ae07a66a7da0792ce1ec49e8f6b2200da}

\item 
\hypertarget{classBGPParameter_ab2516eba6a83817c37f533442c30656c}{
void {\bfseries set\_\-type} (ParamType t)}
\label{classBGPParameter_ab2516eba6a83817c37f533442c30656c}

\item 
\hypertarget{classBGPParameter_ab3182a86d2ef04c5e7daa4733186d9c3}{
ParamType {\bfseries type} () const }
\label{classBGPParameter_ab3182a86d2ef04c5e7daa4733186d9c3}

\item 
\hypertarget{classBGPParameter_a5de6b373e490f018a654e2f869d0310f}{
void {\bfseries set\_\-length} (int l)}
\label{classBGPParameter_a5de6b373e490f018a654e2f869d0310f}

\item 
\hypertarget{classBGPParameter_a118571fb0c94c6609e9d92e7080408bb}{
uint8\_\-t {\bfseries length} () const }
\label{classBGPParameter_a118571fb0c94c6609e9d92e7080408bb}

\item 
\hypertarget{classBGPParameter_ad467538fed41b079a398e0839bcebbc1}{
uint8\_\-t {\bfseries paramlength} () const }
\label{classBGPParameter_ad467538fed41b079a398e0839bcebbc1}

\item 
\hypertarget{classBGPParameter_ae8fca34d936d415109ee493e99ec00e1}{
uint8\_\-t $\ast$ {\bfseries data} () const }
\label{classBGPParameter_ae8fca34d936d415109ee493e99ec00e1}

\item 
\hypertarget{classBGPParameter_a24626632b213fd80ad9f1337a0bc84b2}{
virtual string {\bfseries str} () const =0}
\label{classBGPParameter_a24626632b213fd80ad9f1337a0bc84b2}

\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static \hyperlink{classBGPParameter}{BGPParameter} $\ast$ \hyperlink{classBGPParameter_a6f55bcc3f5694102793afcc483bd6d0a}{create} (const uint8\_\-t $\ast$d, uint16\_\-t max\_\-len, size\_\-t \&actual\_\-length)  throw (CorruptMessage)
\begin{DoxyCompactList}\small\item\em create a new \hyperlink{classBGPParameter}{BGPParameter} from incoming data. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classBGPParameter_acd764861c022f9d6d3cc7297069eb652}{
uint8\_\-t $\ast$ {\bfseries \_\-data}}
\label{classBGPParameter_acd764861c022f9d6d3cc7297069eb652}

\item 
\hypertarget{classBGPParameter_a5c6ac8b42521b42deb560146f6625112}{
uint8\_\-t {\bfseries \_\-length}}
\label{classBGPParameter_a5c6ac8b42521b42deb560146f6625112}

\item 
\hypertarget{classBGPParameter_a9062aed2370c4c3ccf1e230953f15d5a}{
ParamType {\bfseries \_\-type}}
\label{classBGPParameter_a9062aed2370c4c3ccf1e230953f15d5a}

\end{DoxyCompactItemize}


\subsection{Member Function Documentation}
\hypertarget{classBGPParameter_a6f55bcc3f5694102793afcc483bd6d0a}{
\index{BGPParameter@{BGPParameter}!create@{create}}
\index{create@{create}!BGPParameter@{BGPParameter}}
\subsubsection[{create}]{\setlength{\rightskip}{0pt plus 5cm}{\bf BGPParameter} $\ast$ BGPParameter::create (
\begin{DoxyParamCaption}
\item[{const uint8\_\-t $\ast$}]{d, }
\item[{uint16\_\-t}]{max\_\-len, }
\item[{size\_\-t \&}]{actual\_\-length}
\end{DoxyParamCaption}
)  throw ({\bf CorruptMessage})\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classBGPParameter_a6f55bcc3f5694102793afcc483bd6d0a}


create a new \hyperlink{classBGPParameter}{BGPParameter} from incoming data. 

Takes a chunk of memory of size l, returns an object of \hyperlink{protocolthe-p}{the} appropriate type and actual\_\-length is \hyperlink{protocolthe-p}{the} number of bytes used from \hyperlink{protocolthe-p}{the} packet. Throws an exception on error. 

The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
/home/greearb/git/xorp.ct.github/xorp/bgp/parameter.hh\item 
/home/greearb/git/xorp.ct.github/xorp/bgp/parameter.cc\end{DoxyCompactItemize}
