\hypertarget{classSTCPPacketHeader}{
\section{STCPPacketHeader Class Reference}
\label{classSTCPPacketHeader}\index{STCPPacketHeader@{STCPPacketHeader}}
}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classSTCPPacketHeader_a75736e194c3bf81d808151b27b44bc80}{
{\bfseries STCPPacketHeader} (uint8\_\-t $\ast$data)}
\label{classSTCPPacketHeader_a75736e194c3bf81d808151b27b44bc80}

\item 
\hypertarget{classSTCPPacketHeader_a7a7577582e174432a8a06c53a79bfbc5}{
void {\bfseries initialize} (uint32\_\-t seqno, STCPPacketType type, const \hyperlink{classXrlError}{XrlError} \&err, uint32\_\-t xrl\_\-data\_\-bytes)}
\label{classSTCPPacketHeader_a7a7577582e174432a8a06c53a79bfbc5}

\item 
\hypertarget{classSTCPPacketHeader_a85102b3e03db26c516ac94bf9a964ba2}{
bool {\bfseries is\_\-valid} () const }
\label{classSTCPPacketHeader_a85102b3e03db26c516ac94bf9a964ba2}

\item 
\hypertarget{classSTCPPacketHeader_ae5218fafa5ea3015e1053d147472b4bc}{
uint32\_\-t {\bfseries fourcc} () const }
\label{classSTCPPacketHeader_ae5218fafa5ea3015e1053d147472b4bc}

\item 
\hypertarget{classSTCPPacketHeader_a3a8bfbd04a4dc9da802fe2cd887dd6c7}{
uint8\_\-t {\bfseries major} () const }
\label{classSTCPPacketHeader_a3a8bfbd04a4dc9da802fe2cd887dd6c7}

\item 
\hypertarget{classSTCPPacketHeader_a8f135ca7cfcd499d521063897bcf5203}{
uint8\_\-t {\bfseries minor} () const }
\label{classSTCPPacketHeader_a8f135ca7cfcd499d521063897bcf5203}

\item 
\hypertarget{classSTCPPacketHeader_aeedda9a5af109b75b06e5411924cdaff}{
STCPPacketType {\bfseries type} () const }
\label{classSTCPPacketHeader_aeedda9a5af109b75b06e5411924cdaff}

\item 
\hypertarget{classSTCPPacketHeader_a855425d19ded75a924504a0c8b2120a4}{
uint32\_\-t {\bfseries seqno} () const }
\label{classSTCPPacketHeader_a855425d19ded75a924504a0c8b2120a4}

\item 
\hypertarget{classSTCPPacketHeader_ae362769a5fa3a1350ec803418fd3c87c}{
uint32\_\-t {\bfseries error\_\-code} () const }
\label{classSTCPPacketHeader_ae362769a5fa3a1350ec803418fd3c87c}

\item 
\hypertarget{classSTCPPacketHeader_a99d9af16887769253f72afeb1434712f}{
uint32\_\-t {\bfseries error\_\-note\_\-bytes} () const }
\label{classSTCPPacketHeader_a99d9af16887769253f72afeb1434712f}

\item 
\hypertarget{classSTCPPacketHeader_a8acc8b740fb587c7be6c340c15705ffa}{
uint32\_\-t {\bfseries xrl\_\-data\_\-bytes} () const }
\label{classSTCPPacketHeader_a8acc8b740fb587c7be6c340c15705ffa}

\item 
\hypertarget{classSTCPPacketHeader_a8db9ef76b18398687b4b18dcf292d5cf}{
uint32\_\-t {\bfseries payload\_\-bytes} () const }
\label{classSTCPPacketHeader_a8db9ef76b18398687b4b18dcf292d5cf}

\item 
\hypertarget{classSTCPPacketHeader_a41b68af20de81ed1d359388989a23339}{
uint32\_\-t {\bfseries frame\_\-bytes} () const }
\label{classSTCPPacketHeader_a41b68af20de81ed1d359388989a23339}

\item 
\hypertarget{classSTCPPacketHeader_a444897f0f5b069de4088f47322c7c2b6}{
bool {\bfseries batch} () const }
\label{classSTCPPacketHeader_a444897f0f5b069de4088f47322c7c2b6}

