\hypertarget{classOlsr}{
\section{Olsr Class Reference}
\label{classOlsr}\index{Olsr@{Olsr}}
}


An OLSR routing process.  




{\ttfamily \#include $<$olsr.hh$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classOlsr_a3557229db5712efecd803ba3f6b2cae8}{
{\bfseries Olsr} (\hyperlink{classEventLoop}{EventLoop} \&eventloop, \hyperlink{classIO}{IO} $\ast$io)}
\label{classOlsr_a3557229db5712efecd803ba3f6b2cae8}

\item 
bool \hyperlink{classOlsr_adf373b14abb7037c94918ee6f78856ce}{running} ()
\item 
ProcessStatus \hyperlink{classOlsr_a4ed12b522d0a6b0bc9b8424aeeed3dd3}{status} (string \&reason)
\begin{DoxyCompactList}\small\item\em Determine routing process status. \item\end{DoxyCompactList}\item 
\hypertarget{classOlsr_ab365e0d23d6fd0d0618fe0818630168d}{
void \hyperlink{classOlsr_ab365e0d23d6fd0d0618fe0818630168d}{shutdown} ()}
\label{classOlsr_ab365e0d23d6fd0d0618fe0818630168d}

\begin{DoxyCompactList}\small\item\em Shut down this routing process. \item\end{DoxyCompactList}\item 
void \hyperlink{classOlsr_a80893cccf4e118f9e88f0e7cfcdde72b}{receive} (const string \&interface, const string \&vif, \hyperlink{classIPv4}{IPv4} dst, uint16\_\-t dport, \hyperlink{classIPv4}{IPv4} src, uint16\_\-t sport, uint8\_\-t $\ast$data, uint32\_\-t len)
\begin{DoxyCompactList}\small\item\em Callback method to: receive a datagram. \item\end{DoxyCompactList}\item 
\hypertarget{classOlsr_a8bbffeed5bc2dcebb7db1520f395ddf7}{
bool \hyperlink{classOlsr_a8bbffeed5bc2dcebb7db1520f395ddf7}{transmit} (const string \&interface, const string \&vif, const \hyperlink{classIPv4}{IPv4} \&dst, const uint16\_\-t \&dport, const \hyperlink{classIPv4}{IPv4} \&src, const uint16\_\-t \&sport, uint8\_\-t $\ast$data, const uint32\_\-t \&len)}
\label{classOlsr_a8bbffeed5bc2dcebb7db1520f395ddf7}

\begin{DoxyCompactList}\small\item\em \hyperlink{classTransmit}{Transmit} a datagram. \item\end{DoxyCompactList}\item 
void \hyperlink{classOlsr_acd91979ddd768789231442ca2a2930e7}{register\_\-vif\_\-status} (\hyperlink{classIO_af8db33f9e5dd060cb48189eb434d53ec}{IO::VifStatusCb} cb)
\begin{DoxyCompactList}\small\item\em Register vif status callback with \hyperlink{protocolthe-p}{the} FEA. \item\end{DoxyCompactList}\item 
void \hyperlink{classOlsr_abe0c07cc43dbb89e67b47544c28b943b}{register\_\-address\_\-status} (\hyperlink{classIO_a4424a87e0adff9f83ee2ea72228f883e}{IO::AddressStatusCb} cb)
\begin{DoxyCompactList}\small\item\em Register address status callback with \hyperlink{protocolthe-p}{the} FEA. \item\end{DoxyCompactList}\item 
\hypertarget{classOlsr_abb05b7dba53a1eb3667f4e848f78598e}{
\hyperlink{classEventLoop}{EventLoop} \& {\bfseries get\_\-eventloop} ()}
\label{classOlsr_abb05b7dba53a1eb3667f4e848f78598e}

\item 
\hypertarget{classOlsr_ad3f6b215fe5c0e78650722a8dc2af5c4}{
\hyperlink{classFaceManager}{FaceManager} \& {\bfseries face\_\-manager} ()}
\label{classOlsr_ad3f6b215fe5c0e78650722a8dc2af5c4}

\item 
\hypertarget{classOlsr_abacd8bf093346753573dacccaa362a83}{
\hyperlink{classNeighborhood}{Neighborhood} \& {\bfseries neighborhood} ()}
\label{classOlsr_abacd8bf093346753573dacccaa362a83}

\item 
\hypertarget{classOlsr_ab87cca196837145341bb4bcd63b3acf2}{
\hyperlink{classTopologyManager}{TopologyManager} \& {\bfseries topology\_\-manager} ()}
\label{classOlsr_ab87cca196837145341bb4bcd63b3acf2}

\item 
\hypertarget{classOlsr_a8c74d30e475167d1e011eb51a4855e34}{
\hyperlink{classExternalRoutes}{ExternalRoutes} \& {\bfseries external\_\-routes} ()}
\label{classOlsr_a8c74d30e475167d1e011eb51a4855e34}

\item 
\hypertarget{classOlsr_a60c45ed96381628c52c9f9c3a657db8c}{
\hyperlink{classRouteManager}{RouteManager} \& {\bfseries route\_\-manager} ()}
\label{classOlsr_a60c45ed96381628c52c9f9c3a657db8c}

