\hypertarget{classXrlOlsr4Target}{
\section{XrlOlsr4Target Class Reference}
\label{classXrlOlsr4Target}\index{XrlOlsr4Target@{XrlOlsr4Target}}
}


Concrete implementation of OLSRv1/IPv4 XRL target.  




{\ttfamily \#include $<$xrl\_\-target.hh$>$}

Inheritance diagram for XrlOlsr4Target:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classXrlOlsr4Target}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classXrlOlsr4Target_a48c9dbaf2b225fa19c9621c1325d5e5f}{
\hyperlink{classXrlOlsr4Target_a48c9dbaf2b225fa19c9621c1325d5e5f}{XrlOlsr4Target} (\hyperlink{classXrlRouter}{XrlRouter} $\ast$r, \hyperlink{classOlsr}{Olsr} \&olsr, \hyperlink{classXrlIO}{XrlIO} \&xrl\_\-io)}
\label{classXrlOlsr4Target_a48c9dbaf2b225fa19c9621c1325d5e5f}

\begin{DoxyCompactList}\small\item\em Constructor. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOlsr4Target_afa139cf618a88e4bccea817adaa3676c}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_afa139cf618a88e4bccea817adaa3676c}{common\_\-0\_\-1\_\-get\_\-target\_\-name} (string \&name)}
\label{classXrlOlsr4Target_afa139cf618a88e4bccea817adaa3676c}

\begin{DoxyCompactList}\small\item\em Get name of \hyperlink{classXrl}{Xrl} Target. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOlsr4Target_a4000e32c2c6d1d37d115c1d1b5defffd}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a4000e32c2c6d1d37d115c1d1b5defffd}{common\_\-0\_\-1\_\-get\_\-version} (string \&version)}
\label{classXrlOlsr4Target_a4000e32c2c6d1d37d115c1d1b5defffd}

\begin{DoxyCompactList}\small\item\em Get version string from \hyperlink{classXrl}{Xrl} Target. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOlsr4Target_aaf99ed977effbcbe2c73e96d4880dcee}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_aaf99ed977effbcbe2c73e96d4880dcee}{common\_\-0\_\-1\_\-get\_\-status} (uint32\_\-t \&status, string \&reason)}
\label{classXrlOlsr4Target_aaf99ed977effbcbe2c73e96d4880dcee}

\begin{DoxyCompactList}\small\item\em Get status of \hyperlink{classXrl}{Xrl} Target. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOlsr4Target_a8160b4ddf30ea291e33a6ccea88b5ba1}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a8160b4ddf30ea291e33a6ccea88b5ba1}{common\_\-0\_\-1\_\-shutdown} ()}
\label{classXrlOlsr4Target_a8160b4ddf30ea291e33a6ccea88b5ba1}

\begin{DoxyCompactList}\small\item\em Request clean shutdown of \hyperlink{classXrl}{Xrl} Target. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_aa2feb7b110ce96da7bd51f12b53070ba}{common\_\-0\_\-1\_\-startup} ()
\begin{DoxyCompactList}\small\item\em Pure-\/virtual function that needs to be implemented to: \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a5b3fdbc9a41a8fbcaef137665b329c89}{finder\_\-event\_\-observer\_\-0\_\-1\_\-xrl\_\-target\_\-birth} (const string \&target\_\-class, const string \&target\_\-instance)
\begin{DoxyCompactList}\small\item\em Announce target birth to observer. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a5e4a689a30810c766bde9124df2bd94e}{finder\_\-event\_\-observer\_\-0\_\-1\_\-xrl\_\-target\_\-death} (const string \&target\_\-class, const string \&target\_\-instance)
\begin{DoxyCompactList}\small\item\em Announce target death to observer. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a059c431ccc7ae0d3de775ad05b3c3f3a}{socket4\_\-user\_\-0\_\-1\_\-recv\_\-event} (const string \&sockid, const string \&if\_\-name, const string \&vif\_\-name, const \hyperlink{classIPv4}{IPv4} \&src\_\-host, const uint32\_\-t \&src\_\-port, const vector$<$ uint8\_\-t $>$ \&data)
\begin{DoxyCompactList}\small\item\em Method invoked by target implementing socket4/0.1 when a packet arrives from an \hyperlink{classIPv4}{IPv4} source. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a81c2f5eb47a3f2f2002ffd4f28ce4aab}{socket4\_\-user\_\-0\_\-1\_\-inbound\_\-connect\_\-event} (const string \&sockid, const \hyperlink{classIPv4}{IPv4} \&src\_\-host, const uint32\_\-t \&src\_\-port, const string \&new\_\-sockid, bool \&accept)
\begin{DoxyCompactList}\small\item\em Method invoked by target implementing socket4/0.1 when a connection request is received from an \hyperlink{classIPv4}{IPv4} source. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_adcec20d291b10b953c3e9831f14c5841}{socket4\_\-user\_\-0\_\-1\_\-outgoing\_\-connect\_\-event} (const string \&sockid)
\begin{DoxyCompactList}\small\item\em Method invoked by target implementing socket4/0.1 when an outgoing connection request originated by \hyperlink{protocolthe-p}{the} local host is completed. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_acf760cfb1521ada94fd7ff1f5330fbc5}{socket4\_\-user\_\-0\_\-1\_\-error\_\-event} (const string \&sockid, const string \&error, const bool \&fatal)
\begin{DoxyCompactList}\small\item\em Method invoked by target implementing socket4/0.1 when an error occurs. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_ae044610604cf68b59ef3453bc45646c7}{socket4\_\-user\_\-0\_\-1\_\-disconnect\_\-event} (const string \&sockid)
\begin{DoxyCompactList}\small\item\em Method invoked by target implementing socket4/0.1 when \hyperlink{protocolthe-p}{the} peer has closed \hyperlink{protocolthe-p}{the} connection. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a49fa8c31312cc7dce0f168c88f2d09ee}{policy\_\-backend\_\-0\_\-1\_\-configure} (const uint32\_\-t \&filter, const string \&conf)
\begin{DoxyCompactList}\small\item\em Configure a policy filter. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_ad5d265faf730844aea81e04a64c0235e}{policy\_\-backend\_\-0\_\-1\_\-reset} (const uint32\_\-t \&filter)
\begin{DoxyCompactList}\small\item\em Reset a policy filter. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOlsr4Target_a8d1cf64d707fc98e7047f9f1939c80ba}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a8d1cf64d707fc98e7047f9f1939c80ba}{policy\_\-backend\_\-0\_\-1\_\-push\_\-routes} ()}
\label{classXrlOlsr4Target_a8d1cf64d707fc98e7047f9f1939c80ba}

\begin{DoxyCompactList}\small\item\em \hyperlink{classPush}{Push} all available routes through all filters for re-\/filtering. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a8121535b3acf6a2dba8a8756ec7f9c1a}{policy\_\-redist4\_\-0\_\-1\_\-add\_\-route4} (const \hyperlink{classIPNet}{IPv4Net} \&network, const bool \&unicast, const bool \&multicast, const \hyperlink{classIPv4}{IPv4} \&nexthop, const uint32\_\-t \&metric, const \hyperlink{classXrlAtomList}{XrlAtomList} \&policytags)
\begin{DoxyCompactList}\small\item\em Start route redistribution for an \hyperlink{classIPv4}{IPv4} route. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a4a5ba3434b36a18ff988f6ba982a508a}{policy\_\-redist4\_\-0\_\-1\_\-delete\_\-route4} (const \hyperlink{classIPNet}{IPv4Net} \&network, const bool \&unicast, const bool \&multicast)
\begin{DoxyCompactList}\small\item\em Terminate route redistribution for an \hyperlink{classIPv4}{IPv4} route. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_ab9bfba5e1c92b0bf2cfa779a7d64a6f4}{profile\_\-0\_\-1\_\-enable} (const string \&pname)
\begin{DoxyCompactList}\small\item\em Enable profiling. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a5f60474dabb9f5686086924075195d1d}{profile\_\-0\_\-1\_\-disable} (const string \&pname)
\begin{DoxyCompactList}\small\item\em Disable profiling. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_aa26fd3ad7d3c91133be62b118dc456ef}{profile\_\-0\_\-1\_\-get\_\-entries} (const string \&pname, const string \&instance\_\-name)
\begin{DoxyCompactList}\small\item\em Get log entries. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a50be3c329281e78919adc6ce2f912838}{profile\_\-0\_\-1\_\-clear} (const string \&pname)
\begin{DoxyCompactList}\small\item\em Clear \hyperlink{protocolthe-p}{the} profiling entries. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOlsr4Target_a33c7da75f38aa50e4a1f8fd5565b09a1}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a33c7da75f38aa50e4a1f8fd5565b09a1}{profile\_\-0\_\-1\_\-list} (string \&info)}
\label{classXrlOlsr4Target_a33c7da75f38aa50e4a1f8fd5565b09a1}

\begin{DoxyCompactList}\small\item\em List all \hyperlink{protocolthe-p}{the} profiling variables registered with this target. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a9e56b5fafe0a9542b56cad6851845f2c}{olsr4\_\-0\_\-1\_\-trace} (const string \&tvar, const bool \&enable)
\begin{DoxyCompactList}\small\item\em Enable/Disable tracing. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOlsr4Target_a0405e66beee56c349bdf1d492fdc7cde}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a0405e66beee56c349bdf1d492fdc7cde}{olsr4\_\-0\_\-1\_\-clear\_\-database} ()}
\label{classXrlOlsr4Target_a0405e66beee56c349bdf1d492fdc7cde}

\begin{DoxyCompactList}\small\item\em Clear all OLSR protocol databases. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a7629fd53e8cf3d12ee79c9c7c3da4210}{olsr4\_\-0\_\-1\_\-set\_\-willingness} (const uint32\_\-t \&willingness)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} willingness-\/to-\/forward. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOlsr4Target_a3682c83e98dd4dacdcbe00612357d905}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a3682c83e98dd4dacdcbe00612357d905}{olsr4\_\-0\_\-1\_\-get\_\-willingness} (uint32\_\-t \&willingness)}
\label{classXrlOlsr4Target_a3682c83e98dd4dacdcbe00612357d905}

\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} willingness-\/to-\/forward. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a7f006e799e69b76c64131cf629e065c3}{olsr4\_\-0\_\-1\_\-set\_\-mpr\_\-coverage} (const uint32\_\-t \&coverage)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} MPR\_\-COVERAGE. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOlsr4Target_a37538e5033d922376e764e85fc4e679a}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a37538e5033d922376e764e85fc4e679a}{olsr4\_\-0\_\-1\_\-get\_\-mpr\_\-coverage} (uint32\_\-t \&coverage)}
\label{classXrlOlsr4Target_a37538e5033d922376e764e85fc4e679a}

\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} MPR\_\-COVERAGE. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOlsr4Target_aacaa1927fdbfec370af98b0df2f57d47}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_aacaa1927fdbfec370af98b0df2f57d47}{olsr4\_\-0\_\-1\_\-set\_\-tc\_\-redundancy} (const string \&redundancy)}
\label{classXrlOlsr4Target_aacaa1927fdbfec370af98b0df2f57d47}

\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} TC\_\-REDUNDANCY. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOlsr4Target_a5d14952dface9d9cd77db011a93cd570}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a5d14952dface9d9cd77db011a93cd570}{olsr4\_\-0\_\-1\_\-get\_\-tc\_\-redundancy} (string \&redundancy)}
\label{classXrlOlsr4Target_a5d14952dface9d9cd77db011a93cd570}

\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} TC\_\-REDUNDANCY. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a9c5ffc351434bb2894866839f2980307}{olsr4\_\-0\_\-1\_\-set\_\-tc\_\-fisheye} (const bool \&enabled)
\begin{DoxyCompactList}\small\item\em Enable/disable TC fisheye mode. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOlsr4Target_a263fe1002295f6daa57560baedc90d33}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a263fe1002295f6daa57560baedc90d33}{olsr4\_\-0\_\-1\_\-get\_\-tc\_\-fisheye} (bool \&enabled)}
\label{classXrlOlsr4Target_a263fe1002295f6daa57560baedc90d33}