\item 
\hypertarget{classSTCPPacketHeader_a612ce181495257011cb4aae2fb403795}{
void {\bfseries set\_\-batch} (bool batch)}
\label{classSTCPPacketHeader_a612ce181495257011cb4aae2fb403795}

\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classSTCPPacketHeader_af92d8465538e531d531814d0206a949a}{
static size\_\-t {\bfseries header\_\-size} ()}
\label{classSTCPPacketHeader_af92d8465538e531d531814d0206a949a}

\end{DoxyCompactItemize}
\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classSTCPPacketHeader_a7715cefcd0bb0aa6308933d417fe636e}{
static const size\_\-t {\bfseries SIZE} = 24}
\label{classSTCPPacketHeader_a7715cefcd0bb0aa6308933d417fe636e}

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

\item 
\hypertarget{classSTCPPacketHeader_a65f64c217229a997bd1cbdaac77751a3}{
uint8\_\-t $\ast$ {\bfseries \_\-fourcc}}
\label{classSTCPPacketHeader_a65f64c217229a997bd1cbdaac77751a3}

\item 
\hypertarget{classSTCPPacketHeader_a018a1d135706b0205a93dd61af6c5904}{
uint8\_\-t $\ast$ {\bfseries \_\-major}}
\label{classSTCPPacketHeader_a018a1d135706b0205a93dd61af6c5904}

\item 
\hypertarget{classSTCPPacketHeader_aba6e20b4d5d4b957507abab97c03b4ec}{
uint8\_\-t $\ast$ {\bfseries \_\-minor}}
\label{classSTCPPacketHeader_aba6e20b4d5d4b957507abab97c03b4ec}

\item 
\hypertarget{classSTCPPacketHeader_af97f86053268855f235acbf84749d927}{
uint8\_\-t $\ast$ {\bfseries \_\-seqno}}
\label{classSTCPPacketHeader_af97f86053268855f235acbf84749d927}

\item 
\hypertarget{classSTCPPacketHeader_a39a75785214295fdd95d2b75eed21a70}{
uint8\_\-t $\ast$ {\bfseries \_\-flags}}
\label{classSTCPPacketHeader_a39a75785214295fdd95d2b75eed21a70}

\item 
\hypertarget{classSTCPPacketHeader_a222292ca26de70d462a60c509692f294}{
uint8\_\-t $\ast$ {\bfseries \_\-type}}
\label{classSTCPPacketHeader_a222292ca26de70d462a60c509692f294}

\item 
\hypertarget{classSTCPPacketHeader_a446e3ba097cc75400ccff3bec5c2e5da}{
uint8\_\-t $\ast$ {\bfseries \_\-error\_\-code}}
\label{classSTCPPacketHeader_a446e3ba097cc75400ccff3bec5c2e5da}

\item 
\hypertarget{classSTCPPacketHeader_a76bd1ee15a0489ab596f3e62c01d3dbf}{
uint8\_\-t $\ast$ {\bfseries \_\-error\_\-note\_\-bytes}}
\label{classSTCPPacketHeader_a76bd1ee15a0489ab596f3e62c01d3dbf}

\item 
\hypertarget{classSTCPPacketHeader_a57621cd289c05fd556380b29831019ea}{
uint8\_\-t $\ast$ {\bfseries \_\-xrl\_\-data\_\-bytes}}
\label{classSTCPPacketHeader_a57621cd289c05fd556380b29831019ea}

\end{DoxyCompactItemize}
\subsection*{Static Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classSTCPPacketHeader_a7efaa9f5e4b9238b6553e77ca3f76349}{
static const size\_\-t {\bfseries \_\-fourcc\_\-sizeof} = 4}
\label{classSTCPPacketHeader_a7efaa9f5e4b9238b6553e77ca3f76349}

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

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

\item 
\hypertarget{classSTCPPacketHeader_a15f307e945aa0cab95594b616bf3dd22}{
static const size\_\-t {\bfseries \_\-seqno\_\-sizeof} = 4}
\label{classSTCPPacketHeader_a15f307e945aa0cab95594b616bf3dd22}

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

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

