\doxysection{rtrlib/rtr/packets\+\_\+private.h File Reference}
\hypertarget{packets__private_8h}{}\label{packets__private_8h}\index{rtrlib/rtr/packets\_private.h@{rtrlib/rtr/packets\_private.h}}
{\ttfamily \#include "{}rtrlib/rtr/rtr\+\_\+private.\+h"{}}\newline
{\ttfamily \#include $<$arpa/inet.\+h$>$}\newline
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{packets__private_8h_a971829b9ca0435ae911835dab5cedbd6}{\+\_\+\+\_\+attribute\+\_\+\+\_\+}} ((weak)) rtr\+\_\+change\+\_\+socket\+\_\+state(struct \mbox{\hyperlink{structrtr__socket}{rtr\+\_\+socket}} \texorpdfstring{$\ast$}{*}\mbox{\hyperlink{structrtr__socket}{rtr\+\_\+socket}}
\item 
int \mbox{\hyperlink{packets__private_8h_add4fc887fc1a24d783651d906ca5d164}{rtr\+\_\+sync}} (struct \mbox{\hyperlink{structrtr__socket}{rtr\+\_\+socket}} \texorpdfstring{$\ast$}{*}\mbox{\hyperlink{structrtr__socket}{rtr\+\_\+socket}})
\item 
int \mbox{\hyperlink{packets__private_8h_af25bc389d23a01c57f2f10e9b0c868ae}{rtr\+\_\+wait\+\_\+for\+\_\+sync}} (struct \mbox{\hyperlink{structrtr__socket}{rtr\+\_\+socket}} \texorpdfstring{$\ast$}{*}\mbox{\hyperlink{structrtr__socket}{rtr\+\_\+socket}})
\item 
int \mbox{\hyperlink{packets__private_8h_a7bbc4fad47809ab8b8d885916d456cac}{rtr\+\_\+send\+\_\+serial\+\_\+query}} (struct \mbox{\hyperlink{structrtr__socket}{rtr\+\_\+socket}} \texorpdfstring{$\ast$}{*}\mbox{\hyperlink{structrtr__socket}{rtr\+\_\+socket}})
\item 
int \mbox{\hyperlink{packets__private_8h_a1b3b3b2312ef9c416477508bafd36092}{rtr\+\_\+send\+\_\+reset\+\_\+query}} (struct \mbox{\hyperlink{structrtr__socket}{rtr\+\_\+socket}} \texorpdfstring{$\ast$}{*}\mbox{\hyperlink{structrtr__socket}{rtr\+\_\+socket}})
\item 
int \mbox{\hyperlink{packets__private_8h_a1d253f94e2e6b31575e5c8aa98eb1c62}{rtr\+\_\+check\+\_\+interval\+\_\+range}} (uint32\+\_\+t interval, uint32\+\_\+t minimum, uint32\+\_\+t maximum)
\item 
void \mbox{\hyperlink{packets__private_8h_a15348093165f27db05432ece63e433fa}{apply\+\_\+interval\+\_\+value}} (struct \mbox{\hyperlink{structrtr__socket}{rtr\+\_\+socket}} \texorpdfstring{$\ast$}{*}\mbox{\hyperlink{structrtr__socket}{rtr\+\_\+socket}}, uint32\+\_\+t interval, enum \mbox{\hyperlink{rtr__private_8h_a9d8fb3ecb1800546e470bf348b90b9ad}{rtr\+\_\+interval\+\_\+type}} \mbox{\hyperlink{rtr__pdus_8h_a1d127017fb298b889f4ba24752d08b8e}{type}})
\item 
int \mbox{\hyperlink{packets__private_8h_a3dbbdce0805f2d9e9ff56a43d9bdb5a6}{rtr\+\_\+check\+\_\+interval\+\_\+option}} (struct \mbox{\hyperlink{structrtr__socket}{rtr\+\_\+socket}} \texorpdfstring{$\ast$}{*}\mbox{\hyperlink{structrtr__socket}{rtr\+\_\+socket}}, int interval\+\_\+mode, uint32\+\_\+t interval, enum \mbox{\hyperlink{rtr__private_8h_a9d8fb3ecb1800546e470bf348b90b9ad}{rtr\+\_\+interval\+\_\+type}} \mbox{\hyperlink{rtr__pdus_8h_a1d127017fb298b889f4ba24752d08b8e}{type}})
\end{DoxyCompactItemize}
\doxysubsubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
static const size\+\_\+t \mbox{\hyperlink{packets__private_8h_a693ab761b3e3d963204323f365dbad0f}{RTR\+\_\+\+MAX\+\_\+\+PDU\+\_\+\+LEN}} = 65535
\item 
static const unsigned int \mbox{\hyperlink{packets__private_8h_a7c19dfe811f08f4748060c879d1e500a}{RTR\+\_\+\+RECV\+\_\+\+TIMEOUT}} = 60
\item 
static const unsigned int \mbox{\hyperlink{packets__private_8h_ad4c9e6d830e3bbbcabd5836db0685df5}{RTR\+\_\+\+SEND\+\_\+\+TIMEOUT}} = 60
\item 
void enum \mbox{\hyperlink{group__mod__rtr__h_ga62bcc901355906dd300e2b62c9278cbc}{rtr\+\_\+socket\+\_\+state}} \mbox{\hyperlink{packets__private_8h_ad94727160d9505e207d42f221600469c}{new\+\_\+state}}
\end{DoxyCompactItemize}


\doxysubsection{Function Documentation}
\Hypertarget{packets__private_8h_a971829b9ca0435ae911835dab5cedbd6}\label{packets__private_8h_a971829b9ca0435ae911835dab5cedbd6} 
\index{packets\_private.h@{packets\_private.h}!\_\_attribute\_\_@{\_\_attribute\_\_}}
\index{\_\_attribute\_\_@{\_\_attribute\_\_}!packets\_private.h@{packets\_private.h}}
\doxysubsubsection{\texorpdfstring{\_\_attribute\_\_()}{\_\_attribute\_\_()}}
{\footnotesize\ttfamily void \+\_\+\+\_\+attribute\+\_\+\+\_\+ (\begin{DoxyParamCaption}\item[{(weak)}]{ }\end{DoxyParamCaption})}

\Hypertarget{packets__private_8h_a15348093165f27db05432ece63e433fa}\label{packets__private_8h_a15348093165f27db05432ece63e433fa} 
\index{packets\_private.h@{packets\_private.h}!apply\_interval\_value@{apply\_interval\_value}}
\index{apply\_interval\_value@{apply\_interval\_value}!packets\_private.h@{packets\_private.h}}
\doxysubsubsection{\texorpdfstring{apply\_interval\_value()}{apply\_interval\_value()}}
{\footnotesize\ttfamily void apply\+\_\+interval\+\_\+value (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structrtr__socket}{rtr\+\_\+socket}} \texorpdfstring{$\ast$}{*}}]{rtr\+\_\+socket,  }\item[{uint32\+\_\+t}]{interval,  }\item[{enum \mbox{\hyperlink{rtr__private_8h_a9d8fb3ecb1800546e470bf348b90b9ad}{rtr\+\_\+interval\+\_\+type}}}]{type }\end{DoxyParamCaption})}

