\doxysection{ipv4\+\_\+private.\+h}
\hypertarget{ipv4__private_8h_source}{}\label{ipv4__private_8h_source}\index{rtrlib/lib/ipv4\_private.h@{rtrlib/lib/ipv4\_private.h}}
\mbox{\hyperlink{ipv4__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\ LRTR\_IPV4\_PRIVATE\_H}}
\DoxyCodeLine{00011\ \textcolor{preprocessor}{\#define\ LRTR\_IPV4\_PRIVATE\_H}}
\DoxyCodeLine{00012\ }
\DoxyCodeLine{00013\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{ipv4_8h}{ipv4.h}}"{}}}
\DoxyCodeLine{00014\ }
\DoxyCodeLine{00015\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{convert__byte__order__private_8h}{rtrlib/lib/convert\_byte\_order\_private.h}}"{}}}
\DoxyCodeLine{00016\ }
\DoxyCodeLine{00017\ \textcolor{preprocessor}{\#include\ <inttypes.h>}}
\DoxyCodeLine{00018\ \textcolor{preprocessor}{\#include\ <stdbool.h>}}
\DoxyCodeLine{00019\ }
\DoxyCodeLine{00032\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structlrtr__ipv4__addr}{lrtr\_ipv4\_addr}}\ \mbox{\hyperlink{ipv4__private_8h_a405222aa90f1719f7f6050219254446f}{lrtr\_ipv4\_get\_bits}}(const\ struct\ \mbox{\hyperlink{structlrtr__ipv4__addr}{lrtr\_ipv4\_addr}}\ *val,\ \textcolor{keyword}{const}\ uint8\_t\ from,\ \textcolor{keyword}{const}\ uint8\_t\ number);}
\DoxyCodeLine{00033\ }
\DoxyCodeLine{00043\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{ipv4__private_8h_a3e4883f79caa3d1d8509527c0a295958}{lrtr\_ipv4\_str\_to\_addr}}(\textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *str,\ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structlrtr__ipv4__addr}{lrtr\_ipv4\_addr}}\ *ip);}
\DoxyCodeLine{00044\ }
\DoxyCodeLine{00055\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{ipv4__private_8h_a281a258f8fa06f168219231ec943a044}{lrtr\_ipv4\_addr\_to\_str}}(\textcolor{keyword}{const}\ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structlrtr__ipv4__addr}{lrtr\_ipv4\_addr}}\ *ip,\ \textcolor{keywordtype}{char}\ *str,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{rtr__pdus_8h_a96bbf959016e4411c9e6b9812a8be60a}{len}});}
\DoxyCodeLine{00056\ }
\DoxyCodeLine{00066\ \textcolor{keywordtype}{bool}\ \mbox{\hyperlink{ipv4__private_8h_a85c1fded062f1f9e949b959a9e93f008}{lrtr\_ipv4\_addr\_equal}}(\textcolor{keyword}{const}\ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structlrtr__ipv4__addr}{lrtr\_ipv4\_addr}}\ *a,\ \textcolor{keyword}{const}\ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structlrtr__ipv4__addr}{lrtr\_ipv4\_addr}}\ *b);}
\DoxyCodeLine{00067\ }
\DoxyCodeLine{00077\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{group__util__h_ga91aaafa31a937931b6db6cb2c480ae6e}{lrtr\_ipv4\_addr\_convert\_byte\_order}}(\textcolor{keyword}{const}\ uint32\_t\ src,\ uint32\_t\ *dest,\ \textcolor{keyword}{const}\ \textcolor{keyword}{enum}\ \mbox{\hyperlink{convert__byte__order__private_8h_ac7f9e54856274b72079ec96ab0e18fa1}{target\_byte\_order}}\ tbo);}
\DoxyCodeLine{00078\ }
\DoxyCodeLine{00079\ \textcolor{preprocessor}{\#endif}}

\end{DoxyCode}
