\hypertarget{classIpHeader6Writer}{
\section{IpHeader6Writer Class Reference}
\label{classIpHeader6Writer}\index{IpHeader6Writer@{IpHeader6Writer}}
}


Class for writing data to \hyperlink{classIPv6}{IPv6} packet header.  




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

Inheritance diagram for IpHeader6Writer:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classIpHeader6Writer}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classIpHeader6Writer_a1084c1576d564537575baf86edb24792}{
{\bfseries IpHeader6Writer} (uint8\_\-t $\ast$data)}
\label{classIpHeader6Writer_a1084c1576d564537575baf86edb24792}

\item 
uint8\_\-t $\ast$ \hyperlink{classIpHeader6Writer_a6ce19e1c14bd919c6ef96817d5f0c497}{data} ()
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} buffer data. \item\end{DoxyCompactList}\item 
\hypertarget{classIpHeader6Writer_acb3514c0d9c0203f146eb47b37cd415b}{
void \hyperlink{classIpHeader6Writer_acb3514c0d9c0203f146eb47b37cd415b}{set\_\-ip\_\-vtc\_\-flow} (uint32\_\-t v)}
\label{classIpHeader6Writer_acb3514c0d9c0203f146eb47b37cd415b}

\begin{DoxyCompactList}\small\item\em Methods to set various IP header fields. \item\end{DoxyCompactList}\item 
\hypertarget{classIpHeader6Writer_a6e489662cdfbd6b2698e852e3a5103f5}{
void {\bfseries set\_\-ip\_\-plen} (uint16\_\-t v)}
\label{classIpHeader6Writer_a6e489662cdfbd6b2698e852e3a5103f5}

\item 
\hypertarget{classIpHeader6Writer_a7d4cf4db6b733142a19fbb31275e9124}{
void {\bfseries set\_\-ip\_\-nxt} (uint8\_\-t v)}
\label{classIpHeader6Writer_a7d4cf4db6b733142a19fbb31275e9124}

\item 
\hypertarget{classIpHeader6Writer_a1bebc4e32802fc68e3a4e2667bb7a30d}{
void {\bfseries set\_\-ip\_\-hlim} (uint8\_\-t v)}
\label{classIpHeader6Writer_a1bebc4e32802fc68e3a4e2667bb7a30d}

\item 
\hypertarget{classIpHeader6Writer_a298c25c80be969250ae1e85f3e7123d4}{
void {\bfseries set\_\-ip\_\-src} (const \hyperlink{classIPv6}{IPv6} \&v)}
\label{classIpHeader6Writer_a298c25c80be969250ae1e85f3e7123d4}

\item 
\hypertarget{classIpHeader6Writer_ad75af5092dd750d76bba50fa1240ad69}{
void {\bfseries set\_\-ip\_\-dst} (const \hyperlink{classIPv6}{IPv6} \&v)}
\label{classIpHeader6Writer_ad75af5092dd750d76bba50fa1240ad69}

\item 
void \hyperlink{classIpHeader6Writer_a1262f83d68d5586ed0062602e3cf7404}{set\_\-ip\_\-version} (uint8\_\-t v)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} IP protocol version of \hyperlink{protocolthe-p}{the} header. \item\end{DoxyCompactList}\item 
void \hyperlink{classIpHeader6Writer_aaf50a8dec9d6978ae33f4b522d1226e0}{set\_\-ip\_\-traffic\_\-class} (uint8\_\-t v)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} \hyperlink{classIPv6}{IPv6} traffic class. \item\end{DoxyCompactList}\item 
void \hyperlink{classIpHeader6Writer_a2f6576d5b02909229ec6121152e342d8}{set\_\-ip\_\-flow\_\-label} (uint32\_\-t v)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} \hyperlink{classIPv6}{IPv6} flow label. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classIpHeader6Writer_af297dcaaa1526c4862b94b6689fb43ea}{
uint8\_\-t $\ast$ {\bfseries \_\-data}}
\label{classIpHeader6Writer_af297dcaaa1526c4862b94b6689fb43ea}

\item 
\hypertarget{classIpHeader6Writer_addef2bd332fdc7470606a43d2dc69fbd}{
uint8\_\-t $\ast$ {\bfseries \_\-ip\_\-vtc\_\-flow}}
\label{classIpHeader6Writer_addef2bd332fdc7470606a43d2dc69fbd}

\item 
\hypertarget{classIpHeader6Writer_a85b7513b2fa5b3b89f27e27dd124b7dd}{
uint8\_\-t $\ast$ {\bfseries \_\-ip\_\-plen}}
\label{classIpHeader6Writer_a85b7513b2fa5b3b89f27e27dd124b7dd}

\item 
\hypertarget{classIpHeader6Writer_a9841f38a9fc0f5730a42e637891012c3}{
uint8\_\-t $\ast$ {\bfseries \_\-ip\_\-nxt}}
\label{classIpHeader6Writer_a9841f38a9fc0f5730a42e637891012c3}

