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

\item 
\hypertarget{classNotificationPacket_a2d2ffcbe7352f3af42def8294ca05a8a}{
{\bfseries NotificationPacket} (uint8\_\-t ec, uint8\_\-t esc=0, const uint8\_\-t $\ast$d=0, size\_\-t l=0)}
\label{classNotificationPacket_a2d2ffcbe7352f3af42def8294ca05a8a}

\item 
\hypertarget{classNotificationPacket_a5af99b7b05867496830774f860cc291b}{
uint8\_\-t {\bfseries error\_\-code} () const }
\label{classNotificationPacket_a5af99b7b05867496830774f860cc291b}

\item 
\hypertarget{classNotificationPacket_a6dda415a80bd48bc06e6ef1ecbfd9f39}{
uint8\_\-t {\bfseries error\_\-subcode} () const }
\label{classNotificationPacket_a6dda415a80bd48bc06e6ef1ecbfd9f39}

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

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

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

\item 
\hypertarget{classNotificationPacket_aeb8ab4ad58f685088f8c3370b8d0064c}{
bool {\bfseries operator==} (const \hyperlink{classNotificationPacket}{NotificationPacket} \&him) const }
\label{classNotificationPacket_aeb8ab4ad58f685088f8c3370b8d0064c}

\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classNotificationPacket_acf17057cb0836fb823c3784b75720134}{
static bool \hyperlink{classNotificationPacket_acf17057cb0836fb823c3784b75720134}{validate\_\-error\_\-code} (const int error, const int subcode)}
\label{classNotificationPacket_acf17057cb0836fb823c3784b75720134}

\begin{DoxyCompactList}\small\item\em Verify that \hyperlink{protocolthe-p}{the} supplied error code and subcode are legal. \item\end{DoxyCompactList}\item 
\hypertarget{classNotificationPacket_a4825668486cba4439db6cc5b884de542}{
static string \hyperlink{classNotificationPacket_a4825668486cba4439db6cc5b884de542}{pretty\_\-print\_\-error\_\-code} (const int error, const int subcode, const uint8\_\-t $\ast$error\_\-data=0, const size\_\-t len=0)}
\label{classNotificationPacket_a4825668486cba4439db6cc5b884de542}

\begin{DoxyCompactList}\small\item\em Generate a human readable error string. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classNotificationPacket_ad076a82ab1d19bbfc707815339b15202}{
{\bfseries NotificationPacket} (const \hyperlink{classNotificationPacket}{NotificationPacket} \&Notificationpacket)}
\label{classNotificationPacket_ad076a82ab1d19bbfc707815339b15202}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classNotificationPacket_a89fd885e074f3bac6d9bc61f445ccfca}{
size\_\-t {\bfseries \_\-Length}}
\label{classNotificationPacket_a89fd885e074f3bac6d9bc61f445ccfca}

\item 
\hypertarget{classNotificationPacket_a306f3ee6ef6be0f04bfb2dcc511e3f98}{
const uint8\_\-t $\ast$ {\bfseries \_\-error\_\-data}}
\label{classNotificationPacket_a306f3ee6ef6be0f04bfb2dcc511e3f98}

\item 
\hypertarget{classNotificationPacket_ae8cdfa74f76b76674edaf7bee6a7ce28}{
uint8\_\-t {\bfseries \_\-error\_\-code}}
\label{classNotificationPacket_ae8cdfa74f76b76674edaf7bee6a7ce28}

\item 
\hypertarget{classNotificationPacket_a8052ef00f734e3f9fbc9d1e446369ef7}{
uint8\_\-t {\bfseries \_\-error\_\-subcode}}
\label{classNotificationPacket_a8052ef00f734e3f9fbc9d1e446369ef7}

\end{DoxyCompactItemize}


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/notification\_\-packet.cc\end{DoxyCompactItemize}
