\hypertarget{classOptions}{
\section{Options Class Reference}
\label{classOptions}\index{Options@{Options}}
}


Helper class to manipulate \hyperlink{protocolthe-p}{the} options field in packets and LSAs.  




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

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classOptions_ac81f5aed50e9245df73cb5df39649342}{
{\bfseries Options} (\hyperlink{structOspfTypes_a60eb031df0c10af753789ae76b185ec2}{OspfTypes::Version} version, uint32\_\-t options)}
\label{classOptions_ac81f5aed50e9245df73cb5df39649342}

\item 
\hypertarget{classOptions_accfa56e1a5cf52b385149eb34a79563c}{
void {\bfseries set\_\-bit} (bool set, uint32\_\-t bit)}
\label{classOptions_accfa56e1a5cf52b385149eb34a79563c}

\item 
\hypertarget{classOptions_a85068015b0f7d5e50cd37a1dfe19ca68}{
bool {\bfseries get\_\-bit} (uint32\_\-t bit) const }
\label{classOptions_a85068015b0f7d5e50cd37a1dfe19ca68}

\item 
\hypertarget{classOptions_aa5ddca94906605f234d77c0c122e3ac2}{
void {\bfseries set\_\-v6\_\-bit} (bool set)}
\label{classOptions_aa5ddca94906605f234d77c0c122e3ac2}

\item 
\hypertarget{classOptions_a18ea7eec00f63c124be31904a40c71fb}{
bool {\bfseries get\_\-v6\_\-bit} () const }
\label{classOptions_a18ea7eec00f63c124be31904a40c71fb}

\item 
\hypertarget{classOptions_aa3d7a9dc7384bf4867d0bae6b2927360}{
void {\bfseries set\_\-e\_\-bit} (bool set)}
\label{classOptions_aa3d7a9dc7384bf4867d0bae6b2927360}

\item 
\hypertarget{classOptions_a47f7070b05465913c6634092a5123bd5}{
bool {\bfseries get\_\-e\_\-bit} () const }
\label{classOptions_a47f7070b05465913c6634092a5123bd5}

\item 
\hypertarget{classOptions_a3c2af89fbb8ba17ef3ddd4e048fe1e88}{
void {\bfseries set\_\-mc\_\-bit} (bool set)}
\label{classOptions_a3c2af89fbb8ba17ef3ddd4e048fe1e88}

\item 
\hypertarget{classOptions_a543d40e058724aade502220e17eeee18}{
bool {\bfseries get\_\-mc\_\-bit} () const }
\label{classOptions_a543d40e058724aade502220e17eeee18}

\item 
\hypertarget{classOptions_aa1910bb2b9a19362e71912dd7a4d38e2}{
void {\bfseries set\_\-n\_\-bit} (bool set)}
\label{classOptions_aa1910bb2b9a19362e71912dd7a4d38e2}

\item 
\hypertarget{classOptions_aa4f5c1ac4f0a4c30d80b3150101f9ca8}{
bool {\bfseries get\_\-n\_\-bit} () const }
\label{classOptions_aa4f5c1ac4f0a4c30d80b3150101f9ca8}

\item 
\hypertarget{classOptions_a05d1c16b8acb80e54d60f2c0666d9d49}{
void {\bfseries set\_\-p\_\-bit} (bool set)}
\label{classOptions_a05d1c16b8acb80e54d60f2c0666d9d49}

\item 
\hypertarget{classOptions_ae235f7358ebdac56f5c71c5fe460e06b}{
bool {\bfseries get\_\-p\_\-bit} () const }
\label{classOptions_ae235f7358ebdac56f5c71c5fe460e06b}

\item 
\hypertarget{classOptions_afb9d800e9884f06ab8241fc7aa2ea234}{
void {\bfseries set\_\-r\_\-bit} (bool set)}
\label{classOptions_afb9d800e9884f06ab8241fc7aa2ea234}

\item 
\hypertarget{classOptions_aa88c7c43edd358522c998d75dd1db8b1}{
bool {\bfseries get\_\-r\_\-bit} () const }
\label{classOptions_aa88c7c43edd358522c998d75dd1db8b1}

\item 
\hypertarget{classOptions_a52d5666017fc57a531e6c9316de7afdb}{
void {\bfseries set\_\-ea\_\-bit} (bool set)}
\label{classOptions_a52d5666017fc57a531e6c9316de7afdb}

