<!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/err.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('d6/d40/err_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="#enum-members">Enumerations</a> | <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">err.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="../../d2/d2d/arch_8h_source.html">net/arch.h</a>></code><br /> </div><div class="textblock"><div class="dynheader"> Include dependency graph for err.h:</div> <div class="dyncontent"> <div class="center"><img src="../../d3/db1/err_8h__incl.png" border="0" usemap="#include_2net_2err_8h" alt=""/></div> <map name="include_2net_2err_8h" id="include_2net_2err_8h"> <area shape="rect" title=" " alt="" coords="387,5,502,32"/> <area shape="rect" href="../../dc/dba/opt_8h.html" title=" " alt="" coords="303,80,376,107"/> <area shape="rect" href="../../d2/d2d/arch_8h.html" title=" " alt="" coords="353,229,433,256"/> <area shape="rect" href="../../d2/d78/lwipopts_8h.html" title=" " alt="" coords="357,155,460,181"/> <area shape="rect" href="../../db/d16/debug_8h.html" title=" " alt="" coords="242,155,333,181"/> <area shape="rect" href="../../d0/d27/include_2sys_2types_8h.html" title=" " alt="" coords="282,453,373,480"/> <area shape="rect" href="../../dc/df0/cc_8h.html" title=" " alt="" coords="170,304,269,331"/> <area shape="rect" href="../../da/d28/kprintf_8h.html" title=" " alt="" coords="310,304,395,331"/> <area shape="rect" href="../../d3/d24/kpanic_8h.html" title=" " alt="" coords="471,304,584,331"/> <area shape="rect" href="../../d0/d6f/__types_8h.html" title=" " alt="" coords="279,677,376,704"/> <area shape="rect" href="../../d9/dab/select_8h.html" title=" " alt="" coords="281,528,374,555"/> <area shape="rect" href="../../d6/d92/cdefs_8h.html" title=" " alt="" coords="453,603,543,629"/> <area shape="rect" href="../../d6/d30/__timespec_8h.html" title=" " alt="" coords="5,603,124,629"/> <area shape="rect" href="../../df/dc5/__timeval_8h.html" title=" " alt="" coords="148,603,253,629"/> <area shape="rect" href="../../d6/da4/__sigset_8h.html" title=" " alt="" coords="277,603,377,629"/> <area shape="rect" href="../../de/df7/time_8h.html" title=" " alt="" coords="151,379,251,405"/> <area shape="rect" href="../../dc/dac/io_8h.html" title=" " alt="" coords="167,453,235,480"/> <area shape="rect" href="../../d1/d2d/stdarg_8h.html" title=" " alt="" coords="326,379,395,405"/> </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="../../dd/df5/err_8h__dep__incl.png" border="0" usemap="#include_2net_2err_8hdep" alt=""/></div> <map name="include_2net_2err_8hdep" id="include_2net_2err_8hdep"> <area shape="rect" title=" " alt="" coords="2022,5,2137,32"/> <area shape="rect" href="../../da/d2f/ip_8h.html" title=" " alt="" coords="724,229,835,256"/> <area shape="rect" href="../../da/dc6/ip4__frag_8h.html" title=" " alt="" coords="1801,311,1947,338"/> <area shape="rect" href="../../d9/d69/netif_8h.html" title=" " alt="" coords="1489,155,1613,181"/> <area shape="rect" href="../../d9/db5/tcpip_8h.html" title=" " alt="" coords="2206,229,2334,256"/> <area shape="rect" href="../../d0/d35/pbuf_8h.html" title=" " alt="" coords="1023,80,1147,107"/> <area shape="rect" href="../../d9/d87/sys_8h.html" title=" " alt="" coords="2233,80,2355,107"/> <area shape="rect" href="../../d2/df2/timeouts_8h.html" title=" " alt="" coords="2004,155,2155,181"/> <area shape="rect" href="../../da/d80/err_8c.html" title=" " alt="" coords="2870,155,2961,181"/> <area shape="rect" href="../../d3/d8f/mem_8c.html" title=" " alt="" coords="2985,155,3099,181"/> <area shape="rect" href="../../d2/d55/tcpip_8c.html" title=" " alt="" coords="289,393,393,420"/> <area shape="rect" href="../../db/d87/core_2init_8c.html" title=" " alt="" coords="1646,311,1747,338"/> <area shape="rect" href="../../d9/deb/ip6__frag_8c.html" title=" " alt="" coords="597,311,751,338"/> <area shape="rect" href="../../df/d02/netif_8c.html" title=" " alt="" coords="1173,311,1281,338"/> <area shape="rect" href="../../d1/d70/memp_8c.html" title=" " alt="" coords="2090,393,2210,420"/> <area shape="rect" href="../../d2/d2b/timeouts_8c.html" title=" " alt="" coords="1807,393,1941,420"/> <area shape="rect" href="../../d0/d49/icmp_8h.html" title=" " alt="" coords="859,229,987,256"/> <area shape="rect" href="../../db/da0/icmp6_8h.html" title=" " alt="" coords="565,229,700,256"/> <area shape="rect" href="../../d9/d9c/igmp_8h.html" title=" " alt="" coords="1283,229,1411,256"/> <area shape="rect" href="../../d9/d74/ip6__frag_8h.html" title=" " alt="" coords="1012,229,1157,256"/> <area shape="rect" href="../../d7/d97/net_8h.html" title=" " alt="" coords="2871,229,2989,256"/> <area shape="rect" href="../../d2/db6/lnc_8c.html" title=" " alt="" coords="2568,311,2639,338"/> <area shape="rect" href="../../d9/d81/f_2ethernet_8h.html" title=" " alt="" coords="388,229,541,256"/> <area shape="rect" href="../../dd/ded/slipif_8h.html" title=" " alt="" coords="1487,229,1619,256"/> <area shape="rect" href="../../dd/d07/ne2k_8c.html" title=" " alt="" coords="1643,229,1726,256"/> <area shape="rect" href="../../d4/d75/ubixos_2init_8h.html" title=" " alt="" coords="3263,468,3400,495"/> <area shape="rect" href="../../db/da9/include_2vfs_2vfs_8h.html" title=" " alt="" coords="2874,311,2986,338"/> <area shape="rect" href="../../d0/d29/main_8c.html" title=" " alt="" coords="3290,543,3373,569"/> <area shape="rect" href="../../d4/d27/devfs_8c.html" title=" " alt="" coords="3030,393,3139,420"/> <area shape="rect" href="../../d3/d2e/fat_8c.html" title=" " alt="" coords="3215,393,3293,420"/> <area shape="rect" href="../../d3/de7/thread_8c.html" title=" " alt="" coords="2992,468,3113,495"/> <area shape="rect" href="../../d2/d34/ubixfs_8c.html" title=" " alt="" coords="2580,468,2699,495"/> <area shape="rect" href="../../de/df2/ffs_8c.html" title=" " alt="" coords="3431,468,3512,495"/> <area shape="rect" href="../../d3/d41/ufs_8c.html" title=" " alt="" coords="2285,393,2370,420"/> <area shape="rect" href="../../d6/d13/file_8c.html" title=" " alt="" coords="2394,393,2477,420"/> <area shape="rect" href="../../d8/d2b/inode_8c.html" title=" " alt="" coords="2501,393,2599,420"/> <area shape="rect" href="../../d6/de3/namei_8c.html" title=" " alt="" coords="2623,393,2725,420"/> <area shape="rect" href="../../dd/df2/vfs_8c.html" title=" " alt="" coords="2749,393,2831,420"/> <area shape="rect" href="../../d6/d6d/buf_8h.html" title=" " alt="" coords="3419,393,3539,420"/> <area shape="rect" href="../../d9/d32/include_2ubixfs_2ubixfs_8h.html" title=" " alt="" coords="2855,393,3005,420"/> <area shape="rect" href="../../d6/d89/tcpip__priv_8h.html" title=" " alt="" coords="2301,304,2441,345"/> <area shape="rect" href="../../d6/d49/net_2init_8c.html" title=" " alt="" coords="2183,311,2277,338"/> <area shape="rect" href="../../da/dc8/ethernetif_8c.html" title=" " alt="" coords="1971,311,2107,338"/> <area shape="rect" href="../../df/d7e/f_2etharp_8h.html" title=" " alt="" coords="429,311,572,338"/> <area shape="rect" href="../../d2/d45/inet__chksum_8h.html" title=" " alt="" coords="40,155,215,181"/> <area shape="rect" href="../../d8/df0/pbuf_8c.html" title=" " alt="" coords="1769,155,1877,181"/> <area shape="rect" href="../../da/d81/inet__chksum_8c.html" title=" " alt="" coords="48,229,207,256"/> <area shape="rect" href="../../d8/d91/sys_8c.html" title=" " alt="" coords="2332,155,2437,181"/> <area shape="rect" href="../../d9/d56/sys__arch_8c.html" title=" " alt="" coords="2462,155,2593,181"/> <area shape="rect" href="../../dc/d7e/udpecho_8c.html" title=" " alt="" coords="2617,155,2744,181"/> </map> </div> </div> <p><a href="../../d6/d40/err_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:gac36f9cda08ffce1f67529a432a046248"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/de7/group__infrastructure__errors.html#gac36f9cda08ffce1f67529a432a046248">ERR_IS_FATAL</a>(e)   ((e) <= <a class="el" href="../../d2/de7/group__infrastructure__errors.html#ggae2e66c7d13afc90ffecd6151680fbadcaf316b2c5eee4079820f7100849115142">ERR_ABRT</a>)</td></tr> <tr class="separator:gac36f9cda08ffce1f67529a432a046248"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab58c2561ad3b133e625183721b25ba27"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d40/err_8h.html#ab58c2561ad3b133e625183721b25ba27">lwip_strerr</a>(x)   ""</td></tr> <tr class="separator:ab58c2561ad3b133e625183721b25ba27"><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:gaf02d9da80fd66b4f986d2c53d7231ddb"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="../../de/d8c/group__compiler__abstraction.html#ga9cd1d7891fe315de1201e2c6e45f4f57">s8_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/de7/group__infrastructure__errors.html#gaf02d9da80fd66b4f986d2c53d7231ddb">err_t</a></td></tr> <tr class="separator:gaf02d9da80fd66b4f986d2c53d7231ddb"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a> Enumerations</h2></td></tr> <tr class="memitem:gae2e66c7d13afc90ffecd6151680fbadc"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/de7/group__infrastructure__errors.html#gae2e66c7d13afc90ffecd6151680fbadc">err_enum_t</a> { <br />   <a class="el" href="../../d2/de7/group__infrastructure__errors.html#ggae2e66c7d13afc90ffecd6151680fbadcaa26c163b80b1f6786ca81dadc14b00fb">ERR_OK</a> = 0, <a class="el" href="../../d2/de7/group__infrastructure__errors.html#ggae2e66c7d13afc90ffecd6151680fbadcaaaeafdbf3aecc46864daa3cd829c7e05">ERR_MEM</a> = -1, <a class="el" href="../../d2/de7/group__infrastructure__errors.html#ggae2e66c7d13afc90ffecd6151680fbadca05c91366f1b5203a5db9a241b415cd63">ERR_BUF</a> = -2, <a class="el" href="../../d2/de7/group__infrastructure__errors.html#ggae2e66c7d13afc90ffecd6151680fbadcac568baeb6407ef5e2630084ccbc34be8">ERR_TIMEOUT</a> = -3, <br />   <a class="el" href="../../d2/de7/group__infrastructure__errors.html#ggae2e66c7d13afc90ffecd6151680fbadca9448893187313c0c5a502ca9a9ad1c2a">ERR_RTE</a> = -4, <a class="el" href="../../d2/de7/group__infrastructure__errors.html#ggae2e66c7d13afc90ffecd6151680fbadca13e1dd0edca8a27b6abdf1524bde7929">ERR_INPROGRESS</a> = -5, <a class="el" href="../../d2/de7/group__infrastructure__errors.html#ggae2e66c7d13afc90ffecd6151680fbadcaa9a1c5a6fdeed0aad7fe41d538482bbd">ERR_VAL</a> = -6, <a class="el" href="../../d2/de7/group__infrastructure__errors.html#ggae2e66c7d13afc90ffecd6151680fbadcab9dcf89d46668b072192278fb907b7ad">ERR_WOULDBLOCK</a> = -7, <br />   <a class="el" href="../../d2/de7/group__infrastructure__errors.html#ggae2e66c7d13afc90ffecd6151680fbadca4ebdc2aa1dbd75f927845733a3fb1f8b">ERR_USE</a> = -8, <a class="el" href="../../d2/de7/group__infrastructure__errors.html#ggae2e66c7d13afc90ffecd6151680fbadcae6f9c1e4c18ca844f7934307d4cc30e5">ERR_ALREADY</a> = -9, <a class="el" href="../../d2/de7/group__infrastructure__errors.html#ggae2e66c7d13afc90ffecd6151680fbadca8543e1d6422fed7b318d97e08dcbaa33">ERR_ISCONN</a> = -10, <a class="el" href="../../d2/de7/group__infrastructure__errors.html#ggae2e66c7d13afc90ffecd6151680fbadcab0036c51817b5200bfe8157cc4115b27">ERR_CONN</a> = -11, <br />   <a class="el" href="../../d2/de7/group__infrastructure__errors.html#ggae2e66c7d13afc90ffecd6151680fbadca7d61d90449ae6788575e8e46d5d3bbc6">ERR_IF</a> = -12, <a class="el" href="../../d2/de7/group__infrastructure__errors.html#ggae2e66c7d13afc90ffecd6151680fbadcaf316b2c5eee4079820f7100849115142">ERR_ABRT</a> = -13, <a class="el" href="../../d2/de7/group__infrastructure__errors.html#ggae2e66c7d13afc90ffecd6151680fbadca759030525f1768a23dc086a5fd45b4e5">ERR_RST</a> = -14, <a class="el" href="../../d2/de7/group__infrastructure__errors.html#ggae2e66c7d13afc90ffecd6151680fbadcaa5176d9fecf8ec43d3bc49f4e6c3f7f5">ERR_CLSD</a> = -15, <br />   <a class="el" href="../../d2/de7/group__infrastructure__errors.html#ggae2e66c7d13afc90ffecd6151680fbadcab508ce0ebdf3ca735208b00a80a45c91">ERR_ARG</a> = -16 <br /> }</td></tr> <tr class="separator:gae2e66c7d13afc90ffecd6151680fbadc"><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:af6382b3192357c2fb582c84c48bdda40"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d40/err_8h.html#af6382b3192357c2fb582c84c48bdda40">err_to_errno</a> (<a class="el" href="../../d2/de7/group__infrastructure__errors.html#gaf02d9da80fd66b4f986d2c53d7231ddb">err_t</a> err)</td></tr> <tr class="separator:af6382b3192357c2fb582c84c48bdda40"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>lwIP Error codes </p> <p class="definition">Definition in file <a class="el" href="../../d6/d40/err_8h_source.html">err.h</a>.</p> </div><h2 class="groupheader">Macro Definition Documentation</h2> <a id="ab58c2561ad3b133e625183721b25ba27"></a> <h2 class="memtitle"><span class="permalink"><a href="#ab58c2561ad3b133e625183721b25ba27">◆ </a></span>lwip_strerr</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define lwip_strerr</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">x</td><td>)</td> <td>   ""</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d6/d40/err_8h_source.html#l00108">108</a> of file <a class="el" href="../../d6/d40/err_8h_source.html">err.h</a>.</p> </div> </div> <h2 class="groupheader">Function Documentation</h2> <a id="af6382b3192357c2fb582c84c48bdda40"></a> <h2 class="memtitle"><span class="permalink"><a href="#af6382b3192357c2fb582c84c48bdda40">◆ </a></span>err_to_errno()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int err_to_errno </td> <td>(</td> <td class="paramtype"><a class="el" href="../../d2/de7/group__infrastructure__errors.html#gaf02d9da80fd66b4f986d2c53d7231ddb">err_t</a> </td> <td class="paramname"><em>err</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../da/d80/err_8c_source.html#l00071">71</a> of file <a class="el" href="../../da/d80/err_8c_source.html">err.c</a>.</p> <p class="reference">References <a class="el" href="../../d4/da4/def_8h_source.html#l00058">LWIP_ARRAYSIZE</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="../../d6/d40/err_8h.html">err.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>