\doxysection{packets\+\_\+private.\+h}
\hypertarget{packets__private_8h_source}{}\label{packets__private_8h_source}\index{rtrlib/rtr/packets\_private.h@{rtrlib/rtr/packets\_private.h}}
\mbox{\hyperlink{packets__private_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{comment}{/*}}
\DoxyCodeLine{00002\ \textcolor{comment}{\ *\ This\ file\ is\ part\ of\ RTRlib.}}
\DoxyCodeLine{00003\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00004\ \textcolor{comment}{\ *\ This\ file\ is\ subject\ to\ the\ terms\ and\ conditions\ of\ the\ MIT\ license.}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ *\ See\ the\ file\ LICENSE\ in\ the\ top\ level\ directory\ for\ more\ details.}}
\DoxyCodeLine{00006\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00007\ \textcolor{comment}{\ *\ Website:\ http://rtrlib.realmv6.org/}}
\DoxyCodeLine{00008\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00009\ }
\DoxyCodeLine{00010\ \textcolor{preprocessor}{\#ifndef\ RTR\_PACKETS\_PRIVATE\_H}}
\DoxyCodeLine{00011\ \textcolor{preprocessor}{\#define\ RTR\_PACKETS\_PRIVATE\_H}}
\DoxyCodeLine{00012\ }
\DoxyCodeLine{00013\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{rtr__private_8h}{rtrlib/rtr/rtr\_private.h}}"{}}}
\DoxyCodeLine{00014\ }
\DoxyCodeLine{00015\ \textcolor{preprocessor}{\#include\ <arpa/inet.h>}}
\DoxyCodeLine{00016\ }
\DoxyCodeLine{00017\ \textcolor{comment}{//\ 16380\ aspa\ providers\ (current\ max\ is\ ca.\ 8k)}}
\DoxyCodeLine{00018\ \textcolor{keyword}{static}\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{size\_t}\ \mbox{\hyperlink{packets__private_8h_a693ab761b3e3d963204323f365dbad0f}{RTR\_MAX\_PDU\_LEN}}\ =\ 65535;}
\DoxyCodeLine{00019\ \textcolor{keyword}{static}\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{packets__private_8h_a7c19dfe811f08f4748060c879d1e500a}{RTR\_RECV\_TIMEOUT}}\ =\ 60;}
\DoxyCodeLine{00020\ \textcolor{keyword}{static}\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{packets__private_8h_ad4c9e6d830e3bbbcabd5836db0685df5}{RTR\_SEND\_TIMEOUT}}\ =\ 60;}
\DoxyCodeLine{00021\ }
\DoxyCodeLine{00022\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{rtr__pdus_8h_a99dd4ca7aa1a44d28c0d5c543ec466bd}{\_\_attribute\_\_}}((weak))}
\DoxyCodeLine{00023\ rtr\_change\_socket\_state(struct\ \mbox{\hyperlink{structrtr__socket}{rtr\_socket}}\ *\mbox{\hyperlink{structrtr__socket}{rtr\_socket}},\ const\ enum\ \mbox{\hyperlink{group__mod__rtr__h_ga62bcc901355906dd300e2b62c9278cbc}{rtr\_socket\_state}}\ \mbox{\hyperlink{packets__private_8h_ad94727160d9505e207d42f221600469c}{new\_state}});}
\DoxyCodeLine{00024\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{packets__private_8h_add4fc887fc1a24d783651d906ca5d164}{rtr\_sync}}(struct\ \mbox{\hyperlink{structrtr__socket}{rtr\_socket}}\ *\mbox{\hyperlink{structrtr__socket}{rtr\_socket}});}
\DoxyCodeLine{00025\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{packets__private_8h_af25bc389d23a01c57f2f10e9b0c868ae}{rtr\_wait\_for\_sync}}(struct\ \mbox{\hyperlink{structrtr__socket}{rtr\_socket}}\ *\mbox{\hyperlink{structrtr__socket}{rtr\_socket}});}
\DoxyCodeLine{00026\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{packets__private_8h_a7bbc4fad47809ab8b8d885916d456cac}{rtr\_send\_serial\_query}}(struct\ \mbox{\hyperlink{structrtr__socket}{rtr\_socket}}\ *\mbox{\hyperlink{structrtr__socket}{rtr\_socket}});}
\DoxyCodeLine{00027\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{packets__private_8h_a1b3b3b2312ef9c416477508bafd36092}{rtr\_send\_reset\_query}}(struct\ \mbox{\hyperlink{structrtr__socket}{rtr\_socket}}\ *\mbox{\hyperlink{structrtr__socket}{rtr\_socket}});}
\DoxyCodeLine{00028\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{packets__private_8h_a1d253f94e2e6b31575e5c8aa98eb1c62}{rtr\_check\_interval\_range}}(uint32\_t\ interval,\ uint32\_t\ minimum,\ uint32\_t\ maximum);}
\DoxyCodeLine{00029\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{packets__private_8h_a15348093165f27db05432ece63e433fa}{apply\_interval\_value}}(struct\ \mbox{\hyperlink{structrtr__socket}{rtr\_socket}}\ *\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}});}
\DoxyCodeLine{00030\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{packets__private_8h_a3dbbdce0805f2d9e9ff56a43d9bdb5a6}{rtr\_check\_interval\_option}}(struct\ \mbox{\hyperlink{structrtr__socket}{rtr\_socket}}\ *\mbox{\hyperlink{structrtr__socket}{rtr\_socket}},\ \textcolor{keywordtype}{int}\ interval\_mode,\ uint32\_t\ interval,}
\DoxyCodeLine{00031\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ enum\ \mbox{\hyperlink{rtr__private_8h_a9d8fb3ecb1800546e470bf348b90b9ad}{rtr\_interval\_type}}\ \mbox{\hyperlink{rtr__pdus_8h_a1d127017fb298b889f4ba24752d08b8e}{type}});}
\DoxyCodeLine{00032\ \textcolor{preprocessor}{\#endif}}

\end{DoxyCode}