\item 
\hypertarget{classSTCPPacketHeader_af99bd808c80951a54320e1a7f9084bf6}{
static const size\_\-t {\bfseries \_\-error\_\-code\_\-sizeof} = 4}
\label{classSTCPPacketHeader_af99bd808c80951a54320e1a7f9084bf6}

\item 
\hypertarget{classSTCPPacketHeader_a3145ea22d3cb48bbe522af2985136787}{
static const size\_\-t {\bfseries \_\-error\_\-note\_\-bytes\_\-sizeof} = 4}
\label{classSTCPPacketHeader_a3145ea22d3cb48bbe522af2985136787}

\item 
\hypertarget{classSTCPPacketHeader_aae0d8c68cdba11b5187eb7837c012531}{
static const size\_\-t {\bfseries \_\-xrl\_\-data\_\-bytes\_\-sizeof} = 4}
\label{classSTCPPacketHeader_aae0d8c68cdba11b5187eb7837c012531}

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

\item 
\hypertarget{classSTCPPacketHeader_afd5e619aebcfe701ef386410d9060510}{
static const size\_\-t {\bfseries \_\-major\_\-offset} = \_\-fourcc\_\-offset + \_\-fourcc\_\-sizeof}
\label{classSTCPPacketHeader_afd5e619aebcfe701ef386410d9060510}

\item 
\hypertarget{classSTCPPacketHeader_a8c56a5ff88af874aef11cc4992031644}{
static const size\_\-t {\bfseries \_\-minor\_\-offset} = \_\-major\_\-offset + \_\-major\_\-sizeof}
\label{classSTCPPacketHeader_a8c56a5ff88af874aef11cc4992031644}

\item 
\hypertarget{classSTCPPacketHeader_a8d7f2715c38f0d2b879a45910485480e}{
static const size\_\-t {\bfseries \_\-seqno\_\-offset} = \_\-minor\_\-offset + \_\-minor\_\-sizeof}
\label{classSTCPPacketHeader_a8d7f2715c38f0d2b879a45910485480e}

\item 
\hypertarget{classSTCPPacketHeader_ab0a50b3d755144794e802ae5fc3c7730}{
static const size\_\-t {\bfseries \_\-flags\_\-offset} = \_\-seqno\_\-offset + \_\-seqno\_\-sizeof}
\label{classSTCPPacketHeader_ab0a50b3d755144794e802ae5fc3c7730}

\item 
\hypertarget{classSTCPPacketHeader_a2e54b1651c3f5e99c5c2c2bf3706abeb}{
static const size\_\-t {\bfseries \_\-type\_\-offset} = \_\-flags\_\-offset + \_\-flags\_\-sizeof}
\label{classSTCPPacketHeader_a2e54b1651c3f5e99c5c2c2bf3706abeb}

\item 
\hypertarget{classSTCPPacketHeader_a71de649db04ae6becd692862e883eb49}{
static const size\_\-t {\bfseries \_\-error\_\-code\_\-offset} = \_\-type\_\-offset + \_\-type\_\-sizeof}
\label{classSTCPPacketHeader_a71de649db04ae6becd692862e883eb49}

\item 
\hypertarget{classSTCPPacketHeader_ad1fecc3ba68e8046b37cbd18db277ac8}{
static const size\_\-t {\bfseries \_\-error\_\-note\_\-bytes\_\-offset} = \_\-error\_\-code\_\-offset + \_\-error\_\-code\_\-sizeof}
\label{classSTCPPacketHeader_ad1fecc3ba68e8046b37cbd18db277ac8}

\item 
\hypertarget{classSTCPPacketHeader_ab2c519daf4c7de7ae0de505ffc6a1503}{
static const size\_\-t {\bfseries \_\-xrl\_\-data\_\-bytes\_\-offset} = \_\-error\_\-note\_\-bytes\_\-offset + \_\-error\_\-note\_\-bytes\_\-sizeof}
\label{classSTCPPacketHeader_ab2c519daf4c7de7ae0de505ffc6a1503}

\end{DoxyCompactItemize}


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