\item 
\hypertarget{classOptions_a3f777f0c5fcd5499608210a9712ca5fb}{
bool {\bfseries get\_\-ea\_\-bit} () const }
\label{classOptions_a3f777f0c5fcd5499608210a9712ca5fb}

\item 
\hypertarget{classOptions_aa927532204eb1c7a2c15db07e426d78c}{
void {\bfseries set\_\-dc\_\-bit} (bool set)}
\label{classOptions_aa927532204eb1c7a2c15db07e426d78c}

\item 
\hypertarget{classOptions_a22fc7b964b8ede6100303b9879b047c7}{
bool {\bfseries get\_\-dc\_\-bit} () const }
\label{classOptions_a22fc7b964b8ede6100303b9879b047c7}

\item 
\hypertarget{classOptions_a4d6fa8d68569f3395bb2d90ca73a3427}{
uint32\_\-t {\bfseries get\_\-options} ()}
\label{classOptions_a4d6fa8d68569f3395bb2d90ca73a3427}

\item 
\hypertarget{classOptions_a6504ca3d9d6cd160d5181100059a46da}{
string {\bfseries pp\_\-bool} (bool val) const }
\label{classOptions_a6504ca3d9d6cd160d5181100059a46da}

\item 
\hypertarget{classOptions_a986b002915d50502c976257f5a88abca}{
string {\bfseries str} () const }
\label{classOptions_a986b002915d50502c976257f5a88abca}

\end{DoxyCompactItemize}
\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classOptions_a695f4d31a7c8fa3a813a3042b0400b1f}{
static const uint32\_\-t {\bfseries V6\_\-bit} = 0x1}
\label{classOptions_a695f4d31a7c8fa3a813a3042b0400b1f}

\item 
\hypertarget{classOptions_aa2eb9328c0d20fda7881573c493ca125}{
static const uint32\_\-t {\bfseries E\_\-bit} = 0x2}
\label{classOptions_aa2eb9328c0d20fda7881573c493ca125}

\item 
\hypertarget{classOptions_ab8bd51a1c87837f279fa0ab997e83452}{
static const uint32\_\-t {\bfseries MC\_\-bit} = 0x4}
\label{classOptions_ab8bd51a1c87837f279fa0ab997e83452}

\item 
\hypertarget{classOptions_aa3ea1791f1ff2d79a2e28784fc259796}{
static const uint32\_\-t {\bfseries N\_\-bit} = 0x8}
\label{classOptions_aa3ea1791f1ff2d79a2e28784fc259796}

\item 
\hypertarget{classOptions_a5fe683e3fad26c0f5397152ce6974d2d}{
static const uint32\_\-t {\bfseries P\_\-bit} = N\_\-bit}
\label{classOptions_a5fe683e3fad26c0f5397152ce6974d2d}

\item 
\hypertarget{classOptions_aa7769de4d899fd2ff9731e784141e6d6}{
static const uint32\_\-t {\bfseries R\_\-bit} = 0x10}
\label{classOptions_aa7769de4d899fd2ff9731e784141e6d6}

\item 
\hypertarget{classOptions_a98e3ac659fe9290f1f492e2488d14858}{
static const uint32\_\-t {\bfseries EA\_\-bit} = 0x10}
\label{classOptions_a98e3ac659fe9290f1f492e2488d14858}

\item 
\hypertarget{classOptions_a7babc485a5c7d5b946fe5a0251142e5c}{
static const uint32\_\-t {\bfseries DC\_\-bit} = 0x20}
\label{classOptions_a7babc485a5c7d5b946fe5a0251142e5c}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classOptions_af0a1e6e903c6cd5d39a9d75962977003}{
\hyperlink{structOspfTypes_a60eb031df0c10af753789ae76b185ec2}{OspfTypes::Version} {\bfseries \_\-version}}
\label{classOptions_af0a1e6e903c6cd5d39a9d75962977003}

\item 
\hypertarget{classOptions_a2b19474368dece50195e346e44a6cf16}{
uint32\_\-t {\bfseries \_\-options}}
\label{classOptions_a2b19474368dece50195e346e44a6cf16}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Helper class to manipulate \hyperlink{protocolthe-p}{the} options field in packets and LSAs. 

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