\item 
bool \hyperlink{classOlsr_aa5ae4b383e6132325a22245c00a32010}{set\_\-main\_\-addr} (const \hyperlink{classIPv4}{IPv4} \&addr)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} main address for \hyperlink{protocolthe-p}{the} node. \item\end{DoxyCompactList}\item 
\hyperlink{classIPv4}{IPv4} \hyperlink{classOlsr_a5522718a534566b8785ae0a118b09323}{get\_\-main\_\-addr} ()
\item 
bool \hyperlink{classOlsr_a89e49077ffed17545e57ce225dfc60ae}{set\_\-mpr\_\-coverage} (const uint32\_\-t mpr\_\-coverage)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} MPR\_\-COVERAGE for \hyperlink{protocolthe-p}{the} node. \item\end{DoxyCompactList}\item 
uint32\_\-t \hyperlink{classOlsr_a3d0183a1ba22e762228cbf67b96f848a}{get\_\-mpr\_\-coverage} ()
\item 
bool \hyperlink{classOlsr_ae6a46a20b99e676248f3e63568e7bc4d}{set\_\-tc\_\-redundancy} (const uint32\_\-t tc\_\-redundancy)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} TC\_\-REDUNDANCY for \hyperlink{protocolthe-p}{the} node. \item\end{DoxyCompactList}\item 
uint32\_\-t \hyperlink{classOlsr_a3bd4ce21b6a3e600ae5bd92102ca9a18}{get\_\-tc\_\-redundancy} ()
\item 
bool \hyperlink{classOlsr_a7a086ac2958fb9d14aabd6dafab0f17a}{set\_\-hello\_\-interval} (const \hyperlink{classTimeVal}{TimeVal} \&interval)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} HELLO\_\-INTERVAL. \item\end{DoxyCompactList}\item 
\hyperlink{classTimeVal}{TimeVal} \hyperlink{classOlsr_a4bad7ab00f2a58371de4fb38bd12da50}{get\_\-hello\_\-interval} ()
\item 
bool \hyperlink{classOlsr_a894c3c2c5d7a67b1495dc8f2e20ef2ba}{set\_\-mid\_\-interval} (const \hyperlink{classTimeVal}{TimeVal} \&interval)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} MID\_\-INTERVAL. \item\end{DoxyCompactList}\item 
\hyperlink{classTimeVal}{TimeVal} \hyperlink{classOlsr_ad369e90c8247a55bc5585275e6b7484d}{get\_\-mid\_\-interval} ()
\item 
bool \hyperlink{classOlsr_a13a8ede8501fab47e8a590d706dfaa12}{set\_\-refresh\_\-interval} (const \hyperlink{classTimeVal}{TimeVal} \&interval)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} REFRESH\_\-INTERVAL. \item\end{DoxyCompactList}\item 
\hyperlink{classTimeVal}{TimeVal} \hyperlink{classOlsr_a1dceb0f59694e83a8d9b4f818ca18b14}{get\_\-refresh\_\-interval} ()
\item 
bool \hyperlink{classOlsr_aacad64ed1006b0132676eaf109632d3a}{set\_\-tc\_\-interval} (\hyperlink{classTimeVal}{TimeVal} interval)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} TC interval for \hyperlink{protocolthe-p}{the} node. \item\end{DoxyCompactList}\item 
\hyperlink{classTimeVal}{TimeVal} \hyperlink{classOlsr_a8025b0576bd11c048e6ce43ab61b6722}{get\_\-tc\_\-interval} ()
\item 
bool \hyperlink{classOlsr_a475d929b1edda3b44016f90706172de9}{set\_\-willingness} (const \hyperlink{structOlsrTypes_a0dc070ed0b3ef1b8e99e93c333c8ed2e}{OlsrTypes::WillType} willingness)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} WILLINGNESS. \item\end{DoxyCompactList}\item 
\hyperlink{structOlsrTypes_a0dc070ed0b3ef1b8e99e93c333c8ed2e}{OlsrTypes::WillType} \hyperlink{classOlsr_a8cf3abcc29aab0cd8576bf72122a7464}{get\_\-willingness} ()
\item 
bool \hyperlink{classOlsr_a678ff0e9e245aacf9abe9b6f1aecc540}{set\_\-hna\_\-interval} (const \hyperlink{classTimeVal}{TimeVal} \&interval)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} HNA interval. \item\end{DoxyCompactList}\item 
\hyperlink{classTimeVal}{TimeVal} \hyperlink{classOlsr_a198a6cbad99b54ca143bf4e76bad4e3b}{get\_\-hna\_\-interval} ()
\item 
bool \hyperlink{classOlsr_a04f2acfdf23df79bbffc2bcaecb12d3b}{set\_\-dup\_\-hold\_\-time} (const \hyperlink{classTimeVal}{TimeVal} \&interval)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} DUP\_\-HOLD\_\-TIME. \item\end{DoxyCompactList}\item 
\hyperlink{classTimeVal}{TimeVal} \hyperlink{classOlsr_a9cfb458fe881f63a01a36dd2c36866ce}{get\_\-dup\_\-hold\_\-time} ()
\item 
bool \hyperlink{classOlsr_a20206e1ce60ec2b3fe95e535efa744eb}{bind\_\-address} (const string \&interface, const string \&vif, const \hyperlink{classIPv4}{IPv4} \&local\_\-addr, const uint32\_\-t \&local\_\-port, const \hyperlink{classIPv4}{IPv4} \&all\_\-nodes\_\-addr, const uint32\_\-t \&all\_\-nodes\_\-port)
\begin{DoxyCompactList}\small\item\em Bind OLSR to an interface. \item\end{DoxyCompactList}\item 
bool \hyperlink{classOlsr_a5c2f37fec739f0217d9569c6ebdc268f}{unbind\_\-address} (const string \&interface, const string \&vif)
\begin{DoxyCompactList}\small\item\em Unbind OLSR from an interface. \item\end{DoxyCompactList}\item 
bool \hyperlink{classOlsr_ac9944fc3bacf24afba9388fd36eec689}{enable\_\-address} (const string \&interface, const string \&vif, const \hyperlink{classIPv4}{IPv4} \&address, const uint16\_\-t \&port, const \hyperlink{classIPv4}{IPv4} \&all\_\-nodes\_\-address)
\begin{DoxyCompactList}\small\item\em Enable I/O for OLSR on a given address. \item\end{DoxyCompactList}\item 
bool \hyperlink{classOlsr_a752cd790925a324ca54c0d12f4721662}{disable\_\-address} (const string \&interface, const string \&vif, const \hyperlink{classIPv4}{IPv4} \&address, const uint16\_\-t \&port)
\begin{DoxyCompactList}\small\item\em Disable I/O for OLSR on a given address. \item\end{DoxyCompactList}\item 
bool \hyperlink{classOlsr_a2969e6ee6079b15ec1d3dd64cb0b23c8}{set\_\-interface\_\-enabled} (const string \&interface, const string \&vif, const bool enabled)
\begin{DoxyCompactList}\small\item\em Enable or disable an interface for OLSR. \item\end{DoxyCompactList}\item 
bool \hyperlink{classOlsr_ab32633ab4f0f6319dcaed7e685b33755}{get\_\-interface\_\-enabled} (const string \&interface, const string \&vif, bool \&enabled)
\begin{DoxyCompactList}\small\item\em Determine if an interface is enabled for OLSR. \item\end{DoxyCompactList}\item 
bool \hyperlink{classOlsr_ae9ada07f7bd42ca99855fc60665b90a2}{get\_\-interface\_\-stats} (const string \&interface, const string \&vif, \hyperlink{classFaceCounters}{FaceCounters} \&stats)
\begin{DoxyCompactList}\small\item\em Get an interface's statistics. \item\end{DoxyCompactList}\item 
bool \hyperlink{classOlsr_a834234d07897b9c6ce8aa360fddbe52a}{set\_\-interface\_\-cost} (const string \&interface, const string \&vif, int cost)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} cost on an interface. \item\end{DoxyCompactList}\item 
uint32\_\-t \hyperlink{classOlsr_ae7fbf2dd4fb2ec08b274f1117d99c936}{get\_\-mtu} (const string \&interface)
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} MTU of an interface. \item\end{DoxyCompactList}\item 
bool \hyperlink{classOlsr_ab92f977b341466fc24a6c3c20bf6bcb5}{get\_\-broadcast\_\-address} (const string \&interface, const string \&vif, const \hyperlink{classIPv4}{IPv4} \&address, \hyperlink{classIPv4}{IPv4} \&bcast\_\-address)
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} primary \hyperlink{classIPv4}{IPv4} broadcast address configured for this interface/vif/address. \item\end{DoxyCompactList}\item 
bool \hyperlink{classOlsr_a380d1d65624b90ab825d04dc2a53c4b8}{is\_\-vif\_\-broadcast\_\-capable} (const string \&interface, const string \&vif)
\begin{DoxyCompactList}\small\item\em Test whether this interface/vif is broadcast capable. \item\end{DoxyCompactList}\item 
bool \hyperlink{classOlsr_afe025470f9598e752c44fd98d5887784}{is\_\-vif\_\-multicast\_\-capable} (const string \&interface, const string \&vif)
\begin{DoxyCompactList}\small\item\em Test whether this interface/vif is multicast capable. \item\end{DoxyCompactList}\item 
bool \hyperlink{classOlsr_ad84364b7e421542b679b6e676a4ee783}{add\_\-route} (\hyperlink{classIPNet}{IPv4Net} net, \hyperlink{classIPv4}{IPv4} nexthop, uint32\_\-t nexthop\_\-id, uint32\_\-t metric, const \hyperlink{classPolicyTags}{PolicyTags} \&policytags)
\begin{DoxyCompactList}\small\item\em Add route. \item\end{DoxyCompactList}\item 
bool \hyperlink{classOlsr_a5ed0f92685da8cd3994cbbff92bfa76c}{replace\_\-route} (\hyperlink{classIPNet}{IPv4Net} net, \hyperlink{classIPv4}{IPv4} nexthop, uint32\_\-t nexthop\_\-id, uint32\_\-t metric, const \hyperlink{classPolicyTags}{PolicyTags} \&policytags)
\begin{DoxyCompactList}\small\item\em Replace route. \item\end{DoxyCompactList}\item 
bool \hyperlink{classOlsr_ad3788ae02648f2cf51b4736173c26a82}{delete\_\-route} (\hyperlink{classIPNet}{IPv4Net} net)
\begin{DoxyCompactList}\small\item\em Delete route. \item\end{DoxyCompactList}\item 
void \hyperlink{classOlsr_a66ab372fa70e29712e93d65d1355421d}{configure\_\-filter} (const uint32\_\-t \&filter, const string \&conf)
\begin{DoxyCompactList}\small\item\em Configure a policy filter. \item\end{DoxyCompactList}\item 
void \hyperlink{classOlsr_a7cfb00f56b28d53a72f86c7fc6e3ba34}{reset\_\-filter} (const uint32\_\-t \&filter)
\begin{DoxyCompactList}\small\item\em Reset a policy filter. \item\end{DoxyCompactList}\item 
\hypertarget{classOlsr_ac2729a8cb47e1fb7a24963820ee6c10e}{
void \hyperlink{classOlsr_ac2729a8cb47e1fb7a24963820ee6c10e}{push\_\-routes} ()}
\label{classOlsr_ac2729a8cb47e1fb7a24963820ee6c10e}

