\hypertarget{classDupeTuple}{
\section{DupeTuple Class Reference}
\label{classDupeTuple}\index{DupeTuple@{DupeTuple}}
}


A member of \hyperlink{protocolthe-p}{the} duplicate set.  




{\ttfamily \#include $<$face\_\-manager.hh$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classDupeTuple_ad6931e78a7e5f9684ad2d4c95fb7c65f}{
{\bfseries DupeTuple} (\hyperlink{classEventLoop}{EventLoop} \&ev, \hyperlink{classFaceManager}{FaceManager} $\ast$parent, const \hyperlink{classIPv4}{IPv4} \&origin, const uint16\_\-t seqno, const \hyperlink{classTimeVal}{TimeVal} \&vtime)}
\label{classDupeTuple_ad6931e78a7e5f9684ad2d4c95fb7c65f}

\item 
\hyperlink{classIPv4}{IPv4} \hyperlink{classDupeTuple_a3eba9c15d05f19cc55837f438faddcfa}{origin} () const 
\item 
uint16\_\-t \hyperlink{classDupeTuple_a0e07e5807b00d1f0d0c5ac5ef3858979}{seqno} () const 
\item 
bool \hyperlink{classDupeTuple_a02d75f223d9bcf0db973ba314e0f0b63}{is\_\-forwarded} () const 
\item 
void \hyperlink{classDupeTuple_a23fb0be693888666638689b1f247fb3c}{set\_\-is\_\-forwarded} (const bool is\_\-forwarded)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} forwarded flag for this message. \item\end{DoxyCompactList}\item 
bool \hyperlink{classDupeTuple_aafc1b1c9ea35e973a69c111817df64fb}{is\_\-seen\_\-by\_\-face} (const \hyperlink{structOlsrTypes_a0be5017ad053311658089d9a795c63ac}{OlsrTypes::FaceID} faceid) const 
\begin{DoxyCompactList}\small\item\em Determine if an interface has already received this message. \item\end{DoxyCompactList}\item 
void \hyperlink{classDupeTuple_a6d1dccc79742909ac9ca1d1f35139b49}{set\_\-seen\_\-by\_\-face} (const \hyperlink{structOlsrTypes_a0be5017ad053311658089d9a795c63ac}{OlsrTypes::FaceID} faceid)
\begin{DoxyCompactList}\small\item\em Add an interface to \hyperlink{protocolthe-p}{the} list of interfaces which have already received this message. \item\end{DoxyCompactList}\item 
void \hyperlink{classDupeTuple_ac69b6e10096c306f58569d1a9fe712da}{update\_\-timer} (const \hyperlink{classTimeVal}{TimeVal} \&vtime)
\begin{DoxyCompactList}\small\item\em Update \hyperlink{protocolthe-p}{the} validity timer on this duplicate set entry. \item\end{DoxyCompactList}\item 
\hypertarget{classDupeTuple_af27c463ab74a000448c494eb976b6cbd}{
void \hyperlink{classDupeTuple_af27c463ab74a000448c494eb976b6cbd}{event\_\-dead} ()}
\label{classDupeTuple_af27c463ab74a000448c494eb976b6cbd}

\begin{DoxyCompactList}\small\item\em Callback method to: remove a duplicate set entry when it expires. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classDupeTuple_a0c7e248330e7f93fed0b69493ec3cdb5}{
\hyperlink{classEventLoop}{EventLoop} \& {\bfseries \_\-ev}}
\label{classDupeTuple_a0c7e248330e7f93fed0b69493ec3cdb5}

\item 
\hypertarget{classDupeTuple_aeca0e0ab01f112ecb9b866145b242b46}{
\hyperlink{classFaceManager}{FaceManager} $\ast$ {\bfseries \_\-parent}}
\label{classDupeTuple_aeca0e0ab01f112ecb9b866145b242b46}

\item 
\hypertarget{classDupeTuple_a8e15e624e53c8dd7c5ab84185089d4d1}{
set$<$ \hyperlink{structOlsrTypes_a0be5017ad053311658089d9a795c63ac}{OlsrTypes::FaceID} $>$ {\bfseries \_\-iface\_\-list}}
\label{classDupeTuple_a8e15e624e53c8dd7c5ab84185089d4d1}

\item 
\hypertarget{classDupeTuple_a7f9dc67e1a62655406e7433e97683f89}{
\hyperlink{classIPv4}{IPv4} {\bfseries \_\-origin}}
\label{classDupeTuple_a7f9dc67e1a62655406e7433e97683f89}

\item 
\hypertarget{classDupeTuple_aa3eba480b9fc40f8b1e3bde0d4e9b51e}{
uint16\_\-t {\bfseries \_\-seqno}}
\label{classDupeTuple_aa3eba480b9fc40f8b1e3bde0d4e9b51e}

\item 
\hypertarget{classDupeTuple_ad764976c61cbb2e88ed4337347755a2a}{
bool {\bfseries \_\-is\_\-forwarded}}
\label{classDupeTuple_ad764976c61cbb2e88ed4337347755a2a}

\item 
\hypertarget{classDupeTuple_ace879472047206d01bee952ab2137d04}{
\hyperlink{classXorpTimer}{XorpTimer} {\bfseries \_\-expiry\_\-timer}}
\label{classDupeTuple_ace879472047206d01bee952ab2137d04}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
A member of \hyperlink{protocolthe-p}{the} duplicate set. This is contained within a map keyed by its origin address. 