\Hypertarget{packets__private_8h_a3dbbdce0805f2d9e9ff56a43d9bdb5a6}\label{packets__private_8h_a3dbbdce0805f2d9e9ff56a43d9bdb5a6} 
\index{packets\_private.h@{packets\_private.h}!rtr\_check\_interval\_option@{rtr\_check\_interval\_option}}
\index{rtr\_check\_interval\_option@{rtr\_check\_interval\_option}!packets\_private.h@{packets\_private.h}}
\doxysubsubsection{\texorpdfstring{rtr\_check\_interval\_option()}{rtr\_check\_interval\_option()}}
{\footnotesize\ttfamily int rtr\+\_\+check\+\_\+interval\+\_\+option (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structrtr__socket}{rtr\+\_\+socket}} \texorpdfstring{$\ast$}{*}}]{rtr\+\_\+socket,  }\item[{int}]{interval\+\_\+mode,  }\item[{uint32\+\_\+t}]{interval,  }\item[{enum \mbox{\hyperlink{rtr__private_8h_a9d8fb3ecb1800546e470bf348b90b9ad}{rtr\+\_\+interval\+\_\+type}}}]{type }\end{DoxyParamCaption})}

\Hypertarget{packets__private_8h_a1d253f94e2e6b31575e5c8aa98eb1c62}\label{packets__private_8h_a1d253f94e2e6b31575e5c8aa98eb1c62} 
\index{packets\_private.h@{packets\_private.h}!rtr\_check\_interval\_range@{rtr\_check\_interval\_range}}
\index{rtr\_check\_interval\_range@{rtr\_check\_interval\_range}!packets\_private.h@{packets\_private.h}}
\doxysubsubsection{\texorpdfstring{rtr\_check\_interval\_range()}{rtr\_check\_interval\_range()}}
{\footnotesize\ttfamily int rtr\+\_\+check\+\_\+interval\+\_\+range (\begin{DoxyParamCaption}\item[{uint32\+\_\+t}]{interval,  }\item[{uint32\+\_\+t}]{minimum,  }\item[{uint32\+\_\+t}]{maximum }\end{DoxyParamCaption})}