\begin{DoxyCompactList}\small\item\em \hyperlink{classPush}{Push} routes through policy filters for re-\/filtering. \item\end{DoxyCompactList}\item 
bool \hyperlink{classOlsr_a0dedc5fa4bcd5cda1642b4cf2f39922b}{originate\_\-external\_\-route} (const \hyperlink{classIPNet}{IPv4Net} \&net, const \hyperlink{classIPv4}{IPv4} \&nexthop, const uint32\_\-t \&metric, const \hyperlink{classPolicyTags}{PolicyTags} \&policytags)
\begin{DoxyCompactList}\small\item\em Originate an external route in HNA. \item\end{DoxyCompactList}\item 
bool \hyperlink{classOlsr_a854c21887cb4d37b61a3fe87e9996676}{withdraw\_\-external\_\-route} (const \hyperlink{classIPNet}{IPv4Net} \&net)
\begin{DoxyCompactList}\small\item\em Withdraw an external route from HNA. \item\end{DoxyCompactList}\item 
\hyperlink{classPolicyFilters}{PolicyFilters} \& \hyperlink{classOlsr_a62097eae90387a06e5c2676cbe72f306}{get\_\-policy\_\-filters} ()
\item 
\hyperlink{structTrace}{Trace} \& \hyperlink{classOlsr_a638ccf77c64c309326ebfaf6ff53f56a}{trace} ()
\item 
bool \hyperlink{classOlsr_a391b4b6928c7fde3bc70ab89aec65c80}{clear\_\-database} ()
\begin{DoxyCompactList}\small\item\em Clear protocol databases. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classOlsr_a9d0e97ae74f063d7f9765c101946ccd4}{
\hyperlink{classEventLoop}{EventLoop} \& {\bfseries \_\-eventloop}}
\label{classOlsr_a9d0e97ae74f063d7f9765c101946ccd4}

\item 
\hypertarget{classOlsr_a8640f311adf76419d3be6f7f49538b85}{
\hyperlink{classIO}{IO} $\ast$ {\bfseries \_\-io}}
\label{classOlsr_a8640f311adf76419d3be6f7f49538b85}

\item 
\hypertarget{classOlsr_a201c3810dffd6a130c8c21275824ae71}{
\hyperlink{classFaceManager}{FaceManager} {\bfseries \_\-fm}}
\label{classOlsr_a201c3810dffd6a130c8c21275824ae71}

\item 
\hypertarget{classOlsr_ac3ca900e18b3d496eed5982e02fd0d23}{
\hyperlink{classNeighborhood}{Neighborhood} {\bfseries \_\-nh}}
\label{classOlsr_ac3ca900e18b3d496eed5982e02fd0d23}

\item 
\hypertarget{classOlsr_a373b7045052d7a599954ab542f66f129}{
\hyperlink{classTopologyManager}{TopologyManager} {\bfseries \_\-tm}}
\label{classOlsr_a373b7045052d7a599954ab542f66f129}

\item 
\hypertarget{classOlsr_acb3eb240f45a8f312a3202adab237395}{
\hyperlink{classExternalRoutes}{ExternalRoutes} {\bfseries \_\-er}}
\label{classOlsr_acb3eb240f45a8f312a3202adab237395}

\item 
\hypertarget{classOlsr_af089542119b6d881d61ffc1de6bdc34e}{
\hyperlink{classRouteManager}{RouteManager} {\bfseries \_\-rm}}
\label{classOlsr_af089542119b6d881d61ffc1de6bdc34e}

\item 
\hypertarget{classOlsr_abba25de30ab41a62bfc0b50dba417dc0}{
string {\bfseries \_\-reason}}
\label{classOlsr_abba25de30ab41a62bfc0b50dba417dc0}

\item 
\hypertarget{classOlsr_a9d07b49b3b4a4746b60f3d4357963c0b}{
ProcessStatus {\bfseries \_\-process\_\-status}}
\label{classOlsr_a9d07b49b3b4a4746b60f3d4357963c0b}

\item 
\hypertarget{classOlsr_a7de1f17c38dc1c6aca2dbce7337445f2}{
\hyperlink{classPolicyFilters}{PolicyFilters} {\bfseries \_\-policy\_\-filters}}
\label{classOlsr_a7de1f17c38dc1c6aca2dbce7337445f2}

\item 
\hypertarget{classOlsr_affec147d00d230d3e452d0accf9cf417}{
\hyperlink{structTrace}{Trace} \hyperlink{classOlsr_affec147d00d230d3e452d0accf9cf417}{\_\-trace}}
\label{classOlsr_affec147d00d230d3e452d0accf9cf417}

\begin{DoxyCompactList}\small\item\em \hyperlink{structTrace}{Trace} variables. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
An OLSR routing process. \hyperlink{classIO}{IO} is performed by \hyperlink{protocolthe-p}{the} associated class \hyperlink{classIO}{IO}. 

\subsection{Member Function Documentation}
\hypertarget{classOlsr_ad84364b7e421542b679b6e676a4ee783}{
\index{Olsr@{Olsr}!add\_\-route@{add\_\-route}}
\index{add\_\-route@{add\_\-route}!Olsr@{Olsr}}
\subsubsection[{add\_\-route}]{\setlength{\rightskip}{0pt plus 5cm}bool Olsr::add\_\-route (
\begin{DoxyParamCaption}
\item[{{\bf IPv4Net}}]{net, }
\item[{{\bf IPv4}}]{nexthop, }
\item[{uint32\_\-t}]{nexthop\_\-id, }
\item[{uint32\_\-t}]{metric, }
\item[{const {\bf PolicyTags} \&}]{policytags}
\end{DoxyParamCaption}
)}}
\label{classOlsr_ad84364b7e421542b679b6e676a4ee783}


Add route. 


\begin{DoxyParams}{Parameters}
{\em net} & network \\
\hline
{\em nexthop} & \\
\hline
{\em nexthop\_\-id} & interface ID towards \hyperlink{protocolthe-p}{the} nexthop \\
\hline
{\em metric} & to network \\
\hline
{\em policytags} & policy info to \hyperlink{protocolthe-p}{the} \hyperlink{classRIB}{RIB}. \\
\hline
\end{DoxyParams}
\hypertarget{classOlsr_a20206e1ce60ec2b3fe95e535efa744eb}{
\index{Olsr@{Olsr}!bind\_\-address@{bind\_\-address}}
\index{bind\_\-address@{bind\_\-address}!Olsr@{Olsr}}
\subsubsection[{bind\_\-address}]{\setlength{\rightskip}{0pt plus 5cm}bool Olsr::bind\_\-address (
\begin{DoxyParamCaption}
\item[{const string \&}]{interface, }
\item[{const string \&}]{vif, }
\item[{const {\bf IPv4} \&}]{local\_\-addr, }
\item[{const uint32\_\-t \&}]{local\_\-port, }
\item[{const {\bf IPv4} \&}]{all\_\-nodes\_\-addr, }
\item[{const uint32\_\-t \&}]{all\_\-nodes\_\-port}
\end{DoxyParamCaption}
)}}
\label{classOlsr_a20206e1ce60ec2b3fe95e535efa744eb}


Bind OLSR to an interface. 


