\hypertarget{classXrlOspfV2Target}{
\section{XrlOspfV2Target Class Reference}
\label{classXrlOspfV2Target}\index{XrlOspfV2Target@{XrlOspfV2Target}}
}
Inheritance diagram for XrlOspfV2Target:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classXrlOspfV2Target}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classXrlOspfV2Target_acb7a63fe10c43842314b58ffef202ec6}{
{\bfseries XrlOspfV2Target} (\hyperlink{classXrlRouter}{XrlRouter} $\ast$r, \hyperlink{classOspf}{Ospf}$<$ \hyperlink{classIPv4}{IPv4} $>$ \&ospf, \hyperlink{classXrlIO}{XrlIO}$<$ \hyperlink{classIPv4}{IPv4} $>$ \&io)}
\label{classXrlOspfV2Target_acb7a63fe10c43842314b58ffef202ec6}

\item 
\hypertarget{classXrlOspfV2Target_abfee7ea262dc5a7e73afc1aa56fe778d}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_abfee7ea262dc5a7e73afc1aa56fe778d}{common\_\-0\_\-1\_\-get\_\-target\_\-name} (string \&name)}
\label{classXrlOspfV2Target_abfee7ea262dc5a7e73afc1aa56fe778d}

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

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

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

\begin{DoxyCompactList}\small\item\em Request clean shutdown of \hyperlink{classXrl}{Xrl} Target. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_a86bd9495bb9e5bbed099bdc93578459a}{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{classXrlOspfV2Target_a37b4d3d7e331ac439791f45649626c81}{raw\_\-packet4\_\-client\_\-0\_\-1\_\-recv} (const string \&if\_\-name, const string \&vif\_\-name, const \hyperlink{classIPv4}{IPv4} \&src\_\-address, const \hyperlink{classIPv4}{IPv4} \&dst\_\-address, const uint32\_\-t \&ip\_\-protocol, const int32\_\-t \&ip\_\-ttl, const int32\_\-t \&ip\_\-tos, const bool \&ip\_\-router\_\-alert, const bool \&ip\_\-internet\_\-control, const vector$<$ uint8\_\-t $>$ \&payload)
\begin{DoxyCompactList}\small\item\em Receive an \hyperlink{classIPv4}{IPv4} packet from a raw socket. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_a80c0690acbd3ec948f99108526e4657b}{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{classXrlOspfV2Target_a64914520d4471d169af7c9d7ff028fe8}{policy\_\-backend\_\-0\_\-1\_\-reset} (const uint32\_\-t \&filter)
\begin{DoxyCompactList}\small\item\em Reset a policy filter. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOspfV2Target_a01018b61c592ca71b3f12ebcfd188ddd}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_a01018b61c592ca71b3f12ebcfd188ddd}{policy\_\-backend\_\-0\_\-1\_\-push\_\-routes} ()}
\label{classXrlOspfV2Target_a01018b61c592ca71b3f12ebcfd188ddd}

\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{classXrlOspfV2Target_a722139b07da919ca5091dba1b6e9f951}{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{classXrlOspfV2Target_a8bb094d451f0e766d2ff0d06400ee121}{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 
\hypertarget{classXrlOspfV2Target_a0407666e7d7af428fbdf4a5121d3e9f7}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_a0407666e7d7af428fbdf4a5121d3e9f7}{ospfv2\_\-0\_\-1\_\-set\_\-router\_\-id} (const \hyperlink{classIPv4}{IPv4} \&id)}
\label{classXrlOspfV2Target_a0407666e7d7af428fbdf4a5121d3e9f7}

\begin{DoxyCompactList}\small\item\em Set router id. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOspfV2Target_a923076669283df811e68726dfd9fc442}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_a923076669283df811e68726dfd9fc442}{ospfv2\_\-0\_\-1\_\-set\_\-rfc1583\_\-compatibility} (const bool \&compatibility)}
\label{classXrlOspfV2Target_a923076669283df811e68726dfd9fc442}

\begin{DoxyCompactList}\small\item\em Set RFC 1583 compatibility. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOspfV2Target_a2053ccab3915b2b14dbb37d537a650e0}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_a2053ccab3915b2b14dbb37d537a650e0}{ospfv2\_\-0\_\-1\_\-set\_\-ip\_\-router\_\-alert} (const bool \&ip\_\-router\_\-alert)}
\label{classXrlOspfV2Target_a2053ccab3915b2b14dbb37d537a650e0}

\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} router alert in \hyperlink{protocolthe-p}{the} IP options. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_abebb68b3c640349e8c08c183ebaf564e}{ospfv2\_\-0\_\-1\_\-create\_\-area\_\-router} (const \hyperlink{classIPv4}{IPv4} \&area, const string \&type)
\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_aadce899fe8d494fa57d2951ade8a4982}{ospfv2\_\-0\_\-1\_\-change\_\-area\_\-router\_\-type} (const \hyperlink{classIPv4}{IPv4} \&area, const string \&type)
\begin{DoxyCompactList}\small\item\em Change area type. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOspfV2Target_a63f2ef24a8abae297805cdae5a67260e}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_a63f2ef24a8abae297805cdae5a67260e}{ospfv2\_\-0\_\-1\_\-destroy\_\-area\_\-router} (const \hyperlink{classIPv4}{IPv4} \&area)}
\label{classXrlOspfV2Target_a63f2ef24a8abae297805cdae5a67260e}

\begin{DoxyCompactList}\small\item\em Destroy area. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_a0fd5c74a8ac690426892e0507bd000df}{ospfv2\_\-0\_\-1\_\-create\_\-peer} (const string \&ifname, const string \&vifname, const \hyperlink{classIPv4}{IPv4} \&addr, const string \&type, const \hyperlink{classIPv4}{IPv4} \&area)
\begin{DoxyCompactList}\small\item\em Create a binding to an interface. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOspfV2Target_ac08491a31a7c36b1b28c71dde1b2b682}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_ac08491a31a7c36b1b28c71dde1b2b682}{ospfv2\_\-0\_\-1\_\-delete\_\-peer} (const string \&ifname, const string \&vifname)}
\label{classXrlOspfV2Target_ac08491a31a7c36b1b28c71dde1b2b682}

\begin{DoxyCompactList}\small\item\em Delete peer. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOspfV2Target_a304a643ea65940795047311d00c7fbff}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_a304a643ea65940795047311d00c7fbff}{ospfv2\_\-0\_\-1\_\-set\_\-peer\_\-state} (const string \&ifname, const string \&vifname, const bool \&enable)}
\label{classXrlOspfV2Target_a304a643ea65940795047311d00c7fbff}