\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} current TC fisheye mode. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOlsr4Target_a1c948da317251e0256faed1c24b9c6ed}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a1c948da317251e0256faed1c24b9c6ed}{olsr4\_\-0\_\-1\_\-set\_\-hna\_\-base\_\-cost} (const uint32\_\-t \&metric)}
\label{classXrlOlsr4Target_a1c948da317251e0256faed1c24b9c6ed}

\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} current HNA base cost metric. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOlsr4Target_aaa65113d847c21d7e9b7bc563e8d8803}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_aaa65113d847c21d7e9b7bc563e8d8803}{olsr4\_\-0\_\-1\_\-get\_\-hna\_\-base\_\-cost} (uint32\_\-t \&metric)}
\label{classXrlOlsr4Target_aaa65113d847c21d7e9b7bc563e8d8803}

\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} current HNA base cost metric. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a5440df45e1156cee1493daceca63fd0c}{olsr4\_\-0\_\-1\_\-set\_\-hello\_\-interval} (const uint32\_\-t \&interval)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} HELLO\_\-INTERVAL. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOlsr4Target_a698908eef7c41aea56caf659b0e634b3}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a698908eef7c41aea56caf659b0e634b3}{olsr4\_\-0\_\-1\_\-get\_\-hello\_\-interval} (uint32\_\-t \&interval)}
\label{classXrlOlsr4Target_a698908eef7c41aea56caf659b0e634b3}

\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} HELLO\_\-INTERVAL. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a38116d7ffc79f72a78547a101887eae4}{olsr4\_\-0\_\-1\_\-set\_\-refresh\_\-interval} (const uint32\_\-t \&interval)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} REFRESH\_\-INTERVAL. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOlsr4Target_adc5a0760d610fd0bf9cefe7de010afc4}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_adc5a0760d610fd0bf9cefe7de010afc4}{olsr4\_\-0\_\-1\_\-get\_\-refresh\_\-interval} (uint32\_\-t \&interval)}
\label{classXrlOlsr4Target_adc5a0760d610fd0bf9cefe7de010afc4}

\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} REFRESH\_\-INTERVAL. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a46d5f35b0c6f3b76459913b8028d79f5}{olsr4\_\-0\_\-1\_\-set\_\-tc\_\-interval} (const uint32\_\-t \&interval)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} TC\_\-INTERVAL. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOlsr4Target_a5030d704662d0c568605363bace968e7}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a5030d704662d0c568605363bace968e7}{olsr4\_\-0\_\-1\_\-get\_\-tc\_\-interval} (uint32\_\-t \&interval)}
\label{classXrlOlsr4Target_a5030d704662d0c568605363bace968e7}

\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} TC\_\-INTERVAL. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a27332e603048661f546780ac716de19d}{olsr4\_\-0\_\-1\_\-set\_\-mid\_\-interval} (const uint32\_\-t \&interval)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} MID\_\-INTERVAL. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOlsr4Target_ab1496b917c11665c63cbd73f35afba52}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_ab1496b917c11665c63cbd73f35afba52}{olsr4\_\-0\_\-1\_\-get\_\-mid\_\-interval} (uint32\_\-t \&interval)}
\label{classXrlOlsr4Target_ab1496b917c11665c63cbd73f35afba52}

\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} MID\_\-INTERVAL. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_aca9705f87b1efc35e50f5bab72742b47}{olsr4\_\-0\_\-1\_\-set\_\-hna\_\-interval} (const uint32\_\-t \&interval)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} HNA\_\-INTERVAL. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOlsr4Target_a53ca6642a5701fbc0f5928cb6dfff485}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a53ca6642a5701fbc0f5928cb6dfff485}{olsr4\_\-0\_\-1\_\-get\_\-hna\_\-interval} (uint32\_\-t \&interval)}
\label{classXrlOlsr4Target_a53ca6642a5701fbc0f5928cb6dfff485}

\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} HNA\_\-INTERVAL. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a32b47b8cad02af5f3fcca40360404e93}{olsr4\_\-0\_\-1\_\-set\_\-dup\_\-hold\_\-time} (const uint32\_\-t \&dup\_\-hold\_\-time)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} DUP\_\-HOLD\_\-TIME. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOlsr4Target_a4875da237eaa23c5c8e947d0bca290a3}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a4875da237eaa23c5c8e947d0bca290a3}{olsr4\_\-0\_\-1\_\-get\_\-dup\_\-hold\_\-time} (uint32\_\-t \&dup\_\-hold\_\-time)}
\label{classXrlOlsr4Target_a4875da237eaa23c5c8e947d0bca290a3}

\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} DUP\_\-HOLD\_\-TIME. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_ac4a7c22bd029dda70888c6203ebe868d}{olsr4\_\-0\_\-1\_\-set\_\-main\_\-address} (const \hyperlink{classIPv4}{IPv4} \&addr)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} main address. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOlsr4Target_aff868ebeca9fa010d22641b564ff1f79}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_aff868ebeca9fa010d22641b564ff1f79}{olsr4\_\-0\_\-1\_\-get\_\-main\_\-address} (\hyperlink{classIPv4}{IPv4} \&addr)}
\label{classXrlOlsr4Target_aff868ebeca9fa010d22641b564ff1f79}

\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} main address. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_ada0e2bf7aca03ffde5bac6e1813813f0}{olsr4\_\-0\_\-1\_\-bind\_\-address} (const string \&ifname, const string \&vifname, 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 Create an \hyperlink{classIPv4}{IPv4} address binding for OLSR. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_afa7a64e5202e900f1344ceeb3653b6e4}{olsr4\_\-0\_\-1\_\-unbind\_\-address} (const string \&ifname, const string \&vifname)
\begin{DoxyCompactList}\small\item\em Destroy an \hyperlink{classIPv4}{IPv4} address binding for OLSR. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a0c3e4b468c28f99e5d3d8ef43b80c14e}{olsr4\_\-0\_\-1\_\-set\_\-binding\_\-enabled} (const string \&ifname, const string \&vifname, const bool \&enabled)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} enabled state of an \hyperlink{classIPv4}{IPv4} address binding for OLSR. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a63b52d90a5d9bcd5659882a1e1d7e199}{olsr4\_\-0\_\-1\_\-get\_\-binding\_\-enabled} (const string \&ifname, const string \&vifname, bool \&enabled)
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} state of an \hyperlink{classIPv4}{IPv4} address binding for OLSR. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_aaa69ce23e5c633721691508cb348a067}{olsr4\_\-0\_\-1\_\-change\_\-local\_\-addr\_\-port} (const string \&ifname, const string \&vifname, const \hyperlink{classIPv4}{IPv4} \&local\_\-addr, const uint32\_\-t \&local\_\-port)
\begin{DoxyCompactList}\small\item\em Change \hyperlink{protocolthe-p}{the} UDP address and port where OLSR listens for control traffic on this interface. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_ab701797d810aa041846293699e755cfb}{olsr4\_\-0\_\-1\_\-change\_\-all\_\-nodes\_\-addr\_\-port} (const string \&ifname, const string \&vifname, const \hyperlink{classIPv4}{IPv4} \&all\_\-nodes\_\-addr, const uint32\_\-t \&all\_\-nodes\_\-port)
\begin{DoxyCompactList}\small\item\em Change \hyperlink{protocolthe-p}{the} address where OLSR sends control traffic on \hyperlink{protocolthe-p}{the} given interface. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_ae8f25f551273e19ec8f9a899b820c780}{olsr4\_\-0\_\-1\_\-get\_\-interface\_\-list} (\hyperlink{classXrlAtomList}{XrlAtomList} \&interfaces)
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} list of interfaces currently configured for OLSR. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a262b28291417e05b69c7d0858c21ce3d}{olsr4\_\-0\_\-1\_\-get\_\-interface\_\-info} (const uint32\_\-t \&faceid, string \&ifname, string \&vifname, \hyperlink{classIPv4}{IPv4} \&local\_\-addr, uint32\_\-t \&local\_\-port, \hyperlink{classIPv4}{IPv4} \&all\_\-nodes\_\-addr, uint32\_\-t \&all\_\-nodes\_\-port)
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} per-\/interface information for \hyperlink{protocolthe-p}{the} given interface. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a6561068389fb7b4f19e66d671a5d2c3b}{olsr4\_\-0\_\-1\_\-set\_\-interface\_\-cost} (const string \&ifname, const string \&vifname, const uint32\_\-t \&cost)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} edge cost of an interface/vif. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_aba557fac710800351f5e038f49475bb7}{olsr4\_\-0\_\-1\_\-get\_\-interface\_\-stats} (const string \&ifname, const string \&vifname, uint32\_\-t \&bad\_\-packets, uint32\_\-t \&bad\_\-messages, uint32\_\-t \&messages\_\-from\_\-self, uint32\_\-t \&unknown\_\-messages, uint32\_\-t \&duplicates, uint32\_\-t \&forwarded)
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} per-\/interface statistics for \hyperlink{protocolthe-p}{the} given interface. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a0afb8f152cc2f7ce4b363bda71e51550}{olsr4\_\-0\_\-1\_\-get\_\-link\_\-list} (\hyperlink{classXrlAtomList}{XrlAtomList} \&links)
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} list of one-\/hop links. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a64ebba2b64c83572e5d274fc8aa50b2f}{olsr4\_\-0\_\-1\_\-get\_\-link\_\-info} (const uint32\_\-t \&linkid, \hyperlink{classIPv4}{IPv4} \&local\_\-addr, \hyperlink{classIPv4}{IPv4} \&remote\_\-addr, \hyperlink{classIPv4}{IPv4} \&main\_\-addr, uint32\_\-t \&link\_\-type, uint32\_\-t \&sym\_\-time, uint32\_\-t \&asym\_\-time, uint32\_\-t \&hold\_\-time)
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} information for a one-\/hop link. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_abe8e582b432e9268f70b860b2a65d336}{olsr4\_\-0\_\-1\_\-get\_\-neighbor\_\-list} (\hyperlink{classXrlAtomList}{XrlAtomList} \&neighbors)
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} list of one-\/hop neighbors. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a69d80240fb532f290abdb694869193e1}{olsr4\_\-0\_\-1\_\-get\_\-neighbor\_\-info} (const uint32\_\-t \&nid, \hyperlink{classIPv4}{IPv4} \&main\_\-addr, uint32\_\-t \&willingness, uint32\_\-t \&degree, uint32\_\-t \&link\_\-count, uint32\_\-t \&twohop\_\-link\_\-count, bool \&is\_\-advertised, bool \&is\_\-sym, bool \&is\_\-mpr, bool \&is\_\-mpr\_\-selector)
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} information for a one-\/hop neighbor. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a7a4212818c05600d21c6232c9e977a9f}{olsr4\_\-0\_\-1\_\-get\_\-twohop\_\-link\_\-list} (\hyperlink{classXrlAtomList}{XrlAtomList} \&twohop\_\-links)
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} list of two-\/hop links. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_af2ef17739b9c76517a13f06aab359b5c}{olsr4\_\-0\_\-1\_\-get\_\-twohop\_\-link\_\-info} (const uint32\_\-t \&tlid, uint32\_\-t \&last\_\-face\_\-id, \hyperlink{classIPv4}{IPv4} \&nexthop\_\-addr, \hyperlink{classIPv4}{IPv4} \&dest\_\-addr, uint32\_\-t \&hold\_\-time)
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} information for a two-\/hop link. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_ae1d937ed580415f3d60e82f4fb154b90}{olsr4\_\-0\_\-1\_\-get\_\-twohop\_\-neighbor\_\-list} (\hyperlink{classXrlAtomList}{XrlAtomList} \&twohop\_\-neighbors)
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} list of two-\/hop neighbors. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_add81d624afc9a563dcf11622532fc78e}{olsr4\_\-0\_\-1\_\-get\_\-twohop\_\-neighbor\_\-info} (const uint32\_\-t \&tnid, \hyperlink{classIPv4}{IPv4} \&main\_\-addr, bool \&is\_\-strict, uint32\_\-t \&link\_\-count, uint32\_\-t \&reachability, uint32\_\-t \&coverage)
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} information for a two-\/hop neighbor. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_ab4aff6ff24cb59f51bc6b024289eca97}{olsr4\_\-0\_\-1\_\-get\_\-mid\_\-entry\_\-list} (\hyperlink{classXrlAtomList}{XrlAtomList} \&mid\_\-entries)
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} list of learned Multiple Interface Declaration (MID) entries. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a178ac2f543c1bac84918787fb945b324}{olsr4\_\-0\_\-1\_\-get\_\-mid\_\-entry} (const uint32\_\-t \&midid, \hyperlink{classIPv4}{IPv4} \&main\_\-addr, \hyperlink{classIPv4}{IPv4} \&iface\_\-addr, uint32\_\-t \&distance, uint32\_\-t \&hold\_\-time)
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} information contained in a MID entry. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_aca768a04bb410efd96d0465b3d356c61}{olsr4\_\-0\_\-1\_\-get\_\-tc\_\-entry\_\-list} (\hyperlink{classXrlAtomList}{XrlAtomList} \&tc\_\-entries)
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} list of learned Topology Control (TC) entries. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a329ce47bce8cc292c7f2506bf458c69e}{olsr4\_\-0\_\-1\_\-get\_\-tc\_\-entry} (const uint32\_\-t \&tcid, \hyperlink{classIPv4}{IPv4} \&destination, \hyperlink{classIPv4}{IPv4} \&lasthop, uint32\_\-t \&distance, uint32\_\-t \&seqno, uint32\_\-t \&hold\_\-time)
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} information contained in a TC entry. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_a548aea2f1226323360634764ab9bae43}{olsr4\_\-0\_\-1\_\-get\_\-hna\_\-entry\_\-list} (\hyperlink{classXrlAtomList}{XrlAtomList} \&hna\_\-entries)
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} list of learned external route (HNA) entries. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOlsr4Target_aef8579f84d32ce99c85620722b889243}{olsr4\_\-0\_\-1\_\-get\_\-hna\_\-entry} (const uint32\_\-t \&hnaid, \hyperlink{classIPNet}{IPv4Net} \&destination, \hyperlink{classIPv4}{IPv4} \&lasthop, uint32\_\-t \&distance, uint32\_\-t \&hold\_\-time)
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} information contained in a HNA entry. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classXrlOlsr4Target_ad6498833ef7e8b722d7f0a863363cdea}{
\hyperlink{classOlsr}{Olsr} \& {\bfseries \_\-olsr}}
\label{classXrlOlsr4Target_ad6498833ef7e8b722d7f0a863363cdea}