\Hypertarget{packets__private_8h_a1b3b3b2312ef9c416477508bafd36092}\label{packets__private_8h_a1b3b3b2312ef9c416477508bafd36092} 
\index{packets\_private.h@{packets\_private.h}!rtr\_send\_reset\_query@{rtr\_send\_reset\_query}}
\index{rtr\_send\_reset\_query@{rtr\_send\_reset\_query}!packets\_private.h@{packets\_private.h}}
\doxysubsubsection{\texorpdfstring{rtr\_send\_reset\_query()}{rtr\_send\_reset\_query()}}
{\footnotesize\ttfamily int rtr\+\_\+send\+\_\+reset\+\_\+query (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structrtr__socket}{rtr\+\_\+socket}} \texorpdfstring{$\ast$}{*}}]{rtr\+\_\+socket }\end{DoxyParamCaption})}

\Hypertarget{packets__private_8h_a7bbc4fad47809ab8b8d885916d456cac}\label{packets__private_8h_a7bbc4fad47809ab8b8d885916d456cac} 
\index{packets\_private.h@{packets\_private.h}!rtr\_send\_serial\_query@{rtr\_send\_serial\_query}}
\index{rtr\_send\_serial\_query@{rtr\_send\_serial\_query}!packets\_private.h@{packets\_private.h}}
\doxysubsubsection{\texorpdfstring{rtr\_send\_serial\_query()}{rtr\_send\_serial\_query()}}
{\footnotesize\ttfamily int rtr\+\_\+send\+\_\+serial\+\_\+query (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structrtr__socket}{rtr\+\_\+socket}} \texorpdfstring{$\ast$}{*}}]{rtr\+\_\+socket }\end{DoxyParamCaption})}

\Hypertarget{packets__private_8h_add4fc887fc1a24d783651d906ca5d164}\label{packets__private_8h_add4fc887fc1a24d783651d906ca5d164} 
\index{packets\_private.h@{packets\_private.h}!rtr\_sync@{rtr\_sync}}
\index{rtr\_sync@{rtr\_sync}!packets\_private.h@{packets\_private.h}}
\doxysubsubsection{\texorpdfstring{rtr\_sync()}{rtr\_sync()}}
{\footnotesize\ttfamily int rtr\+\_\+sync (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structrtr__socket}{rtr\+\_\+socket}} \texorpdfstring{$\ast$}{*}}]{rtr\+\_\+socket }\end{DoxyParamCaption})}