\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} peer state up or down. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOspfV2Target_ab375dd9f0fb2e69e5e19e07006f2360e}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_ab375dd9f0fb2e69e5e19e07006f2360e}{ospfv2\_\-0\_\-1\_\-add\_\-neighbour} (const string \&ifname, const string \&vifname, const \hyperlink{classIPv4}{IPv4} \&area, const \hyperlink{classIPv4}{IPv4} \&neighbour\_\-address, const \hyperlink{classIPv4}{IPv4} \&neighbour\_\-id)}
\label{classXrlOspfV2Target_ab375dd9f0fb2e69e5e19e07006f2360e}

\begin{DoxyCompactList}\small\item\em Add a neighbour to \hyperlink{protocolthe-p}{the} peer. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOspfV2Target_a9228503aed0140c0eecdb24e8acf7691}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_a9228503aed0140c0eecdb24e8acf7691}{ospfv2\_\-0\_\-1\_\-remove\_\-neighbour} (const string \&ifname, const string \&vifname, const \hyperlink{classIPv4}{IPv4} \&area, const \hyperlink{classIPv4}{IPv4} \&neighbour\_\-address, const \hyperlink{classIPv4}{IPv4} \&neighbour\_\-id)}
\label{classXrlOspfV2Target_a9228503aed0140c0eecdb24e8acf7691}

\begin{DoxyCompactList}\small\item\em Remove a neighbour from \hyperlink{protocolthe-p}{the} peer. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_a2b5c19f17fff36264bd779d36b25d4d2}{ospfv2\_\-0\_\-1\_\-create\_\-virtual\_\-link} (const \hyperlink{classIPv4}{IPv4} \&neighbour\_\-id, const \hyperlink{classIPv4}{IPv4} \&area)
\begin{DoxyCompactList}\small\item\em Create a virtual link. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_acb0996a7e64105fa119ba447e01f41c4}{ospfv2\_\-0\_\-1\_\-delete\_\-virtual\_\-link} (const \hyperlink{classIPv4}{IPv4} \&neighbour\_\-id)
\begin{DoxyCompactList}\small\item\em Delete virtual link. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_abd0b20c335dfa8c93e1e7fa04761ca15}{ospfv2\_\-0\_\-1\_\-transit\_\-area\_\-virtual\_\-link} (const \hyperlink{classIPv4}{IPv4} \&neighbour\_\-id, const \hyperlink{classIPv4}{IPv4} \&transit\_\-area)
\begin{DoxyCompactList}\small\item\em The area through which \hyperlink{protocolthe-p}{the} virtual link transits. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOspfV2Target_ac3cec505f3377c2f76268807e71f0c9a}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_ac3cec505f3377c2f76268807e71f0c9a}{ospfv2\_\-0\_\-1\_\-set\_\-interface\_\-cost} (const string \&ifname, const string \&vifname, const \hyperlink{classIPv4}{IPv4} \&area, const uint32\_\-t \&cost)}
\label{classXrlOspfV2Target_ac3cec505f3377c2f76268807e71f0c9a}

\begin{DoxyCompactList}\small\item\em The edge cost of this interface. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOspfV2Target_a22343c5c7d1459c284e1a2f3f8f6023f}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_a22343c5c7d1459c284e1a2f3f8f6023f}{ospfv2\_\-0\_\-1\_\-set\_\-retransmit\_\-interval} (const string \&ifname, const string \&vifname, const \hyperlink{classIPv4}{IPv4} \&area, const uint32\_\-t \&interval)}
\label{classXrlOspfV2Target_a22343c5c7d1459c284e1a2f3f8f6023f}

\begin{DoxyCompactList}\small\item\em The RxmtInterval. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_aa1b46e3058e811b2174791ca07df33dd}{ospfv2\_\-0\_\-1\_\-set\_\-inftransdelay} (const string \&ifname, const string \&vifname, const \hyperlink{classIPv4}{IPv4} \&area, const uint32\_\-t \&delay)
\begin{DoxyCompactList}\small\item\em Update packet will have their age incremented by this amount before transmission. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOspfV2Target_a9e411c0c0fcbc431468d72308f8ee1a9}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_a9e411c0c0fcbc431468d72308f8ee1a9}{ospfv2\_\-0\_\-1\_\-set\_\-router\_\-priority} (const string \&ifname, const string \&vifname, const \hyperlink{classIPv4}{IPv4} \&area, const uint32\_\-t \&interval)}
\label{classXrlOspfV2Target_a9e411c0c0fcbc431468d72308f8ee1a9}

\begin{DoxyCompactList}\small\item\em Used in \hyperlink{protocolthe-p}{the} designated router election. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOspfV2Target_aa26be8435238debc925f9964f8a6e8c3}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_aa26be8435238debc925f9964f8a6e8c3}{ospfv2\_\-0\_\-1\_\-set\_\-hello\_\-interval} (const string \&ifname, const string \&vifname, const \hyperlink{classIPv4}{IPv4} \&area, const uint32\_\-t \&interval)}
\label{classXrlOspfV2Target_aa26be8435238debc925f9964f8a6e8c3}

\begin{DoxyCompactList}\small\item\em The interval between hello messages. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOspfV2Target_a6c786167b8c68b514ea46d96ef3b856a}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_a6c786167b8c68b514ea46d96ef3b856a}{ospfv2\_\-0\_\-1\_\-set\_\-router\_\-dead\_\-interval} (const string \&ifname, const string \&vifname, const \hyperlink{classIPv4}{IPv4} \&area, const uint32\_\-t \&interval)}
\label{classXrlOspfV2Target_a6c786167b8c68b514ea46d96ef3b856a}