\subsection{Member Function Documentation}
\hypertarget{classDupeTuple_a02d75f223d9bcf0db973ba314e0f0b63}{
\index{DupeTuple@{DupeTuple}!is\_\-forwarded@{is\_\-forwarded}}
\index{is\_\-forwarded@{is\_\-forwarded}!DupeTuple@{DupeTuple}}
\subsubsection[{is\_\-forwarded}]{\setlength{\rightskip}{0pt plus 5cm}bool DupeTuple::is\_\-forwarded (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classDupeTuple_a02d75f223d9bcf0db973ba314e0f0b63}
\begin{DoxyReturn}{Returns}
true if \hyperlink{protocolthe-p}{the} message has previously been forwarded. 
\end{DoxyReturn}
\hypertarget{classDupeTuple_aafc1b1c9ea35e973a69c111817df64fb}{
\index{DupeTuple@{DupeTuple}!is\_\-seen\_\-by\_\-face@{is\_\-seen\_\-by\_\-face}}
\index{is\_\-seen\_\-by\_\-face@{is\_\-seen\_\-by\_\-face}!DupeTuple@{DupeTuple}}
\subsubsection[{is\_\-seen\_\-by\_\-face}]{\setlength{\rightskip}{0pt plus 5cm}bool DupeTuple::is\_\-seen\_\-by\_\-face (
\begin{DoxyParamCaption}
\item[{const {\bf OlsrTypes::FaceID}}]{faceid}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classDupeTuple_aafc1b1c9ea35e973a69c111817df64fb}


Determine if an interface has already received this message. 


\begin{DoxyParams}{Parameters}
{\em faceid} & \hyperlink{protocolthe-p}{the} ID of \hyperlink{protocolthe-p}{the} interface to check. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if this message has previously been received by faceid. 
\end{DoxyReturn}
\hypertarget{classDupeTuple_a3eba9c15d05f19cc55837f438faddcfa}{
\index{DupeTuple@{DupeTuple}!origin@{origin}}
\index{origin@{origin}!DupeTuple@{DupeTuple}}
\subsubsection[{origin}]{\setlength{\rightskip}{0pt plus 5cm}{\bf IPv4} DupeTuple::origin (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classDupeTuple_a3eba9c15d05f19cc55837f438faddcfa}
\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} origin of this duplicate set tuple. 
\end{DoxyReturn}
\hypertarget{classDupeTuple_a0e07e5807b00d1f0d0c5ac5ef3858979}{
\index{DupeTuple@{DupeTuple}!seqno@{seqno}}
\index{seqno@{seqno}!DupeTuple@{DupeTuple}}
\subsubsection[{seqno}]{\setlength{\rightskip}{0pt plus 5cm}uint16\_\-t DupeTuple::seqno (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classDupeTuple_a0e07e5807b00d1f0d0c5ac5ef3858979}
\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} sequence number of this duplicate set tuple. 
\end{DoxyReturn}
\hypertarget{classDupeTuple_a23fb0be693888666638689b1f247fb3c}{
\index{DupeTuple@{DupeTuple}!set\_\-is\_\-forwarded@{set\_\-is\_\-forwarded}}
\index{set\_\-is\_\-forwarded@{set\_\-is\_\-forwarded}!DupeTuple@{DupeTuple}}
\subsubsection[{set\_\-is\_\-forwarded}]{\setlength{\rightskip}{0pt plus 5cm}void DupeTuple::set\_\-is\_\-forwarded (
\begin{DoxyParamCaption}
\item[{const bool}]{is\_\-forwarded}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classDupeTuple_a23fb0be693888666638689b1f247fb3c}


Set \hyperlink{protocolthe-p}{the} forwarded flag for this message. 


\begin{DoxyParams}{Parameters}
{\em is\_\-forwarded} & \hyperlink{protocolthe-p}{the} new value of \_\-is\_\-forwarded. \\
\hline
\end{DoxyParams}
\hypertarget{classDupeTuple_a6d1dccc79742909ac9ca1d1f35139b49}{
\index{DupeTuple@{DupeTuple}!set\_\-seen\_\-by\_\-face@{set\_\-seen\_\-by\_\-face}}
\index{set\_\-seen\_\-by\_\-face@{set\_\-seen\_\-by\_\-face}!DupeTuple@{DupeTuple}}
\subsubsection[{set\_\-seen\_\-by\_\-face}]{\setlength{\rightskip}{0pt plus 5cm}void DupeTuple::set\_\-seen\_\-by\_\-face (
\begin{DoxyParamCaption}
\item[{const {\bf OlsrTypes::FaceID}}]{faceid}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classDupeTuple_a6d1dccc79742909ac9ca1d1f35139b49}


Add an interface to \hyperlink{protocolthe-p}{the} list of interfaces which have already received this message. 


\begin{DoxyParams}{Parameters}
{\em faceid} & \hyperlink{protocolthe-p}{the} ID of \hyperlink{protocolthe-p}{the} interface to add. \\
\hline
\end{DoxyParams}
\hypertarget{classDupeTuple_ac69b6e10096c306f58569d1a9fe712da}{
\index{DupeTuple@{DupeTuple}!update\_\-timer@{update\_\-timer}}
\index{update\_\-timer@{update\_\-timer}!DupeTuple@{DupeTuple}}
\subsubsection[{update\_\-timer}]{\setlength{\rightskip}{0pt plus 5cm}void DupeTuple::update\_\-timer (
\begin{DoxyParamCaption}
\item[{const {\bf TimeVal} \&}]{vtime}
\end{DoxyParamCaption}
)}}
\label{classDupeTuple_ac69b6e10096c306f58569d1a9fe712da}


Update \hyperlink{protocolthe-p}{the} validity timer on this duplicate set entry. 


\begin{DoxyParams}{Parameters}
{\em vtime} & relative validity time from now. \\
\hline
\end{DoxyParams}


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