\item 
\hypertarget{classXrlOlsr4Target_ac26cbe1e21c090daf438af53071e510c}{
\hyperlink{classXrlIO}{XrlIO} \& {\bfseries \_\-xrl\_\-io}}
\label{classXrlOlsr4Target_ac26cbe1e21c090daf438af53071e510c}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Concrete implementation of OLSRv1/IPv4 XRL target. 

\subsection{Member Function Documentation}
\hypertarget{classXrlOlsr4Target_aa2feb7b110ce96da7bd51f12b53070ba}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!common\_\-0\_\-1\_\-startup@{common\_\-0\_\-1\_\-startup}}
\index{common\_\-0\_\-1\_\-startup@{common\_\-0\_\-1\_\-startup}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{common\_\-0\_\-1\_\-startup}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::common\_\-0\_\-1\_\-startup (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline, virtual\mbox{]}}}}
\label{classXrlOlsr4Target_aa2feb7b110ce96da7bd51f12b53070ba}


Pure-\/virtual function that needs to be implemented to: 

Request a startup of \hyperlink{classXrl}{Xrl} Target 

Implements \hyperlink{structXrlOlsr4TargetBase_acce09093fa89423b913e58fb5a93ec48}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_a5b3fdbc9a41a8fbcaef137665b329c89}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!finder\_\-event\_\-observer\_\-0\_\-1\_\-xrl\_\-target\_\-birth@{finder\_\-event\_\-observer\_\-0\_\-1\_\-xrl\_\-target\_\-birth}}
\index{finder\_\-event\_\-observer\_\-0\_\-1\_\-xrl\_\-target\_\-birth@{finder\_\-event\_\-observer\_\-0\_\-1\_\-xrl\_\-target\_\-birth}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{finder\_\-event\_\-observer\_\-0\_\-1\_\-xrl\_\-target\_\-birth}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::finder\_\-event\_\-observer\_\-0\_\-1\_\-xrl\_\-target\_\-birth (
\begin{DoxyParamCaption}
\item[{const string \&}]{target\_\-class, }
\item[{const string \&}]{target\_\-instance}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_a5b3fdbc9a41a8fbcaef137665b329c89}


Announce target birth to observer. 


\begin{DoxyParams}{Parameters}
{\em target\_\-class} & \hyperlink{protocolthe-p}{the} target class name. \\
\hline
{\em target\_\-instance} & \hyperlink{protocolthe-p}{the} target instance name. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_af51e84d0a8714322bda238421669dfa1}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_a5e4a689a30810c766bde9124df2bd94e}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!finder\_\-event\_\-observer\_\-0\_\-1\_\-xrl\_\-target\_\-death@{finder\_\-event\_\-observer\_\-0\_\-1\_\-xrl\_\-target\_\-death}}
\index{finder\_\-event\_\-observer\_\-0\_\-1\_\-xrl\_\-target\_\-death@{finder\_\-event\_\-observer\_\-0\_\-1\_\-xrl\_\-target\_\-death}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{finder\_\-event\_\-observer\_\-0\_\-1\_\-xrl\_\-target\_\-death}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::finder\_\-event\_\-observer\_\-0\_\-1\_\-xrl\_\-target\_\-death (
\begin{DoxyParamCaption}
\item[{const string \&}]{target\_\-class, }
\item[{const string \&}]{target\_\-instance}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_a5e4a689a30810c766bde9124df2bd94e}


Announce target death to observer. 


\begin{DoxyParams}{Parameters}
{\em target\_\-class} & \hyperlink{protocolthe-p}{the} target class name. \\
\hline
{\em target\_\-instance} & \hyperlink{protocolthe-p}{the} target instance name. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_ac3ad1612419e13000d6fec054567ec4c}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_ada0e2bf7aca03ffde5bac6e1813813f0}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!olsr4\_\-0\_\-1\_\-bind\_\-address@{olsr4\_\-0\_\-1\_\-bind\_\-address}}
\index{olsr4\_\-0\_\-1\_\-bind\_\-address@{olsr4\_\-0\_\-1\_\-bind\_\-address}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{olsr4\_\-0\_\-1\_\-bind\_\-address}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::olsr4\_\-0\_\-1\_\-bind\_\-address (
\begin{DoxyParamCaption}
\item[{const string \&}]{ifname, }
\item[{const string \&}]{vifname, }
\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}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_ada0e2bf7aca03ffde5bac6e1813813f0}


Create an \hyperlink{classIPv4}{IPv4} address binding for OLSR. 

OLSR must be bound to a given protocol address on each interface, which means interface bindings in OLSRv1 must be keyed by interface name as well as protocol address.

Only a single \hyperlink{classIPv4}{IPv4} address may be thus bound, and \hyperlink{protocolthe-p}{the} address must be supplied when \hyperlink{protocolthe-p}{the} binding is created. This is to workaround \hyperlink{protocolthe-p}{the} lack of RFC 3927 link-\/scoped \hyperlink{classIPv4}{IPv4} capability in most \hyperlink{classIPv4}{IPv4} implementations.