\begin{DoxyCompactList}\small\item\em The period to wait before considering a router dead. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_addf714f3b498e7c264118b01e18683df}{ospfv2\_\-0\_\-1\_\-set\_\-simple\_\-authentication\_\-key} (const string \&ifname, const string \&vifname, const \hyperlink{classIPv4}{IPv4} \&area, const string \&password)
\begin{DoxyCompactList}\small\item\em Set simple password authentication key. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_a0b0eed8b71a368c726958ca56a732cbd}{ospfv2\_\-0\_\-1\_\-delete\_\-simple\_\-authentication\_\-key} (const string \&ifname, const string \&vifname, const \hyperlink{classIPv4}{IPv4} \&area)
\begin{DoxyCompactList}\small\item\em Delete simple password authentication key. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_afec223c74d48a2410b542ba4e79ee25f}{ospfv2\_\-0\_\-1\_\-set\_\-md5\_\-authentication\_\-key} (const string \&ifname, const string \&vifname, const \hyperlink{classIPv4}{IPv4} \&area, const uint32\_\-t \&key\_\-id, const string \&password, const string \&start\_\-time, const string \&end\_\-time, const uint32\_\-t \&max\_\-time\_\-drift)
\begin{DoxyCompactList}\small\item\em Set MD5 authentication key. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_a66021a1b7f8146febab94f8898c4e3cd}{ospfv2\_\-0\_\-1\_\-delete\_\-md5\_\-authentication\_\-key} (const string \&ifname, const string \&vifname, const \hyperlink{classIPv4}{IPv4} \&area, const uint32\_\-t \&key\_\-id)
\begin{DoxyCompactList}\small\item\em Delete MD5 authentication key. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOspfV2Target_a5bcc9bc4e1a7d5c0a8e1101312162c4a}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_a5bcc9bc4e1a7d5c0a8e1101312162c4a}{ospfv2\_\-0\_\-1\_\-set\_\-passive} (const string \&ifname, const string \&vifname, const \hyperlink{classIPv4}{IPv4} \&area, const bool \&passive, const bool \&host)}
\label{classXrlOspfV2Target_a5bcc9bc4e1a7d5c0a8e1101312162c4a}

\begin{DoxyCompactList}\small\item\em Toggle \hyperlink{protocolthe-p}{the} passive status of an interface. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOspfV2Target_aaa6c376e11c5a05a6d27f159bdfa7d18}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_aaa6c376e11c5a05a6d27f159bdfa7d18}{ospfv2\_\-0\_\-1\_\-originate\_\-default\_\-route} (const \hyperlink{classIPv4}{IPv4} \&area, const bool \&enable)}
\label{classXrlOspfV2Target_aaa6c376e11c5a05a6d27f159bdfa7d18}

\begin{DoxyCompactList}\small\item\em If this is a \char`\"{}stub\char`\"{} or \char`\"{}nssa\char`\"{} area toggle \hyperlink{protocolthe-p}{the} sending of a default route. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOspfV2Target_a07ed02954275bf7494eb585dfc53a94a}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_a07ed02954275bf7494eb585dfc53a94a}{ospfv2\_\-0\_\-1\_\-stub\_\-default\_\-cost} (const \hyperlink{classIPv4}{IPv4} \&area, const uint32\_\-t \&cost)}
\label{classXrlOspfV2Target_a07ed02954275bf7494eb585dfc53a94a}

\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} StubDefaultCost, \hyperlink{protocolthe-p}{the} default cost sent in a default route in a \char`\"{}stub\char`\"{} or \char`\"{}nssa\char`\"{} area. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOspfV2Target_aeecdee0629115c6b7cb25a320c3eb7e0}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_aeecdee0629115c6b7cb25a320c3eb7e0}{ospfv2\_\-0\_\-1\_\-summaries} (const \hyperlink{classIPv4}{IPv4} \&area, const bool \&enable)}
\label{classXrlOspfV2Target_aeecdee0629115c6b7cb25a320c3eb7e0}

\begin{DoxyCompactList}\small\item\em Toggle \hyperlink{protocolthe-p}{the} sending of summaries into \char`\"{}stub\char`\"{} or \char`\"{}nssa\char`\"{} areas. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOspfV2Target_ac1fe8f5590aaa3b76b60fee25a47d146}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_ac1fe8f5590aaa3b76b60fee25a47d146}{ospfv2\_\-0\_\-1\_\-area\_\-range\_\-add} (const \hyperlink{classIPv4}{IPv4} \&area, const \hyperlink{classIPNet}{IPv4Net} \&net, const bool \&advertise)}
\label{classXrlOspfV2Target_ac1fe8f5590aaa3b76b60fee25a47d146}

\begin{DoxyCompactList}\small\item\em Add area range. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOspfV2Target_ae0b1efe18d45af6282d9c9b9034896fa}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_ae0b1efe18d45af6282d9c9b9034896fa}{ospfv2\_\-0\_\-1\_\-area\_\-range\_\-delete} (const \hyperlink{classIPv4}{IPv4} \&area, const \hyperlink{classIPNet}{IPv4Net} \&net)}
\label{classXrlOspfV2Target_ae0b1efe18d45af6282d9c9b9034896fa}

\begin{DoxyCompactList}\small\item\em Delete area range. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOspfV2Target_a09c04e94423d10bbb74e05a0794ecd01}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_a09c04e94423d10bbb74e05a0794ecd01}{ospfv2\_\-0\_\-1\_\-area\_\-range\_\-change\_\-state} (const \hyperlink{classIPv4}{IPv4} \&area, const \hyperlink{classIPNet}{IPv4Net} \&net, const bool \&advertise)}
\label{classXrlOspfV2Target_a09c04e94423d10bbb74e05a0794ecd01}

\begin{DoxyCompactList}\small\item\em Change \hyperlink{protocolthe-p}{the} advertised state of this area. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_a415d8ac7c6def5cc23781538061bc445}{ospfv2\_\-0\_\-1\_\-trace} (const string \&tvar, const bool \&enable)
\begin{DoxyCompactList}\small\item\em Enable/Disable tracing. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_a6c1a35c46e5bd3a2dffb6937282e7985}{ospfv2\_\-0\_\-1\_\-get\_\-lsa} (const \hyperlink{classIPv4}{IPv4} \&area, const uint32\_\-t \&index, bool \&valid, bool \&toohigh, bool \&self, vector$<$ uint8\_\-t $>$ \&lsa)
\begin{DoxyCompactList}\small\item\em Get a single lsa from an area. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOspfV2Target_a60f708546c4e97c86bc8f78c47a6677a}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_a60f708546c4e97c86bc8f78c47a6677a}{ospfv2\_\-0\_\-1\_\-get\_\-area\_\-list} (\hyperlink{classXrlAtomList}{XrlAtomList} \&areas)}
\label{classXrlOspfV2Target_a60f708546c4e97c86bc8f78c47a6677a}

