<!-- iframe showing the search results (closed by default) -->
<divid="MSearchResultsWindow">
<iframesrc="javascript:void(0)"frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<divclass="header">
<divclass="headertitle">
<divclass="title">ipv6-gmp.h</div></div>
</div><!--header-->
<divclass="contents">
<ahref="../../d0/d32/ipv6-gmp_8h.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aname="l00001"></a><spanclass="lineno"> 1</span> <spanclass="comment">/* This file is part of Netsukuku</span></div>
<divclass="line"><aname="l00002"></a><spanclass="lineno"> 2</span> <spanclass="comment"> * (c) Copyright 2004 Andrea Lo Pumo aka AlpT <alpt@freaknet.org></span></div>
<divclass="line"><aname="l00004"></a><spanclass="lineno"> 4</span> <spanclass="comment"> * This source code is free software; you can redistribute it and/or</span></div>
<divclass="line"><aname="l00005"></a><spanclass="lineno"> 5</span> <spanclass="comment"> * modify it under the terms of the GNU General Public License as published </span></div>
<divclass="line"><aname="l00006"></a><spanclass="lineno"> 6</span> <spanclass="comment"> * by the Free Software Foundation; either version 2 of the License,</span></div>
<divclass="line"><aname="l00007"></a><spanclass="lineno"> 7</span> <spanclass="comment"> * or (at your option) any later version.</span></div>
<divclass="line"><aname="l00009"></a><spanclass="lineno"> 9</span> <spanclass="comment"> * This source code is distributed in the hope that it will be useful,</span></div>
<divclass="line"><aname="l00010"></a><spanclass="lineno"> 10</span> <spanclass="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<divclass="line"><aname="l00011"></a><spanclass="lineno"> 11</span> <spanclass="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</span></div>
<divclass="line"><aname="l00012"></a><spanclass="lineno"> 12</span> <spanclass="comment"> * Please refer to the GNU Public License for more details.</span></div>
<divclass="line"><aname="l00014"></a><spanclass="lineno"> 14</span> <spanclass="comment"> * You should have received a copy of the GNU Public License along with</span></div>
<divclass="line"><aname="l00015"></a><spanclass="lineno"> 15</span> <spanclass="comment"> * this source code; if not, write to:</span></div>
<divclass="line"><aname="l00016"></a><spanclass="lineno"> 16</span> <spanclass="comment"> * Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.</span></div>
<divclass="line"><aname="l00018"></a><spanclass="lineno"> 18</span> <spanclass="comment"> * 128bit-gmp.c: I made this to handle the HUGE ipv6 numbers</span></div>
<divclass="line"><aname="l00026"></a><spanclass="lineno"> 26</span> <spanclass="comment">/* * * Defines used for mpz_import/export * * */</span></div>
<divclass="line"><aname="l00027"></a><spanclass="lineno"> 27</span> <spanclass="comment">/* From info gmp: "ORDER can be 1 for most significant word first or -1 for least </span></div>
<divclass="ttc"id="ipv6-gmp_8h_html_a67c3095b543d7bdd0db738e0eae05926"><divclass="ttname"><ahref="../../d0/d32/ipv6-gmp_8h.html#a67c3095b543d7bdd0db738e0eae05926">sub_128</a></div><divclass="ttdeci">int sub_128(unsigned int *, unsigned int *)</div><divclass="ttdef"><b>Definition:</b> ipv6-gmp.c:58</div></div>
<divclass="ttc"id="ipv6-gmp_8h_html_aee5c5d4be4eeae3ea37fae7dd1679467"><divclass="ttname"><ahref="../../d0/d32/ipv6-gmp_8h.html#aee5c5d4be4eeae3ea37fae7dd1679467">ntohl_128</a></div><divclass="ttdeci">int ntohl_128(unsigned int *, unsigned int *)</div><divclass="ttdef"><b>Definition:</b> ipv6-gmp.c:152</div></div>
<divclass="ttc"id="ipv6-gmp_8h_html_a1a6bcaebfb6d18cd6ed7cfcef5275b2f"><divclass="ttname"><ahref="../../d0/d32/ipv6-gmp_8h.html#a1a6bcaebfb6d18cd6ed7cfcef5275b2f">sum_128</a></div><divclass="ttdeci">int sum_128(unsigned int *, unsigned int *)</div><divclass="ttdef"><b>Definition:</b> ipv6-gmp.c:27</div></div>
<divclass="ttc"id="ipv6-gmp_8h_html_a8b870999b28c777e0f6d20e9585f2cc1"><divclass="ttname"><ahref="../../d0/d32/ipv6-gmp_8h.html#a8b870999b28c777e0f6d20e9585f2cc1">div_mpz</a></div><divclass="ttdeci">int div_mpz(unsigned int *, mpz_t)</div><divclass="ttdef"><b>Definition:</b> ipv6-gmp.c:120</div></div>
<divclass="ttc"id="ipv6-gmp_8h_html_a0b0edfcc6e6070478d61c660aac947d8"><divclass="ttname"><ahref="../../d0/d32/ipv6-gmp_8h.html#a0b0edfcc6e6070478d61c660aac947d8">div_128</a></div><divclass="ttdeci">int div_128(unsigned int *, unsigned int *)</div><divclass="ttdef"><b>Definition:</b> ipv6-gmp.c:89</div></div>
<divclass="ttc"id="ipv6-gmp_8h_html_a97cb7bdde3cfc89d8f25b595920d9e2d"><divclass="ttname"><ahref="../../d0/d32/ipv6-gmp_8h.html#a97cb7bdde3cfc89d8f25b595920d9e2d">sum_int</a></div><divclass="ttdeci">int sum_int(unsigned int, unsigned int *)</div><divclass="ttdef"><b>Definition:</b> ipv6-gmp.c:49</div></div>
<divclass="ttc"id="ipv6-gmp_8h_html_a34a640894b6e6234d6f8fae7e527a368"><divclass="ttname"><ahref="../../d0/d32/ipv6-gmp_8h.html#a34a640894b6e6234d6f8fae7e527a368">htonl_128</a></div><divclass="ttdeci">int htonl_128(unsigned int *, unsigned int *)</div><divclass="ttdef"><b>Definition:</b> ipv6-gmp.c:139</div></div>
<divclass="ttc"id="ipv6-gmp_8h_html_aa08f5a363b713e12ffb9f1bc94e71afc"><divclass="ttname"><ahref="../../d0/d32/ipv6-gmp_8h.html#aa08f5a363b713e12ffb9f1bc94e71afc">div_int</a></div><divclass="ttdeci">int div_int(unsigned int *, unsigned int)</div><divclass="ttdef"><b>Definition:</b> ipv6-gmp.c:111</div></div>
<divclass="ttc"id="ipv6-gmp_8h_html_a2ba07e789e425b3e550a9f7eb5620a7b"><divclass="ttname"><ahref="../../d0/d32/ipv6-gmp_8h.html#a2ba07e789e425b3e550a9f7eb5620a7b">sub_int</a></div><divclass="ttdeci">int sub_int(unsigned int *, unsigned int)</div><divclass="ttdef"><b>Definition:</b> ipv6-gmp.c:80</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<divid="nav-path"class="navpath"><!-- id is needed for treeview function! -->