\hypertarget{classPacketRouteEntry_3_01IPv6_01_4}{
\section{PacketRouteEntry$<$ IPv6 $>$ Class Template Reference}
\label{classPacketRouteEntry_3_01IPv6_01_4}\index{PacketRouteEntry$<$ IPv6 $>$@{PacketRouteEntry$<$ IPv6 $>$}}
}


\hyperlink{classRoute}{Route} Entry appearing in RIP packets on \hyperlink{classIPv6}{IPv6}.  




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

Inheritance diagram for PacketRouteEntry$<$ IPv6 $>$:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classPacketRouteEntry_3_01IPv6_01_4}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classPacketRouteEntry_3_01IPv6_01_4_aa3387dc3d5d703a9b1ec2ccb802581a4}{
{\bfseries PacketRouteEntry} (const uint8\_\-t $\ast$data)}
\label{classPacketRouteEntry_3_01IPv6_01_4_aa3387dc3d5d703a9b1ec2ccb802581a4}

\item 
\hypertarget{classPacketRouteEntry_3_01IPv6_01_4_a7288864ded6cedc949fa6c100c85e3e7}{
bool {\bfseries is\_\-nexthop} () const }
\label{classPacketRouteEntry_3_01IPv6_01_4_a7288864ded6cedc949fa6c100c85e3e7}

\item 
bool \hyperlink{classPacketRouteEntry_3_01IPv6_01_4_a389b0752b6d809e4c4f1f41ce5e17407}{is\_\-table\_\-request} () const 
\item 
\hypertarget{classPacketRouteEntry_3_01IPv6_01_4_acdd9e8f40611d7b2e398ce692f331cbb}{
\hyperlink{classIPv6}{IPv6} {\bfseries nexthop} () const }
\label{classPacketRouteEntry_3_01IPv6_01_4_acdd9e8f40611d7b2e398ce692f331cbb}

\item 
\hypertarget{classPacketRouteEntry_3_01IPv6_01_4_a36f6960f075ae997a0dd95ce48501831}{
uint16\_\-t {\bfseries tag} () const }
\label{classPacketRouteEntry_3_01IPv6_01_4_a36f6960f075ae997a0dd95ce48501831}

\item 
\hypertarget{classPacketRouteEntry_3_01IPv6_01_4_a408c6f33f9578071743646fb9a3ab80f}{
uint32\_\-t {\bfseries prefix\_\-len} () const }
\label{classPacketRouteEntry_3_01IPv6_01_4_a408c6f33f9578071743646fb9a3ab80f}

\item 
\hypertarget{classPacketRouteEntry_3_01IPv6_01_4_abc8d81afb464d8586bbb7221986f5d65}{
\hyperlink{classIPNet}{IPv6Net} {\bfseries net} () const }
\label{classPacketRouteEntry_3_01IPv6_01_4_abc8d81afb464d8586bbb7221986f5d65}

\item 
\hypertarget{classPacketRouteEntry_3_01IPv6_01_4_a1a104946400ae35d4c5d43e20d1aa4a4}{
uint8\_\-t {\bfseries metric} () const }
\label{classPacketRouteEntry_3_01IPv6_01_4_a1a104946400ae35d4c5d43e20d1aa4a4}

\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static size\_\-t \hyperlink{classPacketRouteEntry_3_01IPv6_01_4_ad137d21c102deeedfa4850c0fca8b6d4}{size} ()
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} RIP \hyperlink{classIPv6}{IPv6} route entry size. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classPacketRouteEntry_3_01IPv6_01_4_a03df4bbb4cabf6becefbf3741c4ad869}{
static const size\_\-t {\bfseries SIZE} = 20}
\label{classPacketRouteEntry_3_01IPv6_01_4_a03df4bbb4cabf6becefbf3741c4ad869}