\begin{DoxyCompactList}\small\item\em Get a list of all \hyperlink{protocolthe-p}{the} configured areas. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOspfV2Target_a97aca7a353b6dfd63b8a9c90bf7ee4ff}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_a97aca7a353b6dfd63b8a9c90bf7ee4ff}{ospfv2\_\-0\_\-1\_\-get\_\-neighbour\_\-list} (\hyperlink{classXrlAtomList}{XrlAtomList} \&areas)}
\label{classXrlOspfV2Target_a97aca7a353b6dfd63b8a9c90bf7ee4ff}

\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} list of neighbours. \item\end{DoxyCompactList}\item 
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_a25e1003c2b628b43a8ed393c06454da9}{ospfv2\_\-0\_\-1\_\-get\_\-neighbour\_\-info} (const uint32\_\-t \&nid, string \&address, string \&interface, string \&state, \hyperlink{classIPv4}{IPv4} \&rid, uint32\_\-t \&priority, uint32\_\-t \&deadtime, \hyperlink{classIPv4}{IPv4} \&area, uint32\_\-t \&opt, \hyperlink{classIPv4}{IPv4} \&dr, \hyperlink{classIPv4}{IPv4} \&bdr, uint32\_\-t \&up, uint32\_\-t \&adjacent)
\begin{DoxyCompactList}\small\item\em Get information on a neighbour. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlOspfV2Target_aea57e564592d596ff4bae14aed42f21c}{
\hyperlink{structXrlCmdError}{XrlCmdError} \hyperlink{classXrlOspfV2Target_aea57e564592d596ff4bae14aed42f21c}{ospfv2\_\-0\_\-1\_\-clear\_\-database} ()}
\label{classXrlOspfV2Target_aea57e564592d596ff4bae14aed42f21c}

\begin{DoxyCompactList}\small\item\em Clear \hyperlink{protocolthe-p}{the} OSPF database. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classXrlOspfV2Target_ac1d9d46a62061ceaacd378b5976639b0}{
\hyperlink{classOspf}{Ospf}$<$ \hyperlink{classIPv4}{IPv4} $>$ \& {\bfseries \_\-ospf}}
\label{classXrlOspfV2Target_ac1d9d46a62061ceaacd378b5976639b0}

\item 
\hypertarget{classXrlOspfV2Target_a0d8ca334873599e8ffdcd1c87bbc024a}{
\hyperlink{classXrlIO}{XrlIO}$<$ \hyperlink{classIPv4}{IPv4} $>$ \& {\bfseries \_\-xrl\_\-io}}
\label{classXrlOspfV2Target_a0d8ca334873599e8ffdcd1c87bbc024a}

\end{DoxyCompactItemize}


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


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

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

Implements \hyperlink{structXrlOspfv2TargetBase_acf75581771aa22705c9ed6929dd79050}{XrlOspfv2TargetBase}.

