Newer
Older
UbixOS / doc / html / d5 / d70 / memp__priv_8h.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>UbixOS: include/net/priv/memp_priv.h File Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">UbixOS
   &#160;<span id="projectnumber">2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.16 -->
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('../../',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('d5/d70/memp__priv_8h.html','../../');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">memp_priv.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="../../dc/dba/opt_8h_source.html">net/opt.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="../../d9/d9a/mem_8h_source.html">net/mem.h</a>&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for memp_priv.h:</div>
<div class="dyncontent">
<div class="center"><img src="../../d7/d43/memp__priv_8h__incl.png" border="0" usemap="#include_2net_2priv_2memp__priv_8h" alt=""/></div>
<map name="include_2net_2priv_2memp__priv_8h" id="include_2net_2priv_2memp__priv_8h">
<area shape="rect" title=" " alt="" coords="319,5,467,47"/>
<area shape="rect" href="../../dc/dba/opt_8h.html" title=" " alt="" coords="356,169,429,196"/>
<area shape="rect" href="../../d9/d9a/mem_8h.html" title=" " alt="" coords="391,95,475,121"/>
<area shape="rect" href="../../d2/d78/lwipopts_8h.html" title=" " alt="" coords="220,244,323,271"/>
<area shape="rect" href="../../db/d16/debug_8h.html" title=" " alt="" coords="347,244,438,271"/>
<area shape="rect" href="../../d2/d2d/arch_8h.html" title=" " alt="" coords="353,319,433,345"/>
<area shape="rect" href="../../d0/d27/include_2sys_2types_8h.html" title=" " alt="" coords="282,543,373,569"/>
<area shape="rect" href="../../dc/df0/cc_8h.html" title=" " alt="" coords="170,393,269,420"/>
<area shape="rect" href="../../da/d28/kprintf_8h.html" title=" " alt="" coords="310,393,395,420"/>
<area shape="rect" href="../../d3/d24/kpanic_8h.html" title=" " alt="" coords="471,393,584,420"/>
<area shape="rect" href="../../d0/d6f/__types_8h.html" title=" " alt="" coords="279,767,376,793"/>
<area shape="rect" href="../../d9/dab/select_8h.html" title=" " alt="" coords="281,617,374,644"/>
<area shape="rect" href="../../d6/d92/cdefs_8h.html" title=" " alt="" coords="453,692,543,719"/>
<area shape="rect" href="../../d6/d30/__timespec_8h.html" title=" " alt="" coords="5,692,124,719"/>
<area shape="rect" href="../../df/dc5/__timeval_8h.html" title=" " alt="" coords="148,692,253,719"/>
<area shape="rect" href="../../d6/da4/__sigset_8h.html" title=" " alt="" coords="277,692,377,719"/>
<area shape="rect" href="../../de/df7/time_8h.html" title=" " alt="" coords="151,468,251,495"/>
<area shape="rect" href="../../dc/dac/io_8h.html" title=" " alt="" coords="167,543,235,569"/>
<area shape="rect" href="../../d1/d2d/stdarg_8h.html" title=" " alt="" coords="326,468,395,495"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="../../d7/db7/memp__priv_8h__dep__incl.png" border="0" usemap="#include_2net_2priv_2memp__priv_8hdep" alt=""/></div>
<map name="include_2net_2priv_2memp__priv_8hdep" id="include_2net_2priv_2memp__priv_8hdep">
<area shape="rect" title=" " alt="" coords="2508,5,2656,47"/>
<area shape="rect" href="../../df/dff/memp_8h.html" title=" " alt="" coords="2514,95,2650,121"/>
<area shape="rect" href="../../d9/d9b/stats_8h.html" title=" " alt="" coords="2517,169,2647,196"/>
<area shape="rect" href="../../d9/deb/ip6__frag_8c.html" title=" " alt="" coords="1753,401,1907,427"/>
<area shape="rect" href="../../db/d87/core_2init_8c.html" title=" " alt="" coords="2155,401,2257,427"/>
<area shape="rect" href="../../d1/d70/memp_8c.html" title=" " alt="" coords="2106,483,2226,509"/>
<area shape="rect" href="../../d2/d2b/timeouts_8c.html" title=" " alt="" coords="2456,483,2591,509"/>
<area shape="rect" href="../../d2/d55/tcpip_8c.html" title=" " alt="" coords="3039,483,3143,509"/>
<area shape="rect" href="../../d6/d49/net_2init_8c.html" title=" " alt="" coords="3239,401,3333,427"/>
<area shape="rect" href="../../d8/df0/pbuf_8c.html" title=" " alt="" coords="2985,244,3093,271"/>
<area shape="rect" href="../../d9/d69/netif_8h.html" title=" " alt="" coords="2596,244,2720,271"/>
<area shape="rect" href="../../df/d02/netif_8c.html" title=" " alt="" coords="2620,401,2728,427"/>
<area shape="rect" href="../../da/dc8/ethernetif_8c.html" title=" " alt="" coords="3358,401,3494,427"/>
<area shape="rect" href="../../d3/d8f/mem_8c.html" title=" " alt="" coords="2796,244,2909,271"/>
<area shape="rect" href="../../df/d98/bot_8c.html" title=" " alt="" coords="2193,244,2288,271"/>
<area shape="rect" href="../../d6/d4f/shell_8c.html" title=" " alt="" coords="2313,244,2417,271"/>
<area shape="rect" href="../../d9/d56/sys__arch_8c.html" title=" " alt="" coords="2441,244,2571,271"/>
<area shape="rect" href="../../d0/d49/icmp_8h.html" title=" " alt="" coords="2790,319,2918,345"/>
<area shape="rect" href="../../db/da0/icmp6_8h.html" title=" " alt="" coords="1763,319,1897,345"/>
<area shape="rect" href="../../d9/d9c/igmp_8h.html" title=" " alt="" coords="2243,319,2371,345"/>
<area shape="rect" href="../../da/d2f/ip_8h.html" title=" " alt="" coords="2604,319,2715,345"/>
<area shape="rect" href="../../da/dc6/ip4__frag_8h.html" title=" " alt="" coords="2451,401,2596,427"/>
<area shape="rect" href="../../d9/d74/ip6__frag_8h.html" title=" " alt="" coords="1921,319,2067,345"/>
<area shape="rect" href="../../d7/d97/net_8h.html" title=" " alt="" coords="1315,319,1433,345"/>
<area shape="rect" href="../../dd/d07/ne2k_8c.html" title=" " alt="" coords="1071,557,1154,584"/>
<area shape="rect" href="../../d2/db6/lnc_8c.html" title=" " alt="" coords="1464,401,1535,427"/>
<area shape="rect" href="../../d9/db5/tcpip_8h.html" title=" " alt="" coords="3222,319,3350,345"/>
<area shape="rect" href="../../d9/d81/f_2ethernet_8h.html" title=" " alt="" coords="3044,319,3197,345"/>
<area shape="rect" href="../../dd/ded/slipif_8h.html" title=" " alt="" coords="2396,319,2528,345"/>
<area shape="rect" href="../../d4/d75/ubixos_2init_8h.html" title=" " alt="" coords="703,557,840,584"/>
<area shape="rect" href="../../db/da9/include_2vfs_2vfs_8h.html" title=" " alt="" coords="758,401,870,427"/>
<area shape="rect" href="../../d0/d29/main_8c.html" title=" " alt="" coords="730,632,813,659"/>
<area shape="rect" href="../../d4/d27/devfs_8c.html" title=" " alt="" coords="89,483,198,509"/>
<area shape="rect" href="../../d3/d2e/fat_8c.html" title=" " alt="" coords="223,483,301,509"/>
<area shape="rect" href="../../d3/de7/thread_8c.html" title=" " alt="" coords="5,557,127,584"/>
<area shape="rect" href="../../d2/d34/ubixfs_8c.html" title=" " alt="" coords="272,557,391,584"/>
<area shape="rect" href="../../de/df2/ffs_8c.html" title=" " alt="" coords="1384,557,1465,584"/>
<area shape="rect" href="../../d3/d41/ufs_8c.html" title=" " alt="" coords="1670,557,1755,584"/>
<area shape="rect" href="../../d6/d13/file_8c.html" title=" " alt="" coords="477,557,559,584"/>
<area shape="rect" href="../../d8/d2b/inode_8c.html" title=" " alt="" coords="877,483,975,509"/>
<area shape="rect" href="../../d6/de3/namei_8c.html" title=" " alt="" coords="999,483,1101,509"/>
<area shape="rect" href="../../dd/df2/vfs_8c.html" title=" " alt="" coords="589,557,671,584"/>
<area shape="rect" href="../../d6/d6d/buf_8h.html" title=" " alt="" coords="1365,483,1485,509"/>
<area shape="rect" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html" title=" " alt="" coords="325,483,476,509"/>
<area shape="rect" href="../../d2/d48/vitals_8h.html" title=" " alt="" coords="602,483,751,509"/>
<area shape="rect" href="../../d0/dda/ffs_8h.html" title=" " alt="" coords="1610,483,1722,509"/>
<area shape="rect" href="../../d8/dd5/ld_8c.html" title=" " alt="" coords="1125,483,1207,509"/>
<area shape="rect" href="../../d4/dda/kmod_8c.html" title=" " alt="" coords="1232,483,1340,509"/>
<area shape="rect" href="../../d6/d89/tcpip__priv_8h.html" title=" " alt="" coords="2804,393,2944,435"/>
<area shape="rect" href="../../df/d7e/f_2etharp_8h.html" title=" " alt="" coords="3020,401,3163,427"/>
</map>
</div>
</div>
<p><a href="../../d5/d70/memp__priv_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/db4/structmemp.html">memp</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/ddd/structmemp__desc.html">memp_desc</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:aabec8ab3418486aed704fb8bb933da42"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d70/memp__priv_8h.html#aabec8ab3418486aed704fb8bb933da42">DECLARE_LWIP_MEMPOOL_DESC</a>(desc)</td></tr>
<tr class="separator:aabec8ab3418486aed704fb8bb933da42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9373cb7cc6e658a60cec6ca57173a72d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d70/memp__priv_8h.html#a9373cb7cc6e658a60cec6ca57173a72d">LWIP_MEMPOOL_DECLARE_STATS_INSTANCE</a>(<a class="el" href="../../d1/de8/pci_8c.html#a8f8f80d37794cde9472343e4487ba3eb">name</a>)</td></tr>
<tr class="separator:a9373cb7cc6e658a60cec6ca57173a72d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46723c1d1d900d5f23e5bde91d22d8be"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d70/memp__priv_8h.html#a46723c1d1d900d5f23e5bde91d22d8be">LWIP_MEMPOOL_DECLARE_STATS_REFERENCE</a>(<a class="el" href="../../d1/de8/pci_8c.html#a8f8f80d37794cde9472343e4487ba3eb">name</a>)</td></tr>
<tr class="separator:a46723c1d1d900d5f23e5bde91d22d8be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12e0cfbac9c8263e5a1fb319b92338e7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d70/memp__priv_8h.html#a12e0cfbac9c8263e5a1fb319b92338e7">MEMP_ALIGN_SIZE</a>(x)&#160;&#160;&#160;(<a class="el" href="../../de/d8c/group__compiler__abstraction.html#gaef204be511fd32f681b55abc08e9ae18">LWIP_MEM_ALIGN_SIZE</a>(x))</td></tr>
<tr class="separator:a12e0cfbac9c8263e5a1fb319b92338e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f8c378e0581aa2dc491cff52ae4fce2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d70/memp__priv_8h.html#a7f8c378e0581aa2dc491cff52ae4fce2">MEMP_SIZE</a>&#160;&#160;&#160;0</td></tr>
<tr class="separator:a7f8c378e0581aa2dc491cff52ae4fce2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a62f8c3c907743e34eee3cdac7fa1eaa5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d70/memp__priv_8h.html#a62f8c3c907743e34eee3cdac7fa1eaa5">memp_free_pool</a> (<a class="el" href="../../d6/d92/cdefs_8h.html#a2c212835823e3c54a8ab6d95c652660e">const</a> struct <a class="el" href="../../d5/ddd/structmemp__desc.html">memp_desc</a> *desc, void *<a class="el" href="../../d0/d0f/structmem.html">mem</a>)</td></tr>
<tr class="separator:a62f8c3c907743e34eee3cdac7fa1eaa5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6416303426d05526bed33f241fa6ecd7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d70/memp__priv_8h.html#a6416303426d05526bed33f241fa6ecd7">memp_init_pool</a> (<a class="el" href="../../d6/d92/cdefs_8h.html#a2c212835823e3c54a8ab6d95c652660e">const</a> struct <a class="el" href="../../d5/ddd/structmemp__desc.html">memp_desc</a> *desc)</td></tr>
<tr class="separator:a6416303426d05526bed33f241fa6ecd7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a348c83ee972f1edf7296a1cdf1d75f22"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d70/memp__priv_8h.html#a348c83ee972f1edf7296a1cdf1d75f22">memp_malloc_pool</a> (<a class="el" href="../../d6/d92/cdefs_8h.html#a2c212835823e3c54a8ab6d95c652660e">const</a> struct <a class="el" href="../../d5/ddd/structmemp__desc.html">memp_desc</a> *desc)</td></tr>
<tr class="separator:a348c83ee972f1edf7296a1cdf1d75f22"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>memory pools lwIP internal implementations (do not use in application code) </p>

<p class="definition">Definition in file <a class="el" href="../../d5/d70/memp__priv_8h_source.html">memp_priv.h</a>.</p>
</div><h2 class="groupheader">Macro Definition Documentation</h2>
<a id="aabec8ab3418486aed704fb8bb933da42"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aabec8ab3418486aed704fb8bb933da42">&#9670;&nbsp;</a></span>DECLARE_LWIP_MEMPOOL_DESC</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DECLARE_LWIP_MEMPOOL_DESC</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">desc</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d5/d70/memp__priv_8h_source.html#l00158">158</a> of file <a class="el" href="../../d5/d70/memp__priv_8h_source.html">memp_priv.h</a>.</p>

</div>
</div>
<a id="a9373cb7cc6e658a60cec6ca57173a72d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9373cb7cc6e658a60cec6ca57173a72d">&#9670;&nbsp;</a></span>LWIP_MEMPOOL_DECLARE_STATS_INSTANCE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LWIP_MEMPOOL_DECLARE_STATS_INSTANCE</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><a class="el" href="../../d1/de8/pci_8c.html#a8f8f80d37794cde9472343e4487ba3eb">name</a></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d5/d70/memp__priv_8h_source.html#l00165">165</a> of file <a class="el" href="../../d5/d70/memp__priv_8h_source.html">memp_priv.h</a>.</p>

</div>
</div>
<a id="a46723c1d1d900d5f23e5bde91d22d8be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a46723c1d1d900d5f23e5bde91d22d8be">&#9670;&nbsp;</a></span>LWIP_MEMPOOL_DECLARE_STATS_REFERENCE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LWIP_MEMPOOL_DECLARE_STATS_REFERENCE</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><a class="el" href="../../d1/de8/pci_8c.html#a8f8f80d37794cde9472343e4487ba3eb">name</a></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d5/d70/memp__priv_8h_source.html#l00166">166</a> of file <a class="el" href="../../d5/d70/memp__priv_8h_source.html">memp_priv.h</a>.</p>

</div>
</div>
<a id="a12e0cfbac9c8263e5a1fb319b92338e7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a12e0cfbac9c8263e5a1fb319b92338e7">&#9670;&nbsp;</a></span>MEMP_ALIGN_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MEMP_ALIGN_SIZE</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">x</td><td>)</td>
          <td>&#160;&#160;&#160;(<a class="el" href="../../de/d8c/group__compiler__abstraction.html#gaef204be511fd32f681b55abc08e9ae18">LWIP_MEM_ALIGN_SIZE</a>(x))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d5/d70/memp__priv_8h_source.html#l00086">86</a> of file <a class="el" href="../../d5/d70/memp__priv_8h_source.html">memp_priv.h</a>.</p>

</div>
</div>
<a id="a7f8c378e0581aa2dc491cff52ae4fce2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7f8c378e0581aa2dc491cff52ae4fce2">&#9670;&nbsp;</a></span>MEMP_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MEMP_SIZE&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d5/d70/memp__priv_8h_source.html#l00085">85</a> of file <a class="el" href="../../d5/d70/memp__priv_8h_source.html">memp_priv.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="a62f8c3c907743e34eee3cdac7fa1eaa5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62f8c3c907743e34eee3cdac7fa1eaa5">&#9670;&nbsp;</a></span>memp_free_pool()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void memp_free_pool </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d6/d92/cdefs_8h.html#a2c212835823e3c54a8ab6d95c652660e">const</a> struct <a class="el" href="../../d5/ddd/structmemp__desc.html">memp_desc</a> *&#160;</td>
          <td class="paramname"><em>desc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>mem</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Put a custom pool element back into its pool.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">desc</td><td>the pool where to put mem </td></tr>
    <tr><td class="paramname">mem</td><td>the memp element to free </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="../../d1/d70/memp_8c_source.html#l00452">452</a> of file <a class="el" href="../../d1/d70/memp_8c_source.html">memp.c</a>.</p>

<p class="reference">References <a class="el" href="../../db/d16/debug_8h_source.html#l00116">LWIP_ASSERT</a>, and <a class="el" href="../../d6/d8a/fat__string_8h_source.html#l00017">NULL</a>.</p>

</div>
</div>
<a id="a6416303426d05526bed33f241fa6ecd7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6416303426d05526bed33f241fa6ecd7">&#9670;&nbsp;</a></span>memp_init_pool()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void memp_init_pool </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d6/d92/cdefs_8h.html#a2c212835823e3c54a8ab6d95c652660e">const</a> struct <a class="el" href="../../d5/ddd/structmemp__desc.html">memp_desc</a> *&#160;</td>
          <td class="paramname"><em>desc</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Initialize custom memory pool. Related functions: memp_malloc_pool, memp_free_pool</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">desc</td><td>pool to initialize </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="../../d1/d70/memp_8c_source.html#l00230">230</a> of file <a class="el" href="../../d1/d70/memp_8c_source.html">memp.c</a>.</p>

<p class="reference">References <a class="el" href="../../d5/d70/memp__priv_8h_source.html#l00148">memp_desc::base</a>, <a class="el" href="../../d2/d2d/arch_8h_source.html#l00236">LWIP_MEM_ALIGN</a>, <a class="el" href="../../d2/d2d/arch_8h_source.html#l00315">LWIP_UNUSED_ARG</a>, <a class="el" href="../../d2/d78/lwipopts_8h_source.html#l00063">MEMP_OVERFLOW_CHECK</a>, <a class="el" href="../../d5/d70/memp__priv_8h_source.html#l00085">MEMP_SIZE</a>, <a class="el" href="../../d5/d70/memp__priv_8h_source.html#l00092">memp::next</a>, <a class="el" href="../../d6/d8a/fat__string_8h_source.html#l00017">NULL</a>, <a class="el" href="../../d5/d70/memp__priv_8h_source.html#l00145">memp_desc::num</a>, <a class="el" href="../../d5/d70/memp__priv_8h_source.html#l00141">memp_desc::size</a>, and <a class="el" href="../../d5/d70/memp__priv_8h_source.html#l00151">memp_desc::tab</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d1/d70/memp_8c_source.html#l00271">memp_init()</a>.</p>

</div>
</div>
<a id="a348c83ee972f1edf7296a1cdf1d75f22"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a348c83ee972f1edf7296a1cdf1d75f22">&#9670;&nbsp;</a></span>memp_malloc_pool()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* memp_malloc_pool </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d6/d92/cdefs_8h.html#a2c212835823e3c54a8ab6d95c652660e">const</a> struct <a class="el" href="../../d5/ddd/structmemp__desc.html">memp_desc</a> *&#160;</td>
          <td class="paramname"><em>desc</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get an element from a custom pool.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">desc</td><td>the pool to get an element from</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to the allocated memory or a NULL pointer on error </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../d1/d70/memp_8c_source.html#l00359">359</a> of file <a class="el" href="../../d1/d70/memp_8c_source.html">memp.c</a>.</p>

<p class="reference">References <a class="el" href="../../db/d16/debug_8h_source.html#l00116">LWIP_ASSERT</a>, and <a class="el" href="../../d6/d8a/fat__string_8h_source.html#l00017">NULL</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="../../dir_2fa1ed3146d6c2b96c5cfe4341985326.html">net</a></li><li class="navelem"><a class="el" href="../../dir_227a2a9bb737ed2daffe4b7ac102033f.html">priv</a></li><li class="navelem"><a class="el" href="../../d5/d70/memp__priv_8h.html">memp_priv.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.16 </li>
  </ul>
</div>
</body>
</html>