\doxysection{ip\+\_\+private.\+h}
\hypertarget{ip__private_8h_source}{}\label{ip__private_8h_source}\index{rtrlib/lib/ip\_private.h@{rtrlib/lib/ip\_private.h}}
\mbox{\hyperlink{ip__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\_IP\_PRIVATE\_H}}
\DoxyCodeLine{00011\ \textcolor{preprocessor}{\#define\ LRTR\_IP\_PRIVATE\_H}}
\DoxyCodeLine{00012\ }
\DoxyCodeLine{00013\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{ip_8h}{ip.h}}"{}}}
\DoxyCodeLine{00014\ }
\DoxyCodeLine{00015\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{ipv4__private_8h}{rtrlib/lib/ipv4\_private.h}}"{}}}
\DoxyCodeLine{00016\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{ipv6__private_8h}{rtrlib/lib/ipv6\_private.h}}"{}}}
\DoxyCodeLine{00017\ }
\DoxyCodeLine{00024\ \textcolor{keywordtype}{bool}\ \mbox{\hyperlink{ip__private_8h_a74c6ae719b06a8681d679c0c0f80f4ef}{lrtr\_ip\_addr\_is\_zero}}(\textcolor{keyword}{const}\ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structlrtr__ip__addr}{lrtr\_ip\_addr}});}
\DoxyCodeLine{00025\ }
\DoxyCodeLine{00034\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structlrtr__ip__addr}{lrtr\_ip\_addr}}\ \mbox{\hyperlink{ip__private_8h_a7c12e41338dc1d284157b25162ee55c1}{lrtr\_ip\_addr\_get\_bits}}(const\ struct\ \mbox{\hyperlink{structlrtr__ip__addr}{lrtr\_ip\_addr}}\ *val,\ \textcolor{keyword}{const}\ uint8\_t\ from,\ \textcolor{keyword}{const}\ uint8\_t\ number);}
\DoxyCodeLine{00035\ }
\DoxyCodeLine{00046\ \textcolor{keywordtype}{bool}\ \mbox{\hyperlink{group__util__h_ga6b25b2ae306cf374df18044190b04793}{lrtr\_ip\_addr\_equal}}(\textcolor{keyword}{const}\ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structlrtr__ip__addr}{lrtr\_ip\_addr}}\ a,\ \textcolor{keyword}{const}\ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structlrtr__ip__addr}{lrtr\_ip\_addr}}\ b);}
\DoxyCodeLine{00047\ }
\DoxyCodeLine{00055\ \textcolor{keywordtype}{bool}\ \mbox{\hyperlink{group__util__h_ga9a31d2cd8a621a77681fb4aa86d2c2b5}{lrtr\_ip\_str\_cmp}}(\textcolor{keyword}{const}\ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structlrtr__ip__addr}{lrtr\_ip\_addr}}\ *addr1,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *addr2);}
\DoxyCodeLine{00056\ }
\DoxyCodeLine{00057\ \textcolor{preprocessor}{\#endif}}

\end{DoxyCode}
