<!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/tcpip.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&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  <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&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&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function(){initNavTree('d9/db5/tcpip_8h.html','../../');}); /* @license-end */ </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#define-members">Macros</a> | <a href="#typedef-members">Typedefs</a> | <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">tcpip.h File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#include "<a class="el" href="../../dc/dba/opt_8h_source.html">net/opt.h</a>"</code><br /> <code>#include "<a class="el" href="../../d6/d40/err_8h_source.html">net/err.h</a>"</code><br /> <code>#include "<a class="el" href="../../d2/df2/timeouts_8h_source.html">net/timeouts.h</a>"</code><br /> <code>#include "<a class="el" href="../../d9/d69/netif_8h_source.html">net/netif.h</a>"</code><br /> </div><div class="textblock"><div class="dynheader"> Include dependency graph for tcpip.h:</div> <div class="dyncontent"> <div class="center"><img src="../../dd/dae/tcpip_8h__incl.png" border="0" usemap="#include_2net_2tcpip_8h" alt=""/></div> <map name="include_2net_2tcpip_8h" id="include_2net_2tcpip_8h"> <area shape="rect" title=" " alt="" coords="961,5,1089,32"/> <area shape="rect" href="../../dc/dba/opt_8h.html" title=" " alt="" coords="746,453,819,480"/> <area shape="rect" href="../../d6/d40/err_8h.html" title=" " alt="" coords="950,304,1020,331"/> <area shape="rect" href="../../d2/df2/timeouts_8h.html" title=" " alt="" coords="1042,155,1147,181"/> <area shape="rect" href="../../d9/d69/netif_8h.html" title=" " alt="" coords="767,80,846,107"/> <area shape="rect" href="../../d2/d78/lwipopts_8h.html" title=" " alt="" coords="642,528,744,555"/> <area shape="rect" href="../../db/d16/debug_8h.html" title=" " alt="" coords="769,528,860,555"/> <area shape="rect" href="../../d2/d2d/arch_8h.html" title=" " alt="" coords="806,603,886,629"/> <area shape="rect" href="../../d0/d27/include_2sys_2types_8h.html" title=" " alt="" coords="1376,827,1466,853"/> <area shape="rect" href="../../dc/df0/cc_8h.html" title=" " alt="" coords="710,677,809,704"/> <area shape="rect" href="../../da/d28/kprintf_8h.html" title=" " alt="" coords="1073,677,1158,704"/> <area shape="rect" href="../../d3/d24/kpanic_8h.html" title=" " alt="" coords="884,677,998,704"/> <area shape="rect" href="../../d0/d6f/__types_8h.html" title=" " alt="" coords="1406,1051,1503,1077"/> <area shape="rect" href="../../d9/dab/select_8h.html" title=" " alt="" coords="1304,901,1397,928"/> <area shape="rect" href="../../d6/d92/cdefs_8h.html" title=" " alt="" coords="1247,976,1336,1003"/> <area shape="rect" href="../../d6/d30/__timespec_8h.html" title=" " alt="" coords="975,976,1094,1003"/> <area shape="rect" href="../../df/dc5/__timeval_8h.html" title=" " alt="" coords="1118,976,1223,1003"/> <area shape="rect" href="../../d6/da4/__sigset_8h.html" title=" " alt="" coords="1360,976,1460,1003"/> <area shape="rect" href="../../de/df7/time_8h.html" title=" " alt="" coords="710,752,810,779"/> <area shape="rect" href="../../dc/dac/io_8h.html" title=" " alt="" coords="798,827,866,853"/> <area shape="rect" href="../../d1/d2d/stdarg_8h.html" title=" " alt="" coords="1038,752,1108,779"/> <area shape="rect" href="../../d9/d87/sys_8h.html" title=" " alt="" coords="1074,229,1150,256"/> <area shape="rect" href="../../df/dc7/sys__arch_8h.html" title=" " alt="" coords="1396,304,1534,331"/> <area shape="rect" href="../../dd/d1b/ubthread_8h.html" title=" " alt="" coords="1402,453,1528,480"/> <area shape="rect" href="../../d2/d28/sem_8h.html" title=" " alt="" coords="1888,379,1988,405"/> <area shape="rect" href="../../d7/d00/sched_8h.html" title=" " alt="" coords="1399,528,1510,555"/> <area shape="rect" href="../../d6/db4/include_2vfs_2file_8h.html" title=" " alt="" coords="1540,603,1608,629"/> <area shape="rect" href="../../db/dd5/thread_8h.html" title=" " alt="" coords="1903,677,1998,704"/> <area shape="rect" href="../../dd/d71/tty_8h.html" title=" " alt="" coords="1093,603,1184,629"/> <area shape="rect" href="../../de/d9a/tss_8h.html" title=" " alt="" coords="1208,603,1284,629"/> <area shape="rect" href="../../d1/de9/dirCache_8h.html" title=" " alt="" coords="1336,677,1458,704"/> <area shape="rect" href="../../d3/d73/inode_8h.html" title=" " alt="" coords="1533,677,1616,704"/> <area shape="rect" href="../../df/d42/ufs_8h.html" title=" " alt="" coords="1386,752,1456,779"/> <area shape="rect" href="../../d2/d29/mount_8h.html" title=" " alt="" coords="1673,677,1761,704"/> <area shape="rect" href="../../d7/d0b/trap_8h.html" title=" " alt="" coords="1868,752,1948,779"/> <area shape="rect" href="../../df/d92/sys_2signal_8h.html" title=" " alt="" coords="2023,752,2115,779"/> <area shape="rect" href="../../d8/d01/resource_8h.html" title=" " alt="" coords="1958,901,2066,928"/> <area shape="rect" href="../../d1/df2/wait_8h.html" title=" " alt="" coords="1644,752,1742,779"/> <area shape="rect" href="../../d1/d7d/pipe__fs_8h.html" title=" " alt="" coords="1532,752,1620,779"/> <area shape="rect" href="../../db/d37/ubixos_2errno_8h.html" title=" " alt="" coords="2241,453,2345,480"/> <area shape="rect" href="../../de/df7/ip__addr_8h.html" title=" " alt="" coords="164,229,262,256"/> <area shape="rect" href="../../d4/da4/def_8h.html" title=" " alt="" coords="54,379,126,405"/> <area shape="rect" href="../../d0/d35/pbuf_8h.html" title=" " alt="" coords="767,229,846,256"/> <area shape="rect" href="../../d9/d9b/stats_8h.html" title=" " alt="" coords="566,155,650,181"/> <area shape="rect" href="../../d1/da8/ip4__addr_8h.html" title=" " alt="" coords="33,304,137,331"/> <area shape="rect" href="../../d3/d7d/ip6__addr_8h.html" title=" " alt="" coords="161,304,265,331"/> <area shape="rect" href="../../d9/d9a/mem_8h.html" title=" " alt="" coords="396,379,480,405"/> <area shape="rect" href="../../df/dff/memp_8h.html" title=" " alt="" coords="562,229,653,256"/> <area shape="rect" href="../../d6/d7f/memp__std_8h.html" title=" " alt="" coords="606,304,745,331"/> <area shape="rect" href="../../d5/d70/memp__priv_8h.html" title=" " alt="" coords="391,304,531,331"/> </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="../../d8/d23/tcpip_8h__dep__incl.png" border="0" usemap="#include_2net_2tcpip_8hdep" alt=""/></div> <map name="include_2net_2tcpip_8hdep" id="include_2net_2tcpip_8hdep"> <area shape="rect" title=" " alt="" coords="271,5,399,32"/> <area shape="rect" href="../../d6/d89/tcpip__priv_8h.html" title=" " alt="" coords="123,80,263,121"/> <area shape="rect" href="../../d6/d49/net_2init_8c.html" title=" " alt="" coords="287,87,382,114"/> <area shape="rect" href="../../da/dc8/ethernetif_8c.html" title=" " alt="" coords="407,87,543,114"/> <area shape="rect" href="../../d2/d55/tcpip_8c.html" title=" " alt="" coords="5,169,109,196"/> <area shape="rect" href="../../d1/d70/memp_8c.html" title=" " alt="" coords="133,169,253,196"/> <area shape="rect" href="../../d2/d2b/timeouts_8c.html" title=" " alt="" coords="278,169,413,196"/> </map> </div> </div> <p><a href="../../d9/db5/tcpip_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="define-members"></a> Macros</h2></td></tr> <tr class="memitem:a4700525e737fc025fea4887b172e0c95"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/db5/tcpip_8h.html#a4700525e737fc025fea4887b172e0c95">LOCK_TCPIP_CORE</a>()</td></tr> <tr class="separator:a4700525e737fc025fea4887b172e0c95"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7eb868a1215472ec38f3f2a04d442b9f"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/db5/tcpip_8h.html#a7eb868a1215472ec38f3f2a04d442b9f">tcpip_callback</a>(f, ctx)   <a class="el" href="../../d2/d55/tcpip_8c.html#ab1d3ef23817d7703fa75ed67bd45ea1d">tcpip_callback_with_block</a>(f, ctx, 1)</td></tr> <tr class="separator:a7eb868a1215472ec38f3f2a04d442b9f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a915effea029b9c4891e1ec635eb1826d"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/db5/tcpip_8h.html#a915effea029b9c4891e1ec635eb1826d">UNLOCK_TCPIP_CORE</a>()</td></tr> <tr class="separator:a915effea029b9c4891e1ec635eb1826d"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a> Typedefs</h2></td></tr> <tr class="memitem:a35203296bb838f3b493839ffc6e7285d"><td class="memItemLeft" align="right" valign="top">typedef void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/db5/tcpip_8h.html#a35203296bb838f3b493839ffc6e7285d">tcpip_callback_fn</a>) (void *ctx)</td></tr> <tr class="separator:a35203296bb838f3b493839ffc6e7285d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5fe07216c441e27c3028bcac60fa0992"><td class="memItemLeft" align="right" valign="top">typedef void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/db5/tcpip_8h.html#a5fe07216c441e27c3028bcac60fa0992">tcpip_init_done_fn</a>) (void *arg)</td></tr> <tr class="separator:a5fe07216c441e27c3028bcac60fa0992"><td class="memSeparator" colspan="2"> </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:a55b4de3765c6a37b3f2b26a11603771c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d2/de7/group__infrastructure__errors.html#gaf02d9da80fd66b4f986d2c53d7231ddb">err_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/db5/tcpip_8h.html#a55b4de3765c6a37b3f2b26a11603771c">mem_free_callback</a> (void *m)</td></tr> <tr class="separator:a55b4de3765c6a37b3f2b26a11603771c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5cdcb6b784fe0e8736a5b31a5cfbed6c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d2/de7/group__infrastructure__errors.html#gaf02d9da80fd66b4f986d2c53d7231ddb">err_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/db5/tcpip_8h.html#a5cdcb6b784fe0e8736a5b31a5cfbed6c">pbuf_free_callback</a> (struct <a class="el" href="../../d9/db8/structpbuf.html">pbuf</a> *p)</td></tr> <tr class="separator:a5cdcb6b784fe0e8736a5b31a5cfbed6c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab1d3ef23817d7703fa75ed67bd45ea1d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d2/de7/group__infrastructure__errors.html#gaf02d9da80fd66b4f986d2c53d7231ddb">err_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/db5/tcpip_8h.html#ab1d3ef23817d7703fa75ed67bd45ea1d">tcpip_callback_with_block</a> (<a class="el" href="../../d9/db5/tcpip_8h.html#a35203296bb838f3b493839ffc6e7285d">tcpip_callback_fn</a> function, void *ctx, <a class="el" href="../../de/d8c/group__compiler__abstraction.html#ga4caecabca98b43919dd11be1c0d4cd8e">u8_t</a> block)</td></tr> <tr class="separator:ab1d3ef23817d7703fa75ed67bd45ea1d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac5b7a59f4c3f5f721ab9ee81f231c9fd"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/db5/tcpip_8h.html#ac5b7a59f4c3f5f721ab9ee81f231c9fd">tcpip_callbackmsg_delete</a> (struct tcpip_callback_msg *msg)</td></tr> <tr class="separator:ac5b7a59f4c3f5f721ab9ee81f231c9fd"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aee14fa2587a9ba9d23e4c7e16c4526ac"><td class="memItemLeft" align="right" valign="top">struct tcpip_callback_msg * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/db5/tcpip_8h.html#aee14fa2587a9ba9d23e4c7e16c4526ac">tcpip_callbackmsg_new</a> (<a class="el" href="../../d9/db5/tcpip_8h.html#a35203296bb838f3b493839ffc6e7285d">tcpip_callback_fn</a> function, void *ctx)</td></tr> <tr class="separator:aee14fa2587a9ba9d23e4c7e16c4526ac"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac104b53faf0e3905ad0e970866835661"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/db5/tcpip_8h.html#ac104b53faf0e3905ad0e970866835661">tcpip_init</a> (<a class="el" href="../../d9/db5/tcpip_8h.html#a5fe07216c441e27c3028bcac60fa0992">tcpip_init_done_fn</a> tcpip_init_done, void *arg)</td></tr> <tr class="separator:ac104b53faf0e3905ad0e970866835661"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a93043b3c66dbe4a15a60299c6199d102"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d2/de7/group__infrastructure__errors.html#gaf02d9da80fd66b4f986d2c53d7231ddb">err_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/db5/tcpip_8h.html#a93043b3c66dbe4a15a60299c6199d102">tcpip_inpkt</a> (struct <a class="el" href="../../d9/db8/structpbuf.html">pbuf</a> *p, struct <a class="el" href="../../d2/dd6/structnetif.html">netif</a> *inp, <a class="el" href="../../d9/d69/netif_8h.html#ab2302b1b64ac7b95f24c6bab754a575e">netif_input_fn</a> input_fn)</td></tr> <tr class="separator:a93043b3c66dbe4a15a60299c6199d102"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae510f195171bed8499ae94e264a92717"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d2/de7/group__infrastructure__errors.html#gaf02d9da80fd66b4f986d2c53d7231ddb">err_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/db5/tcpip_8h.html#ae510f195171bed8499ae94e264a92717">tcpip_input</a> (struct <a class="el" href="../../d9/db8/structpbuf.html">pbuf</a> *p, struct <a class="el" href="../../d2/dd6/structnetif.html">netif</a> *inp)</td></tr> <tr class="separator:ae510f195171bed8499ae94e264a92717"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acfc81ad493f68714a22b3b8ea7d04378"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d2/de7/group__infrastructure__errors.html#gaf02d9da80fd66b4f986d2c53d7231ddb">err_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/db5/tcpip_8h.html#acfc81ad493f68714a22b3b8ea7d04378">tcpip_trycallback</a> (struct tcpip_callback_msg *msg)</td></tr> <tr class="separator:acfc81ad493f68714a22b3b8ea7d04378"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Functions to sync with TCPIP thread </p> <p class="definition">Definition in file <a class="el" href="../../d9/db5/tcpip_8h_source.html">tcpip.h</a>.</p> </div><h2 class="groupheader">Macro Definition Documentation</h2> <a id="a4700525e737fc025fea4887b172e0c95"></a> <h2 class="memtitle"><span class="permalink"><a href="#a4700525e737fc025fea4887b172e0c95">◆ </a></span>LOCK_TCPIP_CORE</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define LOCK_TCPIP_CORE</td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d9/db5/tcpip_8h_source.html#l00060">60</a> of file <a class="el" href="../../d9/db5/tcpip_8h_source.html">tcpip.h</a>.</p> </div> </div> <a id="a7eb868a1215472ec38f3f2a04d442b9f"></a> <h2 class="memtitle"><span class="permalink"><a href="#a7eb868a1215472ec38f3f2a04d442b9f">◆ </a></span>tcpip_callback</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define tcpip_callback</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">f, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname">ctx </td> </tr> <tr> <td></td> <td>)</td> <td></td><td>   <a class="el" href="../../d2/d55/tcpip_8c.html#ab1d3ef23817d7703fa75ed67bd45ea1d">tcpip_callback_with_block</a>(f, ctx, 1)</td> </tr> </table> </div><div class="memdoc"> <dl class="section see"><dt>See also</dt><dd><a class="el" href="../../d9/db5/tcpip_8h.html#ab1d3ef23817d7703fa75ed67bd45ea1d">tcpip_callback_with_block</a> </dd></dl> <p class="definition">Definition at line <a class="el" href="../../d9/db5/tcpip_8h_source.html#l00085">85</a> of file <a class="el" href="../../d9/db5/tcpip_8h_source.html">tcpip.h</a>.</p> </div> </div> <a id="a915effea029b9c4891e1ec635eb1826d"></a> <h2 class="memtitle"><span class="permalink"><a href="#a915effea029b9c4891e1ec635eb1826d">◆ </a></span>UNLOCK_TCPIP_CORE</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define UNLOCK_TCPIP_CORE</td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d9/db5/tcpip_8h_source.html#l00061">61</a> of file <a class="el" href="../../d9/db5/tcpip_8h_source.html">tcpip.h</a>.</p> </div> </div> <h2 class="groupheader">Typedef Documentation</h2> <a id="a35203296bb838f3b493839ffc6e7285d"></a> <h2 class="memtitle"><span class="permalink"><a href="#a35203296bb838f3b493839ffc6e7285d">◆ </a></span>tcpip_callback_fn</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef void(* tcpip_callback_fn) (void *ctx)</td> </tr> </table> </div><div class="memdoc"> <p>Function prototype for functions passed to <a class="el" href="../../d9/db5/tcpip_8h.html#a7eb868a1215472ec38f3f2a04d442b9f">tcpip_callback()</a> </p> <p class="definition">Definition at line <a class="el" href="../../d9/db5/tcpip_8h_source.html#l00070">70</a> of file <a class="el" href="../../d9/db5/tcpip_8h_source.html">tcpip.h</a>.</p> </div> </div> <a id="a5fe07216c441e27c3028bcac60fa0992"></a> <h2 class="memtitle"><span class="permalink"><a href="#a5fe07216c441e27c3028bcac60fa0992">◆ </a></span>tcpip_init_done_fn</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef void(* tcpip_init_done_fn) (void *arg)</td> </tr> </table> </div><div class="memdoc"> <p>Function prototype for the init_done function passed to tcpip_init </p> <p class="definition">Definition at line <a class="el" href="../../d9/db5/tcpip_8h_source.html#l00068">68</a> of file <a class="el" href="../../d9/db5/tcpip_8h_source.html">tcpip.h</a>.</p> </div> </div> <h2 class="groupheader">Function Documentation</h2> <a id="a55b4de3765c6a37b3f2b26a11603771c"></a> <h2 class="memtitle"><span class="permalink"><a href="#a55b4de3765c6a37b3f2b26a11603771c">◆ </a></span>mem_free_callback()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="../../d2/de7/group__infrastructure__errors.html#gaf02d9da80fd66b4f986d2c53d7231ddb">err_t</a> mem_free_callback </td> <td>(</td> <td class="paramtype">void * </td> <td class="paramname"><em>m</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>A simple wrapper function that allows you to free heap memory from interrupt context.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">m</td><td>the heap memory to free </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>ERR_OK if callback could be enqueued, an err_t if not </dd></dl> <p class="definition">Definition at line <a class="el" href="../../d2/d55/tcpip_8c_source.html#l00491">491</a> of file <a class="el" href="../../d2/d55/tcpip_8c_source.html">tcpip.c</a>.</p> <p class="reference">References <a class="el" href="../../d3/d8f/mem_8c_source.html#l00419">mem_free()</a>, and <a class="el" href="../../d2/d55/tcpip_8c_source.html#l00229">tcpip_callback_with_block()</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="../../d9/db5/tcpip_8h_a55b4de3765c6a37b3f2b26a11603771c_cgraph.png" border="0" usemap="#d9/db5/tcpip_8h_a55b4de3765c6a37b3f2b26a11603771c_cgraph" alt=""/></div> <map name="d9/db5/tcpip_8h_a55b4de3765c6a37b3f2b26a11603771c_cgraph" id="d9/db5/tcpip_8h_a55b4de3765c6a37b3f2b26a11603771c_cgraph"> <area shape="rect" title=" " alt="" coords="5,35,140,61"/> <area shape="rect" href="../../d9/d9a/mem_8h.html#a2fd7aa1adf6e394d3be7c7734e7df41a" title=" " alt="" coords="216,5,295,32"/> <area shape="rect" href="../../d2/d55/tcpip_8c.html#ab1d3ef23817d7703fa75ed67bd45ea1d" title=" " alt="" coords="188,57,323,98"/> </map> </div> </div> </div> <a id="a5cdcb6b784fe0e8736a5b31a5cfbed6c"></a> <h2 class="memtitle"><span class="permalink"><a href="#a5cdcb6b784fe0e8736a5b31a5cfbed6c">◆ </a></span>pbuf_free_callback()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="../../d2/de7/group__infrastructure__errors.html#gaf02d9da80fd66b4f986d2c53d7231ddb">err_t</a> pbuf_free_callback </td> <td>(</td> <td class="paramtype">struct <a class="el" href="../../d9/db8/structpbuf.html">pbuf</a> * </td> <td class="paramname"><em>p</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>A simple wrapper function that allows you to free a pbuf from interrupt context.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">p</td><td>The pbuf (chain) to be dereferenced. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>ERR_OK if callback could be enqueued, an err_t if not </dd></dl> <p class="definition">Definition at line <a class="el" href="../../d2/d55/tcpip_8c_source.html#l00480">480</a> of file <a class="el" href="../../d2/d55/tcpip_8c_source.html">tcpip.c</a>.</p> <p class="reference">References <a class="el" href="../../d2/d55/tcpip_8c_source.html#l00229">tcpip_callback_with_block()</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="../../d9/db5/tcpip_8h_a5cdcb6b784fe0e8736a5b31a5cfbed6c_cgraph.png" border="0" usemap="#d9/db5/tcpip_8h_a5cdcb6b784fe0e8736a5b31a5cfbed6c_cgraph" alt=""/></div> <map name="d9/db5/tcpip_8h_a5cdcb6b784fe0e8736a5b31a5cfbed6c_cgraph" id="d9/db5/tcpip_8h_a5cdcb6b784fe0e8736a5b31a5cfbed6c_cgraph"> <area shape="rect" title=" " alt="" coords="5,13,135,39"/> <area shape="rect" href="../../d2/d55/tcpip_8c.html#ab1d3ef23817d7703fa75ed67bd45ea1d" title=" " alt="" coords="183,5,317,47"/> </map> </div> </div> </div> <a id="ab1d3ef23817d7703fa75ed67bd45ea1d"></a> <h2 class="memtitle"><span class="permalink"><a href="#ab1d3ef23817d7703fa75ed67bd45ea1d">◆ </a></span>tcpip_callback_with_block()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="../../d2/de7/group__infrastructure__errors.html#gaf02d9da80fd66b4f986d2c53d7231ddb">err_t</a> tcpip_callback_with_block </td> <td>(</td> <td class="paramtype"><a class="el" href="../../d9/db5/tcpip_8h.html#a35203296bb838f3b493839ffc6e7285d">tcpip_callback_fn</a> </td> <td class="paramname"><em>function</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">void * </td> <td class="paramname"><em>ctx</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="../../de/d8c/group__compiler__abstraction.html#ga4caecabca98b43919dd11be1c0d4cd8e">u8_t</a> </td> <td class="paramname"><em>block</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Call a specific function in the thread context of tcpip_thread for easy access synchronization. A function called in that way may access lwIP core code without fearing concurrent access.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">function</td><td>the function to call </td></tr> <tr><td class="paramname">ctx</td><td>parameter passed to f </td></tr> <tr><td class="paramname">block</td><td>1 to block until the request is posted, 0 to non-blocking mode </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>ERR_OK if the function was called, another err_t if not </dd></dl> <p class="definition">Definition at line <a class="el" href="../../d2/d55/tcpip_8c_source.html#l00229">229</a> of file <a class="el" href="../../d2/d55/tcpip_8c_source.html">tcpip.c</a>.</p> <p class="reference">References <a class="el" href="../../db/d16/debug_8h_source.html#l00116">LWIP_ASSERT</a>, <a class="el" href="../../d6/d89/tcpip__priv_8h_source.html#l00128">tcpip_msg::msg</a>, and <a class="el" href="../../d9/d87/sys_8h_source.html#l00271">sys_mbox_valid_val</a>.</p> <p class="reference">Referenced by <a class="el" href="../../d2/d55/tcpip_8c_source.html#l00491">mem_free_callback()</a>, and <a class="el" href="../../d2/d55/tcpip_8c_source.html#l00480">pbuf_free_callback()</a>.</p> </div> </div> <a id="ac5b7a59f4c3f5f721ab9ee81f231c9fd"></a> <h2 class="memtitle"><span class="permalink"><a href="#ac5b7a59f4c3f5f721ab9ee81f231c9fd">◆ </a></span>tcpip_callbackmsg_delete()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void tcpip_callbackmsg_delete </td> <td>(</td> <td class="paramtype">struct tcpip_callback_msg * </td> <td class="paramname"><em>msg</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Free a callback message allocated by <a class="el" href="../../d2/d55/tcpip_8c.html#aee14fa2587a9ba9d23e4c7e16c4526ac">tcpip_callbackmsg_new()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">msg</td><td>the message to free </td></tr> </table> </dd> </dl> <p class="definition">Definition at line <a class="el" href="../../d2/d55/tcpip_8c_source.html#l00421">421</a> of file <a class="el" href="../../d2/d55/tcpip_8c_source.html">tcpip.c</a>.</p> <p class="reference">References <a class="el" href="../../d1/d70/memp_8c_source.html#l00469">memp_free()</a>, and <a class="el" href="../../d6/d89/tcpip__priv_8h_source.html#l00128">tcpip_msg::msg</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="../../d9/db5/tcpip_8h_ac5b7a59f4c3f5f721ab9ee81f231c9fd_cgraph.png" border="0" usemap="#d9/db5/tcpip_8h_ac5b7a59f4c3f5f721ab9ee81f231c9fd_cgraph" alt=""/></div> <map name="d9/db5/tcpip_8h_ac5b7a59f4c3f5f721ab9ee81f231c9fd_cgraph" id="d9/db5/tcpip_8h_ac5b7a59f4c3f5f721ab9ee81f231c9fd_cgraph"> <area shape="rect" title=" " alt="" coords="5,5,177,32"/> <area shape="rect" href="../../df/dff/memp_8h.html#aecd94926b7c2a0e23ae195f4ae97581f" title=" " alt="" coords="225,5,312,32"/> </map> </div> </div> </div> <a id="aee14fa2587a9ba9d23e4c7e16c4526ac"></a> <h2 class="memtitle"><span class="permalink"><a href="#aee14fa2587a9ba9d23e4c7e16c4526ac">◆ </a></span>tcpip_callbackmsg_new()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">struct tcpip_callback_msg* tcpip_callbackmsg_new </td> <td>(</td> <td class="paramtype"><a class="el" href="../../d9/db5/tcpip_8h.html#a35203296bb838f3b493839ffc6e7285d">tcpip_callback_fn</a> </td> <td class="paramname"><em>function</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">void * </td> <td class="paramname"><em>ctx</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Allocate a structure for a static callback message and initialize it. This is intended to be used to send "static" messages from interrupt context.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">function</td><td>the function to call </td></tr> <tr><td class="paramname">ctx</td><td>parameter passed to function </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>a struct pointer to pass to <a class="el" href="../../d2/d55/tcpip_8c.html#acfc81ad493f68714a22b3b8ea7d04378">tcpip_trycallback()</a>. </dd></dl> <p class="definition">Definition at line <a class="el" href="../../d2/d55/tcpip_8c_source.html#l00405">405</a> of file <a class="el" href="../../d2/d55/tcpip_8c_source.html">tcpip.c</a>.</p> <p class="reference">References <a class="el" href="../../d6/d89/tcpip__priv_8h_source.html#l00142">tcpip_msg::ctx</a>, <a class="el" href="../../d1/d70/memp_8c_source.html#l00385">memp_malloc()</a>, <a class="el" href="../../d6/d89/tcpip__priv_8h_source.html#l00128">tcpip_msg::msg</a>, <a class="el" href="../../d6/d8a/fat__string_8h_source.html#l00017">NULL</a>, and <a class="el" href="../../d6/d89/tcpip__priv_8h_source.html#l00120">TCPIP_MSG_CALLBACK_STATIC</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="../../d9/db5/tcpip_8h_aee14fa2587a9ba9d23e4c7e16c4526ac_cgraph.png" border="0" usemap="#d9/db5/tcpip_8h_aee14fa2587a9ba9d23e4c7e16c4526ac_cgraph" alt=""/></div> <map name="d9/db5/tcpip_8h_aee14fa2587a9ba9d23e4c7e16c4526ac_cgraph" id="d9/db5/tcpip_8h_aee14fa2587a9ba9d23e4c7e16c4526ac_cgraph"> <area shape="rect" title=" " alt="" coords="5,5,165,32"/> <area shape="rect" href="../../df/dff/memp_8h.html#a2b00593d086313c267b54a976bf67aa5" title=" " alt="" coords="213,5,316,32"/> </map> </div> </div> </div> <a id="ac104b53faf0e3905ad0e970866835661"></a> <h2 class="memtitle"><span class="permalink"><a href="#ac104b53faf0e3905ad0e970866835661">◆ </a></span>tcpip_init()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void tcpip_init </td> <td>(</td> <td class="paramtype"><a class="el" href="../../d9/db5/tcpip_8h.html#a5fe07216c441e27c3028bcac60fa0992">tcpip_init_done_fn</a> </td> <td class="paramname"><em>initfunc</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">void * </td> <td class="paramname"><em>arg</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Initialize this module:</p><ul> <li>initialize all sub modules</li> <li>start the tcpip_thread</li> </ul> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">initfunc</td><td>a function to call when tcpip_thread is running and finished initializing </td></tr> <tr><td class="paramname">arg</td><td>argument to pass to initfunc </td></tr> </table> </dd> </dl> <p class="definition">Definition at line <a class="el" href="../../d2/d55/tcpip_8c_source.html#l00446">446</a> of file <a class="el" href="../../d2/d55/tcpip_8c_source.html">tcpip.c</a>.</p> <p class="reference">References <a class="el" href="../../db/d87/core_2init_8c_source.html#l00333">lwip_init()</a>.</p> <p class="reference">Referenced by <a class="el" href="../../d6/d49/net_2init_8c_source.html#l00052">net_init()</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="../../d9/db5/tcpip_8h_ac104b53faf0e3905ad0e970866835661_cgraph.png" border="0" usemap="#d9/db5/tcpip_8h_ac104b53faf0e3905ad0e970866835661_cgraph" alt=""/></div> <map name="d9/db5/tcpip_8h_ac104b53faf0e3905ad0e970866835661_cgraph" id="d9/db5/tcpip_8h_ac104b53faf0e3905ad0e970866835661_cgraph"> <area shape="rect" title=" " alt="" coords="5,107,80,133"/> <area shape="rect" href="../../df/d40/net_2init_8h.html#a0c1a18439524d2f4a5e51d25c0ca2ce9" title=" " alt="" coords="128,107,196,133"/> <area shape="rect" href="../../d9/d9a/mem_8h.html#a44a136e3b70c36abb6f8dc060c778113" title=" " alt="" coords="248,31,323,57"/> <area shape="rect" href="../../df/dff/memp_8h.html#a9693e5b1ac2c6b9c0e7870522d45efa2" title=" " alt="" coords="244,81,327,108"/> <area shape="rect" href="../../d9/d69/netif_8h.html#a0f4a53e47c840904f824a2a1c0d4ebf4" title=" " alt="" coords="250,132,321,159"/> <area shape="rect" href="../../d9/d87/sys_8h.html#af411a8bc6b7ed4b0af9114e10c959448" title=" " alt="" coords="252,208,319,235"/> <area shape="rect" href="../../d1/d70/memp_8c.html#a6416303426d05526bed33f241fa6ecd7" title=" " alt="" coords="377,5,491,32"/> <area shape="rect" href="../../d7/d3a/group__netif.html#ga66970b5877dd6b0cae906bfa78d0cb4c" title=" " alt="" coords="397,56,471,83"/> <area shape="rect" href="../../d7/d3a/group__netif.html#gae0d2975f189277990e9d5276fdd9e9ea" title=" " alt="" coords="375,107,493,133"/> <area shape="rect" href="../../d7/d3a/group__netif.html#gaf19693be401a265a52d2a56c65753121" title=" " alt="" coords="388,157,480,184"/> <area shape="rect" href="../../d9/db5/tcpip_8h.html#ae510f195171bed8499ae94e264a92717" title=" " alt="" coords="391,208,477,235"/> <area shape="rect" href="../../da/d66/string_8h.html#ace4b911463887af5e748326323e99a23" title=" " alt="" coords="549,56,619,83"/> <area shape="rect" href="../../d2/d55/tcpip_8c.html#a93043b3c66dbe4a15a60299c6199d102" title=" " alt="" coords="541,208,627,235"/> <area shape="rect" href="../../de/df7/time_8h.html#adf30830f5265e55035171c301eb9c3fb" title=" " alt="" coords="386,259,482,285"/> </map> </div> </div> </div> <a id="a93043b3c66dbe4a15a60299c6199d102"></a> <h2 class="memtitle"><span class="permalink"><a href="#a93043b3c66dbe4a15a60299c6199d102">◆ </a></span>tcpip_inpkt()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="../../d2/de7/group__infrastructure__errors.html#gaf02d9da80fd66b4f986d2c53d7231ddb">err_t</a> tcpip_inpkt </td> <td>(</td> <td class="paramtype">struct <a class="el" href="../../d9/db8/structpbuf.html">pbuf</a> * </td> <td class="paramname"><em>p</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">struct <a class="el" href="../../d2/dd6/structnetif.html">netif</a> * </td> <td class="paramname"><em>inp</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="../../d9/d69/netif_8h.html#ab2302b1b64ac7b95f24c6bab754a575e">netif_input_fn</a> </td> <td class="paramname"><em>input_fn</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Pass a received packet to tcpip_thread for input processing</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">p</td><td>the received packet </td></tr> <tr><td class="paramname">inp</td><td>the network interface on which the packet was received </td></tr> <tr><td class="paramname">input_fn</td><td>input function to call </td></tr> </table> </dd> </dl> <p class="definition">Definition at line <a class="el" href="../../d2/d55/tcpip_8c_source.html#l00161">161</a> of file <a class="el" href="../../d2/d55/tcpip_8c_source.html">tcpip.c</a>.</p> <p class="reference">References <a class="el" href="../../d4/de8/structtcpip__msg.html#a7d9bc654de358efed5d9737a77bd7c71">tcpip_msg::inp</a>, <a class="el" href="../../d6/d89/tcpip__priv_8h_source.html#l00138">tcpip_msg::input_fn</a>, <a class="el" href="../../d9/db5/tcpip_8h_source.html#l00060">LOCK_TCPIP_CORE</a>, <a class="el" href="../../db/d16/debug_8h_source.html#l00116">LWIP_ASSERT</a>, <a class="el" href="../../db/d16/debug_8h_source.html#l00164">LWIP_DEBUGF</a>, <a class="el" href="../../d6/d89/tcpip__priv_8h_source.html#l00128">tcpip_msg::msg</a>, <a class="el" href="../../d6/d89/tcpip__priv_8h_source.html#l00136">tcpip_msg::p</a>, <a class="el" href="../../d9/d87/sys_8h_source.html#l00271">sys_mbox_valid_val</a>, <a class="el" href="../../d2/d78/lwipopts_8h_source.html#l00482">TCPIP_DEBUG</a>, and <a class="el" href="../../d9/db5/tcpip_8h_source.html#l00061">UNLOCK_TCPIP_CORE</a>.</p> <p class="reference">Referenced by <a class="el" href="../../d2/d55/tcpip_8c_source.html#l00204">tcpip_input()</a>.</p> </div> </div> <a id="ae510f195171bed8499ae94e264a92717"></a> <h2 class="memtitle"><span class="permalink"><a href="#ae510f195171bed8499ae94e264a92717">◆ </a></span>tcpip_input()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="../../d2/de7/group__infrastructure__errors.html#gaf02d9da80fd66b4f986d2c53d7231ddb">err_t</a> tcpip_input </td> <td>(</td> <td class="paramtype">struct <a class="el" href="../../d9/db8/structpbuf.html">pbuf</a> * </td> <td class="paramname"><em>p</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">struct <a class="el" href="../../d2/dd6/structnetif.html">netif</a> * </td> <td class="paramname"><em>inp</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Pass a received packet to tcpip_thread for input processing with ethernet_input or ip_input. Don't call directly, pass to <a class="el" href="../../d7/d3a/group__netif.html#ga66970b5877dd6b0cae906bfa78d0cb4c">netif_add()</a> and call netif->input().</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">p</td><td>the received packet, p->payload pointing to the Ethernet header or to an IP header (if inp doesn't have NETIF_FLAG_ETHARP or NETIF_FLAG_ETHERNET flags) </td></tr> <tr><td class="paramname">inp</td><td>the network interface on which the packet was received </td></tr> </table> </dd> </dl> <p class="definition">Definition at line <a class="el" href="../../d2/d55/tcpip_8c_source.html#l00204">204</a> of file <a class="el" href="../../d2/d55/tcpip_8c_source.html">tcpip.c</a>.</p> <p class="reference">References <a class="el" href="../../d4/de8/structtcpip__msg.html#a7d9bc654de358efed5d9737a77bd7c71">tcpip_msg::inp</a>, <a class="el" href="../../d9/d69/netif_8h_source.html#l00099">NETIF_FLAG_ETHARP</a>, <a class="el" href="../../d9/d69/netif_8h_source.html#l00103">NETIF_FLAG_ETHERNET</a>, <a class="el" href="../../d6/d89/tcpip__priv_8h_source.html#l00136">tcpip_msg::p</a>, and <a class="el" href="../../d2/d55/tcpip_8c_source.html#l00161">tcpip_inpkt()</a>.</p> <p class="reference">Referenced by <a class="el" href="../../d6/d49/net_2init_8c_source.html#l00052">net_init()</a>, and <a class="el" href="../../df/d02/netif_8c_source.html#l00163">netif_init()</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="../../d9/db5/tcpip_8h_ae510f195171bed8499ae94e264a92717_cgraph.png" border="0" usemap="#d9/db5/tcpip_8h_ae510f195171bed8499ae94e264a92717_cgraph" alt=""/></div> <map name="d9/db5/tcpip_8h_ae510f195171bed8499ae94e264a92717_cgraph" id="d9/db5/tcpip_8h_ae510f195171bed8499ae94e264a92717_cgraph"> <area shape="rect" title=" " alt="" coords="5,5,91,32"/> <area shape="rect" href="../../d2/d55/tcpip_8c.html#a93043b3c66dbe4a15a60299c6199d102" title=" " alt="" coords="139,5,224,32"/> </map> </div> </div> </div> <a id="acfc81ad493f68714a22b3b8ea7d04378"></a> <h2 class="memtitle"><span class="permalink"><a href="#acfc81ad493f68714a22b3b8ea7d04378">◆ </a></span>tcpip_trycallback()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="../../d2/de7/group__infrastructure__errors.html#gaf02d9da80fd66b4f986d2c53d7231ddb">err_t</a> tcpip_trycallback </td> <td>(</td> <td class="paramtype">struct tcpip_callback_msg * </td> <td class="paramname"><em>msg</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Try to post a callback-message to the tcpip_thread mbox This is intended to be used to send "static" messages from interrupt context.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">msg</td><td>pointer to the message to post </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd><a class="el" href="../../d8/dc0/group__sys__mbox.html#gacc06f47f34de04084e1d49788ce871b6">sys_mbox_trypost()</a> return code </dd></dl> <p class="definition">Definition at line <a class="el" href="../../d2/d55/tcpip_8c_source.html#l00432">432</a> of file <a class="el" href="../../d2/d55/tcpip_8c_source.html">tcpip.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="../../d9/d87/sys_8h_source.html#l00271">sys_mbox_valid_val</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="../../d9/db5/tcpip_8h.html">tcpip.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>