The addition of 
\begin{DoxyParams}{Parameters}
{\em local\_\-addr} & is not instantaneous. OLSR has to instantiate state in \hyperlink{protocolthe-p}{the} FEA to send and receive packets. Once instantiated, \hyperlink{protocolthe-p}{the} address must be explicitly enabled with \hyperlink{protocolthe-p}{the} set\_\-binding\_\-enabled XRL.\\
\hline
{\em ifname} & \hyperlink{protocolthe-p}{the} interface that owns vif that has local\_\-addr \\
\hline
{\em vifname} & interface owning local\_\-addr \\
\hline
{\em local\_\-addr} & \hyperlink{protocolthe-p}{the} address to be added. \\
\hline
{\em local\_\-port} & \hyperlink{protocolthe-p}{the} port to listen for control traffic on. \\
\hline
{\em all\_\-nodes\_\-addr} & \hyperlink{protocolthe-p}{the} address to use for transmission. \\
\hline
{\em all\_\-nodes\_\-port} & \hyperlink{protocolthe-p}{the} port to use for transmission. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_a670ed5f679f352f142c373d38d0a505c}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_ab701797d810aa041846293699e755cfb}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!olsr4\_\-0\_\-1\_\-change\_\-all\_\-nodes\_\-addr\_\-port@{olsr4\_\-0\_\-1\_\-change\_\-all\_\-nodes\_\-addr\_\-port}}
\index{olsr4\_\-0\_\-1\_\-change\_\-all\_\-nodes\_\-addr\_\-port@{olsr4\_\-0\_\-1\_\-change\_\-all\_\-nodes\_\-addr\_\-port}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{olsr4\_\-0\_\-1\_\-change\_\-all\_\-nodes\_\-addr\_\-port}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::olsr4\_\-0\_\-1\_\-change\_\-all\_\-nodes\_\-addr\_\-port (
\begin{DoxyParamCaption}
\item[{const string \&}]{ifname, }
\item[{const string \&}]{vifname, }
\item[{const {\bf IPv4} \&}]{all\_\-nodes\_\-addr, }
\item[{const uint32\_\-t \&}]{all\_\-nodes\_\-port}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_ab701797d810aa041846293699e755cfb}


Change \hyperlink{protocolthe-p}{the} address where OLSR sends control traffic on \hyperlink{protocolthe-p}{the} given interface. 

By default OLSR will attempt to use \hyperlink{protocolthe-p}{the} all-\/ones broadcast address. Currently multicast addresses are NOT supported.


\begin{DoxyParams}{Parameters}
{\em ifname} & \hyperlink{protocolthe-p}{the} name of \hyperlink{protocolthe-p}{the} interface. \\
\hline
{\em vifname} & \hyperlink{protocolthe-p}{the} name of \hyperlink{protocolthe-p}{the} vif. \\
\hline
{\em all\_\-nodes\_\-addr} & \hyperlink{protocolthe-p}{the} address to use. \\
\hline
{\em all\_\-nodes\_\-port} & \hyperlink{protocolthe-p}{the} port to use. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_a52a38531a1c01c2fc284717e6dbe7335}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_aaa69ce23e5c633721691508cb348a067}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!olsr4\_\-0\_\-1\_\-change\_\-local\_\-addr\_\-port@{olsr4\_\-0\_\-1\_\-change\_\-local\_\-addr\_\-port}}
\index{olsr4\_\-0\_\-1\_\-change\_\-local\_\-addr\_\-port@{olsr4\_\-0\_\-1\_\-change\_\-local\_\-addr\_\-port}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{olsr4\_\-0\_\-1\_\-change\_\-local\_\-addr\_\-port}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::olsr4\_\-0\_\-1\_\-change\_\-local\_\-addr\_\-port (
\begin{DoxyParamCaption}
\item[{const string \&}]{ifname, }
\item[{const string \&}]{vifname, }
\item[{const {\bf IPv4} \&}]{local\_\-addr, }
\item[{const uint32\_\-t \&}]{local\_\-port}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_aaa69ce23e5c633721691508cb348a067}


Change \hyperlink{protocolthe-p}{the} UDP address and port where OLSR listens for control traffic on this interface. 

In order to do this \hyperlink{protocolthe-p}{the} process must tell \hyperlink{protocolthe-p}{the} FEA to tear down and re-\/bind \hyperlink{protocolthe-p}{the} control traffic socket.


\begin{DoxyParams}{Parameters}
{\em ifname} & \hyperlink{protocolthe-p}{the} name of \hyperlink{protocolthe-p}{the} interface. \\
\hline
{\em vifname} & \hyperlink{protocolthe-p}{the} name of \hyperlink{protocolthe-p}{the} vif. \\
\hline
{\em local\_\-addr} & \hyperlink{protocolthe-p}{the} new local \hyperlink{classIPv4}{IPv4} address. \\
\hline
{\em local\_\-port} & \hyperlink{protocolthe-p}{the} new local port number. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_a35f2e79ad4b14e887d63f21e8f126d5e}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_a63b52d90a5d9bcd5659882a1e1d7e199}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!olsr4\_\-0\_\-1\_\-get\_\-binding\_\-enabled@{olsr4\_\-0\_\-1\_\-get\_\-binding\_\-enabled}}
\index{olsr4\_\-0\_\-1\_\-get\_\-binding\_\-enabled@{olsr4\_\-0\_\-1\_\-get\_\-binding\_\-enabled}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{olsr4\_\-0\_\-1\_\-get\_\-binding\_\-enabled}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::olsr4\_\-0\_\-1\_\-get\_\-binding\_\-enabled (
\begin{DoxyParamCaption}
\item[{const string \&}]{ifname, }
\item[{const string \&}]{vifname, }
\item[{bool \&}]{enabled}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_a63b52d90a5d9bcd5659882a1e1d7e199}


Get \hyperlink{protocolthe-p}{the} state of an \hyperlink{classIPv4}{IPv4} address binding for OLSR. 


\begin{DoxyParams}{Parameters}
{\em ifname} & \hyperlink{protocolthe-p}{the} interface to query. \\
\hline
{\em vifname} & \hyperlink{protocolthe-p}{the} vif to qurery \\
\hline
{\em enabled} & true if OLSR is configured administratively up on \hyperlink{protocolthe-p}{the} given interface. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_abfcf66191e73a27e744cee203c7392d0}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_aef8579f84d32ce99c85620722b889243}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!olsr4\_\-0\_\-1\_\-get\_\-hna\_\-entry@{olsr4\_\-0\_\-1\_\-get\_\-hna\_\-entry}}
\index{olsr4\_\-0\_\-1\_\-get\_\-hna\_\-entry@{olsr4\_\-0\_\-1\_\-get\_\-hna\_\-entry}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{olsr4\_\-0\_\-1\_\-get\_\-hna\_\-entry}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::olsr4\_\-0\_\-1\_\-get\_\-hna\_\-entry (
\begin{DoxyParamCaption}
\item[{const uint32\_\-t \&}]{hnaid, }
\item[{{\bf IPv4Net} \&}]{destination, }
\item[{{\bf IPv4} \&}]{lasthop, }
\item[{uint32\_\-t \&}]{distance, }
\item[{uint32\_\-t \&}]{hold\_\-time}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_aef8579f84d32ce99c85620722b889243}


Get \hyperlink{protocolthe-p}{the} information contained in a HNA entry. 


\begin{DoxyParams}{Parameters}
{\em hnaid} & HNA entry ID returned by get\_\-hna\_\-entry\_\-list. \\
\hline
{\em destination} & \hyperlink{protocolthe-p}{the} main address of \hyperlink{protocolthe-p}{the} advertised destination. \\
\hline
{\em lasthop} & \hyperlink{protocolthe-p}{the} main address of \hyperlink{protocolthe-p}{the} node advertising this entry. \\
\hline
{\em distance} & \hyperlink{protocolthe-p}{the} distance measured between this node and \hyperlink{protocolthe-p}{the} origin of \hyperlink{protocolthe-p}{the} TC packet containing this entry. \\
\hline
{\em hold\_\-time} & \hyperlink{protocolthe-p}{the} time in seconds until this entry expires. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_a48c829c972ad70d4b2091a80b793fd55}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_a548aea2f1226323360634764ab9bae43}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!olsr4\_\-0\_\-1\_\-get\_\-hna\_\-entry\_\-list@{olsr4\_\-0\_\-1\_\-get\_\-hna\_\-entry\_\-list}}
\index{olsr4\_\-0\_\-1\_\-get\_\-hna\_\-entry\_\-list@{olsr4\_\-0\_\-1\_\-get\_\-hna\_\-entry\_\-list}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{olsr4\_\-0\_\-1\_\-get\_\-hna\_\-entry\_\-list}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::olsr4\_\-0\_\-1\_\-get\_\-hna\_\-entry\_\-list (
\begin{DoxyParamCaption}
\item[{{\bf XrlAtomList} \&}]{hna\_\-entries}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_a548aea2f1226323360634764ab9bae43}


Get \hyperlink{protocolthe-p}{the} list of learned external route (HNA) entries. 

Return a list of u32 type values. Each value is an internal ID that can be used with \hyperlink{protocolthe-p}{the} get\_\-hna\_\-entry XRL. 

Implements \hyperlink{structXrlOlsr4TargetBase_a967601852f68ca112ba36f39ae0db3bd}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_a262b28291417e05b69c7d0858c21ce3d}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!olsr4\_\-0\_\-1\_\-get\_\-interface\_\-info@{olsr4\_\-0\_\-1\_\-get\_\-interface\_\-info}}
\index{olsr4\_\-0\_\-1\_\-get\_\-interface\_\-info@{olsr4\_\-0\_\-1\_\-get\_\-interface\_\-info}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{olsr4\_\-0\_\-1\_\-get\_\-interface\_\-info}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::olsr4\_\-0\_\-1\_\-get\_\-interface\_\-info (
\begin{DoxyParamCaption}
\item[{const uint32\_\-t \&}]{faceid, }
\item[{string \&}]{ifname, }
\item[{string \&}]{vifname, }
\item[{{\bf IPv4} \&}]{local\_\-addr, }
\item[{uint32\_\-t \&}]{local\_\-port, }
\item[{{\bf IPv4} \&}]{all\_\-nodes\_\-addr, }
\item[{uint32\_\-t \&}]{all\_\-nodes\_\-port}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_a262b28291417e05b69c7d0858c21ce3d}


Get \hyperlink{protocolthe-p}{the} per-\/interface information for \hyperlink{protocolthe-p}{the} given interface. 


\begin{DoxyParams}{Parameters}
{\em faceid} & interface ID returned by get\_\-interface\_\-list. \\
\hline
{\em ifname} & \hyperlink{protocolthe-p}{the} name of \hyperlink{protocolthe-p}{the} interface. \\
\hline
{\em vifname} & \hyperlink{protocolthe-p}{the} name of \hyperlink{protocolthe-p}{the} vif. \\
\hline
{\em local\_\-addr} & \hyperlink{protocolthe-p}{the} \hyperlink{classIPv4}{IPv4} address where OLSR is listening. \\
\hline
{\em local\_\-port} & \hyperlink{protocolthe-p}{the} UDP port where OLSR is listening. \\
\hline
{\em all\_\-nodes\_\-addr} & \hyperlink{protocolthe-p}{the} \hyperlink{classIPv4}{IPv4} address where OLSR sends packets. \\
\hline
{\em all\_\-nodes\_\-port} & \hyperlink{protocolthe-p}{the} UDP port where OLSR sends packets. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_a83c5cb702ac1267a275f9932d4009b7e}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_ae8f25f551273e19ec8f9a899b820c780}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!olsr4\_\-0\_\-1\_\-get\_\-interface\_\-list@{olsr4\_\-0\_\-1\_\-get\_\-interface\_\-list}}
\index{olsr4\_\-0\_\-1\_\-get\_\-interface\_\-list@{olsr4\_\-0\_\-1\_\-get\_\-interface\_\-list}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{olsr4\_\-0\_\-1\_\-get\_\-interface\_\-list}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::olsr4\_\-0\_\-1\_\-get\_\-interface\_\-list (
\begin{DoxyParamCaption}
\item[{{\bf XrlAtomList} \&}]{interfaces}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_ae8f25f551273e19ec8f9a899b820c780}


Get \hyperlink{protocolthe-p}{the} list of interfaces currently configured for OLSR. 

Return a list of u32 type values. Each value is an internal ID that can be used with \hyperlink{protocolthe-p}{the} get\_\-interface\_\-info XRL. 

Implements \hyperlink{structXrlOlsr4TargetBase_adbd1f9a13235543eec4ffdb16e876240}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_aba557fac710800351f5e038f49475bb7}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!olsr4\_\-0\_\-1\_\-get\_\-interface\_\-stats@{olsr4\_\-0\_\-1\_\-get\_\-interface\_\-stats}}
\index{olsr4\_\-0\_\-1\_\-get\_\-interface\_\-stats@{olsr4\_\-0\_\-1\_\-get\_\-interface\_\-stats}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{olsr4\_\-0\_\-1\_\-get\_\-interface\_\-stats}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::olsr4\_\-0\_\-1\_\-get\_\-interface\_\-stats (
\begin{DoxyParamCaption}
\item[{const string \&}]{ifname, }
\item[{const string \&}]{vifname, }
\item[{uint32\_\-t \&}]{bad\_\-packets, }
\item[{uint32\_\-t \&}]{bad\_\-messages, }
\item[{uint32\_\-t \&}]{messages\_\-from\_\-self, }
\item[{uint32\_\-t \&}]{unknown\_\-messages, }
\item[{uint32\_\-t \&}]{duplicates, }
\item[{uint32\_\-t \&}]{forwarded}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_aba557fac710800351f5e038f49475bb7}


Get \hyperlink{protocolthe-p}{the} per-\/interface statistics for \hyperlink{protocolthe-p}{the} given interface. 


\begin{DoxyParams}{Parameters}
{\em ifname} & \hyperlink{protocolthe-p}{the} interface to query. \\
\hline
{\em vifname} & \hyperlink{protocolthe-p}{the} vif to qurery \\
\hline
{\em bad\_\-packets} & \hyperlink{protocolthe-p}{the} number of bad packets received. \\
\hline
{\em bad\_\-messages} & \hyperlink{protocolthe-p}{the} number of bad messages received. \\
\hline
{\em messages\_\-from\_\-self} & \hyperlink{protocolthe-p}{the} number of messages which appeared to be from our own main address. \\
\hline
{\em unknown\_\-messages} & \hyperlink{protocolthe-p}{the} number of messages which could not be decoded. \\
\hline
{\em duplicates} & \hyperlink{protocolthe-p}{the} number of messages which appeared to be duplicates, according to histogram based duplicate detection. \\
\hline
{\em forwarded} & \hyperlink{protocolthe-p}{the} number of messages which have been forwarded to \hyperlink{protocolthe-p}{the} rest of \hyperlink{protocolthe-p}{the} OLSR topology on this interface. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_a58d7a84b895d1c28ea91aeb8f9f82c17}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_a64ebba2b64c83572e5d274fc8aa50b2f}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!olsr4\_\-0\_\-1\_\-get\_\-link\_\-info@{olsr4\_\-0\_\-1\_\-get\_\-link\_\-info}}
\index{olsr4\_\-0\_\-1\_\-get\_\-link\_\-info@{olsr4\_\-0\_\-1\_\-get\_\-link\_\-info}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{olsr4\_\-0\_\-1\_\-get\_\-link\_\-info}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::olsr4\_\-0\_\-1\_\-get\_\-link\_\-info (
\begin{DoxyParamCaption}
\item[{const uint32\_\-t \&}]{linkid, }
\item[{{\bf IPv4} \&}]{local\_\-addr, }
\item[{{\bf IPv4} \&}]{remote\_\-addr, }
\item[{{\bf IPv4} \&}]{main\_\-addr, }
\item[{uint32\_\-t \&}]{link\_\-type, }
\item[{uint32\_\-t \&}]{sym\_\-time, }
\item[{uint32\_\-t \&}]{asym\_\-time, }
\item[{uint32\_\-t \&}]{hold\_\-time}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_a64ebba2b64c83572e5d274fc8aa50b2f}


Get \hyperlink{protocolthe-p}{the} information for a one-\/hop link. 


\begin{DoxyParams}{Parameters}
{\em linkid} & Link entry ID returned by get\_\-link\_\-list. \\
\hline
{\em local\_\-addr} & \hyperlink{protocolthe-p}{the} interface address of \hyperlink{protocolthe-p}{the} local end of this link. \\
\hline
{\em remote\_\-addr} & \hyperlink{protocolthe-p}{the} interface address of \hyperlink{protocolthe-p}{the} remote end of this link. \\
\hline
{\em main\_\-addr} & \hyperlink{protocolthe-p}{the} main address of \hyperlink{protocolthe-p}{the} neighbor at \hyperlink{protocolthe-p}{the} remote end of this link. \\
\hline
{\em link\_\-type} & \hyperlink{protocolthe-p}{the} type of this link. \\
\hline
{\em sym\_\-time} & \hyperlink{protocolthe-p}{the} time in seconds for which this link will be considered symmetric. \\
\hline
{\em asym\_\-time} & \hyperlink{protocolthe-p}{the} time in seconds for which this link will be considered asymmetric. \\
\hline
{\em hold\_\-time} & \hyperlink{protocolthe-p}{the} time in seconds until this link expires. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_ab85648bae9c50250c2bbc35b18c6fb49}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_a0afb8f152cc2f7ce4b363bda71e51550}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!olsr4\_\-0\_\-1\_\-get\_\-link\_\-list@{olsr4\_\-0\_\-1\_\-get\_\-link\_\-list}}
\index{olsr4\_\-0\_\-1\_\-get\_\-link\_\-list@{olsr4\_\-0\_\-1\_\-get\_\-link\_\-list}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{olsr4\_\-0\_\-1\_\-get\_\-link\_\-list}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::olsr4\_\-0\_\-1\_\-get\_\-link\_\-list (
\begin{DoxyParamCaption}
\item[{{\bf XrlAtomList} \&}]{links}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_a0afb8f152cc2f7ce4b363bda71e51550}


Get \hyperlink{protocolthe-p}{the} list of one-\/hop links. 

Return a list of u32 type values. Each value is an internal ID that can be used with \hyperlink{protocolthe-p}{the} get\_\-link\_\-info XRL. 

Implements \hyperlink{structXrlOlsr4TargetBase_afa357b9f3f15c4e74a3d042e40389657}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_a178ac2f543c1bac84918787fb945b324}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!olsr4\_\-0\_\-1\_\-get\_\-mid\_\-entry@{olsr4\_\-0\_\-1\_\-get\_\-mid\_\-entry}}
\index{olsr4\_\-0\_\-1\_\-get\_\-mid\_\-entry@{olsr4\_\-0\_\-1\_\-get\_\-mid\_\-entry}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{olsr4\_\-0\_\-1\_\-get\_\-mid\_\-entry}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::olsr4\_\-0\_\-1\_\-get\_\-mid\_\-entry (
\begin{DoxyParamCaption}
\item[{const uint32\_\-t \&}]{midid, }
\item[{{\bf IPv4} \&}]{main\_\-addr, }
\item[{{\bf IPv4} \&}]{iface\_\-addr, }
\item[{uint32\_\-t \&}]{distance, }
\item[{uint32\_\-t \&}]{hold\_\-time}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_a178ac2f543c1bac84918787fb945b324}


Get \hyperlink{protocolthe-p}{the} information contained in a MID entry. 


\begin{DoxyParams}{Parameters}
{\em midid} & MID entry ID returned by get\_\-mid\_\-entry\_\-list. \\
\hline
{\em main\_\-addr} & \hyperlink{protocolthe-p}{the} main address of \hyperlink{protocolthe-p}{the} OLSR node \\
\hline
{\em iface\_\-addr} & \hyperlink{protocolthe-p}{the} interface address being advertised. \\
\hline
{\em distance} & \hyperlink{protocolthe-p}{the} distance measured between this node and \hyperlink{protocolthe-p}{the} origin of \hyperlink{protocolthe-p}{the} MID packet containing this entry. \\
\hline
{\em hold\_\-time} & \hyperlink{protocolthe-p}{the} time in seconds until this entry expires. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_a7b9fbc538e9df0823bcdf50d06a65c7a}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_ab4aff6ff24cb59f51bc6b024289eca97}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!olsr4\_\-0\_\-1\_\-get\_\-mid\_\-entry\_\-list@{olsr4\_\-0\_\-1\_\-get\_\-mid\_\-entry\_\-list}}
\index{olsr4\_\-0\_\-1\_\-get\_\-mid\_\-entry\_\-list@{olsr4\_\-0\_\-1\_\-get\_\-mid\_\-entry\_\-list}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{olsr4\_\-0\_\-1\_\-get\_\-mid\_\-entry\_\-list}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::olsr4\_\-0\_\-1\_\-get\_\-mid\_\-entry\_\-list (
\begin{DoxyParamCaption}
\item[{{\bf XrlAtomList} \&}]{mid\_\-entries}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_ab4aff6ff24cb59f51bc6b024289eca97}


Get \hyperlink{protocolthe-p}{the} list of learned Multiple Interface Declaration (MID) entries. 

Return a list of u32 type values. Each value is an internal ID that can be used with \hyperlink{protocolthe-p}{the} get\_\-mid\_\-entry XRL. 

Implements \hyperlink{structXrlOlsr4TargetBase_a93bb47fff88d92f02e5918f4709a8f02}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_a69d80240fb532f290abdb694869193e1}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!olsr4\_\-0\_\-1\_\-get\_\-neighbor\_\-info@{olsr4\_\-0\_\-1\_\-get\_\-neighbor\_\-info}}
\index{olsr4\_\-0\_\-1\_\-get\_\-neighbor\_\-info@{olsr4\_\-0\_\-1\_\-get\_\-neighbor\_\-info}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{olsr4\_\-0\_\-1\_\-get\_\-neighbor\_\-info}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::olsr4\_\-0\_\-1\_\-get\_\-neighbor\_\-info (
\begin{DoxyParamCaption}
\item[{const uint32\_\-t \&}]{nid, }
\item[{{\bf IPv4} \&}]{main\_\-addr, }
\item[{uint32\_\-t \&}]{willingness, }
\item[{uint32\_\-t \&}]{degree, }
\item[{uint32\_\-t \&}]{link\_\-count, }
\item[{uint32\_\-t \&}]{twohop\_\-link\_\-count, }
\item[{bool \&}]{is\_\-advertised, }
\item[{bool \&}]{is\_\-sym, }
\item[{bool \&}]{is\_\-mpr, }
\item[{bool \&}]{is\_\-mpr\_\-selector}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_a69d80240fb532f290abdb694869193e1}


Get \hyperlink{protocolthe-p}{the} information for a one-\/hop neighbor. 


\begin{DoxyParams}{Parameters}
{\em nid} & \hyperlink{classNeighbor}{Neighbor} entry ID returned by get\_\-neighbor\_\-list. \\
\hline
{\em main\_\-addr} & \hyperlink{protocolthe-p}{the} main address of this neighbor. \\
\hline
{\em willingness} & \hyperlink{protocolthe-p}{the} willingness of this neighbor to forward. \\
\hline
{\em degree} & \hyperlink{protocolthe-p}{the} number of symmetric strict neighbors of this neighbor, excluding one-\/hop neighbors and this node. \\
\hline
{\em link\_\-count} & \hyperlink{protocolthe-p}{the} number of links to this neighbor. \\
\hline
{\em twohop\_\-link\_\-count} & \hyperlink{protocolthe-p}{the} number of two-\/hop links which transit this neighbor as next-\/hop. \\
\hline
{\em is\_\-advertised} & true if this neighbor is in \hyperlink{protocolthe-p}{the} Advertised \hyperlink{classNeighbor}{Neighbor} Set of this node. \\
\hline
{\em is\_\-sym} & true if this neighbor is symmetric. \\
\hline
{\em is\_\-mpr} & true if this neighbor is selected as an MPR by this node. \\
\hline
{\em is\_\-mpr\_\-selector} & true if this neighbor chooses this node as an MPR. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_a9c09893c6170138165bcfdc5ea0413d5}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_abe8e582b432e9268f70b860b2a65d336}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!olsr4\_\-0\_\-1\_\-get\_\-neighbor\_\-list@{olsr4\_\-0\_\-1\_\-get\_\-neighbor\_\-list}}
\index{olsr4\_\-0\_\-1\_\-get\_\-neighbor\_\-list@{olsr4\_\-0\_\-1\_\-get\_\-neighbor\_\-list}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{olsr4\_\-0\_\-1\_\-get\_\-neighbor\_\-list}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::olsr4\_\-0\_\-1\_\-get\_\-neighbor\_\-list (
\begin{DoxyParamCaption}
\item[{{\bf XrlAtomList} \&}]{neighbors}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_abe8e582b432e9268f70b860b2a65d336}


Get \hyperlink{protocolthe-p}{the} list of one-\/hop neighbors. 

Return a list of u32 type values. Each value is an internal ID that can be used with \hyperlink{protocolthe-p}{the} get\_\-neighbor\_\-info XRL. 

Implements \hyperlink{structXrlOlsr4TargetBase_a69fb2db14141d075ecb351cb5638296d}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_a329ce47bce8cc292c7f2506bf458c69e}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!olsr4\_\-0\_\-1\_\-get\_\-tc\_\-entry@{olsr4\_\-0\_\-1\_\-get\_\-tc\_\-entry}}
\index{olsr4\_\-0\_\-1\_\-get\_\-tc\_\-entry@{olsr4\_\-0\_\-1\_\-get\_\-tc\_\-entry}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{olsr4\_\-0\_\-1\_\-get\_\-tc\_\-entry}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::olsr4\_\-0\_\-1\_\-get\_\-tc\_\-entry (
\begin{DoxyParamCaption}
\item[{const uint32\_\-t \&}]{tcid, }
\item[{{\bf IPv4} \&}]{destination, }
\item[{{\bf IPv4} \&}]{lasthop, }
\item[{uint32\_\-t \&}]{distance, }
\item[{uint32\_\-t \&}]{seqno, }
\item[{uint32\_\-t \&}]{hold\_\-time}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_a329ce47bce8cc292c7f2506bf458c69e}


Get \hyperlink{protocolthe-p}{the} information contained in a TC entry. 


\begin{DoxyParams}{Parameters}
{\em tcid} & TC entry ID returned by get\_\-tc\_\-entry\_\-list. \\
\hline
{\em destination} & \hyperlink{protocolthe-p}{the} main address of \hyperlink{protocolthe-p}{the} advertised destination. \\
\hline
{\em lasthop} & \hyperlink{protocolthe-p}{the} main address of \hyperlink{protocolthe-p}{the} node advertising this entry. \\
\hline
{\em distance} & \hyperlink{protocolthe-p}{the} distance measured between this node and \hyperlink{protocolthe-p}{the} origin of \hyperlink{protocolthe-p}{the} TC packet containing this entry. \\
\hline
{\em seqno} & \hyperlink{protocolthe-p}{the} advertised sequence number of this entry. \\
\hline
{\em hold\_\-time} & \hyperlink{protocolthe-p}{the} time in seconds until this entry expires. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_a54b4941cc00b4de1d1e0f9480b215e5e}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_aca768a04bb410efd96d0465b3d356c61}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!olsr4\_\-0\_\-1\_\-get\_\-tc\_\-entry\_\-list@{olsr4\_\-0\_\-1\_\-get\_\-tc\_\-entry\_\-list}}
\index{olsr4\_\-0\_\-1\_\-get\_\-tc\_\-entry\_\-list@{olsr4\_\-0\_\-1\_\-get\_\-tc\_\-entry\_\-list}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{olsr4\_\-0\_\-1\_\-get\_\-tc\_\-entry\_\-list}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::olsr4\_\-0\_\-1\_\-get\_\-tc\_\-entry\_\-list (
\begin{DoxyParamCaption}
\item[{{\bf XrlAtomList} \&}]{tc\_\-entries}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_aca768a04bb410efd96d0465b3d356c61}


Get \hyperlink{protocolthe-p}{the} list of learned Topology Control (TC) entries. 

Return a list of u32 type values. Each value is an internal ID that can be used with \hyperlink{protocolthe-p}{the} get\_\-tc\_\-entry XRL. 

Implements \hyperlink{structXrlOlsr4TargetBase_afadd46b5d788994ae5669010879bfd12}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_af2ef17739b9c76517a13f06aab359b5c}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!olsr4\_\-0\_\-1\_\-get\_\-twohop\_\-link\_\-info@{olsr4\_\-0\_\-1\_\-get\_\-twohop\_\-link\_\-info}}
\index{olsr4\_\-0\_\-1\_\-get\_\-twohop\_\-link\_\-info@{olsr4\_\-0\_\-1\_\-get\_\-twohop\_\-link\_\-info}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{olsr4\_\-0\_\-1\_\-get\_\-twohop\_\-link\_\-info}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::olsr4\_\-0\_\-1\_\-get\_\-twohop\_\-link\_\-info (
\begin{DoxyParamCaption}
\item[{const uint32\_\-t \&}]{tlid, }
\item[{uint32\_\-t \&}]{last\_\-face\_\-id, }
\item[{{\bf IPv4} \&}]{nexthop\_\-addr, }
\item[{{\bf IPv4} \&}]{dest\_\-addr, }
\item[{uint32\_\-t \&}]{hold\_\-time}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_af2ef17739b9c76517a13f06aab359b5c}


Get \hyperlink{protocolthe-p}{the} information for a two-\/hop link. 


\begin{DoxyParams}{Parameters}
{\em tlid} & two-\/hop link ID returned by get\_\-twohop\_\-link\_\-list. \\
\hline
{\em last\_\-face\_\-id} & \hyperlink{protocolthe-p}{the} internal interface ID where advertisement of this two-\/hop link was last seen. \\
\hline
{\em nexthop\_\-addr} & \hyperlink{protocolthe-p}{the} main address of \hyperlink{protocolthe-p}{the} one-\/hop neighbor where this two-\/hop link exists. \\
\hline
{\em dest\_\-addr} & \hyperlink{protocolthe-p}{the} main address of \hyperlink{protocolthe-p}{the} two-\/hop neighbor at \hyperlink{protocolthe-p}{the} remote end of this link. \\
\hline
{\em hold\_\-time} & \hyperlink{protocolthe-p}{the} time in seconds until this two-\/hop link expires. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_ad8d7845ae3e335dd31b7b671417fe7a6}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_a7a4212818c05600d21c6232c9e977a9f}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!olsr4\_\-0\_\-1\_\-get\_\-twohop\_\-link\_\-list@{olsr4\_\-0\_\-1\_\-get\_\-twohop\_\-link\_\-list}}
\index{olsr4\_\-0\_\-1\_\-get\_\-twohop\_\-link\_\-list@{olsr4\_\-0\_\-1\_\-get\_\-twohop\_\-link\_\-list}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{olsr4\_\-0\_\-1\_\-get\_\-twohop\_\-link\_\-list}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::olsr4\_\-0\_\-1\_\-get\_\-twohop\_\-link\_\-list (
\begin{DoxyParamCaption}
\item[{{\bf XrlAtomList} \&}]{twohop\_\-links}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_a7a4212818c05600d21c6232c9e977a9f}


Get \hyperlink{protocolthe-p}{the} list of two-\/hop links. 

Return a list of u32 type values. Each value is an internal ID that can be used with \hyperlink{protocolthe-p}{the} get\_\-twohop\_\-link\_\-info XRL. 

Implements \hyperlink{structXrlOlsr4TargetBase_af45d7a5503aaa911fe22273b4a63626d}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_add81d624afc9a563dcf11622532fc78e}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!olsr4\_\-0\_\-1\_\-get\_\-twohop\_\-neighbor\_\-info@{olsr4\_\-0\_\-1\_\-get\_\-twohop\_\-neighbor\_\-info}}
\index{olsr4\_\-0\_\-1\_\-get\_\-twohop\_\-neighbor\_\-info@{olsr4\_\-0\_\-1\_\-get\_\-twohop\_\-neighbor\_\-info}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{olsr4\_\-0\_\-1\_\-get\_\-twohop\_\-neighbor\_\-info}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::olsr4\_\-0\_\-1\_\-get\_\-twohop\_\-neighbor\_\-info (
\begin{DoxyParamCaption}
\item[{const uint32\_\-t \&}]{tnid, }
\item[{{\bf IPv4} \&}]{main\_\-addr, }
\item[{bool \&}]{is\_\-strict, }
\item[{uint32\_\-t \&}]{link\_\-count, }
\item[{uint32\_\-t \&}]{reachability, }
\item[{uint32\_\-t \&}]{coverage}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_add81d624afc9a563dcf11622532fc78e}


Get \hyperlink{protocolthe-p}{the} information for a two-\/hop neighbor. 


\begin{DoxyParams}{Parameters}
{\em tnid} & two-\/hop neighbor ID returned by get\_\-twohop\_\-neighbor\_\-list. \\
\hline
{\em main\_\-addr} & \hyperlink{protocolthe-p}{the} main address of this two-\/hop neighbor. \\
\hline
{\em is\_\-strict} & true if this two-\/hop neighbor is not also a two-\/hop neighbor. \\
\hline
{\em link\_\-count} & \hyperlink{protocolthe-p}{the} number of two-\/hop links that exist to this two-\/hop neighbor. \\
\hline
{\em reachability} & \hyperlink{protocolthe-p}{the} number of MPR candidates which cover this two-\/hop neighbor. \\
\hline
{\em coverage} & \hyperlink{protocolthe-p}{the} number of selected MPRs which cover this two-\/hop neighbor. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_aa2458791ea2c4b1039197c937cc3ecf3}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_ae1d937ed580415f3d60e82f4fb154b90}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!olsr4\_\-0\_\-1\_\-get\_\-twohop\_\-neighbor\_\-list@{olsr4\_\-0\_\-1\_\-get\_\-twohop\_\-neighbor\_\-list}}
\index{olsr4\_\-0\_\-1\_\-get\_\-twohop\_\-neighbor\_\-list@{olsr4\_\-0\_\-1\_\-get\_\-twohop\_\-neighbor\_\-list}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{olsr4\_\-0\_\-1\_\-get\_\-twohop\_\-neighbor\_\-list}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::olsr4\_\-0\_\-1\_\-get\_\-twohop\_\-neighbor\_\-list (
\begin{DoxyParamCaption}
\item[{{\bf XrlAtomList} \&}]{twohop\_\-neighbors}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_ae1d937ed580415f3d60e82f4fb154b90}


Get \hyperlink{protocolthe-p}{the} list of two-\/hop neighbors. 

Return a list of u32 type values. Each value is an internal ID that can be used with \hyperlink{protocolthe-p}{the} get\_\-twohop\_\-neighbor\_\-info XRL. 

Implements \hyperlink{structXrlOlsr4TargetBase_a5cf5bb7682dab538c4073f73000859f0}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_a0c3e4b468c28f99e5d3d8ef43b80c14e}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!olsr4\_\-0\_\-1\_\-set\_\-binding\_\-enabled@{olsr4\_\-0\_\-1\_\-set\_\-binding\_\-enabled}}
\index{olsr4\_\-0\_\-1\_\-set\_\-binding\_\-enabled@{olsr4\_\-0\_\-1\_\-set\_\-binding\_\-enabled}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{olsr4\_\-0\_\-1\_\-set\_\-binding\_\-enabled}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::olsr4\_\-0\_\-1\_\-set\_\-binding\_\-enabled (
\begin{DoxyParamCaption}
\item[{const string \&}]{ifname, }
\item[{const string \&}]{vifname, }
\item[{const bool \&}]{enabled}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_a0c3e4b468c28f99e5d3d8ef43b80c14e}


Set \hyperlink{protocolthe-p}{the} enabled state of an \hyperlink{classIPv4}{IPv4} address binding for OLSR. 


\begin{DoxyParams}{Parameters}
{\em ifname} & \hyperlink{protocolthe-p}{the} interface to set enabled state for. \\
\hline
{\em vifname} & \hyperlink{protocolthe-p}{the} vif to set enabled state for. \\
\hline
{\em enabled} & true if OLSR is to be configured administratively up on \hyperlink{protocolthe-p}{the} interface, false if it is to be configured down. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_a030b667e13dc15c0d36854b36ceba986}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_a32b47b8cad02af5f3fcca40360404e93}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!olsr4\_\-0\_\-1\_\-set\_\-dup\_\-hold\_\-time@{olsr4\_\-0\_\-1\_\-set\_\-dup\_\-hold\_\-time}}
\index{olsr4\_\-0\_\-1\_\-set\_\-dup\_\-hold\_\-time@{olsr4\_\-0\_\-1\_\-set\_\-dup\_\-hold\_\-time}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{olsr4\_\-0\_\-1\_\-set\_\-dup\_\-hold\_\-time}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::olsr4\_\-0\_\-1\_\-set\_\-dup\_\-hold\_\-time (
\begin{DoxyParamCaption}
\item[{const uint32\_\-t \&}]{dup\_\-hold\_\-time}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_a32b47b8cad02af5f3fcca40360404e93}


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


\begin{DoxyParams}{Parameters}
{\em dup\_\-hold\_\-time} & \hyperlink{protocolthe-p}{the} new DUP\_\-HOLD\_\-TIME. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_acb2bb0df797c97e6ef71b9ea54bb84a6}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_a5440df45e1156cee1493daceca63fd0c}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!olsr4\_\-0\_\-1\_\-set\_\-hello\_\-interval@{olsr4\_\-0\_\-1\_\-set\_\-hello\_\-interval}}
\index{olsr4\_\-0\_\-1\_\-set\_\-hello\_\-interval@{olsr4\_\-0\_\-1\_\-set\_\-hello\_\-interval}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{olsr4\_\-0\_\-1\_\-set\_\-hello\_\-interval}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::olsr4\_\-0\_\-1\_\-set\_\-hello\_\-interval (
\begin{DoxyParamCaption}
\item[{const uint32\_\-t \&}]{interval}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_a5440df45e1156cee1493daceca63fd0c}


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


\begin{DoxyParams}{Parameters}
{\em interval} & \hyperlink{protocolthe-p}{the} new HELLO\_\-INTERVAL. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_a88ddf7f8f528ad92e8b8e07f49d2bf46}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_aca9705f87b1efc35e50f5bab72742b47}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!olsr4\_\-0\_\-1\_\-set\_\-hna\_\-interval@{olsr4\_\-0\_\-1\_\-set\_\-hna\_\-interval}}
\index{olsr4\_\-0\_\-1\_\-set\_\-hna\_\-interval@{olsr4\_\-0\_\-1\_\-set\_\-hna\_\-interval}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{olsr4\_\-0\_\-1\_\-set\_\-hna\_\-interval}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::olsr4\_\-0\_\-1\_\-set\_\-hna\_\-interval (
\begin{DoxyParamCaption}
\item[{const uint32\_\-t \&}]{interval}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_aca9705f87b1efc35e50f5bab72742b47}


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


\begin{DoxyParams}{Parameters}
{\em interval} & \hyperlink{protocolthe-p}{the} new HNA\_\-INTERVAL. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_a66b9696418a29515a265fe789da74c5a}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_a6561068389fb7b4f19e66d671a5d2c3b}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!olsr4\_\-0\_\-1\_\-set\_\-interface\_\-cost@{olsr4\_\-0\_\-1\_\-set\_\-interface\_\-cost}}
\index{olsr4\_\-0\_\-1\_\-set\_\-interface\_\-cost@{olsr4\_\-0\_\-1\_\-set\_\-interface\_\-cost}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{olsr4\_\-0\_\-1\_\-set\_\-interface\_\-cost}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::olsr4\_\-0\_\-1\_\-set\_\-interface\_\-cost (
\begin{DoxyParamCaption}
\item[{const string \&}]{ifname, }
\item[{const string \&}]{vifname, }
\item[{const uint32\_\-t \&}]{cost}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_a6561068389fb7b4f19e66d671a5d2c3b}


Set \hyperlink{protocolthe-p}{the} edge cost of an interface/vif. 


\begin{DoxyParams}{Parameters}
{\em ifname} & \hyperlink{protocolthe-p}{the} name of \hyperlink{protocolthe-p}{the} interface. \\
\hline
{\em vifname} & \hyperlink{protocolthe-p}{the} name of \hyperlink{protocolthe-p}{the} vif. \\
\hline
{\em cost} & \hyperlink{protocolthe-p}{the} new edge cost of \hyperlink{protocolthe-p}{the} interface. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_a943adc301f1861f13c1dba03a839cfd0}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_ac4a7c22bd029dda70888c6203ebe868d}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!olsr4\_\-0\_\-1\_\-set\_\-main\_\-address@{olsr4\_\-0\_\-1\_\-set\_\-main\_\-address}}
\index{olsr4\_\-0\_\-1\_\-set\_\-main\_\-address@{olsr4\_\-0\_\-1\_\-set\_\-main\_\-address}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{olsr4\_\-0\_\-1\_\-set\_\-main\_\-address}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::olsr4\_\-0\_\-1\_\-set\_\-main\_\-address (
\begin{DoxyParamCaption}
\item[{const {\bf IPv4} \&}]{addr}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_ac4a7c22bd029dda70888c6203ebe868d}


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


\begin{DoxyParams}{Parameters}
{\em addr} & Our main \hyperlink{classIPv4}{IPv4} address which OLSR uses as a router ID. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_a4d2e7365008d2641e4e48b63e97f8c42}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_a27332e603048661f546780ac716de19d}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!olsr4\_\-0\_\-1\_\-set\_\-mid\_\-interval@{olsr4\_\-0\_\-1\_\-set\_\-mid\_\-interval}}
\index{olsr4\_\-0\_\-1\_\-set\_\-mid\_\-interval@{olsr4\_\-0\_\-1\_\-set\_\-mid\_\-interval}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{olsr4\_\-0\_\-1\_\-set\_\-mid\_\-interval}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::olsr4\_\-0\_\-1\_\-set\_\-mid\_\-interval (
\begin{DoxyParamCaption}
\item[{const uint32\_\-t \&}]{interval}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_a27332e603048661f546780ac716de19d}


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


\begin{DoxyParams}{Parameters}
{\em interval} & \hyperlink{protocolthe-p}{the} new MID\_\-INTERVAL. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_ab2c622165e25429d28f6c4296b334b7f}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_a7f006e799e69b76c64131cf629e065c3}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!olsr4\_\-0\_\-1\_\-set\_\-mpr\_\-coverage@{olsr4\_\-0\_\-1\_\-set\_\-mpr\_\-coverage}}
\index{olsr4\_\-0\_\-1\_\-set\_\-mpr\_\-coverage@{olsr4\_\-0\_\-1\_\-set\_\-mpr\_\-coverage}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{olsr4\_\-0\_\-1\_\-set\_\-mpr\_\-coverage}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::olsr4\_\-0\_\-1\_\-set\_\-mpr\_\-coverage (
\begin{DoxyParamCaption}
\item[{const uint32\_\-t \&}]{coverage}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_a7f006e799e69b76c64131cf629e065c3}


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


\begin{DoxyParams}{Parameters}
{\em coverage} & \hyperlink{protocolthe-p}{the} new MPR\_\-COVERAGE value. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_abbbbe4e034f36d8548e880466d0509f5}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_a38116d7ffc79f72a78547a101887eae4}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!olsr4\_\-0\_\-1\_\-set\_\-refresh\_\-interval@{olsr4\_\-0\_\-1\_\-set\_\-refresh\_\-interval}}
\index{olsr4\_\-0\_\-1\_\-set\_\-refresh\_\-interval@{olsr4\_\-0\_\-1\_\-set\_\-refresh\_\-interval}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{olsr4\_\-0\_\-1\_\-set\_\-refresh\_\-interval}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::olsr4\_\-0\_\-1\_\-set\_\-refresh\_\-interval (
\begin{DoxyParamCaption}
\item[{const uint32\_\-t \&}]{interval}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_a38116d7ffc79f72a78547a101887eae4}


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


\begin{DoxyParams}{Parameters}
{\em interval} & \hyperlink{protocolthe-p}{the} new REFRESH\_\-INTERVAL. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_a41e6cc3f5779afbf4c414ff22ae07172}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_a9c5ffc351434bb2894866839f2980307}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!olsr4\_\-0\_\-1\_\-set\_\-tc\_\-fisheye@{olsr4\_\-0\_\-1\_\-set\_\-tc\_\-fisheye}}
\index{olsr4\_\-0\_\-1\_\-set\_\-tc\_\-fisheye@{olsr4\_\-0\_\-1\_\-set\_\-tc\_\-fisheye}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{olsr4\_\-0\_\-1\_\-set\_\-tc\_\-fisheye}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::olsr4\_\-0\_\-1\_\-set\_\-tc\_\-fisheye (
\begin{DoxyParamCaption}
\item[{const bool \&}]{enabled}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_a9c5ffc351434bb2894866839f2980307}


Enable/disable TC fisheye mode. 


\begin{DoxyParams}{Parameters}
{\em enabled} & true to enable fisheye, false to disable it. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_ad8491de34e5ed34f9c4570c2658c7b98}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_a46d5f35b0c6f3b76459913b8028d79f5}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!olsr4\_\-0\_\-1\_\-set\_\-tc\_\-interval@{olsr4\_\-0\_\-1\_\-set\_\-tc\_\-interval}}
\index{olsr4\_\-0\_\-1\_\-set\_\-tc\_\-interval@{olsr4\_\-0\_\-1\_\-set\_\-tc\_\-interval}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{olsr4\_\-0\_\-1\_\-set\_\-tc\_\-interval}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::olsr4\_\-0\_\-1\_\-set\_\-tc\_\-interval (
\begin{DoxyParamCaption}
\item[{const uint32\_\-t \&}]{interval}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_a46d5f35b0c6f3b76459913b8028d79f5}


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


\begin{DoxyParams}{Parameters}
{\em interval} & \hyperlink{protocolthe-p}{the} new TC\_\-INTERVAL. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_ad95a69efd85b9f59824d2d556ca3406c}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_a7629fd53e8cf3d12ee79c9c7c3da4210}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!olsr4\_\-0\_\-1\_\-set\_\-willingness@{olsr4\_\-0\_\-1\_\-set\_\-willingness}}
\index{olsr4\_\-0\_\-1\_\-set\_\-willingness@{olsr4\_\-0\_\-1\_\-set\_\-willingness}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{olsr4\_\-0\_\-1\_\-set\_\-willingness}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::olsr4\_\-0\_\-1\_\-set\_\-willingness (
\begin{DoxyParamCaption}
\item[{const uint32\_\-t \&}]{willingness}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_a7629fd53e8cf3d12ee79c9c7c3da4210}


Set \hyperlink{protocolthe-p}{the} willingness-\/to-\/forward. 


\begin{DoxyParams}{Parameters}
{\em willingness} & \hyperlink{protocolthe-p}{the} new willingness-\/to-\/forward. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_aca2344bcaf921fe5a0c54e62ca30533e}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_a9e56b5fafe0a9542b56cad6851845f2c}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!olsr4\_\-0\_\-1\_\-trace@{olsr4\_\-0\_\-1\_\-trace}}
\index{olsr4\_\-0\_\-1\_\-trace@{olsr4\_\-0\_\-1\_\-trace}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{olsr4\_\-0\_\-1\_\-trace}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::olsr4\_\-0\_\-1\_\-trace (
\begin{DoxyParamCaption}
\item[{const string \&}]{tvar, }
\item[{const bool \&}]{enable}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_a9e56b5fafe0a9542b56cad6851845f2c}


Enable/Disable tracing. 


\begin{DoxyParams}{Parameters}
{\em tvar} & trace variable. \\
\hline
{\em enable} & set to true to enable, false to disable. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_aa59f11c6d9bf05a9731aa561de7513a9}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_afa7a64e5202e900f1344ceeb3653b6e4}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!olsr4\_\-0\_\-1\_\-unbind\_\-address@{olsr4\_\-0\_\-1\_\-unbind\_\-address}}
\index{olsr4\_\-0\_\-1\_\-unbind\_\-address@{olsr4\_\-0\_\-1\_\-unbind\_\-address}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{olsr4\_\-0\_\-1\_\-unbind\_\-address}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::olsr4\_\-0\_\-1\_\-unbind\_\-address (
\begin{DoxyParamCaption}
\item[{const string \&}]{ifname, }
\item[{const string \&}]{vifname}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_afa7a64e5202e900f1344ceeb3653b6e4}


Destroy an \hyperlink{classIPv4}{IPv4} address binding for OLSR. 


\begin{DoxyParams}{Parameters}
{\em ifname} & \hyperlink{protocolthe-p}{the} interface to unbind. \\
\hline
{\em vifname} & \hyperlink{protocolthe-p}{the} vif to unbind. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_a4e7a953dac30fb99763316b66ecc52c3}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_a49fa8c31312cc7dce0f168c88f2d09ee}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!policy\_\-backend\_\-0\_\-1\_\-configure@{policy\_\-backend\_\-0\_\-1\_\-configure}}
\index{policy\_\-backend\_\-0\_\-1\_\-configure@{policy\_\-backend\_\-0\_\-1\_\-configure}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{policy\_\-backend\_\-0\_\-1\_\-configure}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::policy\_\-backend\_\-0\_\-1\_\-configure (
\begin{DoxyParamCaption}
\item[{const uint32\_\-t \&}]{filter, }
\item[{const string \&}]{conf}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_a49fa8c31312cc7dce0f168c88f2d09ee}


Configure a policy filter. 


\begin{DoxyParams}{Parameters}
{\em filter} & \hyperlink{protocolthe-p}{the} identifier of \hyperlink{protocolthe-p}{the} filter to configure. \\
\hline
{\em conf} & \hyperlink{protocolthe-p}{the} configuration of \hyperlink{protocolthe-p}{the} filter. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_a068ea8ad4b29cda391736d7f6b8e0447}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_ad5d265faf730844aea81e04a64c0235e}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!policy\_\-backend\_\-0\_\-1\_\-reset@{policy\_\-backend\_\-0\_\-1\_\-reset}}
\index{policy\_\-backend\_\-0\_\-1\_\-reset@{policy\_\-backend\_\-0\_\-1\_\-reset}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{policy\_\-backend\_\-0\_\-1\_\-reset}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::policy\_\-backend\_\-0\_\-1\_\-reset (
\begin{DoxyParamCaption}
\item[{const uint32\_\-t \&}]{filter}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_ad5d265faf730844aea81e04a64c0235e}


Reset a policy filter. 


\begin{DoxyParams}{Parameters}
{\em filter} & \hyperlink{protocolthe-p}{the} identifier of \hyperlink{protocolthe-p}{the} filter to reset. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_abaef1c5d5d792802e90c6efb838e0f14}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_a8121535b3acf6a2dba8a8756ec7f9c1a}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!policy\_\-redist4\_\-0\_\-1\_\-add\_\-route4@{policy\_\-redist4\_\-0\_\-1\_\-add\_\-route4}}
\index{policy\_\-redist4\_\-0\_\-1\_\-add\_\-route4@{policy\_\-redist4\_\-0\_\-1\_\-add\_\-route4}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{policy\_\-redist4\_\-0\_\-1\_\-add\_\-route4}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::policy\_\-redist4\_\-0\_\-1\_\-add\_\-route4 (
\begin{DoxyParamCaption}
\item[{const {\bf IPv4Net} \&}]{network, }
\item[{const bool \&}]{unicast, }
\item[{const bool \&}]{multicast, }
\item[{const {\bf IPv4} \&}]{nexthop, }
\item[{const uint32\_\-t \&}]{metric, }
\item[{const {\bf XrlAtomList} \&}]{policytags}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_a8121535b3acf6a2dba8a8756ec7f9c1a}


Start route redistribution for an \hyperlink{classIPv4}{IPv4} route. 


\begin{DoxyParams}{Parameters}
{\em network} & \hyperlink{protocolthe-p}{the} route to advertise. \\
\hline
{\em unicast} & whether \hyperlink{protocolthe-p}{the} route is unicast. \\
\hline
{\em multicast} & whether \hyperlink{protocolthe-p}{the} route is multicast. \\
\hline
{\em nexthop} & \hyperlink{protocolthe-p}{the} nexthop of \hyperlink{protocolthe-p}{the} route. \\
\hline
{\em metric} & \hyperlink{protocolthe-p}{the} metric of \hyperlink{protocolthe-p}{the} route. \\
\hline
{\em policytags} & \hyperlink{protocolthe-p}{the} set of policy-\/tags associated with \hyperlink{protocolthe-p}{the} route. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_ad168e9cc20ab630ae4540cfab028f76d}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_a4a5ba3434b36a18ff988f6ba982a508a}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!policy\_\-redist4\_\-0\_\-1\_\-delete\_\-route4@{policy\_\-redist4\_\-0\_\-1\_\-delete\_\-route4}}
\index{policy\_\-redist4\_\-0\_\-1\_\-delete\_\-route4@{policy\_\-redist4\_\-0\_\-1\_\-delete\_\-route4}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{policy\_\-redist4\_\-0\_\-1\_\-delete\_\-route4}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::policy\_\-redist4\_\-0\_\-1\_\-delete\_\-route4 (
\begin{DoxyParamCaption}
\item[{const {\bf IPv4Net} \&}]{network, }
\item[{const bool \&}]{unicast, }
\item[{const bool \&}]{multicast}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_a4a5ba3434b36a18ff988f6ba982a508a}


Terminate route redistribution for an \hyperlink{classIPv4}{IPv4} route. 


\begin{DoxyParams}{Parameters}
{\em network} & \hyperlink{protocolthe-p}{the} route for which advertisements should cease. \\
\hline
{\em unicast} & whether \hyperlink{protocolthe-p}{the} route is unicast. \\
\hline
{\em multicast} & whether \hyperlink{protocolthe-p}{the} route is multicast. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_a9d094010749d62ea54e913688005e134}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_a50be3c329281e78919adc6ce2f912838}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!profile\_\-0\_\-1\_\-clear@{profile\_\-0\_\-1\_\-clear}}
\index{profile\_\-0\_\-1\_\-clear@{profile\_\-0\_\-1\_\-clear}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{profile\_\-0\_\-1\_\-clear}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::profile\_\-0\_\-1\_\-clear (
\begin{DoxyParamCaption}
\item[{const string \&}]{pname}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_a50be3c329281e78919adc6ce2f912838}


Clear \hyperlink{protocolthe-p}{the} profiling entries. 


\begin{DoxyParams}{Parameters}
{\em pname} & profile variable \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_a792e1c29ec2a20211759c193cf9cab35}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_a5f60474dabb9f5686086924075195d1d}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!profile\_\-0\_\-1\_\-disable@{profile\_\-0\_\-1\_\-disable}}
\index{profile\_\-0\_\-1\_\-disable@{profile\_\-0\_\-1\_\-disable}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{profile\_\-0\_\-1\_\-disable}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::profile\_\-0\_\-1\_\-disable (
\begin{DoxyParamCaption}
\item[{const string \&}]{pname}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_a5f60474dabb9f5686086924075195d1d}


Disable profiling. 


\begin{DoxyParams}{Parameters}
{\em pname} & profile variable \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_acc09f002f39332aa5752e926c6087a89}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_ab9bfba5e1c92b0bf2cfa779a7d64a6f4}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!profile\_\-0\_\-1\_\-enable@{profile\_\-0\_\-1\_\-enable}}
\index{profile\_\-0\_\-1\_\-enable@{profile\_\-0\_\-1\_\-enable}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{profile\_\-0\_\-1\_\-enable}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::profile\_\-0\_\-1\_\-enable (
\begin{DoxyParamCaption}
\item[{const string \&}]{pname}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_ab9bfba5e1c92b0bf2cfa779a7d64a6f4}


Enable profiling. 


\begin{DoxyParams}{Parameters}
{\em pname} & profile variable \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_a6f4a8eb050374130c3e43f35db034e50}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_aa26fd3ad7d3c91133be62b118dc456ef}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!profile\_\-0\_\-1\_\-get\_\-entries@{profile\_\-0\_\-1\_\-get\_\-entries}}
\index{profile\_\-0\_\-1\_\-get\_\-entries@{profile\_\-0\_\-1\_\-get\_\-entries}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{profile\_\-0\_\-1\_\-get\_\-entries}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::profile\_\-0\_\-1\_\-get\_\-entries (
\begin{DoxyParamCaption}
\item[{const string \&}]{pname, }
\item[{const string \&}]{instance\_\-name}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_aa26fd3ad7d3c91133be62b118dc456ef}


Get log entries. 


\begin{DoxyParams}{Parameters}
{\em pname} & profile variable \\
\hline
{\em instance\_\-name} & to send \hyperlink{protocolthe-p}{the} profiling info to. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_a3587d9b4b1d0939d9c412391224e01fd}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_ae044610604cf68b59ef3453bc45646c7}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!socket4\_\-user\_\-0\_\-1\_\-disconnect\_\-event@{socket4\_\-user\_\-0\_\-1\_\-disconnect\_\-event}}
\index{socket4\_\-user\_\-0\_\-1\_\-disconnect\_\-event@{socket4\_\-user\_\-0\_\-1\_\-disconnect\_\-event}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{socket4\_\-user\_\-0\_\-1\_\-disconnect\_\-event}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::socket4\_\-user\_\-0\_\-1\_\-disconnect\_\-event (
\begin{DoxyParamCaption}
\item[{const string \&}]{sockid}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_ae044610604cf68b59ef3453bc45646c7}


Method invoked by target implementing socket4/0.1 when \hyperlink{protocolthe-p}{the} peer has closed \hyperlink{protocolthe-p}{the} connection. 

It applies only to TCP sockets. Note that \hyperlink{protocolthe-p}{the} socket itself is left open and must be explicitly closed.


\begin{DoxyParams}{Parameters}
{\em sockid} & \hyperlink{protocolthe-p}{the} identifier associated with socket where \hyperlink{protocolthe-p}{the} event occurred. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_a5ff6fd22eccd5846e13992288fa2b3d4}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_acf760cfb1521ada94fd7ff1f5330fbc5}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!socket4\_\-user\_\-0\_\-1\_\-error\_\-event@{socket4\_\-user\_\-0\_\-1\_\-error\_\-event}}
\index{socket4\_\-user\_\-0\_\-1\_\-error\_\-event@{socket4\_\-user\_\-0\_\-1\_\-error\_\-event}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{socket4\_\-user\_\-0\_\-1\_\-error\_\-event}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::socket4\_\-user\_\-0\_\-1\_\-error\_\-event (
\begin{DoxyParamCaption}
\item[{const string \&}]{sockid, }
\item[{const string \&}]{error, }
\item[{const bool \&}]{fatal}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_acf760cfb1521ada94fd7ff1f5330fbc5}


Method invoked by target implementing socket4/0.1 when an error occurs. 


\begin{DoxyParams}{Parameters}
{\em sockid} & \hyperlink{protocolthe-p}{the} identifier associated with socket where \hyperlink{protocolthe-p}{the} event occurred. \\
\hline
{\em error} & a textual description of \hyperlink{protocolthe-p}{the} error. \\
\hline
{\em fatal} & indication of whether socket is shutdown because of error. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_a1ee4c9e37848151f985e38c7e1fe590f}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_a81c2f5eb47a3f2f2002ffd4f28ce4aab}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!socket4\_\-user\_\-0\_\-1\_\-inbound\_\-connect\_\-event@{socket4\_\-user\_\-0\_\-1\_\-inbound\_\-connect\_\-event}}
\index{socket4\_\-user\_\-0\_\-1\_\-inbound\_\-connect\_\-event@{socket4\_\-user\_\-0\_\-1\_\-inbound\_\-connect\_\-event}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{socket4\_\-user\_\-0\_\-1\_\-inbound\_\-connect\_\-event}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::socket4\_\-user\_\-0\_\-1\_\-inbound\_\-connect\_\-event (
\begin{DoxyParamCaption}
\item[{const string \&}]{sockid, }
\item[{const {\bf IPv4} \&}]{src\_\-host, }
\item[{const uint32\_\-t \&}]{src\_\-port, }
\item[{const string \&}]{new\_\-sockid, }
\item[{bool \&}]{accept}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_a81c2f5eb47a3f2f2002ffd4f28ce4aab}


Method invoked by target implementing socket4/0.1 when a connection request is received from an \hyperlink{classIPv4}{IPv4} source. 

It applies only to TCP sockets.


\begin{DoxyParams}{Parameters}
{\em sockid} & \hyperlink{protocolthe-p}{the} identifier associated with socket where \hyperlink{protocolthe-p}{the} event occurred. \\
\hline
{\em src\_\-host} & \hyperlink{protocolthe-p}{the} connecting host. \\
\hline
{\em src\_\-port} & \hyperlink{protocolthe-p}{the} connecting IP port. \\
\hline
{\em new\_\-sockid} & \hyperlink{protocolthe-p}{the} identifier associated with \hyperlink{protocolthe-p}{the} new socket that has been created to handle \hyperlink{protocolthe-p}{the} new connection. \\
\hline
{\em accept} & if true, \hyperlink{protocolthe-p}{the} connection request has been accepted, otherwise it has been rejected. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_a7f9c6441555192c73fa3d27733b5b6ee}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_adcec20d291b10b953c3e9831f14c5841}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!socket4\_\-user\_\-0\_\-1\_\-outgoing\_\-connect\_\-event@{socket4\_\-user\_\-0\_\-1\_\-outgoing\_\-connect\_\-event}}
\index{socket4\_\-user\_\-0\_\-1\_\-outgoing\_\-connect\_\-event@{socket4\_\-user\_\-0\_\-1\_\-outgoing\_\-connect\_\-event}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{socket4\_\-user\_\-0\_\-1\_\-outgoing\_\-connect\_\-event}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::socket4\_\-user\_\-0\_\-1\_\-outgoing\_\-connect\_\-event (
\begin{DoxyParamCaption}
\item[{const string \&}]{sockid}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_adcec20d291b10b953c3e9831f14c5841}


Method invoked by target implementing socket4/0.1 when an outgoing connection request originated by \hyperlink{protocolthe-p}{the} local host is completed. 

It applies only to TCP sockets. Note that if \hyperlink{protocolthe-p}{the} connection failed, \hyperlink{protocolthe-p}{the} error\_\-event will be dispatched instead.


\begin{DoxyParams}{Parameters}
{\em sockid} & \hyperlink{protocolthe-p}{the} identifier associated with socket where \hyperlink{protocolthe-p}{the} event occurred. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_a7465d6d72a5530ef276711b55481819d}{XrlOlsr4TargetBase}.