\begin{DoxyParams}{Parameters}
{\em interface} & \hyperlink{protocolthe-p}{the} name of \hyperlink{protocolthe-p}{the} interface to listen on. \\
\hline
{\em vif} & \hyperlink{protocolthe-p}{the} name of \hyperlink{protocolthe-p}{the} vif to listen on. \\
\hline
{\em local\_\-addr} & \hyperlink{protocolthe-p}{the} address to listen on. \\
\hline
{\em local\_\-port} & \hyperlink{protocolthe-p}{the} address on \hyperlink{protocolthe-p}{the} interface to listen on. \\
\hline
{\em all\_\-nodes\_\-addr} & \hyperlink{protocolthe-p}{the} address to transmit to. \\
\hline
{\em all\_\-nodes\_\-port} & \hyperlink{protocolthe-p}{the} port to transmit to. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if \hyperlink{protocolthe-p}{the} address was bound successfully. 
\end{DoxyReturn}
\hypertarget{classOlsr_a391b4b6928c7fde3bc70ab89aec65c80}{
\index{Olsr@{Olsr}!clear\_\-database@{clear\_\-database}}
\index{clear\_\-database@{clear\_\-database}!Olsr@{Olsr}}
\subsubsection[{clear\_\-database}]{\setlength{\rightskip}{0pt plus 5cm}bool Olsr::clear\_\-database (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classOlsr_a391b4b6928c7fde3bc70ab89aec65c80}


Clear protocol databases. 

\begin{DoxyReturn}{Returns}
a reference to \hyperlink{protocolthe-p}{the} profiler
\end{DoxyReturn}
A full routing recomputation should be triggered by this operation. This specifically clears links, MID, TC, learned HNA entries, and \hyperlink{protocolthe-p}{the} duplicate message set only. \hypertarget{classOlsr_a66ab372fa70e29712e93d65d1355421d}{
\index{Olsr@{Olsr}!configure\_\-filter@{configure\_\-filter}}
\index{configure\_\-filter@{configure\_\-filter}!Olsr@{Olsr}}
\subsubsection[{configure\_\-filter}]{\setlength{\rightskip}{0pt plus 5cm}void Olsr::configure\_\-filter (
\begin{DoxyParamCaption}
\item[{const uint32\_\-t \&}]{filter, }
\item[{const string \&}]{conf}
\end{DoxyParamCaption}
)}}
\label{classOlsr_a66ab372fa70e29712e93d65d1355421d}


Configure a policy filter. 


\begin{DoxyParams}{Parameters}
{\em filter} & Id of filter to configure. \\
\hline
{\em conf} & \hyperlink{classConfiguration}{Configuration} of filter. \\
\hline
\end{DoxyParams}
\hypertarget{classOlsr_ad3788ae02648f2cf51b4736173c26a82}{
\index{Olsr@{Olsr}!delete\_\-route@{delete\_\-route}}
\index{delete\_\-route@{delete\_\-route}!Olsr@{Olsr}}
\subsubsection[{delete\_\-route}]{\setlength{\rightskip}{0pt plus 5cm}bool Olsr::delete\_\-route (
\begin{DoxyParamCaption}
\item[{{\bf IPv4Net}}]{net}
\end{DoxyParamCaption}
)}}
\label{classOlsr_ad3788ae02648f2cf51b4736173c26a82}


Delete route. 


\begin{DoxyParams}{Parameters}
{\em net} & network \\
\hline
\end{DoxyParams}
\hypertarget{classOlsr_a752cd790925a324ca54c0d12f4721662}{
\index{Olsr@{Olsr}!disable\_\-address@{disable\_\-address}}
\index{disable\_\-address@{disable\_\-address}!Olsr@{Olsr}}
\subsubsection[{disable\_\-address}]{\setlength{\rightskip}{0pt plus 5cm}bool Olsr::disable\_\-address (
\begin{DoxyParamCaption}
\item[{const string \&}]{interface, }
\item[{const string \&}]{vif, }
\item[{const {\bf IPv4} \&}]{address, }
\item[{const uint16\_\-t \&}]{port}
\end{DoxyParamCaption}
)}}
\label{classOlsr_a752cd790925a324ca54c0d12f4721662}


Disable I/O for OLSR on a given address. 

Proxy for class \hyperlink{classIO}{IO}.


\begin{DoxyParams}{Parameters}
{\em interface} & \hyperlink{protocolthe-p}{the} name of \hyperlink{protocolthe-p}{the} interface to listen on. \\
\hline
{\em vif} & \hyperlink{protocolthe-p}{the} name of \hyperlink{protocolthe-p}{the} vif to listen on. \\
\hline
{\em address} & \hyperlink{protocolthe-p}{the} name of \hyperlink{protocolthe-p}{the} address to listen on. \\
\hline
{\em port} & \hyperlink{protocolthe-p}{the} name of \hyperlink{protocolthe-p}{the} port to listen on. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if \hyperlink{protocolthe-p}{the} address was enabled successfully. 
\end{DoxyReturn}
\hypertarget{classOlsr_ac9944fc3bacf24afba9388fd36eec689}{
\index{Olsr@{Olsr}!enable\_\-address@{enable\_\-address}}
\index{enable\_\-address@{enable\_\-address}!Olsr@{Olsr}}
\subsubsection[{enable\_\-address}]{\setlength{\rightskip}{0pt plus 5cm}bool Olsr::enable\_\-address (
\begin{DoxyParamCaption}
\item[{const string \&}]{interface, }
\item[{const string \&}]{vif, }
\item[{const {\bf IPv4} \&}]{address, }
\item[{const uint16\_\-t \&}]{port, }
\item[{const {\bf IPv4} \&}]{all\_\-nodes\_\-address}
\end{DoxyParamCaption}
)}}
\label{classOlsr_ac9944fc3bacf24afba9388fd36eec689}


Enable I/O for OLSR on a given address. 

Proxy for class \hyperlink{classIO}{IO}.


\begin{DoxyParams}{Parameters}
{\em interface} & \hyperlink{protocolthe-p}{the} name of \hyperlink{protocolthe-p}{the} interface to listen on. \\
\hline
{\em vif} & \hyperlink{protocolthe-p}{the} name of \hyperlink{protocolthe-p}{the} vif to listen on. \\
\hline
{\em address} & \hyperlink{protocolthe-p}{the} name of \hyperlink{protocolthe-p}{the} address to listen on. \\
\hline
{\em port} & \hyperlink{protocolthe-p}{the} name of \hyperlink{protocolthe-p}{the} port to listen on. \\
\hline
{\em all\_\-nodes\_\-address} & \hyperlink{protocolthe-p}{the} name of \hyperlink{protocolthe-p}{the} address to transmit to. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if \hyperlink{protocolthe-p}{the} address was enabled successfully. 
\end{DoxyReturn}
\hypertarget{classOlsr_ab92f977b341466fc24a6c3c20bf6bcb5}{
\index{Olsr@{Olsr}!get\_\-broadcast\_\-address@{get\_\-broadcast\_\-address}}
\index{get\_\-broadcast\_\-address@{get\_\-broadcast\_\-address}!Olsr@{Olsr}}
\subsubsection[{get\_\-broadcast\_\-address}]{\setlength{\rightskip}{0pt plus 5cm}bool Olsr::get\_\-broadcast\_\-address (
\begin{DoxyParamCaption}
\item[{const string \&}]{interface, }
\item[{const string \&}]{vif, }
\item[{const {\bf IPv4} \&}]{address, }
\item[{{\bf IPv4} \&}]{bcast\_\-address}
\end{DoxyParamCaption}
)}}
\label{classOlsr_ab92f977b341466fc24a6c3c20bf6bcb5}


Get \hyperlink{protocolthe-p}{the} primary \hyperlink{classIPv4}{IPv4} broadcast address configured for this interface/vif/address. 


\begin{DoxyParams}{Parameters}
{\em interface} & \hyperlink{protocolthe-p}{the} interface to get broadcast address for. \\
\hline
{\em vif} & \hyperlink{protocolthe-p}{the} vif to get broadcast address for. \\
\hline
{\em address} & \hyperlink{protocolthe-p}{the} \hyperlink{classIPv4}{IPv4} interface address. \\
\hline
{\em bcast\_\-address} & (out argument) \hyperlink{protocolthe-p}{the} \hyperlink{classIPv4}{IPv4} broadcast address. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if \hyperlink{protocolthe-p}{the} broadcast address was obtained successfully. 
\end{DoxyReturn}
\hypertarget{classOlsr_a9cfb458fe881f63a01a36dd2c36866ce}{
\index{Olsr@{Olsr}!get\_\-dup\_\-hold\_\-time@{get\_\-dup\_\-hold\_\-time}}
\index{get\_\-dup\_\-hold\_\-time@{get\_\-dup\_\-hold\_\-time}!Olsr@{Olsr}}
\subsubsection[{get\_\-dup\_\-hold\_\-time}]{\setlength{\rightskip}{0pt plus 5cm}{\bf TimeVal} Olsr::get\_\-dup\_\-hold\_\-time (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classOlsr_a9cfb458fe881f63a01a36dd2c36866ce}
\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} value of \hyperlink{protocolthe-p}{the} DUP\_\-HOLD\_\-TIME protocol variable. 
\end{DoxyReturn}
\hypertarget{classOlsr_a4bad7ab00f2a58371de4fb38bd12da50}{
\index{Olsr@{Olsr}!get\_\-hello\_\-interval@{get\_\-hello\_\-interval}}
\index{get\_\-hello\_\-interval@{get\_\-hello\_\-interval}!Olsr@{Olsr}}
\subsubsection[{get\_\-hello\_\-interval}]{\setlength{\rightskip}{0pt plus 5cm}{\bf TimeVal} Olsr::get\_\-hello\_\-interval (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classOlsr_a4bad7ab00f2a58371de4fb38bd12da50}
\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} value of \hyperlink{protocolthe-p}{the} HELLO\_\-INTERVAL variable. 
\end{DoxyReturn}
\hypertarget{classOlsr_a198a6cbad99b54ca143bf4e76bad4e3b}{
\index{Olsr@{Olsr}!get\_\-hna\_\-interval@{get\_\-hna\_\-interval}}
\index{get\_\-hna\_\-interval@{get\_\-hna\_\-interval}!Olsr@{Olsr}}
\subsubsection[{get\_\-hna\_\-interval}]{\setlength{\rightskip}{0pt plus 5cm}{\bf TimeVal} Olsr::get\_\-hna\_\-interval (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classOlsr_a198a6cbad99b54ca143bf4e76bad4e3b}
\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} value of \hyperlink{protocolthe-p}{the} HNA\_\-INTERVAL protocol variable. 
\end{DoxyReturn}
\hypertarget{classOlsr_ab32633ab4f0f6319dcaed7e685b33755}{
\index{Olsr@{Olsr}!get\_\-interface\_\-enabled@{get\_\-interface\_\-enabled}}
\index{get\_\-interface\_\-enabled@{get\_\-interface\_\-enabled}!Olsr@{Olsr}}
\subsubsection[{get\_\-interface\_\-enabled}]{\setlength{\rightskip}{0pt plus 5cm}bool Olsr::get\_\-interface\_\-enabled (
\begin{DoxyParamCaption}
\item[{const string \&}]{interface, }
\item[{const string \&}]{vif, }
\item[{bool \&}]{enabled}
\end{DoxyParamCaption}
)}}
\label{classOlsr_ab32633ab4f0f6319dcaed7e685b33755}


Determine if an interface is enabled for OLSR. 


\begin{DoxyParams}{Parameters}
{\em interface} & \hyperlink{protocolthe-p}{the} name of \hyperlink{protocolthe-p}{the} interface to examine. \\
\hline
{\em vif} & \hyperlink{protocolthe-p}{the} name of \hyperlink{protocolthe-p}{the} vif to examine. \\
\hline
{\em enabled} & output variable will be set to \hyperlink{protocolthe-p}{the} enable state of \hyperlink{protocolthe-p}{the} interface. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if \hyperlink{protocolthe-p}{the} enable state was retrieved successfully. 
\end{DoxyReturn}
\hypertarget{classOlsr_ae9ada07f7bd42ca99855fc60665b90a2}{
\index{Olsr@{Olsr}!get\_\-interface\_\-stats@{get\_\-interface\_\-stats}}
\index{get\_\-interface\_\-stats@{get\_\-interface\_\-stats}!Olsr@{Olsr}}
\subsubsection[{get\_\-interface\_\-stats}]{\setlength{\rightskip}{0pt plus 5cm}bool Olsr::get\_\-interface\_\-stats (
\begin{DoxyParamCaption}
\item[{const string \&}]{interface, }
\item[{const string \&}]{vif, }
\item[{{\bf FaceCounters} \&}]{stats}
\end{DoxyParamCaption}
)}}
\label{classOlsr_ae9ada07f7bd42ca99855fc60665b90a2}


Get an interface's statistics. 


\begin{DoxyParams}{Parameters}
{\em interface} & \hyperlink{protocolthe-p}{the} name of \hyperlink{protocolthe-p}{the} interface to examine. \\
\hline
{\em vif} & \hyperlink{protocolthe-p}{the} name of \hyperlink{protocolthe-p}{the} vif to examine. \\
\hline
{\em stats} & output variable will be set to \hyperlink{protocolthe-p}{the} interface stats. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if \hyperlink{protocolthe-p}{the} stats werre retrieved successfully. 
\end{DoxyReturn}
\hypertarget{classOlsr_a5522718a534566b8785ae0a118b09323}{
\index{Olsr@{Olsr}!get\_\-main\_\-addr@{get\_\-main\_\-addr}}
\index{get\_\-main\_\-addr@{get\_\-main\_\-addr}!Olsr@{Olsr}}
\subsubsection[{get\_\-main\_\-addr}]{\setlength{\rightskip}{0pt plus 5cm}{\bf IPv4} Olsr::get\_\-main\_\-addr (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classOlsr_a5522718a534566b8785ae0a118b09323}
\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} main address. 
\end{DoxyReturn}
\hypertarget{classOlsr_ad369e90c8247a55bc5585275e6b7484d}{
\index{Olsr@{Olsr}!get\_\-mid\_\-interval@{get\_\-mid\_\-interval}}
\index{get\_\-mid\_\-interval@{get\_\-mid\_\-interval}!Olsr@{Olsr}}
\subsubsection[{get\_\-mid\_\-interval}]{\setlength{\rightskip}{0pt plus 5cm}{\bf TimeVal} Olsr::get\_\-mid\_\-interval (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classOlsr_ad369e90c8247a55bc5585275e6b7484d}
\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} value of \hyperlink{protocolthe-p}{the} MID\_\-INTERVAL variable. 
\end{DoxyReturn}
\hypertarget{classOlsr_a3d0183a1ba22e762228cbf67b96f848a}{
\index{Olsr@{Olsr}!get\_\-mpr\_\-coverage@{get\_\-mpr\_\-coverage}}
\index{get\_\-mpr\_\-coverage@{get\_\-mpr\_\-coverage}!Olsr@{Olsr}}
\subsubsection[{get\_\-mpr\_\-coverage}]{\setlength{\rightskip}{0pt plus 5cm}uint32\_\-t Olsr::get\_\-mpr\_\-coverage (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classOlsr_a3d0183a1ba22e762228cbf67b96f848a}
\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} value of \hyperlink{protocolthe-p}{the} MPR\_\-COVERAGE variable. 
\end{DoxyReturn}
\hypertarget{classOlsr_ae7fbf2dd4fb2ec08b274f1117d99c936}{
\index{Olsr@{Olsr}!get\_\-mtu@{get\_\-mtu}}
\index{get\_\-mtu@{get\_\-mtu}!Olsr@{Olsr}}
\subsubsection[{get\_\-mtu}]{\setlength{\rightskip}{0pt plus 5cm}uint32\_\-t Olsr::get\_\-mtu (
\begin{DoxyParamCaption}
\item[{const string \&}]{interface}
\end{DoxyParamCaption}
)}}
\label{classOlsr_ae7fbf2dd4fb2ec08b274f1117d99c936}


Get \hyperlink{protocolthe-p}{the} MTU of an interface. 


\begin{DoxyParams}{Parameters}
{\em interface} & \hyperlink{protocolthe-p}{the} name of \hyperlink{protocolthe-p}{the} interface to get MTU for. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} MTU of \hyperlink{protocolthe-p}{the} interface. 
\end{DoxyReturn}
\hypertarget{classOlsr_a62097eae90387a06e5c2676cbe72f306}{
\index{Olsr@{Olsr}!get\_\-policy\_\-filters@{get\_\-policy\_\-filters}}
\index{get\_\-policy\_\-filters@{get\_\-policy\_\-filters}!Olsr@{Olsr}}
\subsubsection[{get\_\-policy\_\-filters}]{\setlength{\rightskip}{0pt plus 5cm}{\bf PolicyFilters}\& Olsr::get\_\-policy\_\-filters (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classOlsr_a62097eae90387a06e5c2676cbe72f306}
\begin{DoxyReturn}{Returns}
a reference to \hyperlink{protocolthe-p}{the} policy filters 
\end{DoxyReturn}
\hypertarget{classOlsr_a1dceb0f59694e83a8d9b4f818ca18b14}{
\index{Olsr@{Olsr}!get\_\-refresh\_\-interval@{get\_\-refresh\_\-interval}}
\index{get\_\-refresh\_\-interval@{get\_\-refresh\_\-interval}!Olsr@{Olsr}}
\subsubsection[{get\_\-refresh\_\-interval}]{\setlength{\rightskip}{0pt plus 5cm}{\bf TimeVal} Olsr::get\_\-refresh\_\-interval (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classOlsr_a1dceb0f59694e83a8d9b4f818ca18b14}
\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} value of \hyperlink{protocolthe-p}{the} REFRESH\_\-INTERVAL protocol variable. 
\end{DoxyReturn}
\hypertarget{classOlsr_a8025b0576bd11c048e6ce43ab61b6722}{
\index{Olsr@{Olsr}!get\_\-tc\_\-interval@{get\_\-tc\_\-interval}}
\index{get\_\-tc\_\-interval@{get\_\-tc\_\-interval}!Olsr@{Olsr}}
\subsubsection[{get\_\-tc\_\-interval}]{\setlength{\rightskip}{0pt plus 5cm}{\bf TimeVal} Olsr::get\_\-tc\_\-interval (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classOlsr_a8025b0576bd11c048e6ce43ab61b6722}
\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} value of \hyperlink{protocolthe-p}{the} TC\_\-INTERVAL protocol variable. 
\end{DoxyReturn}
\hypertarget{classOlsr_a3bd4ce21b6a3e600ae5bd92102ca9a18}{
\index{Olsr@{Olsr}!get\_\-tc\_\-redundancy@{get\_\-tc\_\-redundancy}}
\index{get\_\-tc\_\-redundancy@{get\_\-tc\_\-redundancy}!Olsr@{Olsr}}
\subsubsection[{get\_\-tc\_\-redundancy}]{\setlength{\rightskip}{0pt plus 5cm}uint32\_\-t Olsr::get\_\-tc\_\-redundancy (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classOlsr_a3bd4ce21b6a3e600ae5bd92102ca9a18}
\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} value of \hyperlink{protocolthe-p}{the} TC\_\-REDUNDANCY variable. 
\end{DoxyReturn}
\hypertarget{classOlsr_a8cf3abcc29aab0cd8576bf72122a7464}{
\index{Olsr@{Olsr}!get\_\-willingness@{get\_\-willingness}}
\index{get\_\-willingness@{get\_\-willingness}!Olsr@{Olsr}}
\subsubsection[{get\_\-willingness}]{\setlength{\rightskip}{0pt plus 5cm}{\bf OlsrTypes::WillType} Olsr::get\_\-willingness (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classOlsr_a8cf3abcc29aab0cd8576bf72122a7464}
\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} WILLINGNESS protocol variable. 
\end{DoxyReturn}
\hypertarget{classOlsr_a380d1d65624b90ab825d04dc2a53c4b8}{
\index{Olsr@{Olsr}!is\_\-vif\_\-broadcast\_\-capable@{is\_\-vif\_\-broadcast\_\-capable}}
\index{is\_\-vif\_\-broadcast\_\-capable@{is\_\-vif\_\-broadcast\_\-capable}!Olsr@{Olsr}}
\subsubsection[{is\_\-vif\_\-broadcast\_\-capable}]{\setlength{\rightskip}{0pt plus 5cm}bool Olsr::is\_\-vif\_\-broadcast\_\-capable (
\begin{DoxyParamCaption}
\item[{const string \&}]{interface, }
\item[{const string \&}]{vif}
\end{DoxyParamCaption}
)}}
\label{classOlsr_a380d1d65624b90ab825d04dc2a53c4b8}


Test whether this interface/vif is broadcast capable. 


\begin{DoxyParams}{Parameters}
{\em interface} & \hyperlink{protocolthe-p}{the} interface to test. \\
\hline
{\em vif} & \hyperlink{protocolthe-p}{the} vif to test. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if it is broadcast capable, otherwise false. 
\end{DoxyReturn}
\hypertarget{classOlsr_afe025470f9598e752c44fd98d5887784}{
\index{Olsr@{Olsr}!is\_\-vif\_\-multicast\_\-capable@{is\_\-vif\_\-multicast\_\-capable}}
\index{is\_\-vif\_\-multicast\_\-capable@{is\_\-vif\_\-multicast\_\-capable}!Olsr@{Olsr}}
\subsubsection[{is\_\-vif\_\-multicast\_\-capable}]{\setlength{\rightskip}{0pt plus 5cm}bool Olsr::is\_\-vif\_\-multicast\_\-capable (
\begin{DoxyParamCaption}
\item[{const string \&}]{interface, }
\item[{const string \&}]{vif}
\end{DoxyParamCaption}
)}}
\label{classOlsr_afe025470f9598e752c44fd98d5887784}


Test whether this interface/vif is multicast capable. 


\begin{DoxyParams}{Parameters}
{\em interface} & \hyperlink{protocolthe-p}{the} interface to test. \\
\hline
{\em vif} & \hyperlink{protocolthe-p}{the} vif to test. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if it is multicast capable, otherwise false. 
\end{DoxyReturn}
\hypertarget{classOlsr_a0dedc5fa4bcd5cda1642b4cf2f39922b}{
\index{Olsr@{Olsr}!originate\_\-external\_\-route@{originate\_\-external\_\-route}}
\index{originate\_\-external\_\-route@{originate\_\-external\_\-route}!Olsr@{Olsr}}
\subsubsection[{originate\_\-external\_\-route}]{\setlength{\rightskip}{0pt plus 5cm}bool Olsr::originate\_\-external\_\-route (
\begin{DoxyParamCaption}
\item[{const {\bf IPv4Net} \&}]{net, }
\item[{const {\bf IPv4} \&}]{nexthop, }
\item[{const uint32\_\-t \&}]{metric, }
\item[{const {\bf PolicyTags} \&}]{policytags}
\end{DoxyParamCaption}
)}}
\label{classOlsr_a0dedc5fa4bcd5cda1642b4cf2f39922b}


Originate an external route in HNA. 


\begin{DoxyParams}{Parameters}
{\em net} & network prefix to originate. \\
\hline
{\em nexthop} & \hyperlink{protocolthe-p}{the} next hop. Ignored by HNA. \\
\hline
{\em metric} & external metric for this route. \\
\hline
{\em policytags} & \hyperlink{protocolthe-p}{the} policy tags associated with this route. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if \hyperlink{protocolthe-p}{the} route was originated successfully. 
\end{DoxyReturn}
\hypertarget{classOlsr_a80893cccf4e118f9e88f0e7cfcdde72b}{
\index{Olsr@{Olsr}!receive@{receive}}
\index{receive@{receive}!Olsr@{Olsr}}
\subsubsection[{receive}]{\setlength{\rightskip}{0pt plus 5cm}void Olsr::receive (
\begin{DoxyParamCaption}
\item[{const string \&}]{interface, }
\item[{const string \&}]{vif, }
\item[{{\bf IPv4}}]{dst, }
\item[{uint16\_\-t}]{dport, }
\item[{{\bf IPv4}}]{src, }
\item[{uint16\_\-t}]{sport, }
\item[{uint8\_\-t $\ast$}]{data, }
\item[{uint32\_\-t}]{len}
\end{DoxyParamCaption}
)}}
\label{classOlsr_a80893cccf4e118f9e88f0e7cfcdde72b}


Callback method to: receive a datagram. 

All packets for OLSR are received through this interface. All good packets are sent to \hyperlink{protocolthe-p}{the} face manager which verifies that \hyperlink{protocolthe-p}{the} packet is expected, and is wholly responsible for further processing. \hypertarget{classOlsr_abe0c07cc43dbb89e67b47544c28b943b}{
\index{Olsr@{Olsr}!register\_\-address\_\-status@{register\_\-address\_\-status}}
\index{register\_\-address\_\-status@{register\_\-address\_\-status}!Olsr@{Olsr}}
\subsubsection[{register\_\-address\_\-status}]{\setlength{\rightskip}{0pt plus 5cm}void Olsr::register\_\-address\_\-status (
\begin{DoxyParamCaption}
\item[{{\bf IO::AddressStatusCb}}]{cb}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classOlsr_abe0c07cc43dbb89e67b47544c28b943b}


Register address status callback with \hyperlink{protocolthe-p}{the} FEA. 


\begin{DoxyParams}{Parameters}
{\em cb} & \hyperlink{protocolthe-p}{the} callback to register. \\
\hline
\end{DoxyParams}
\hypertarget{classOlsr_acd91979ddd768789231442ca2a2930e7}{
\index{Olsr@{Olsr}!register\_\-vif\_\-status@{register\_\-vif\_\-status}}
\index{register\_\-vif\_\-status@{register\_\-vif\_\-status}!Olsr@{Olsr}}
\subsubsection[{register\_\-vif\_\-status}]{\setlength{\rightskip}{0pt plus 5cm}void Olsr::register\_\-vif\_\-status (
\begin{DoxyParamCaption}
\item[{{\bf IO::VifStatusCb}}]{cb}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classOlsr_acd91979ddd768789231442ca2a2930e7}


Register vif status callback with \hyperlink{protocolthe-p}{the} FEA. 


\begin{DoxyParams}{Parameters}
{\em cb} & \hyperlink{protocolthe-p}{the} callback to register. \\
\hline
\end{DoxyParams}
\hypertarget{classOlsr_a5ed0f92685da8cd3994cbbff92bfa76c}{
\index{Olsr@{Olsr}!replace\_\-route@{replace\_\-route}}
\index{replace\_\-route@{replace\_\-route}!Olsr@{Olsr}}
\subsubsection[{replace\_\-route}]{\setlength{\rightskip}{0pt plus 5cm}bool Olsr::replace\_\-route (
\begin{DoxyParamCaption}
\item[{{\bf IPv4Net}}]{net, }
\item[{{\bf IPv4}}]{nexthop, }
\item[{uint32\_\-t}]{nexthop\_\-id, }
\item[{uint32\_\-t}]{metric, }
\item[{const {\bf PolicyTags} \&}]{policytags}
\end{DoxyParamCaption}
)}}
\label{classOlsr_a5ed0f92685da8cd3994cbbff92bfa76c}


Replace route. 


\begin{DoxyParams}{Parameters}
{\em net} & network \\
\hline
{\em nexthop} & \\
\hline
{\em nexthop\_\-id} & interface ID towards \hyperlink{protocolthe-p}{the} nexthop \\
\hline
{\em metric} & to network \\
\hline
{\em policytags} & policy info to \hyperlink{protocolthe-p}{the} \hyperlink{classRIB}{RIB}. \\
\hline
\end{DoxyParams}
\hypertarget{classOlsr_a7cfb00f56b28d53a72f86c7fc6e3ba34}{
\index{Olsr@{Olsr}!reset\_\-filter@{reset\_\-filter}}
\index{reset\_\-filter@{reset\_\-filter}!Olsr@{Olsr}}
\subsubsection[{reset\_\-filter}]{\setlength{\rightskip}{0pt plus 5cm}void Olsr::reset\_\-filter (
\begin{DoxyParamCaption}
\item[{const uint32\_\-t \&}]{filter}
\end{DoxyParamCaption}
)}}
\label{classOlsr_a7cfb00f56b28d53a72f86c7fc6e3ba34}


Reset a policy filter. 


\begin{DoxyParams}{Parameters}
{\em filter} & Id of filter to reset. \\
\hline
\end{DoxyParams}
\hypertarget{classOlsr_adf373b14abb7037c94918ee6f78856ce}{
\index{Olsr@{Olsr}!running@{running}}
\index{running@{running}!Olsr@{Olsr}}
\subsubsection[{running}]{\setlength{\rightskip}{0pt plus 5cm}bool Olsr::running (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classOlsr_adf373b14abb7037c94918ee6f78856ce}
\begin{DoxyReturn}{Returns}
true if this routing process is running. 
\end{DoxyReturn}
\hypertarget{classOlsr_a04f2acfdf23df79bbffc2bcaecb12d3b}{
\index{Olsr@{Olsr}!set\_\-dup\_\-hold\_\-time@{set\_\-dup\_\-hold\_\-time}}
\index{set\_\-dup\_\-hold\_\-time@{set\_\-dup\_\-hold\_\-time}!Olsr@{Olsr}}
\subsubsection[{set\_\-dup\_\-hold\_\-time}]{\setlength{\rightskip}{0pt plus 5cm}bool Olsr::set\_\-dup\_\-hold\_\-time (
\begin{DoxyParamCaption}
\item[{const {\bf TimeVal} \&}]{interval}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classOlsr_a04f2acfdf23df79bbffc2bcaecb12d3b}


Set \hyperlink{protocolthe-p}{the} DUP\_\-HOLD\_\-TIME. 


\begin{DoxyParams}{Parameters}
{\em interval} & \hyperlink{protocolthe-p}{the} new duplicate message hold time \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if \hyperlink{protocolthe-p}{the} DUP\_\-HOLD\_\-TIME was set successfully. 
\end{DoxyReturn}
\hypertarget{classOlsr_a7a086ac2958fb9d14aabd6dafab0f17a}{
\index{Olsr@{Olsr}!set\_\-hello\_\-interval@{set\_\-hello\_\-interval}}
\index{set\_\-hello\_\-interval@{set\_\-hello\_\-interval}!Olsr@{Olsr}}
\subsubsection[{set\_\-hello\_\-interval}]{\setlength{\rightskip}{0pt plus 5cm}bool Olsr::set\_\-hello\_\-interval (
\begin{DoxyParamCaption}
\item[{const {\bf TimeVal} \&}]{interval}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classOlsr_a7a086ac2958fb9d14aabd6dafab0f17a}


Set \hyperlink{protocolthe-p}{the} HELLO\_\-INTERVAL. 


\begin{DoxyParams}{Parameters}
{\em interval} & \hyperlink{protocolthe-p}{the} new value of HELLO\_\-INTERVAL. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if HELLO\_\-INTERVAL was set successfully. 
\end{DoxyReturn}
\hypertarget{classOlsr_a678ff0e9e245aacf9abe9b6f1aecc540}{
\index{Olsr@{Olsr}!set\_\-hna\_\-interval@{set\_\-hna\_\-interval}}
\index{set\_\-hna\_\-interval@{set\_\-hna\_\-interval}!Olsr@{Olsr}}
\subsubsection[{set\_\-hna\_\-interval}]{\setlength{\rightskip}{0pt plus 5cm}bool Olsr::set\_\-hna\_\-interval (
\begin{DoxyParamCaption}
\item[{const {\bf TimeVal} \&}]{interval}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classOlsr_a678ff0e9e245aacf9abe9b6f1aecc540}


Set \hyperlink{protocolthe-p}{the} HNA interval. 


\begin{DoxyParams}{Parameters}
{\em interval} & \hyperlink{protocolthe-p}{the} new HNA interval. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if \hyperlink{protocolthe-p}{the} HNA interval was set successfully. 
\end{DoxyReturn}
\hypertarget{classOlsr_a834234d07897b9c6ce8aa360fddbe52a}{
\index{Olsr@{Olsr}!set\_\-interface\_\-cost@{set\_\-interface\_\-cost}}
\index{set\_\-interface\_\-cost@{set\_\-interface\_\-cost}!Olsr@{Olsr}}
\subsubsection[{set\_\-interface\_\-cost}]{\setlength{\rightskip}{0pt plus 5cm}bool Olsr::set\_\-interface\_\-cost (
\begin{DoxyParamCaption}
\item[{const string \&}]{interface, }
\item[{const string \&}]{vif, }
\item[{int}]{cost}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classOlsr_a834234d07897b9c6ce8aa360fddbe52a}


Set \hyperlink{protocolthe-p}{the} cost on an interface. 


\begin{DoxyParams}{Parameters}
{\em interface} & \hyperlink{protocolthe-p}{the} name of \hyperlink{protocolthe-p}{the} interface to set cost for. \\
\hline
{\em vif} & \hyperlink{protocolthe-p}{the} name of \hyperlink{protocolthe-p}{the} vif to set cost for. \\
\hline
{\em cost} & \hyperlink{protocolthe-p}{the} new cost of \hyperlink{protocolthe-p}{the} interface. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if \hyperlink{protocolthe-p}{the} interface cost was set successfully. 
\end{DoxyReturn}
\hypertarget{classOlsr_a2969e6ee6079b15ec1d3dd64cb0b23c8}{
\index{Olsr@{Olsr}!set\_\-interface\_\-enabled@{set\_\-interface\_\-enabled}}
\index{set\_\-interface\_\-enabled@{set\_\-interface\_\-enabled}!Olsr@{Olsr}}
\subsubsection[{set\_\-interface\_\-enabled}]{\setlength{\rightskip}{0pt plus 5cm}bool Olsr::set\_\-interface\_\-enabled (
\begin{DoxyParamCaption}
\item[{const string \&}]{interface, }
\item[{const string \&}]{vif, }
\item[{const bool}]{enabled}
\end{DoxyParamCaption}
)}}
\label{classOlsr_a2969e6ee6079b15ec1d3dd64cb0b23c8}


Enable or disable an interface for OLSR. 


\begin{DoxyParams}{Parameters}
{\em interface} & \hyperlink{protocolthe-p}{the} name of \hyperlink{protocolthe-p}{the} interface to enable/disable. \\
\hline
{\em vif} & \hyperlink{protocolthe-p}{the} name of \hyperlink{protocolthe-p}{the} vif to enable/disable. \\
\hline
{\em enabled} & \hyperlink{protocolthe-p}{the} new enable state of \hyperlink{protocolthe-p}{the} interface. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if \hyperlink{protocolthe-p}{the} interface state was set to 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em enabled} & successfully. \\
\hline
\end{DoxyParams}
\hypertarget{classOlsr_aa5ae4b383e6132325a22245c00a32010}{
\index{Olsr@{Olsr}!set\_\-main\_\-addr@{set\_\-main\_\-addr}}
\index{set\_\-main\_\-addr@{set\_\-main\_\-addr}!Olsr@{Olsr}}
\subsubsection[{set\_\-main\_\-addr}]{\setlength{\rightskip}{0pt plus 5cm}bool Olsr::set\_\-main\_\-addr (
\begin{DoxyParamCaption}
\item[{const {\bf IPv4} \&}]{addr}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classOlsr_aa5ae4b383e6132325a22245c00a32010}


Set \hyperlink{protocolthe-p}{the} main address for \hyperlink{protocolthe-p}{the} node. 


\begin{DoxyParams}{Parameters}
{\em addr} & \hyperlink{protocolthe-p}{the} main address to set. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if \hyperlink{protocolthe-p}{the} main address was set successfully. 
\end{DoxyReturn}
\hypertarget{classOlsr_a894c3c2c5d7a67b1495dc8f2e20ef2ba}{
\index{Olsr@{Olsr}!set\_\-mid\_\-interval@{set\_\-mid\_\-interval}}
\index{set\_\-mid\_\-interval@{set\_\-mid\_\-interval}!Olsr@{Olsr}}
\subsubsection[{set\_\-mid\_\-interval}]{\setlength{\rightskip}{0pt plus 5cm}bool Olsr::set\_\-mid\_\-interval (
\begin{DoxyParamCaption}
\item[{const {\bf TimeVal} \&}]{interval}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classOlsr_a894c3c2c5d7a67b1495dc8f2e20ef2ba}


Set \hyperlink{protocolthe-p}{the} MID\_\-INTERVAL. 


\begin{DoxyParams}{Parameters}
{\em interval} & \hyperlink{protocolthe-p}{the} new value of MID\_\-INTERVAL. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if MID\_\-INTERVAL was set successfully. 
\end{DoxyReturn}
\hypertarget{classOlsr_a89e49077ffed17545e57ce225dfc60ae}{
\index{Olsr@{Olsr}!set\_\-mpr\_\-coverage@{set\_\-mpr\_\-coverage}}
\index{set\_\-mpr\_\-coverage@{set\_\-mpr\_\-coverage}!Olsr@{Olsr}}
\subsubsection[{set\_\-mpr\_\-coverage}]{\setlength{\rightskip}{0pt plus 5cm}bool Olsr::set\_\-mpr\_\-coverage (
\begin{DoxyParamCaption}
\item[{const uint32\_\-t}]{mpr\_\-coverage}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classOlsr_a89e49077ffed17545e57ce225dfc60ae}


Set \hyperlink{protocolthe-p}{the} MPR\_\-COVERAGE for \hyperlink{protocolthe-p}{the} node. 


\begin{DoxyParams}{Parameters}
{\em mpr\_\-coverage} & \hyperlink{protocolthe-p}{the} new value of MPR\_\-COVERAGE. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if MPR\_\-COVERAGE was set successfully. 
\end{DoxyReturn}
\hypertarget{classOlsr_a13a8ede8501fab47e8a590d706dfaa12}{
\index{Olsr@{Olsr}!set\_\-refresh\_\-interval@{set\_\-refresh\_\-interval}}
\index{set\_\-refresh\_\-interval@{set\_\-refresh\_\-interval}!Olsr@{Olsr}}
\subsubsection[{set\_\-refresh\_\-interval}]{\setlength{\rightskip}{0pt plus 5cm}bool Olsr::set\_\-refresh\_\-interval (
\begin{DoxyParamCaption}
\item[{const {\bf TimeVal} \&}]{interval}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classOlsr_a13a8ede8501fab47e8a590d706dfaa12}


Set \hyperlink{protocolthe-p}{the} REFRESH\_\-INTERVAL. 


\begin{DoxyParams}{Parameters}
{\em interval} & \hyperlink{protocolthe-p}{the} new refresh interval. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if \hyperlink{protocolthe-p}{the} refresh interval was set successfully. 
\end{DoxyReturn}
\hypertarget{classOlsr_aacad64ed1006b0132676eaf109632d3a}{
\index{Olsr@{Olsr}!set\_\-tc\_\-interval@{set\_\-tc\_\-interval}}
\index{set\_\-tc\_\-interval@{set\_\-tc\_\-interval}!Olsr@{Olsr}}
\subsubsection[{set\_\-tc\_\-interval}]{\setlength{\rightskip}{0pt plus 5cm}bool Olsr::set\_\-tc\_\-interval (
\begin{DoxyParamCaption}
\item[{{\bf TimeVal}}]{interval}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classOlsr_aacad64ed1006b0132676eaf109632d3a}


Set \hyperlink{protocolthe-p}{the} TC interval for \hyperlink{protocolthe-p}{the} node. 


\begin{DoxyParams}{Parameters}
{\em interval} & \hyperlink{protocolthe-p}{the} new TC interval. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if \hyperlink{protocolthe-p}{the} TC interval was set successfully. 
\end{DoxyReturn}
\hypertarget{classOlsr_ae6a46a20b99e676248f3e63568e7bc4d}{
\index{Olsr@{Olsr}!set\_\-tc\_\-redundancy@{set\_\-tc\_\-redundancy}}
\index{set\_\-tc\_\-redundancy@{set\_\-tc\_\-redundancy}!Olsr@{Olsr}}
\subsubsection[{set\_\-tc\_\-redundancy}]{\setlength{\rightskip}{0pt plus 5cm}bool Olsr::set\_\-tc\_\-redundancy (
\begin{DoxyParamCaption}
\item[{const uint32\_\-t}]{tc\_\-redundancy}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classOlsr_ae6a46a20b99e676248f3e63568e7bc4d}


Set \hyperlink{protocolthe-p}{the} TC\_\-REDUNDANCY for \hyperlink{protocolthe-p}{the} node. 


\begin{DoxyParams}{Parameters}
{\em tc\_\-redundancy} & \hyperlink{protocolthe-p}{the} new value of TC\_\-REDUNDANCY. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if TC\_\-REDUNDANCY was set successfully. 
\end{DoxyReturn}
\hypertarget{classOlsr_a475d929b1edda3b44016f90706172de9}{
\index{Olsr@{Olsr}!set\_\-willingness@{set\_\-willingness}}
\index{set\_\-willingness@{set\_\-willingness}!Olsr@{Olsr}}
\subsubsection[{set\_\-willingness}]{\setlength{\rightskip}{0pt plus 5cm}bool Olsr::set\_\-willingness (
\begin{DoxyParamCaption}
\item[{const {\bf OlsrTypes::WillType}}]{willingness}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classOlsr_a475d929b1edda3b44016f90706172de9}


Set \hyperlink{protocolthe-p}{the} WILLINGNESS. 


\begin{DoxyParams}{Parameters}
{\em willingness} & \hyperlink{protocolthe-p}{the} new willingness-\/to-\/forward. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if \hyperlink{protocolthe-p}{the} willingness was set successfully. 
\end{DoxyReturn}
\hypertarget{classOlsr_a4ed12b522d0a6b0bc9b8424aeeed3dd3}{
\index{Olsr@{Olsr}!status@{status}}
\index{status@{status}!Olsr@{Olsr}}
\subsubsection[{status}]{\setlength{\rightskip}{0pt plus 5cm}ProcessStatus Olsr::status (
\begin{DoxyParamCaption}
\item[{string \&}]{reason}
\end{DoxyParamCaption}
)}}
\label{classOlsr_a4ed12b522d0a6b0bc9b8424aeeed3dd3}


Determine routing process status. 


\begin{DoxyParams}{Parameters}
{\em reason} & a text description of \hyperlink{protocolthe-p}{the} current process status. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
status of \hyperlink{protocolthe-p}{the} routing process. 
\end{DoxyReturn}
\hypertarget{classOlsr_a638ccf77c64c309326ebfaf6ff53f56a}{
\index{Olsr@{Olsr}!trace@{trace}}
\index{trace@{trace}!Olsr@{Olsr}}
\subsubsection[{trace}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Trace}\& Olsr::trace (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classOlsr_a638ccf77c64c309326ebfaf6ff53f56a}
\begin{DoxyReturn}{Returns}
a reference to \hyperlink{protocolthe-p}{the} tracing variables 
\end{DoxyReturn}
\hypertarget{classOlsr_a5c2f37fec739f0217d9569c6ebdc268f}{
\index{Olsr@{Olsr}!unbind\_\-address@{unbind\_\-address}}
\index{unbind\_\-address@{unbind\_\-address}!Olsr@{Olsr}}
\subsubsection[{unbind\_\-address}]{\setlength{\rightskip}{0pt plus 5cm}bool Olsr::unbind\_\-address (
\begin{DoxyParamCaption}
\item[{const string \&}]{interface, }
\item[{const string \&}]{vif}
\end{DoxyParamCaption}
)}}
\label{classOlsr_a5c2f37fec739f0217d9569c6ebdc268f}


Unbind OLSR from an interface. 

OLSR may only be bound to a single address on an interface, therefore there is no 'address' argument to this method.


\begin{DoxyParams}{Parameters}
{\em interface} & \hyperlink{protocolthe-p}{the} name of \hyperlink{protocolthe-p}{the} interface to unbind. \\
\hline
{\em vif} & \hyperlink{protocolthe-p}{the} name of \hyperlink{protocolthe-p}{the} vif to unbind. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if \hyperlink{protocolthe-p}{the} interface was unbound successfully. 
\end{DoxyReturn}
\hypertarget{classOlsr_a854c21887cb4d37b61a3fe87e9996676}{
\index{Olsr@{Olsr}!withdraw\_\-external\_\-route@{withdraw\_\-external\_\-route}}
\index{withdraw\_\-external\_\-route@{withdraw\_\-external\_\-route}!Olsr@{Olsr}}
\subsubsection[{withdraw\_\-external\_\-route}]{\setlength{\rightskip}{0pt plus 5cm}bool Olsr::withdraw\_\-external\_\-route (
\begin{DoxyParamCaption}
\item[{const {\bf IPv4Net} \&}]{net}
\end{DoxyParamCaption}
)}}
\label{classOlsr_a854c21887cb4d37b61a3fe87e9996676}


Withdraw an external route from HNA. 


\begin{DoxyParams}{Parameters}
{\em net} & network prefix to withdraw. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if \hyperlink{protocolthe-p}{the} route was withdrawn successfully. 
\end{DoxyReturn}


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