\item 
\hypertarget{classPacketRouteEntry_3_01IPv6_01_4_a33f5dbeca31b0d6f20593f2802a5166f}{
static const uint8\_\-t {\bfseries NEXTHOP\_\-METRIC} = 0xff}
\label{classPacketRouteEntry_3_01IPv6_01_4_a33f5dbeca31b0d6f20593f2802a5166f}

\end{DoxyCompactItemize}
\subsection*{Static Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classPacketRouteEntry_3_01IPv6_01_4_abcb12cea2c1b44f168124fac518b948d}{
static const size\_\-t {\bfseries \_\-prefix\_\-sizeof} = 16}
\label{classPacketRouteEntry_3_01IPv6_01_4_abcb12cea2c1b44f168124fac518b948d}

\item 
\hypertarget{classPacketRouteEntry_3_01IPv6_01_4_a178eb80fd6f5fbd1be1722675ee351bd}{
static const size\_\-t {\bfseries \_\-tag\_\-sizeof} = 2}
\label{classPacketRouteEntry_3_01IPv6_01_4_a178eb80fd6f5fbd1be1722675ee351bd}

\item 
\hypertarget{classPacketRouteEntry_3_01IPv6_01_4_ac99afad154a2c859fbfc0e69b85a2eaf}{
static const size\_\-t {\bfseries \_\-prefix\_\-len\_\-sizeof} = 1}
\label{classPacketRouteEntry_3_01IPv6_01_4_ac99afad154a2c859fbfc0e69b85a2eaf}

\item 
\hypertarget{classPacketRouteEntry_3_01IPv6_01_4_a5aab50856de2ab96c5be0dedee71ff7c}{
static const size\_\-t {\bfseries \_\-metric\_\-sizeof} = 1}
\label{classPacketRouteEntry_3_01IPv6_01_4_a5aab50856de2ab96c5be0dedee71ff7c}

\item 
\hypertarget{classPacketRouteEntry_3_01IPv6_01_4_af4230299d8824305aa7845312072bcb3}{
static const size\_\-t {\bfseries \_\-prefix\_\-offset} = 0}
\label{classPacketRouteEntry_3_01IPv6_01_4_af4230299d8824305aa7845312072bcb3}

\item 
\hypertarget{classPacketRouteEntry_3_01IPv6_01_4_ad596f3286c2269701f3e57258b77792b}{
static const size\_\-t {\bfseries \_\-tag\_\-offset} = \_\-prefix\_\-offset + \_\-prefix\_\-sizeof}
\label{classPacketRouteEntry_3_01IPv6_01_4_ad596f3286c2269701f3e57258b77792b}

\item 
\hypertarget{classPacketRouteEntry_3_01IPv6_01_4_a2ccc378e6f34c754218238a0d98d6406}{
static const size\_\-t {\bfseries \_\-prefix\_\-len\_\-offset} = \_\-tag\_\-offset + \_\-tag\_\-sizeof}
\label{classPacketRouteEntry_3_01IPv6_01_4_a2ccc378e6f34c754218238a0d98d6406}

\item 
\hypertarget{classPacketRouteEntry_3_01IPv6_01_4_a0b2059aba02ec06c876c0df79d408145}{
static const size\_\-t {\bfseries \_\-metric\_\-offset} = \_\-prefix\_\-len\_\-offset + \_\-prefix\_\-len\_\-sizeof}
\label{classPacketRouteEntry_3_01IPv6_01_4_a0b2059aba02ec06c876c0df79d408145}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classPacketRouteEntry_3_01IPv6_01_4_a60d2d20f2b2c29b952cfeda63f702ec2}{
const uint8\_\-t $\ast$ {\bfseries \_\-data}}
\label{classPacketRouteEntry_3_01IPv6_01_4_a60d2d20f2b2c29b952cfeda63f702ec2}

\item 
\hypertarget{classPacketRouteEntry_3_01IPv6_01_4_a7adf0fb6f4e8468bb1300270bd286823}{
const uint8\_\-t $\ast$ {\bfseries \_\-prefix}}
\label{classPacketRouteEntry_3_01IPv6_01_4_a7adf0fb6f4e8468bb1300270bd286823}