\hypertarget{classXrlOlsr4Target_a059c431ccc7ae0d3de775ad05b3c3f3a}{
\index{XrlOlsr4Target@{XrlOlsr4Target}!socket4\_\-user\_\-0\_\-1\_\-recv\_\-event@{socket4\_\-user\_\-0\_\-1\_\-recv\_\-event}}
\index{socket4\_\-user\_\-0\_\-1\_\-recv\_\-event@{socket4\_\-user\_\-0\_\-1\_\-recv\_\-event}!XrlOlsr4Target@{XrlOlsr4Target}}
\subsubsection[{socket4\_\-user\_\-0\_\-1\_\-recv\_\-event}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOlsr4Target::socket4\_\-user\_\-0\_\-1\_\-recv\_\-event (
\begin{DoxyParamCaption}
\item[{const string \&}]{sockid, }
\item[{const string \&}]{if\_\-name, }
\item[{const string \&}]{vif\_\-name, }
\item[{const {\bf IPv4} \&}]{src\_\-host, }
\item[{const uint32\_\-t \&}]{src\_\-port, }
\item[{const vector$<$ uint8\_\-t $>$ \&}]{data}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOlsr4Target_a059c431ccc7ae0d3de775ad05b3c3f3a}


Method invoked by target implementing socket4/0.1 when a packet arrives from an \hyperlink{classIPv4}{IPv4} source. 


\begin{DoxyParams}{Parameters}
{\em sockid} & \hyperlink{protocolthe-p}{the} identifier associated with socket where \hyperlink{protocolthe-p}{the} event occurred. \\
\hline
{\em if\_\-name} & \hyperlink{protocolthe-p}{the} interface name \hyperlink{protocolthe-p}{the} packet arrived on, if known. If unknown, then it is an empty string. \\
\hline
{\em vif\_\-name} & \hyperlink{protocolthe-p}{the} vif name \hyperlink{protocolthe-p}{the} packet arrived on, if known. If unknown, then it is an empty string. \\
\hline
{\em src\_\-host} & \hyperlink{protocolthe-p}{the} originating host. \\
\hline
{\em src\_\-port} & \hyperlink{protocolthe-p}{the} originating IP port. \\
\hline
{\em data} & \hyperlink{protocolthe-p}{the} data received. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOlsr4TargetBase_a9ee4bbd4f027a868460a19467a3efcd1}{XrlOlsr4TargetBase}.



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