<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>UbixOS V2: src/sys/include/net/memp.h File Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.4.7 --> <div class="tabs"> <ul> <li><a href="main.html"><span>Main Page</span></a></li> <li><a href="classes.html"><span>Data Structures</span></a></li> <li id="current"><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> <li> <form action="search.php" method="get"> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td><label> <u>S</u>earch for </label></td> <td><input type="text" name="query" value="" size="20" accesskey="s"/></td> </tr> </table> </form> </li> </ul></div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul></div> <div class="nav"> <a class="el" href="dir_897b6a2d7bab147dd1db58381aad3984.html">src</a> » <a class="el" href="dir_832905b1f7f5feaf61a306b40c0ac817.html">sys</a> » <a class="el" href="dir_caf4200c438ae9601464168e21e8e4d8.html">include</a> » <a class="el" href="dir_c1d11d251a83b2498f44d410b793c5eb.html">net</a></div> <h1>memp.h File Reference</h1><code>#include <<a class="el" href="types_8h-source.html">ubixos/types.h</a>></code><br> <code>#include "<a class="el" href="debug_8h-source.html">net/debug.h</a>"</code><br> <code>#include "<a class="el" href="cc_8h-source.html">net/arch/cc.h</a>"</code><br> <code>#include "<a class="el" href="lwipopts_8h-source.html">net/lwipopts.h</a>"</code><br> <p> <a href="memp_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Defines</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="memp_8h.html#68c3d4d5eebe82bb950a715f71424b79">memp_register_reclaim</a>(t, f, arg)</td></tr> <tr><td colspan="2"><br><h2>Enumerations</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="memp_8h.html#85a164b1f7764951cc685ea525114e57">memp_t</a> { <br> <a class="el" href="memp_8h.html#85a164b1f7764951cc685ea525114e57ace9446c66ccd884e15b4fb843e8b4fa">MEMP_PBUF</a>, <a class="el" href="memp_8h.html#85a164b1f7764951cc685ea525114e571a9815e3b6cd4272c0618d24bfd094e8">MEMP_UDP_PCB</a>, <a class="el" href="memp_8h.html#85a164b1f7764951cc685ea525114e5790e6ec01802b36e2e928f27d6939f82d">MEMP_TCP_PCB</a>, <a class="el" href="memp_8h.html#85a164b1f7764951cc685ea525114e57ff63d88540eba15110bfacad9ca424c4">MEMP_TCP_PCB_LISTEN</a>, <br> <a class="el" href="memp_8h.html#85a164b1f7764951cc685ea525114e57e7de932f63417a74429891366689add0">MEMP_TCP_SEG</a>, <a class="el" href="memp_8h.html#85a164b1f7764951cc685ea525114e57c0bb141248dc601c118d1ec36170a04e">MEMP_NETBUF</a>, <a class="el" href="memp_8h.html#85a164b1f7764951cc685ea525114e57c734c3ec027353cbb98cd72fa986f5f1">MEMP_NETCONN</a>, <a class="el" href="memp_8h.html#85a164b1f7764951cc685ea525114e572decda39458fdeaa1921df20aa15f0ea">MEMP_API_MSG</a>, <br> <a class="el" href="memp_8h.html#85a164b1f7764951cc685ea525114e57110e78608e5acf1cf15cb442dfffd84f">MEMP_TCPIP_MSG</a>, <a class="el" href="memp_8h.html#85a164b1f7764951cc685ea525114e575d3e764e7a5fabf78a43be980a8662ea">MEMP_SYS_TIMEOUT</a>, <a class="el" href="memp_8h.html#85a164b1f7764951cc685ea525114e573387042084427642949f3223c7ddd321">MEMP_MAX</a> <br> }</td></tr> <tr><td colspan="2"><br><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="memp_8h.html#ecd94926b7c2a0e23ae195f4ae97581f">memp_free</a> (<a class="el" href="memp_8h.html#85a164b1f7764951cc685ea525114e57">memp_t</a> type, void *mem)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="memp_8h.html#269bd926cd0413cf1948cf1992209451">memp_freep</a> (<a class="el" href="memp_8h.html#85a164b1f7764951cc685ea525114e57">memp_t</a> type, void *mem)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="memp_8h.html#9693e5b1ac2c6b9c0e7870522d45efa2">memp_init</a> (void)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="memp_8h.html#2b00593d086313c267b54a976bf67aa5">memp_malloc</a> (<a class="el" href="memp_8h.html#85a164b1f7764951cc685ea525114e57">memp_t</a> type)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="memp_8h.html#3e83e8a6e588d56b4620eddf89001d7e">memp_malloc2</a> (<a class="el" href="memp_8h.html#85a164b1f7764951cc685ea525114e57">memp_t</a> type)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="memp_8h.html#8fd5bd978dc56399e1649381cc2a1aeb">memp_mallocp</a> (<a class="el" href="memp_8h.html#85a164b1f7764951cc685ea525114e57">memp_t</a> type)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="memp_8h.html#3910fbf5cded713d0892c16ae2ce7fc4">memp_realloc</a> (<a class="el" href="memp_8h.html#85a164b1f7764951cc685ea525114e57">memp_t</a> fromtype, <a class="el" href="memp_8h.html#85a164b1f7764951cc685ea525114e57">memp_t</a> totype, void *mem)</td></tr> </table> <hr><h2>Define Documentation</h2> <a class="anchor" name="68c3d4d5eebe82bb950a715f71424b79"></a><!-- doxytag: member="memp.h::memp_register_reclaim" ref="68c3d4d5eebe82bb950a715f71424b79" args="(t, f, arg)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define memp_register_reclaim </td> <td>(</td> <td class="paramtype">t, <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">f, <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">arg </td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="memp_8h-source.html#l00075">75</a> of file <a class="el" href="memp_8h-source.html">memp.h</a>. </div> </div><p> <hr><h2>Enumeration Type Documentation</h2> <a class="anchor" name="85a164b1f7764951cc685ea525114e57"></a><!-- doxytag: member="memp.h::memp_t" ref="85a164b1f7764951cc685ea525114e57" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">enum <a class="el" href="memp_8h.html#85a164b1f7764951cc685ea525114e57">memp_t</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <dl compact><dt><b>Enumerator: </b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"><em><a class="anchor" name="85a164b1f7764951cc685ea525114e57ace9446c66ccd884e15b4fb843e8b4fa"></a><!-- doxytag: member="MEMP_PBUF" ref="85a164b1f7764951cc685ea525114e57ace9446c66ccd884e15b4fb843e8b4fa" args="" -->MEMP_PBUF</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="85a164b1f7764951cc685ea525114e571a9815e3b6cd4272c0618d24bfd094e8"></a><!-- doxytag: member="MEMP_UDP_PCB" ref="85a164b1f7764951cc685ea525114e571a9815e3b6cd4272c0618d24bfd094e8" args="" -->MEMP_UDP_PCB</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="85a164b1f7764951cc685ea525114e5790e6ec01802b36e2e928f27d6939f82d"></a><!-- doxytag: member="MEMP_TCP_PCB" ref="85a164b1f7764951cc685ea525114e5790e6ec01802b36e2e928f27d6939f82d" args="" -->MEMP_TCP_PCB</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="85a164b1f7764951cc685ea525114e57ff63d88540eba15110bfacad9ca424c4"></a><!-- doxytag: member="MEMP_TCP_PCB_LISTEN" ref="85a164b1f7764951cc685ea525114e57ff63d88540eba15110bfacad9ca424c4" args="" -->MEMP_TCP_PCB_LISTEN</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="85a164b1f7764951cc685ea525114e57e7de932f63417a74429891366689add0"></a><!-- doxytag: member="MEMP_TCP_SEG" ref="85a164b1f7764951cc685ea525114e57e7de932f63417a74429891366689add0" args="" -->MEMP_TCP_SEG</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="85a164b1f7764951cc685ea525114e57c0bb141248dc601c118d1ec36170a04e"></a><!-- doxytag: member="MEMP_NETBUF" ref="85a164b1f7764951cc685ea525114e57c0bb141248dc601c118d1ec36170a04e" args="" -->MEMP_NETBUF</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="85a164b1f7764951cc685ea525114e57c734c3ec027353cbb98cd72fa986f5f1"></a><!-- doxytag: member="MEMP_NETCONN" ref="85a164b1f7764951cc685ea525114e57c734c3ec027353cbb98cd72fa986f5f1" args="" -->MEMP_NETCONN</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="85a164b1f7764951cc685ea525114e572decda39458fdeaa1921df20aa15f0ea"></a><!-- doxytag: member="MEMP_API_MSG" ref="85a164b1f7764951cc685ea525114e572decda39458fdeaa1921df20aa15f0ea" args="" -->MEMP_API_MSG</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="85a164b1f7764951cc685ea525114e57110e78608e5acf1cf15cb442dfffd84f"></a><!-- doxytag: member="MEMP_TCPIP_MSG" ref="85a164b1f7764951cc685ea525114e57110e78608e5acf1cf15cb442dfffd84f" args="" -->MEMP_TCPIP_MSG</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="85a164b1f7764951cc685ea525114e575d3e764e7a5fabf78a43be980a8662ea"></a><!-- doxytag: member="MEMP_SYS_TIMEOUT" ref="85a164b1f7764951cc685ea525114e575d3e764e7a5fabf78a43be980a8662ea" args="" -->MEMP_SYS_TIMEOUT</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="85a164b1f7764951cc685ea525114e573387042084427642949f3223c7ddd321"></a><!-- doxytag: member="MEMP_MAX" ref="85a164b1f7764951cc685ea525114e573387042084427642949f3223c7ddd321" args="" -->MEMP_MAX</em> </td><td> </td></tr> </table> </dl> <p> Definition at line <a class="el" href="memp_8h-source.html#l00045">45</a> of file <a class="el" href="memp_8h-source.html">memp.h</a>. </div> </div><p> <hr><h2>Function Documentation</h2> <a class="anchor" name="ecd94926b7c2a0e23ae195f4ae97581f"></a><!-- doxytag: member="memp.h::memp_free" ref="ecd94926b7c2a0e23ae195f4ae97581f" args="(memp_t type, void *mem)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void memp_free </td> <td>(</td> <td class="paramtype"><a class="el" href="memp_8h.html#85a164b1f7764951cc685ea525114e57">memp_t</a> </td> <td class="paramname"> <em>type</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">void * </td> <td class="paramname"> <em>mem</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> <p> Referenced by <a class="el" href="api__msg_8c-source.html#l00160">accept_function()</a>, <a class="el" href="api__lib_8c-source.html#l00227">netconn_delete()</a>, and <a class="el" href="tcpip_8c-source.html#l00121">tcpip_apimsg()</a>. </div> </div><p> <a class="anchor" name="269bd926cd0413cf1948cf1992209451"></a><!-- doxytag: member="memp.h::memp_freep" ref="269bd926cd0413cf1948cf1992209451" args="(memp_t type, void *mem)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void memp_freep </td> <td>(</td> <td class="paramtype"><a class="el" href="memp_8h.html#85a164b1f7764951cc685ea525114e57">memp_t</a> </td> <td class="paramname"> <em>type</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">void * </td> <td class="paramname"> <em>mem</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> <p> Referenced by <a class="el" href="api__lib_8c-source.html#l00114">netbuf_chain()</a>, <a class="el" href="api__lib_8c-source.html#l00066">netbuf_delete()</a>, <a class="el" href="api__lib_8c-source.html#l00325">netconn_bind()</a>, <a class="el" href="api__lib_8c-source.html#l00612">netconn_close()</a>, <a class="el" href="api__lib_8c-source.html#l00355">netconn_connect()</a>, <a class="el" href="api__lib_8c-source.html#l00227">netconn_delete()</a>, <a class="el" href="api__lib_8c-source.html#l00389">netconn_listen()</a>, <a class="el" href="api__lib_8c-source.html#l00204">netconn_new()</a>, <a class="el" href="api__lib_8c-source.html#l00430">netconn_recv()</a>, <a class="el" href="api__lib_8c-source.html#l00509">netconn_send()</a>, <a class="el" href="api__lib_8c-source.html#l00537">netconn_write()</a>, and <a class="el" href="tcpip_8c-source.html#l00068">tcpip_thread()</a>. </div> </div><p> <a class="anchor" name="9693e5b1ac2c6b9c0e7870522d45efa2"></a><!-- doxytag: member="memp.h::memp_init" ref="9693e5b1ac2c6b9c0e7870522d45efa2" args="(void)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void memp_init </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> <p> Referenced by <a class="el" href="init_8c-source.html#l00050">net_init()</a>. </div> </div><p> <a class="anchor" name="2b00593d086313c267b54a976bf67aa5"></a><!-- doxytag: member="memp.h::memp_malloc" ref="2b00593d086313c267b54a976bf67aa5" args="(memp_t type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void* memp_malloc </td> <td>(</td> <td class="paramtype"><a class="el" href="memp_8h.html#85a164b1f7764951cc685ea525114e57">memp_t</a> </td> <td class="paramname"> <em>type</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="3e83e8a6e588d56b4620eddf89001d7e"></a><!-- doxytag: member="memp.h::memp_malloc2" ref="3e83e8a6e588d56b4620eddf89001d7e" args="(memp_t type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void* memp_malloc2 </td> <td>(</td> <td class="paramtype"><a class="el" href="memp_8h.html#85a164b1f7764951cc685ea525114e57">memp_t</a> </td> <td class="paramname"> <em>type</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="8fd5bd978dc56399e1649381cc2a1aeb"></a><!-- doxytag: member="memp.h::memp_mallocp" ref="8fd5bd978dc56399e1649381cc2a1aeb" args="(memp_t type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void* memp_mallocp </td> <td>(</td> <td class="paramtype"><a class="el" href="memp_8h.html#85a164b1f7764951cc685ea525114e57">memp_t</a> </td> <td class="paramname"> <em>type</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> <p> Referenced by <a class="el" href="api__msg_8c-source.html#l00160">accept_function()</a>, <a class="el" href="api__lib_8c-source.html#l00051">netbuf_new()</a>, <a class="el" href="api__lib_8c-source.html#l00325">netconn_bind()</a>, <a class="el" href="api__lib_8c-source.html#l00612">netconn_close()</a>, <a class="el" href="api__lib_8c-source.html#l00355">netconn_connect()</a>, <a class="el" href="api__lib_8c-source.html#l00227">netconn_delete()</a>, <a class="el" href="api__lib_8c-source.html#l00389">netconn_listen()</a>, <a class="el" href="api__lib_8c-source.html#l00204">netconn_new()</a>, <a class="el" href="api__lib_8c-source.html#l00430">netconn_recv()</a>, <a class="el" href="api__lib_8c-source.html#l00509">netconn_send()</a>, <a class="el" href="api__lib_8c-source.html#l00537">netconn_write()</a>, <a class="el" href="api__msg_8c-source.html#l00066">recv_udp()</a>, <a class="el" href="tcpip_8c-source.html#l00121">tcpip_apimsg()</a>, and <a class="el" href="tcpip_8c-source.html#l00101">tcpip_input()</a>. </div> </div><p> <a class="anchor" name="3910fbf5cded713d0892c16ae2ce7fc4"></a><!-- doxytag: member="memp.h::memp_realloc" ref="3910fbf5cded713d0892c16ae2ce7fc4" args="(memp_t fromtype, memp_t totype, void *mem)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void* memp_realloc </td> <td>(</td> <td class="paramtype"><a class="el" href="memp_8h.html#85a164b1f7764951cc685ea525114e57">memp_t</a> </td> <td class="paramname"> <em>fromtype</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="memp_8h.html#85a164b1f7764951cc685ea525114e57">memp_t</a> </td> <td class="paramname"> <em>totype</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">void * </td> <td class="paramname"> <em>mem</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr size="1"><address style="align: right;"><small>Generated on Tue Dec 12 08:52:10 2006 for UbixOS V2 by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address> </body> </html>