\item 
\hypertarget{classPacketRouteEntry_3_01IPv6_01_4_a6ac2b7daab8fedac179cc78f84955407}{
const uint8\_\-t $\ast$ {\bfseries \_\-tag}}
\label{classPacketRouteEntry_3_01IPv6_01_4_a6ac2b7daab8fedac179cc78f84955407}

\item 
\hypertarget{classPacketRouteEntry_3_01IPv6_01_4_a58aaa561d2b6f0141e20097519e658ec}{
const uint8\_\-t $\ast$ {\bfseries \_\-prefix\_\-len}}
\label{classPacketRouteEntry_3_01IPv6_01_4_a58aaa561d2b6f0141e20097519e658ec}

\item 
\hypertarget{classPacketRouteEntry_3_01IPv6_01_4_a5a6926885b0fb4854a27f2173d4b11d4}{
const uint8\_\-t $\ast$ {\bfseries \_\-metric}}
\label{classPacketRouteEntry_3_01IPv6_01_4_a5a6926885b0fb4854a27f2173d4b11d4}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$$>$ class PacketRouteEntry$<$ IPv6 $>$}

\hyperlink{classRoute}{Route} Entry appearing in RIP packets on \hyperlink{classIPv6}{IPv6}. This payload is carried in RIP packets on \hyperlink{classIPv6}{IPv6}. The interpretation of \hyperlink{protocolthe-p}{the} fields is defined in RFC2080.

All fields in this structure are stored in network order.

The route entry has \hyperlink{protocolthe-p}{the} following content:

prefix (16 bytes): // Prefix tag (2 bytes): // Tag prefix\_\-len (1 byte): // Prefix length metric (1 byte): // Metric 

\subsection{Member Function Documentation}
\hypertarget{classPacketRouteEntry_3_01IPv6_01_4_a389b0752b6d809e4c4f1f41ce5e17407}{
\index{PacketRouteEntry$<$ IPv6 $>$@{PacketRouteEntry$<$ IPv6 $>$}!is\_\-table\_\-request@{is\_\-table\_\-request}}
\index{is\_\-table\_\-request@{is\_\-table\_\-request}!PacketRouteEntry< IPv6 >@{PacketRouteEntry$<$ IPv6 $>$}}
\subsubsection[{is\_\-table\_\-request}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf PacketRouteEntry}$<$ {\bf IPv6} $>$::is\_\-table\_\-request (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classPacketRouteEntry_3_01IPv6_01_4_a389b0752b6d809e4c4f1f41ce5e17407}
\begin{DoxyReturn}{Returns}
true if route entry has properties of a table request. 
\end{DoxyReturn}
\hypertarget{classPacketRouteEntry_3_01IPv6_01_4_ad137d21c102deeedfa4850c0fca8b6d4}{
\index{PacketRouteEntry$<$ IPv6 $>$@{PacketRouteEntry$<$ IPv6 $>$}!size@{size}}
\index{size@{size}!PacketRouteEntry< IPv6 >@{PacketRouteEntry$<$ IPv6 $>$}}
\subsubsection[{size}]{\setlength{\rightskip}{0pt plus 5cm}static size\_\-t {\bf PacketRouteEntry}$<$ {\bf IPv6} $>$::size (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline, static\mbox{]}}}}
\label{classPacketRouteEntry_3_01IPv6_01_4_ad137d21c102deeedfa4850c0fca8b6d4}


Get \hyperlink{protocolthe-p}{the} RIP \hyperlink{classIPv6}{IPv6} route entry size. 

\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} RIP \hyperlink{classIPv6}{IPv6} route entry size. 
\end{DoxyReturn}


The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
/home/greearb/git/xorp.ct.github/xorp/rip/packets.hh\end{DoxyCompactItemize}
