\hypertarget{oob__tcp__hdr_8h}{\section{orte/mca/oob/tcp/oob\+\_\+tcp\+\_\+hdr.h File Reference}
\label{oob__tcp__hdr_8h}\index{orte/mca/oob/tcp/oob\+\_\+tcp\+\_\+hdr.\+h@{orte/mca/oob/tcp/oob\+\_\+tcp\+\_\+hdr.\+h}}
}


Contains header used by tcp oob.  


{\ttfamily \#include \char`\"{}orte\+\_\+config.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}orte/types.\+h\char`\"{}}\\*
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structmca__oob__tcp__hdr__t}{mca\+\_\+oob\+\_\+tcp\+\_\+hdr\+\_\+t}
\begin{DoxyCompactList}\small\item\em Header used by tcp oob protocol. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\hypertarget{oob__tcp__hdr_8h_abe7f2cc0eb710bef0a74a741599d7a8e}{\#define {\bfseries M\+C\+A\+\_\+\+O\+O\+B\+\_\+\+T\+C\+P\+\_\+\+P\+R\+O\+B\+E}~1}\label{oob__tcp__hdr_8h_abe7f2cc0eb710bef0a74a741599d7a8e}

\item 
\hypertarget{oob__tcp__hdr_8h_add6227322186ef8b632db021bf3b39c9}{\#define {\bfseries M\+C\+A\+\_\+\+O\+O\+B\+\_\+\+T\+C\+P\+\_\+\+C\+O\+N\+N\+E\+C\+T}~2}\label{oob__tcp__hdr_8h_add6227322186ef8b632db021bf3b39c9}

\item 
\hypertarget{oob__tcp__hdr_8h_ad51bd1567f3064ff7d24a7695ae504f7}{\#define {\bfseries M\+C\+A\+\_\+\+O\+O\+B\+\_\+\+T\+C\+P\+\_\+\+I\+D\+E\+N\+T}~3}\label{oob__tcp__hdr_8h_ad51bd1567f3064ff7d24a7695ae504f7}

\item 
\hypertarget{oob__tcp__hdr_8h_a580da702099ef64b7044313358784091}{\#define {\bfseries M\+C\+A\+\_\+\+O\+O\+B\+\_\+\+T\+C\+P\+\_\+\+D\+A\+T\+A}~4}\label{oob__tcp__hdr_8h_a580da702099ef64b7044313358784091}

\item 
\hypertarget{oob__tcp__hdr_8h_a41029444a69ec95bac50d7f345b5b45e}{\#define {\bfseries M\+C\+A\+\_\+\+O\+O\+B\+\_\+\+T\+C\+P\+\_\+\+P\+I\+N\+G}~5}\label{oob__tcp__hdr_8h_a41029444a69ec95bac50d7f345b5b45e}

\item 
\#define \hyperlink{oob__tcp__hdr_8h_a6977cbe3badef43919072766fe59b90a}{M\+C\+A\+\_\+\+O\+O\+B\+\_\+\+T\+C\+P\+\_\+\+H\+D\+R\+\_\+\+N\+T\+O\+H}(h)
\begin{DoxyCompactList}\small\item\em Convert the message header to host byte order. \end{DoxyCompactList}\item 
\#define \hyperlink{oob__tcp__hdr_8h_a9d2430697b435e7f759e72b07be38077}{M\+C\+A\+\_\+\+O\+O\+B\+\_\+\+T\+C\+P\+\_\+\+H\+D\+R\+\_\+\+H\+T\+O\+N}(h)
\begin{DoxyCompactList}\small\item\em Convert the message header to network byte order. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\hypertarget{oob__tcp__hdr_8h_a5253d87b9c366c51556a72a1bed49c4c}{typedef struct \hyperlink{structmca__oob__tcp__hdr__t}{mca\+\_\+oob\+\_\+tcp\+\_\+hdr\+\_\+t} {\bfseries mca\+\_\+oob\+\_\+tcp\+\_\+hdr\+\_\+t}}\label{oob__tcp__hdr_8h_a5253d87b9c366c51556a72a1bed49c4c}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Contains header used by tcp oob. 



\subsection{Macro Definition Documentation}
\hypertarget{oob__tcp__hdr_8h_a9d2430697b435e7f759e72b07be38077}{\index{oob\+\_\+tcp\+\_\+hdr.\+h@{oob\+\_\+tcp\+\_\+hdr.\+h}!M\+C\+A\+\_\+\+O\+O\+B\+\_\+\+T\+C\+P\+\_\+\+H\+D\+R\+\_\+\+H\+T\+O\+N@{M\+C\+A\+\_\+\+O\+O\+B\+\_\+\+T\+C\+P\+\_\+\+H\+D\+R\+\_\+\+H\+T\+O\+N}}
\index{M\+C\+A\+\_\+\+O\+O\+B\+\_\+\+T\+C\+P\+\_\+\+H\+D\+R\+\_\+\+H\+T\+O\+N@{M\+C\+A\+\_\+\+O\+O\+B\+\_\+\+T\+C\+P\+\_\+\+H\+D\+R\+\_\+\+H\+T\+O\+N}!oob\+\_\+tcp\+\_\+hdr.\+h@{oob\+\_\+tcp\+\_\+hdr.\+h}}
\subsubsection[{M\+C\+A\+\_\+\+O\+O\+B\+\_\+\+T\+C\+P\+\_\+\+H\+D\+R\+\_\+\+H\+T\+O\+N}]{\setlength{\rightskip}{0pt plus 5cm}\#define M\+C\+A\+\_\+\+O\+O\+B\+\_\+\+T\+C\+P\+\_\+\+H\+D\+R\+\_\+\+H\+T\+O\+N(
\begin{DoxyParamCaption}
\item[{}]{h}
\end{DoxyParamCaption}
)}}\label{oob__tcp__hdr_8h_a9d2430697b435e7f759e72b07be38077}
{\bfseries Value\+:}
\begin{DoxyCode}
ORTE\_PROCESS\_NAME\_HTON((h)->msg\_origin); \(\backslash\)
    ORTE\_PROCESS\_NAME\_HTON((h)->msg\_src); \(\backslash\)
    ORTE\_PROCESS\_NAME\_HTON((h)->msg\_dst); \(\backslash\)
    (h)->msg\_type = htonl((h)->msg\_type);                 \(\backslash\)
    (h)->msg\_size = htonl((h)->msg\_size);                                 \(\backslash\)
    (h)->msg\_tag = htonl((h)->msg\_tag);
\end{DoxyCode}


Convert the message header to network byte order. 



Referenced by mca\+\_\+oob\+\_\+tcp\+\_\+ping().

\hypertarget{oob__tcp__hdr_8h_a6977cbe3badef43919072766fe59b90a}{\index{oob\+\_\+tcp\+\_\+hdr.\+h@{oob\+\_\+tcp\+\_\+hdr.\+h}!M\+C\+A\+\_\+\+O\+O\+B\+\_\+\+T\+C\+P\+\_\+\+H\+D\+R\+\_\+\+N\+T\+O\+H@{M\+C\+A\+\_\+\+O\+O\+B\+\_\+\+T\+C\+P\+\_\+\+H\+D\+R\+\_\+\+N\+T\+O\+H}}
\index{M\+C\+A\+\_\+\+O\+O\+B\+\_\+\+T\+C\+P\+\_\+\+H\+D\+R\+\_\+\+N\+T\+O\+H@{M\+C\+A\+\_\+\+O\+O\+B\+\_\+\+T\+C\+P\+\_\+\+H\+D\+R\+\_\+\+N\+T\+O\+H}!oob\+\_\+tcp\+\_\+hdr.\+h@{oob\+\_\+tcp\+\_\+hdr.\+h}}
\subsubsection[{M\+C\+A\+\_\+\+O\+O\+B\+\_\+\+T\+C\+P\+\_\+\+H\+D\+R\+\_\+\+N\+T\+O\+H}]{\setlength{\rightskip}{0pt plus 5cm}\#define M\+C\+A\+\_\+\+O\+O\+B\+\_\+\+T\+C\+P\+\_\+\+H\+D\+R\+\_\+\+N\+T\+O\+H(
\begin{DoxyParamCaption}
\item[{}]{h}
\end{DoxyParamCaption}
)}}\label{oob__tcp__hdr_8h_a6977cbe3badef43919072766fe59b90a}
{\bfseries Value\+:}
\begin{DoxyCode}
ORTE\_PROCESS\_NAME\_NTOH((h)->msg\_origin); \(\backslash\)
    ORTE\_PROCESS\_NAME\_NTOH((h)->msg\_src); \(\backslash\)
    ORTE\_PROCESS\_NAME\_NTOH((h)->msg\_dst); \(\backslash\)
    (h)->msg\_type = ntohl((h)->msg\_type);                 \(\backslash\)
    (h)->msg\_size = ntohl((h)->msg\_size);                                 \(\backslash\)
    (h)->msg\_tag = ntohl((h)->msg\_tag);
\end{DoxyCode}


Convert the message header to host byte order. 



Referenced by mca\+\_\+oob\+\_\+tcp\+\_\+msg\+\_\+recv\+\_\+handler(), and mca\+\_\+oob\+\_\+tcp\+\_\+ping().

