\hypertarget{classRequestTablePacketAssembler}{
\section{RequestTablePacketAssembler$<$ A $>$ Class Template Reference}
\label{classRequestTablePacketAssembler}\index{RequestTablePacketAssembler@{RequestTablePacketAssembler}}
}


Class to configure a RIP packet to be a table request.  




{\ttfamily \#include $<$packet\_\-assembly.hh$>$}

\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classRequestTablePacketAssembler_a5b3220d57ebae15ebdfa7ca827220108}{
typedef A {\bfseries Addr}}
\label{classRequestTablePacketAssembler_a5b3220d57ebae15ebdfa7ca827220108}

\item 
\hypertarget{classRequestTablePacketAssembler_a283b1a90d656b08bb797111a713bdee1}{
typedef \hyperlink{classIPNet}{IPNet}$<$ A $>$ {\bfseries Net}}
\label{classRequestTablePacketAssembler_a283b1a90d656b08bb797111a713bdee1}

\item 
\hypertarget{classRequestTablePacketAssembler_a691aa30a741b25ce20559a89aceeb770}{
typedef \hyperlink{classPacketAssemblerSpecState}{PacketAssemblerSpecState}$<$ A $>$ {\bfseries SpState}}
\label{classRequestTablePacketAssembler_a691aa30a741b25ce20559a89aceeb770}

\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classRequestTablePacketAssembler_a366e960f809bb3e0bbde968b3ac21d92}{
{\bfseries RequestTablePacketAssembler} (\hyperlink{classPort}{Port}$<$ A $>$ \&port)}
\label{classRequestTablePacketAssembler_a366e960f809bb3e0bbde968b3ac21d92}

\item 
bool \hyperlink{classRequestTablePacketAssembler_a6a88ce700f2c1867c02f74870c62404a}{prepare} (\hyperlink{classRipPacket}{RipPacket}$<$ A $>$ $\ast$pkt, list$<$ \hyperlink{classRipPacket}{RipPacket}$<$ A $>$ $\ast$ $>$ \&auth\_\-packets)
\begin{DoxyCompactList}\small\item\em Take \hyperlink{classRipPacket}{RipPacket} packet and make it into a table request packet. \item\end{DoxyCompactList}\item 
\hypertarget{classRequestTablePacketAssembler_ac5f673574d2c9033c4cf79730e64fffb}{
{\footnotesize template$<$$>$ }\\bool {\bfseries prepare} (\hyperlink{classRipPacket}{RipPacket}$<$ \hyperlink{classIPv4}{IPv4} $>$ $\ast$pkt, list$<$ \hyperlink{classRipPacket}{RipPacket}$<$ \hyperlink{classIPv4}{IPv4} $>$ $\ast$ $>$ \&auth\_\-packets)}
\label{classRequestTablePacketAssembler_ac5f673574d2c9033c4cf79730e64fffb}

\item 
\hypertarget{classRequestTablePacketAssembler_a6d4a734b3af2c32b60c7320dfbdce72f}{
{\footnotesize template$<$$>$ }\\bool {\bfseries prepare} (\hyperlink{classRipPacket}{RipPacket}$<$ \hyperlink{classIPv6}{IPv6} $>$ $\ast$pkt, list$<$ \hyperlink{classRipPacket}{RipPacket}$<$ \hyperlink{classIPv6}{IPv6} $>$ $\ast$ $>$ \&auth\_\-packets)}
\label{classRequestTablePacketAssembler_a6d4a734b3af2c32b60c7320dfbdce72f}

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classRequestTablePacketAssembler_afd5f65ea704a7423a65f7f0acba7548f}{
\hyperlink{classPacketAssemblerSpecState}{SpState} {\bfseries \_\-sp\_\-state}}
\label{classRequestTablePacketAssembler_afd5f65ea704a7423a65f7f0acba7548f}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename A$>$ class RequestTablePacketAssembler$<$ A $>$}

Class to configure a RIP packet to be a table request. This class has specialized \hyperlink{classIPv4}{IPv4} and \hyperlink{classIPv6}{IPv6} implementations to cater for address family differences. 

\subsection{Member Function Documentation}
\hypertarget{classRequestTablePacketAssembler_a6a88ce700f2c1867c02f74870c62404a}{
\index{RequestTablePacketAssembler@{RequestTablePacketAssembler}!prepare@{prepare}}
\index{prepare@{prepare}!RequestTablePacketAssembler@{RequestTablePacketAssembler}}
\subsubsection[{prepare}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename A $>$ bool {\bf RequestTablePacketAssembler}$<$ A $>$::prepare (
\begin{DoxyParamCaption}
\item[{{\bf RipPacket}$<$ A $>$ $\ast$}]{pkt, }
\item[{list$<$ {\bf RipPacket}$<$ A $>$ $\ast$ $>$ \&}]{auth\_\-packets}
\end{DoxyParamCaption}
)}}
\label{classRequestTablePacketAssembler_a6a88ce700f2c1867c02f74870c62404a}


Take \hyperlink{classRipPacket}{RipPacket} packet and make it into a table request packet. 


\begin{DoxyParams}{Parameters}
{\em auth\_\-packets} & a return-\/by-\/reference list with \hyperlink{protocolthe-p}{the} authenticated RIP packets (one copy for each valid authentication key). \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true on success, false if an error is encountered. Should an error be encountered \hyperlink{protocolthe-p}{the} reason is written to \hyperlink{protocolthe-p}{the} xlog facility. 
\end{DoxyReturn}


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