\Hypertarget{packets__private_8h_af25bc389d23a01c57f2f10e9b0c868ae}\label{packets__private_8h_af25bc389d23a01c57f2f10e9b0c868ae} 
\index{packets\_private.h@{packets\_private.h}!rtr\_wait\_for\_sync@{rtr\_wait\_for\_sync}}
\index{rtr\_wait\_for\_sync@{rtr\_wait\_for\_sync}!packets\_private.h@{packets\_private.h}}
\doxysubsubsection{\texorpdfstring{rtr\_wait\_for\_sync()}{rtr\_wait\_for\_sync()}}
{\footnotesize\ttfamily int rtr\+\_\+wait\+\_\+for\+\_\+sync (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structrtr__socket}{rtr\+\_\+socket}} \texorpdfstring{$\ast$}{*}}]{rtr\+\_\+socket }\end{DoxyParamCaption})}



\doxysubsection{Variable Documentation}
\Hypertarget{packets__private_8h_ad94727160d9505e207d42f221600469c}\label{packets__private_8h_ad94727160d9505e207d42f221600469c} 
\index{packets\_private.h@{packets\_private.h}!new\_state@{new\_state}}
\index{new\_state@{new\_state}!packets\_private.h@{packets\_private.h}}
\doxysubsubsection{\texorpdfstring{new\_state}{new\_state}}
{\footnotesize\ttfamily void enum \mbox{\hyperlink{group__mod__rtr__h_ga62bcc901355906dd300e2b62c9278cbc}{rtr\+\_\+socket\+\_\+state}} new\+\_\+state}

\Hypertarget{packets__private_8h_a693ab761b3e3d963204323f365dbad0f}\label{packets__private_8h_a693ab761b3e3d963204323f365dbad0f} 
\index{packets\_private.h@{packets\_private.h}!RTR\_MAX\_PDU\_LEN@{RTR\_MAX\_PDU\_LEN}}
\index{RTR\_MAX\_PDU\_LEN@{RTR\_MAX\_PDU\_LEN}!packets\_private.h@{packets\_private.h}}
\doxysubsubsection{\texorpdfstring{RTR\_MAX\_PDU\_LEN}{RTR\_MAX\_PDU\_LEN}}
{\footnotesize\ttfamily const size\+\_\+t RTR\+\_\+\+MAX\+\_\+\+PDU\+\_\+\+LEN = 65535\hspace{0.3cm}{\ttfamily [static]}}

\Hypertarget{packets__private_8h_a7c19dfe811f08f4748060c879d1e500a}\label{packets__private_8h_a7c19dfe811f08f4748060c879d1e500a} 
\index{packets\_private.h@{packets\_private.h}!RTR\_RECV\_TIMEOUT@{RTR\_RECV\_TIMEOUT}}
\index{RTR\_RECV\_TIMEOUT@{RTR\_RECV\_TIMEOUT}!packets\_private.h@{packets\_private.h}}
\doxysubsubsection{\texorpdfstring{RTR\_RECV\_TIMEOUT}{RTR\_RECV\_TIMEOUT}}
{\footnotesize\ttfamily const unsigned int RTR\+\_\+\+RECV\+\_\+\+TIMEOUT = 60\hspace{0.3cm}{\ttfamily [static]}}

\Hypertarget{packets__private_8h_ad4c9e6d830e3bbbcabd5836db0685df5}\label{packets__private_8h_ad4c9e6d830e3bbbcabd5836db0685df5} 
\index{packets\_private.h@{packets\_private.h}!RTR\_SEND\_TIMEOUT@{RTR\_SEND\_TIMEOUT}}
\index{RTR\_SEND\_TIMEOUT@{RTR\_SEND\_TIMEOUT}!packets\_private.h@{packets\_private.h}}
\doxysubsubsection{\texorpdfstring{RTR\_SEND\_TIMEOUT}{RTR\_SEND\_TIMEOUT}}
{\footnotesize\ttfamily const unsigned int RTR\+\_\+\+SEND\+\_\+\+TIMEOUT = 60\hspace{0.3cm}{\ttfamily [static]}}

