\hypertarget{classOriginateRouteFilter}{
\section{OriginateRouteFilter$<$ A $>$ Class Template Reference}
\label{classOriginateRouteFilter}\index{OriginateRouteFilter@{OriginateRouteFilter}}
}


Perform any filter operations that are required for routes that we originate.  




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

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

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

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

\item 
\hypertarget{classOriginateRouteFilter_ab7647a3a530f7bfb1655df8636fab1ae}{
PeerType {\bfseries \_\-peer\_\-type}}
\label{classOriginateRouteFilter_ab7647a3a530f7bfb1655df8636fab1ae}

\end{DoxyCompactItemize}


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

Perform any filter operations that are required for routes that we originate. Currently this only involves prepending our AS number on IBGP peers. We assume that on EBGP peers \hyperlink{protocolthe-p}{the} AS number has already been prepended. 

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}
