\hypertarget{classUpdatePacket}{
\section{UpdatePacket Class Reference}
\label{classUpdatePacket}\index{UpdatePacket@{UpdatePacket}}
}
Inheritance diagram for UpdatePacket:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classUpdatePacket}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classUpdatePacket_a715b18f8a3fa3594d4046a2a208f00a6}{
{\bfseries UpdatePacket} (const uint8\_\-t $\ast$d, uint16\_\-t l, const \hyperlink{classBGPPeerData}{BGPPeerData} $\ast$peerdata, \hyperlink{classBGPMain}{BGPMain} $\ast$mainprocess, bool do\_\-checks)  throw (CorruptMessage,UnusableMessage)}
\label{classUpdatePacket_a715b18f8a3fa3594d4046a2a208f00a6}

\item 
\hypertarget{classUpdatePacket_a6c68a43b51f5a5bbd0bd486dc56214ed}{
void {\bfseries add\_\-withdrawn} (const \hyperlink{classBGPUpdateAttrib}{BGPUpdateAttrib} \&wdr)}
\label{classUpdatePacket_a6c68a43b51f5a5bbd0bd486dc56214ed}

\item 
\hypertarget{classUpdatePacket_ab51ac547449c2fbd97a022bb1b98e43d}{
void {\bfseries replace\_\-pathattribute\_\-list} (FPAList4Ref \&pa\_\-list)}
\label{classUpdatePacket_ab51ac547449c2fbd97a022bb1b98e43d}

\item 
\hypertarget{classUpdatePacket_a1154f768b6ded98a80d78b1bc3810c48}{
void {\bfseries add\_\-pathatt} (const \hyperlink{classPathAttribute}{PathAttribute} \&pa)}
\label{classUpdatePacket_a1154f768b6ded98a80d78b1bc3810c48}

\item 
\hypertarget{classUpdatePacket_aae190e14f0e8e2c80d7e954558ef2c3d}{
void {\bfseries add\_\-pathatt} (\hyperlink{classPathAttribute}{PathAttribute} $\ast$pa)}
\label{classUpdatePacket_aae190e14f0e8e2c80d7e954558ef2c3d}

\item 
\hypertarget{classUpdatePacket_ae4c86213864ad99a9b81d7add6e09250}{
void {\bfseries add\_\-nlri} (const \hyperlink{classBGPUpdateAttrib}{BGPUpdateAttrib} \&nlri)}
\label{classUpdatePacket_ae4c86213864ad99a9b81d7add6e09250}

\item 
\hypertarget{classUpdatePacket_a11b9639279db1df262c495239b6cda82}{
const \hyperlink{classBGPUpdateAttribList}{BGPUpdateAttribList} \& {\bfseries wr\_\-list} () const }
\label{classUpdatePacket_a11b9639279db1df262c495239b6cda82}

\item 
\hypertarget{classUpdatePacket_ab4cdfa9dc306fb1a60a1ea30e00c1b8e}{
FPAList4Ref \& {\bfseries pa\_\-list} ()}
\label{classUpdatePacket_ab4cdfa9dc306fb1a60a1ea30e00c1b8e}

\item 
\hypertarget{classUpdatePacket_a593dcb1e850f20beea0c01fd0aee4a8e}{
const \hyperlink{classBGPUpdateAttribList}{BGPUpdateAttribList} \& {\bfseries nlri\_\-list} () const }
\label{classUpdatePacket_a593dcb1e850f20beea0c01fd0aee4a8e}

\item 
\hypertarget{classUpdatePacket_a815df22e39914808e0c63807f643806c}{
{\footnotesize template$<$typename A $>$ }\\const \hyperlink{classMPReachNLRIAttribute}{MPReachNLRIAttribute}$<$ A $>$ $\ast$ {\bfseries mpreach} (Safi) const }
\label{classUpdatePacket_a815df22e39914808e0c63807f643806c}

\item 
\hypertarget{classUpdatePacket_aaf1f88fdfc9fa8ba80c36cb6fbb6a9a3}{
{\footnotesize template$<$typename A $>$ }\\const \hyperlink{classMPUNReachNLRIAttribute}{MPUNReachNLRIAttribute}$<$ A $>$ $\ast$ {\bfseries mpunreach} (Safi) const }
\label{classUpdatePacket_aaf1f88fdfc9fa8ba80c36cb6fbb6a9a3}

\item 
bool \hyperlink{classUpdatePacket_aca3197cba2c01590c0d0ceda50521d21}{encode} (uint8\_\-t $\ast$buf, size\_\-t \&len, const \hyperlink{classBGPPeerData}{BGPPeerData} $\ast$peerdata) const 
\item 
\hypertarget{classUpdatePacket_aaf56f69cf1631a86aa62af1e2329a74c}{
bool {\bfseries big\_\-enough} () const }
\label{classUpdatePacket_aaf56f69cf1631a86aa62af1e2329a74c}

\item 
\hypertarget{classUpdatePacket_a230b150f02273f98b9f86b3db7a2f89c}{
string {\bfseries str} () const }
\label{classUpdatePacket_a230b150f02273f98b9f86b3db7a2f89c}

\item 
\hypertarget{classUpdatePacket_ae256a61b71ed5a7b797f4573d5489fed}{
bool {\bfseries operator==} (const \hyperlink{classUpdatePacket}{UpdatePacket} \&him) const }
\label{classUpdatePacket_ae256a61b71ed5a7b797f4573d5489fed}

\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classUpdatePacket_ad13c6ddf121bcb680796b12ce8b8987a}{
{\bfseries UpdatePacket} (const \hyperlink{classUpdatePacket}{UpdatePacket} \&\hyperlink{classUpdatePacket}{UpdatePacket})}
\label{classUpdatePacket_ad13c6ddf121bcb680796b12ce8b8987a}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classUpdatePacket_a49cf42cf6296bb622f055de127dba597}{
\hyperlink{classBGPUpdateAttribList}{BGPUpdateAttribList} {\bfseries \_\-wr\_\-list}}
\label{classUpdatePacket_a49cf42cf6296bb622f055de127dba597}

\item 
\hypertarget{classUpdatePacket_ae9c7b94a32cd03c12a4ffa0a5efeca83}{
FPAList4Ref {\bfseries \_\-pa\_\-list}}
\label{classUpdatePacket_ae9c7b94a32cd03c12a4ffa0a5efeca83}

\item 
\hypertarget{classUpdatePacket_a9d105f64a2f0197067b2e8ee6ecea91e}{
\hyperlink{classBGPUpdateAttribList}{BGPUpdateAttribList} {\bfseries \_\-nlri\_\-list}}
\label{classUpdatePacket_a9d105f64a2f0197067b2e8ee6ecea91e}

\end{DoxyCompactItemize}


\subsection{Member Function Documentation}
\hypertarget{classUpdatePacket_aca3197cba2c01590c0d0ceda50521d21}{
\index{UpdatePacket@{UpdatePacket}!encode@{encode}}
\index{encode@{encode}!UpdatePacket@{UpdatePacket}}
\subsubsection[{encode}]{\setlength{\rightskip}{0pt plus 5cm}bool UpdatePacket::encode (
\begin{DoxyParamCaption}
\item[{uint8\_\-t $\ast$}]{buf, }
\item[{size\_\-t \&}]{len, }
\item[{const {\bf BGPPeerData} $\ast$}]{peerdata}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classUpdatePacket_aca3197cba2c01590c0d0ceda50521d21}


XXXX 



Implements \hyperlink{classBGPPacket}{BGPPacket}.



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