\hypertarget{classXrlOspfV2Target_aadce899fe8d494fa57d2951ade8a4982}{
\index{XrlOspfV2Target@{XrlOspfV2Target}!ospfv2\_\-0\_\-1\_\-change\_\-area\_\-router\_\-type@{ospfv2\_\-0\_\-1\_\-change\_\-area\_\-router\_\-type}}
\index{ospfv2\_\-0\_\-1\_\-change\_\-area\_\-router\_\-type@{ospfv2\_\-0\_\-1\_\-change\_\-area\_\-router\_\-type}!XrlOspfV2Target@{XrlOspfV2Target}}
\subsubsection[{ospfv2\_\-0\_\-1\_\-change\_\-area\_\-router\_\-type}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOspfV2Target::ospfv2\_\-0\_\-1\_\-change\_\-area\_\-router\_\-type (
\begin{DoxyParamCaption}
\item[{const {\bf IPv4} \&}]{area, }
\item[{const string \&}]{type}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOspfV2Target_aadce899fe8d494fa57d2951ade8a4982}


Change area type. 


\begin{DoxyParams}{Parameters}
{\em area} & id of \hyperlink{protocolthe-p}{the} area\\
\hline
{\em type} & of area \char`\"{}border\char`\"{}, \char`\"{}stub\char`\"{}, \char`\"{}nssa\char`\"{} \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOspfv2TargetBase_a00862c82586a407b7b4c5c4125f53462}{XrlOspfv2TargetBase}.

\hypertarget{classXrlOspfV2Target_abebb68b3c640349e8c08c183ebaf564e}{
\index{XrlOspfV2Target@{XrlOspfV2Target}!ospfv2\_\-0\_\-1\_\-create\_\-area\_\-router@{ospfv2\_\-0\_\-1\_\-create\_\-area\_\-router}}
\index{ospfv2\_\-0\_\-1\_\-create\_\-area\_\-router@{ospfv2\_\-0\_\-1\_\-create\_\-area\_\-router}!XrlOspfV2Target@{XrlOspfV2Target}}
\subsubsection[{ospfv2\_\-0\_\-1\_\-create\_\-area\_\-router}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOspfV2Target::ospfv2\_\-0\_\-1\_\-create\_\-area\_\-router (
\begin{DoxyParamCaption}
\item[{const {\bf IPv4} \&}]{area, }
\item[{const string \&}]{type}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOspfV2Target_abebb68b3c640349e8c08c183ebaf564e}

\begin{DoxyParams}{Parameters}
{\em type} & of area \char`\"{}normal\char`\"{}, \char`\"{}stub\char`\"{}, \char`\"{}nssa\char`\"{} \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOspfv2TargetBase_ab191f84fdec86bb627b71033a57f58ff}{XrlOspfv2TargetBase}.

\hypertarget{classXrlOspfV2Target_a0fd5c74a8ac690426892e0507bd000df}{
\index{XrlOspfV2Target@{XrlOspfV2Target}!ospfv2\_\-0\_\-1\_\-create\_\-peer@{ospfv2\_\-0\_\-1\_\-create\_\-peer}}
\index{ospfv2\_\-0\_\-1\_\-create\_\-peer@{ospfv2\_\-0\_\-1\_\-create\_\-peer}!XrlOspfV2Target@{XrlOspfV2Target}}
\subsubsection[{ospfv2\_\-0\_\-1\_\-create\_\-peer}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOspfV2Target::ospfv2\_\-0\_\-1\_\-create\_\-peer (
\begin{DoxyParamCaption}
\item[{const string \&}]{ifname, }
\item[{const string \&}]{vifname, }
\item[{const {\bf IPv4} \&}]{addr, }
\item[{const string \&}]{type, }
\item[{const {\bf IPv4} \&}]{area}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOspfV2Target_a0fd5c74a8ac690426892e0507bd000df}


Create a binding to an interface. 


\begin{DoxyParams}{Parameters}
{\em ifname} & \hyperlink{protocolthe-p}{the} interface that owns vif that has address.\\
\hline
{\em vifname} & virtual interface owning address.\\
\hline
{\em addr} & \hyperlink{protocolthe-p}{the} address to be added.\\
\hline
{\em type} & of link \char`\"{}p2p\char`\"{}, \char`\"{}broadcast\char`\"{}, \char`\"{}nbma\char`\"{}, \char`\"{}p2m\char`\"{}, \char`\"{}vlink\char`\"{} \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOspfv2TargetBase_abb5de936a93cb59ffb2772dd3d47379d}{XrlOspfv2TargetBase}.

\hypertarget{classXrlOspfV2Target_a2b5c19f17fff36264bd779d36b25d4d2}{
\index{XrlOspfV2Target@{XrlOspfV2Target}!ospfv2\_\-0\_\-1\_\-create\_\-virtual\_\-link@{ospfv2\_\-0\_\-1\_\-create\_\-virtual\_\-link}}
\index{ospfv2\_\-0\_\-1\_\-create\_\-virtual\_\-link@{ospfv2\_\-0\_\-1\_\-create\_\-virtual\_\-link}!XrlOspfV2Target@{XrlOspfV2Target}}
\subsubsection[{ospfv2\_\-0\_\-1\_\-create\_\-virtual\_\-link}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOspfV2Target::ospfv2\_\-0\_\-1\_\-create\_\-virtual\_\-link (
\begin{DoxyParamCaption}
\item[{const {\bf IPv4} \&}]{neighbour\_\-id, }
\item[{const {\bf IPv4} \&}]{area}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOspfV2Target_a2b5c19f17fff36264bd779d36b25d4d2}


Create a virtual link. 


\begin{DoxyParams}{Parameters}
{\em neighbour\_\-id} & \hyperlink{protocolthe-p}{the} router ID of \hyperlink{protocolthe-p}{the} other end of \hyperlink{protocolthe-p}{the} link.\\
\hline
{\em area} & in which an attempt has been made to configure a virtual link it has to be \hyperlink{protocolthe-p}{the} backbone. Its just being passed in so it can be checked by \hyperlink{protocolthe-p}{the} protocol. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOspfv2TargetBase_a472ece4f66014f5b14c0c324618e17e4}{XrlOspfv2TargetBase}.

\hypertarget{classXrlOspfV2Target_a66021a1b7f8146febab94f8898c4e3cd}{
\index{XrlOspfV2Target@{XrlOspfV2Target}!ospfv2\_\-0\_\-1\_\-delete\_\-md5\_\-authentication\_\-key@{ospfv2\_\-0\_\-1\_\-delete\_\-md5\_\-authentication\_\-key}}
\index{ospfv2\_\-0\_\-1\_\-delete\_\-md5\_\-authentication\_\-key@{ospfv2\_\-0\_\-1\_\-delete\_\-md5\_\-authentication\_\-key}!XrlOspfV2Target@{XrlOspfV2Target}}
\subsubsection[{ospfv2\_\-0\_\-1\_\-delete\_\-md5\_\-authentication\_\-key}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOspfV2Target::ospfv2\_\-0\_\-1\_\-delete\_\-md5\_\-authentication\_\-key (
\begin{DoxyParamCaption}
\item[{const string \&}]{ifname, }
\item[{const string \&}]{vifname, }
\item[{const {\bf IPv4} \&}]{area, }
\item[{const uint32\_\-t \&}]{key\_\-id}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOspfV2Target_a66021a1b7f8146febab94f8898c4e3cd}


Delete MD5 authentication key. 


\begin{DoxyParams}{Parameters}
{\em ifname} & \hyperlink{protocolthe-p}{the} interface name.\\
\hline
{\em vifname} & \hyperlink{protocolthe-p}{the} vif name.\\
\hline
{\em area} & \hyperlink{protocolthe-p}{the} area ID.\\
\hline
{\em key\_\-id} & \hyperlink{protocolthe-p}{the} key ID (must be an integer in \hyperlink{protocolthe-p}{the} interval \mbox{[}0, 255\mbox{]}). \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOspfv2TargetBase_a60728f6059fb0bf36af86b51e07996dd}{XrlOspfv2TargetBase}.

\hypertarget{classXrlOspfV2Target_a0b0eed8b71a368c726958ca56a732cbd}{
\index{XrlOspfV2Target@{XrlOspfV2Target}!ospfv2\_\-0\_\-1\_\-delete\_\-simple\_\-authentication\_\-key@{ospfv2\_\-0\_\-1\_\-delete\_\-simple\_\-authentication\_\-key}}
\index{ospfv2\_\-0\_\-1\_\-delete\_\-simple\_\-authentication\_\-key@{ospfv2\_\-0\_\-1\_\-delete\_\-simple\_\-authentication\_\-key}!XrlOspfV2Target@{XrlOspfV2Target}}
\subsubsection[{ospfv2\_\-0\_\-1\_\-delete\_\-simple\_\-authentication\_\-key}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOspfV2Target::ospfv2\_\-0\_\-1\_\-delete\_\-simple\_\-authentication\_\-key (
\begin{DoxyParamCaption}
\item[{const string \&}]{ifname, }
\item[{const string \&}]{vifname, }
\item[{const {\bf IPv4} \&}]{area}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOspfV2Target_a0b0eed8b71a368c726958ca56a732cbd}


Delete simple password authentication key. 


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


Implements \hyperlink{structXrlOspfv2TargetBase_ae1502a7ff617e3fe3cbd44e306386179}{XrlOspfv2TargetBase}.

\hypertarget{classXrlOspfV2Target_acb0996a7e64105fa119ba447e01f41c4}{
\index{XrlOspfV2Target@{XrlOspfV2Target}!ospfv2\_\-0\_\-1\_\-delete\_\-virtual\_\-link@{ospfv2\_\-0\_\-1\_\-delete\_\-virtual\_\-link}}
\index{ospfv2\_\-0\_\-1\_\-delete\_\-virtual\_\-link@{ospfv2\_\-0\_\-1\_\-delete\_\-virtual\_\-link}!XrlOspfV2Target@{XrlOspfV2Target}}
\subsubsection[{ospfv2\_\-0\_\-1\_\-delete\_\-virtual\_\-link}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOspfV2Target::ospfv2\_\-0\_\-1\_\-delete\_\-virtual\_\-link (
\begin{DoxyParamCaption}
\item[{const {\bf IPv4} \&}]{neighbour\_\-id}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOspfV2Target_acb0996a7e64105fa119ba447e01f41c4}


Delete virtual link. 


\begin{DoxyParams}{Parameters}
{\em neighbour\_\-id} & \hyperlink{protocolthe-p}{the} router ID of \hyperlink{protocolthe-p}{the} other end of \hyperlink{protocolthe-p}{the} link. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOspfv2TargetBase_aa21f2149b555310a8d02d042fbe367fc}{XrlOspfv2TargetBase}.

\hypertarget{classXrlOspfV2Target_a6c1a35c46e5bd3a2dffb6937282e7985}{
\index{XrlOspfV2Target@{XrlOspfV2Target}!ospfv2\_\-0\_\-1\_\-get\_\-lsa@{ospfv2\_\-0\_\-1\_\-get\_\-lsa}}
\index{ospfv2\_\-0\_\-1\_\-get\_\-lsa@{ospfv2\_\-0\_\-1\_\-get\_\-lsa}!XrlOspfV2Target@{XrlOspfV2Target}}
\subsubsection[{ospfv2\_\-0\_\-1\_\-get\_\-lsa}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOspfV2Target::ospfv2\_\-0\_\-1\_\-get\_\-lsa (
\begin{DoxyParamCaption}
\item[{const {\bf IPv4} \&}]{area, }
\item[{const uint32\_\-t \&}]{index, }
\item[{bool \&}]{valid, }
\item[{bool \&}]{toohigh, }
\item[{bool \&}]{self, }
\item[{vector$<$ uint8\_\-t $>$ \&}]{lsa}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOspfV2Target_a6c1a35c46e5bd3a2dffb6937282e7985}


Get a single lsa from an area. 

A stateless mechanism to get LSAs. The client of this interface should start from zero and continue to request LSAs (incrementing index) until toohigh becomes true.


\begin{DoxyParams}{Parameters}
{\em area} & database that is being searched.\\
\hline
{\em index} & into database starting from 0.\\
\hline
{\em valid} & true if a LSA has been returned. Some index values do not contain LSAs. This should not be considered an error.\\
\hline
{\em toohigh} & true if no more LSA exist after this index.\\
\hline
{\em self} & if true this LSA was originated by this router.\\
\hline
{\em lsa} & if valid is true \hyperlink{protocolthe-p}{the} LSA at index. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOspfv2TargetBase_a1fec6031dfaa72eae4caf9c6c962c218}{XrlOspfv2TargetBase}.

\hypertarget{classXrlOspfV2Target_a25e1003c2b628b43a8ed393c06454da9}{
\index{XrlOspfV2Target@{XrlOspfV2Target}!ospfv2\_\-0\_\-1\_\-get\_\-neighbour\_\-info@{ospfv2\_\-0\_\-1\_\-get\_\-neighbour\_\-info}}
\index{ospfv2\_\-0\_\-1\_\-get\_\-neighbour\_\-info@{ospfv2\_\-0\_\-1\_\-get\_\-neighbour\_\-info}!XrlOspfV2Target@{XrlOspfV2Target}}
\subsubsection[{ospfv2\_\-0\_\-1\_\-get\_\-neighbour\_\-info}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOspfV2Target::ospfv2\_\-0\_\-1\_\-get\_\-neighbour\_\-info (
\begin{DoxyParamCaption}
\item[{const uint32\_\-t \&}]{nid, }
\item[{string \&}]{address, }
\item[{string \&}]{interface, }
\item[{string \&}]{state, }
\item[{{\bf IPv4} \&}]{rid, }
\item[{uint32\_\-t \&}]{priority, }
\item[{uint32\_\-t \&}]{deadtime, }
\item[{{\bf IPv4} \&}]{area, }
\item[{uint32\_\-t \&}]{opt, }
\item[{{\bf IPv4} \&}]{dr, }
\item[{{\bf IPv4} \&}]{bdr, }
\item[{uint32\_\-t \&}]{up, }
\item[{uint32\_\-t \&}]{adjacent}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOspfV2Target_a25e1003c2b628b43a8ed393c06454da9}


Get information on a neighbour. 


\begin{DoxyParams}{Parameters}
{\em nid} & neighbour ID returned by \hyperlink{protocolthe-p}{the} get\_\-neighbour\_\-list.\\
\hline
{\em valid} & true if valid information has been returned.\\
\hline
{\em address} & of neighbour in txt to allow \hyperlink{classIPv4}{IPv4} and \hyperlink{classIPv6}{IPv6}.\\
\hline
{\em interface} & with which \hyperlink{protocolthe-p}{the} neighbour forms \hyperlink{protocolthe-p}{the} adjacency.\\
\hline
{\em state} & of \hyperlink{protocolthe-p}{the} adjacency.\\
\hline
{\em rid} & router ID of \hyperlink{protocolthe-p}{the} neighbour.\\
\hline
{\em priority} & of \hyperlink{protocolthe-p}{the} neighbour (used for DR election).\\
\hline
{\em area} & \hyperlink{protocolthe-p}{the} neighbour is in.\\
\hline
{\em opt} & value in \hyperlink{protocolthe-p}{the} neighbours hello packet.\\
\hline
{\em dr} & designated router.\\
\hline
{\em bdr} & backup designated router.\\
\hline
{\em up} & time in seconds that \hyperlink{protocolthe-p}{the} neigbour has been up.\\
\hline
{\em adjacent} & time in seconds that there has been an adjacency. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOspfv2TargetBase_aef3e11bf38eae767042f413f81c0947c}{XrlOspfv2TargetBase}.

\hypertarget{classXrlOspfV2Target_aa1b46e3058e811b2174791ca07df33dd}{
\index{XrlOspfV2Target@{XrlOspfV2Target}!ospfv2\_\-0\_\-1\_\-set\_\-inftransdelay@{ospfv2\_\-0\_\-1\_\-set\_\-inftransdelay}}
\index{ospfv2\_\-0\_\-1\_\-set\_\-inftransdelay@{ospfv2\_\-0\_\-1\_\-set\_\-inftransdelay}!XrlOspfV2Target@{XrlOspfV2Target}}
\subsubsection[{ospfv2\_\-0\_\-1\_\-set\_\-inftransdelay}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOspfV2Target::ospfv2\_\-0\_\-1\_\-set\_\-inftransdelay (
\begin{DoxyParamCaption}
\item[{const string \&}]{ifname, }
\item[{const string \&}]{vifname, }
\item[{const {\bf IPv4} \&}]{area, }
\item[{const uint32\_\-t \&}]{delay}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOspfV2Target_aa1b46e3058e811b2174791ca07df33dd}


Update packet will have their age incremented by this amount before transmission. 

This value should take into account transmission and propagation delays; it must be greater than zero. 

Implements \hyperlink{structXrlOspfv2TargetBase_ad1b0d8e218a0e514b19670992cef1c79}{XrlOspfv2TargetBase}.

\hypertarget{classXrlOspfV2Target_afec223c74d48a2410b542ba4e79ee25f}{
\index{XrlOspfV2Target@{XrlOspfV2Target}!ospfv2\_\-0\_\-1\_\-set\_\-md5\_\-authentication\_\-key@{ospfv2\_\-0\_\-1\_\-set\_\-md5\_\-authentication\_\-key}}
\index{ospfv2\_\-0\_\-1\_\-set\_\-md5\_\-authentication\_\-key@{ospfv2\_\-0\_\-1\_\-set\_\-md5\_\-authentication\_\-key}!XrlOspfV2Target@{XrlOspfV2Target}}
\subsubsection[{ospfv2\_\-0\_\-1\_\-set\_\-md5\_\-authentication\_\-key}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOspfV2Target::ospfv2\_\-0\_\-1\_\-set\_\-md5\_\-authentication\_\-key (
\begin{DoxyParamCaption}
\item[{const string \&}]{ifname, }
\item[{const string \&}]{vifname, }
\item[{const {\bf IPv4} \&}]{area, }
\item[{const uint32\_\-t \&}]{key\_\-id, }
\item[{const string \&}]{password, }
\item[{const string \&}]{start\_\-time, }
\item[{const string \&}]{end\_\-time, }
\item[{const uint32\_\-t \&}]{max\_\-time\_\-drift}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOspfV2Target_afec223c74d48a2410b542ba4e79ee25f}


Set MD5 authentication key. 


\begin{DoxyParams}{Parameters}
{\em ifname} & \hyperlink{protocolthe-p}{the} interface name.\\
\hline
{\em vifname} & \hyperlink{protocolthe-p}{the} vif name.\\
\hline
{\em area} & \hyperlink{protocolthe-p}{the} area ID.\\
\hline
{\em key\_\-id} & \hyperlink{protocolthe-p}{the} key ID (must be an integer in \hyperlink{protocolthe-p}{the} interval \mbox{[}0, 255\mbox{]}).\\
\hline
{\em password} & \hyperlink{protocolthe-p}{the} authentication password.\\
\hline
{\em start\_\-time} & \hyperlink{protocolthe-p}{the} authentication start time (YYYY-\/MM-\/DD.HH:MM).\\
\hline
{\em end\_\-time} & \hyperlink{protocolthe-p}{the} authentication end time (YYYY-\/MM-\/DD.HH:MM).\\
\hline
{\em max\_\-time\_\-drift} & \hyperlink{protocolthe-p}{the} maximum time drift (in seconds) among all routers. Allowed values are \mbox{[}0-\/-\/65534\mbox{]} seconds or 65535 for unlimited time drift. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOspfv2TargetBase_a1587ba8f572f103e5adc065ad088b5fb}{XrlOspfv2TargetBase}.

\hypertarget{classXrlOspfV2Target_addf714f3b498e7c264118b01e18683df}{
\index{XrlOspfV2Target@{XrlOspfV2Target}!ospfv2\_\-0\_\-1\_\-set\_\-simple\_\-authentication\_\-key@{ospfv2\_\-0\_\-1\_\-set\_\-simple\_\-authentication\_\-key}}
\index{ospfv2\_\-0\_\-1\_\-set\_\-simple\_\-authentication\_\-key@{ospfv2\_\-0\_\-1\_\-set\_\-simple\_\-authentication\_\-key}!XrlOspfV2Target@{XrlOspfV2Target}}
\subsubsection[{ospfv2\_\-0\_\-1\_\-set\_\-simple\_\-authentication\_\-key}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOspfV2Target::ospfv2\_\-0\_\-1\_\-set\_\-simple\_\-authentication\_\-key (
\begin{DoxyParamCaption}
\item[{const string \&}]{ifname, }
\item[{const string \&}]{vifname, }
\item[{const {\bf IPv4} \&}]{area, }
\item[{const string \&}]{password}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOspfV2Target_addf714f3b498e7c264118b01e18683df}


Set simple password authentication key. 


\begin{DoxyParams}{Parameters}
{\em ifname} & \hyperlink{protocolthe-p}{the} interface name.\\
\hline
{\em vifname} & \hyperlink{protocolthe-p}{the} vif name.\\
\hline
{\em area} & \hyperlink{protocolthe-p}{the} area ID.\\
\hline
{\em password} & \hyperlink{protocolthe-p}{the} authentication password. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOspfv2TargetBase_aa03d2d01cbfaf1874d4431bb58f36b22}{XrlOspfv2TargetBase}.

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


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{structXrlOspfv2TargetBase_a67a4f46d2070722a728574d46c4b8e7c}{XrlOspfv2TargetBase}.

\hypertarget{classXrlOspfV2Target_abd0b20c335dfa8c93e1e7fa04761ca15}{
\index{XrlOspfV2Target@{XrlOspfV2Target}!ospfv2\_\-0\_\-1\_\-transit\_\-area\_\-virtual\_\-link@{ospfv2\_\-0\_\-1\_\-transit\_\-area\_\-virtual\_\-link}}
\index{ospfv2\_\-0\_\-1\_\-transit\_\-area\_\-virtual\_\-link@{ospfv2\_\-0\_\-1\_\-transit\_\-area\_\-virtual\_\-link}!XrlOspfV2Target@{XrlOspfV2Target}}
\subsubsection[{ospfv2\_\-0\_\-1\_\-transit\_\-area\_\-virtual\_\-link}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOspfV2Target::ospfv2\_\-0\_\-1\_\-transit\_\-area\_\-virtual\_\-link (
\begin{DoxyParamCaption}
\item[{const {\bf IPv4} \&}]{neighbour\_\-id, }
\item[{const {\bf IPv4} \&}]{transit\_\-area}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOspfV2Target_abd0b20c335dfa8c93e1e7fa04761ca15}


The area through which \hyperlink{protocolthe-p}{the} virtual link transits. 


\begin{DoxyParams}{Parameters}
{\em neighbour\_\-id} & \hyperlink{protocolthe-p}{the} router ID of \hyperlink{protocolthe-p}{the} other end of \hyperlink{protocolthe-p}{the} link.\\
\hline
{\em transit\_\-area} & that \hyperlink{protocolthe-p}{the} virtual link transits. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOspfv2TargetBase_afe5338b403c6360bda7e913427c0917f}{XrlOspfv2TargetBase}.

\hypertarget{classXrlOspfV2Target_a80c0690acbd3ec948f99108526e4657b}{
\index{XrlOspfV2Target@{XrlOspfV2Target}!policy\_\-backend\_\-0\_\-1\_\-configure@{policy\_\-backend\_\-0\_\-1\_\-configure}}
\index{policy\_\-backend\_\-0\_\-1\_\-configure@{policy\_\-backend\_\-0\_\-1\_\-configure}!XrlOspfV2Target@{XrlOspfV2Target}}
\subsubsection[{policy\_\-backend\_\-0\_\-1\_\-configure}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOspfV2Target::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{classXrlOspfV2Target_a80c0690acbd3ec948f99108526e4657b}


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{structXrlOspfv2TargetBase_ad13fba02a53793dfa8cc8fa330bbce1a}{XrlOspfv2TargetBase}.

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


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{structXrlOspfv2TargetBase_a3fe06b6f6e7d664e97849835675ae078}{XrlOspfv2TargetBase}.

\hypertarget{classXrlOspfV2Target_a722139b07da919ca5091dba1b6e9f951}{
\index{XrlOspfV2Target@{XrlOspfV2Target}!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}!XrlOspfV2Target@{XrlOspfV2Target}}
\subsubsection[{policy\_\-redist4\_\-0\_\-1\_\-add\_\-route4}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOspfV2Target::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{classXrlOspfV2Target_a722139b07da919ca5091dba1b6e9f951}


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{structXrlOspfv2TargetBase_ae9d2023335a5c232ed0340d9fd79b68c}{XrlOspfv2TargetBase}.

\hypertarget{classXrlOspfV2Target_a8bb094d451f0e766d2ff0d06400ee121}{
\index{XrlOspfV2Target@{XrlOspfV2Target}!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}!XrlOspfV2Target@{XrlOspfV2Target}}
\subsubsection[{policy\_\-redist4\_\-0\_\-1\_\-delete\_\-route4}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOspfV2Target::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{classXrlOspfV2Target_a8bb094d451f0e766d2ff0d06400ee121}


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{structXrlOspfv2TargetBase_a65bd53255d38cedfa44de566ca73a953}{XrlOspfv2TargetBase}.

\hypertarget{classXrlOspfV2Target_a37b4d3d7e331ac439791f45649626c81}{
\index{XrlOspfV2Target@{XrlOspfV2Target}!raw\_\-packet4\_\-client\_\-0\_\-1\_\-recv@{raw\_\-packet4\_\-client\_\-0\_\-1\_\-recv}}
\index{raw\_\-packet4\_\-client\_\-0\_\-1\_\-recv@{raw\_\-packet4\_\-client\_\-0\_\-1\_\-recv}!XrlOspfV2Target@{XrlOspfV2Target}}
\subsubsection[{raw\_\-packet4\_\-client\_\-0\_\-1\_\-recv}]{\setlength{\rightskip}{0pt plus 5cm}{\bf XrlCmdError} XrlOspfV2Target::raw\_\-packet4\_\-client\_\-0\_\-1\_\-recv (
\begin{DoxyParamCaption}
\item[{const string \&}]{if\_\-name, }
\item[{const string \&}]{vif\_\-name, }
\item[{const {\bf IPv4} \&}]{src\_\-address, }
\item[{const {\bf IPv4} \&}]{dst\_\-address, }
\item[{const uint32\_\-t \&}]{ip\_\-protocol, }
\item[{const int32\_\-t \&}]{ip\_\-ttl, }
\item[{const int32\_\-t \&}]{ip\_\-tos, }
\item[{const bool \&}]{ip\_\-router\_\-alert, }
\item[{const bool \&}]{ip\_\-internet\_\-control, }
\item[{const vector$<$ uint8\_\-t $>$ \&}]{payload}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classXrlOspfV2Target_a37b4d3d7e331ac439791f45649626c81}


Receive an \hyperlink{classIPv4}{IPv4} packet from a raw socket. 


\begin{DoxyParams}{Parameters}
{\em if\_\-name} & \hyperlink{protocolthe-p}{the} interface name \hyperlink{protocolthe-p}{the} packet arrived on.\\
\hline
{\em vif\_\-name} & \hyperlink{protocolthe-p}{the} vif name \hyperlink{protocolthe-p}{the} packet arrived on.\\
\hline
{\em src\_\-address} & \hyperlink{protocolthe-p}{the} IP source address.\\
\hline
{\em dst\_\-address} & \hyperlink{protocolthe-p}{the} IP destination address.\\
\hline
{\em ip\_\-protocol} & \hyperlink{protocolthe-p}{the} IP protocol number.\\
\hline
{\em ip\_\-ttl} & \hyperlink{protocolthe-p}{the} IP TTL (hop-\/limit). If it has a negative value, then \hyperlink{protocolthe-p}{the} received value is unknown.\\
\hline
{\em ip\_\-tos} & \hyperlink{protocolthe-p}{the} Type of Service (Diffserv/ECN bits for \hyperlink{classIPv4}{IPv4}). If it has a negative value, then \hyperlink{protocolthe-p}{the} received value is unknown.\\
\hline
{\em ip\_\-router\_\-alert} & if true, \hyperlink{protocolthe-p}{the} IP Router Alert option was included in \hyperlink{protocolthe-p}{the} IP packet.\\
\hline
{\em ip\_\-internet\_\-control} & if true, then this is IP control traffic. \\
\hline
\end{DoxyParams}


Implements \hyperlink{structXrlOspfv2TargetBase_a110065ab147dca88893ad9b3b9519b69}{XrlOspfv2TargetBase}.



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