\item 
\hypertarget{classIpHeader6Writer_a0a398209269118bfa792c9e1d2f52a9f}{
uint8\_\-t $\ast$ {\bfseries \_\-ip\_\-hlim}}
\label{classIpHeader6Writer_a0a398209269118bfa792c9e1d2f52a9f}

\item 
\hypertarget{classIpHeader6Writer_a68ce86b99dc2b035d0e9fdf6f0384a0d}{
uint8\_\-t $\ast$ {\bfseries \_\-ip\_\-src}}
\label{classIpHeader6Writer_a68ce86b99dc2b035d0e9fdf6f0384a0d}

\item 
\hypertarget{classIpHeader6Writer_afa9c52e86cf9e86aa59c3aba0b945785}{
uint8\_\-t $\ast$ {\bfseries \_\-ip\_\-dst}}
\label{classIpHeader6Writer_afa9c52e86cf9e86aa59c3aba0b945785}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Class for writing data to \hyperlink{classIPv6}{IPv6} packet header. 

\subsection{Member Function Documentation}
\hypertarget{classIpHeader6Writer_a6ce19e1c14bd919c6ef96817d5f0c497}{
\index{IpHeader6Writer@{IpHeader6Writer}!data@{data}}
\index{data@{data}!IpHeader6Writer@{IpHeader6Writer}}
\subsubsection[{data}]{\setlength{\rightskip}{0pt plus 5cm}uint8\_\-t$\ast$ IpHeader6Writer::data (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classIpHeader6Writer_a6ce19e1c14bd919c6ef96817d5f0c497}


Get \hyperlink{protocolthe-p}{the} buffer data. 

\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} buffer data. 
\end{DoxyReturn}
\hypertarget{classIpHeader6Writer_a2f6576d5b02909229ec6121152e342d8}{
\index{IpHeader6Writer@{IpHeader6Writer}!set\_\-ip\_\-flow\_\-label@{set\_\-ip\_\-flow\_\-label}}
\index{set\_\-ip\_\-flow\_\-label@{set\_\-ip\_\-flow\_\-label}!IpHeader6Writer@{IpHeader6Writer}}
\subsubsection[{set\_\-ip\_\-flow\_\-label}]{\setlength{\rightskip}{0pt plus 5cm}void IpHeader6Writer::set\_\-ip\_\-flow\_\-label (
\begin{DoxyParamCaption}
\item[{uint32\_\-t}]{v}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classIpHeader6Writer_a2f6576d5b02909229ec6121152e342d8}


Set \hyperlink{protocolthe-p}{the} \hyperlink{classIPv6}{IPv6} flow label. 


\begin{DoxyParams}{Parameters}
{\em v} & \hyperlink{protocolthe-p}{the} \hyperlink{classIPv6}{IPv6} flow label. \\
\hline
\end{DoxyParams}
\hypertarget{classIpHeader6Writer_aaf50a8dec9d6978ae33f4b522d1226e0}{
\index{IpHeader6Writer@{IpHeader6Writer}!set\_\-ip\_\-traffic\_\-class@{set\_\-ip\_\-traffic\_\-class}}
\index{set\_\-ip\_\-traffic\_\-class@{set\_\-ip\_\-traffic\_\-class}!IpHeader6Writer@{IpHeader6Writer}}
\subsubsection[{set\_\-ip\_\-traffic\_\-class}]{\setlength{\rightskip}{0pt plus 5cm}void IpHeader6Writer::set\_\-ip\_\-traffic\_\-class (
\begin{DoxyParamCaption}
\item[{uint8\_\-t}]{v}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classIpHeader6Writer_aaf50a8dec9d6978ae33f4b522d1226e0}


Set \hyperlink{protocolthe-p}{the} \hyperlink{classIPv6}{IPv6} traffic class. 


\begin{DoxyParams}{Parameters}
{\em v} & \hyperlink{protocolthe-p}{the} \hyperlink{classIPv6}{IPv6} traffic class. \\
\hline
\end{DoxyParams}
\hypertarget{classIpHeader6Writer_a1262f83d68d5586ed0062602e3cf7404}{
\index{IpHeader6Writer@{IpHeader6Writer}!set\_\-ip\_\-version@{set\_\-ip\_\-version}}
\index{set\_\-ip\_\-version@{set\_\-ip\_\-version}!IpHeader6Writer@{IpHeader6Writer}}
\subsubsection[{set\_\-ip\_\-version}]{\setlength{\rightskip}{0pt plus 5cm}void IpHeader6Writer::set\_\-ip\_\-version (
\begin{DoxyParamCaption}
\item[{uint8\_\-t}]{v}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classIpHeader6Writer_a1262f83d68d5586ed0062602e3cf7404}


Set \hyperlink{protocolthe-p}{the} IP protocol version of \hyperlink{protocolthe-p}{the} header. 


\begin{DoxyParams}{Parameters}
{\em v} & \hyperlink{protocolthe-p}{the} IP protocol version of \hyperlink{protocolthe-p}{the} header. \\
\hline
\end{DoxyParams}


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