\hypertarget{classASPrependFilter}{
\section{ASPrependFilter$<$ A $>$ Class Template Reference}
\label{classASPrependFilter}\index{ASPrependFilter@{ASPrependFilter}}
}


\hyperlink{classBGPRouteFilter}{BGPRouteFilter} that prepends an AS to \hyperlink{protocolthe-p}{the} AS path.  




{\ttfamily \#include $<$route\_\-table\_\-filter.hh$>$}

Inheritance diagram for ASPrependFilter$<$ A $>$:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classASPrependFilter}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classASPrependFilter_a69b224fb8b8b5aa43139428d8256e874}{
{\bfseries ASPrependFilter} (const \hyperlink{classAsNum}{AsNum} \&as\_\-num, bool is\_\-confederation\_\-peer)}
\label{classASPrependFilter_a69b224fb8b8b5aa43139428d8256e874}

\item 
\hypertarget{classASPrependFilter_a866f3557af41df547a199f98f5b81abd}{
bool {\bfseries filter} (\hyperlink{classInternalMessage}{InternalMessage}$<$ A $>$ \&rtmsg) const }
\label{classASPrependFilter_a866f3557af41df547a199f98f5b81abd}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classASPrependFilter_a115a00ea88cfdbbeff505423858a1e71}{
\hyperlink{classAsNum}{AsNum} {\bfseries \_\-as\_\-num}}
\label{classASPrependFilter_a115a00ea88cfdbbeff505423858a1e71}

\item 
\hypertarget{classASPrependFilter_ac68adae1acd39861d221754afeddcb51}{
bool {\bfseries \_\-is\_\-confederation\_\-peer}}
\label{classASPrependFilter_ac68adae1acd39861d221754afeddcb51}

\end{DoxyCompactItemize}


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

\hyperlink{classBGPRouteFilter}{BGPRouteFilter} that prepends an AS to \hyperlink{protocolthe-p}{the} AS path. \hyperlink{classASPrependFilter}{ASPrependFilter} is a \hyperlink{classBGPRouteFilter}{BGPRouteFilter} that prepends an AS to \hyperlink{protocolthe-p}{the} AS path. This is typically used when sending a route to an EBGP peer to add our own AS number to \hyperlink{protocolthe-p}{the} path.

This works on both regular EBGP and CONFEDERATION EBGP sessions 

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