<!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/icmp.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('d0/d49/icmp_8h.html','../../');}); /* @license-end */ </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#define-members">Macros</a> | <a href="#enum-members">Enumerations</a> </div> <div class="headertitle"> <div class="title">icmp.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="../../d0/d35/pbuf_8h_source.html">net/pbuf.h</a>"</code><br /> <code>#include "<a class="el" href="../../de/df7/ip__addr_8h_source.html">net/ip_addr.h</a>"</code><br /> <code>#include "<a class="el" href="../../d9/d69/netif_8h_source.html">net/netif.h</a>"</code><br /> <code>#include "<a class="el" href="../../d9/da8/prot_2icmp_8h_source.html">net/prot/icmp.h</a>"</code><br /> </div><div class="textblock"><div class="dynheader"> Include dependency graph for icmp.h:</div> <div class="dyncontent"> <div class="center"><img src="../../d6/dd9/icmp_8h__incl.png" border="0" usemap="#include_2net_2icmp_8h" alt=""/></div> <map name="include_2net_2icmp_8h" id="include_2net_2icmp_8h"> <area shape="rect" title=" " alt="" coords="507,5,635,32"/> <area shape="rect" href="../../dc/dba/opt_8h.html" title=" " alt="" coords="603,453,677,480"/> <area shape="rect" href="../../d0/d35/pbuf_8h.html" title=" " alt="" coords="45,155,123,181"/> <area shape="rect" href="../../de/df7/ip__addr_8h.html" title=" " alt="" coords="773,229,870,256"/> <area shape="rect" href="../../d9/d69/netif_8h.html" title=" " alt="" coords="531,80,610,107"/> <area shape="rect" href="../../d9/da8/prot_2icmp_8h.html" title=" " alt="" coords="1039,453,1148,480"/> <area shape="rect" href="../../d2/d78/lwipopts_8h.html" title=" " alt="" coords="710,528,813,555"/> <area shape="rect" href="../../db/d16/debug_8h.html" title=" " alt="" coords="595,528,685,555"/> <area shape="rect" href="../../d2/d2d/arch_8h.html" title=" " alt="" coords="729,603,809,629"/> <area shape="rect" href="../../d0/d27/include_2sys_2types_8h.html" title=" " alt="" coords="703,827,793,853"/> <area shape="rect" href="../../dc/df0/cc_8h.html" title=" " alt="" coords="593,677,692,704"/> <area shape="rect" href="../../da/d28/kprintf_8h.html" title=" " alt="" coords="767,677,852,704"/> <area shape="rect" href="../../d3/d24/kpanic_8h.html" title=" " alt="" coords="877,677,990,704"/> <area shape="rect" href="../../d0/d6f/__types_8h.html" title=" " alt="" coords="699,1051,797,1077"/> <area shape="rect" href="../../d9/dab/select_8h.html" title=" " alt="" coords="701,901,795,928"/> <area shape="rect" href="../../d6/d92/cdefs_8h.html" title=" " alt="" coords="949,976,1038,1003"/> <area shape="rect" href="../../d6/d30/__timespec_8h.html" title=" " alt="" coords="501,976,619,1003"/> <area shape="rect" href="../../df/dc5/__timeval_8h.html" title=" " alt="" coords="695,976,801,1003"/> <area shape="rect" href="../../d6/da4/__sigset_8h.html" title=" " alt="" coords="825,976,925,1003"/> <area shape="rect" href="../../de/df7/time_8h.html" title=" " alt="" coords="591,752,691,779"/> <area shape="rect" href="../../dc/dac/io_8h.html" title=" " alt="" coords="607,827,675,853"/> <area shape="rect" href="../../d1/d2d/stdarg_8h.html" title=" " alt="" coords="767,752,836,779"/> <area shape="rect" href="../../d6/d40/err_8h.html" title=" " alt="" coords="45,379,115,405"/> <area shape="rect" href="../../d4/da4/def_8h.html" title=" " alt="" coords="912,379,984,405"/> <area shape="rect" href="../../d1/da8/ip4__addr_8h.html" title=" " alt="" coords="907,304,1011,331"/> <area shape="rect" href="../../d3/d7d/ip6__addr_8h.html" title=" " alt="" coords="779,304,883,331"/> <area shape="rect" href="../../d9/d9b/stats_8h.html" title=" " alt="" coords="410,155,494,181"/> <area shape="rect" href="../../d9/d9a/mem_8h.html" title=" " alt="" coords="327,379,411,405"/> <area shape="rect" href="../../df/dff/memp_8h.html" title=" " alt="" coords="407,229,497,256"/> <area shape="rect" href="../../d6/d7f/memp__std_8h.html" title=" " alt="" coords="464,304,603,331"/> <area shape="rect" href="../../d5/d70/memp__priv_8h.html" title=" " alt="" coords="299,304,439,331"/> </map> </div> </div> <p><a href="../../d0/d49/icmp_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:a8d52f47a3b8237697544280c22f2925e"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d49/icmp_8h.html#a8d52f47a3b8237697544280c22f2925e">icmp_port_unreach</a>(isipv6, <a class="el" href="../../d9/db8/structpbuf.html">pbuf</a>)</td></tr> <tr class="separator:a8d52f47a3b8237697544280c22f2925e"><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:a17637465f209385e5d19ef47fd9266a5"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d49/icmp_8h.html#a17637465f209385e5d19ef47fd9266a5">icmp_dur_type</a> { <br />   <a class="el" href="../../d0/d49/icmp_8h.html#a17637465f209385e5d19ef47fd9266a5a3cc3714544e123bdef2eadb1a4d320e3">ICMP_DUR_NET</a> = 0, <a class="el" href="../../d0/d49/icmp_8h.html#a17637465f209385e5d19ef47fd9266a5a648ab915a76dfb7b9568e94de00da1e7">ICMP_DUR_HOST</a> = 1, <a class="el" href="../../d0/d49/icmp_8h.html#a17637465f209385e5d19ef47fd9266a5a3c7bbd13b613990413ef167017dfbcef">ICMP_DUR_PROTO</a> = 2, <a class="el" href="../../d0/d49/icmp_8h.html#a17637465f209385e5d19ef47fd9266a5ac973dd9b04e094043ccc4cf875ef5644">ICMP_DUR_PORT</a> = 3, <br />   <a class="el" href="../../d0/d49/icmp_8h.html#a17637465f209385e5d19ef47fd9266a5a8be2bc49d42aa1a6ee1da93a8700ef5f">ICMP_DUR_FRAG</a> = 4, <a class="el" href="../../d0/d49/icmp_8h.html#a17637465f209385e5d19ef47fd9266a5af63296fc25f79e56946a56a8da132c13">ICMP_DUR_SR</a> = 5 <br /> }</td></tr> <tr class="separator:a17637465f209385e5d19ef47fd9266a5"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a058d0a0769bd38db99fc6fd1dad1324a"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d49/icmp_8h.html#a058d0a0769bd38db99fc6fd1dad1324a">icmp_te_type</a> { <a class="el" href="../../d0/d49/icmp_8h.html#a058d0a0769bd38db99fc6fd1dad1324aa827a1f8705826a6cc3c22e2571acf02c">ICMP_TE_TTL</a> = 0, <a class="el" href="../../d0/d49/icmp_8h.html#a058d0a0769bd38db99fc6fd1dad1324aa4d351874c3e2d4a4cf46569df28cd796">ICMP_TE_FRAG</a> = 1 }</td></tr> <tr class="separator:a058d0a0769bd38db99fc6fd1dad1324a"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>ICMP API </p> <p class="definition">Definition in file <a class="el" href="../../d0/d49/icmp_8h_source.html">icmp.h</a>.</p> </div><h2 class="groupheader">Macro Definition Documentation</h2> <a id="a8d52f47a3b8237697544280c22f2925e"></a> <h2 class="memtitle"><span class="permalink"><a href="#a8d52f47a3b8237697544280c22f2925e">◆ </a></span>icmp_port_unreach</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define icmp_port_unreach</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">isipv6, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"> </td> <td class="paramname"><a class="el" href="../../d9/db8/structpbuf.html">pbuf</a> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d0/d49/icmp_8h_source.html#l00103">103</a> of file <a class="el" href="../../d0/d49/icmp_8h_source.html">icmp.h</a>.</p> </div> </div> <h2 class="groupheader">Enumeration Type Documentation</h2> <a id="a17637465f209385e5d19ef47fd9266a5"></a> <h2 class="memtitle"><span class="permalink"><a href="#a17637465f209385e5d19ef47fd9266a5">◆ </a></span>icmp_dur_type</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">enum <a class="el" href="../../d0/d49/icmp_8h.html#a17637465f209385e5d19ef47fd9266a5">icmp_dur_type</a></td> </tr> </table> </div><div class="memdoc"> <p>ICMP destination unreachable codes </p> <table class="fieldtable"> <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a17637465f209385e5d19ef47fd9266a5a3cc3714544e123bdef2eadb1a4d320e3"></a>ICMP_DUR_NET </td><td class="fielddoc"><p>net unreachable </p> </td></tr> <tr><td class="fieldname"><a id="a17637465f209385e5d19ef47fd9266a5a648ab915a76dfb7b9568e94de00da1e7"></a>ICMP_DUR_HOST </td><td class="fielddoc"><p>host unreachable </p> </td></tr> <tr><td class="fieldname"><a id="a17637465f209385e5d19ef47fd9266a5a3c7bbd13b613990413ef167017dfbcef"></a>ICMP_DUR_PROTO </td><td class="fielddoc"><p>protocol unreachable </p> </td></tr> <tr><td class="fieldname"><a id="a17637465f209385e5d19ef47fd9266a5ac973dd9b04e094043ccc4cf875ef5644"></a>ICMP_DUR_PORT </td><td class="fielddoc"><p>port unreachable </p> </td></tr> <tr><td class="fieldname"><a id="a17637465f209385e5d19ef47fd9266a5a8be2bc49d42aa1a6ee1da93a8700ef5f"></a>ICMP_DUR_FRAG </td><td class="fielddoc"><p>fragmentation needed and DF set </p> </td></tr> <tr><td class="fieldname"><a id="a17637465f209385e5d19ef47fd9266a5af63296fc25f79e56946a56a8da132c13"></a>ICMP_DUR_SR </td><td class="fielddoc"><p>source route failed </p> </td></tr> </table> <p class="definition">Definition at line <a class="el" href="../../d0/d49/icmp_8h_source.html#l00055">55</a> of file <a class="el" href="../../d0/d49/icmp_8h_source.html">icmp.h</a>.</p> </div> </div> <a id="a058d0a0769bd38db99fc6fd1dad1324a"></a> <h2 class="memtitle"><span class="permalink"><a href="#a058d0a0769bd38db99fc6fd1dad1324a">◆ </a></span>icmp_te_type</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">enum <a class="el" href="../../d0/d49/icmp_8h.html#a058d0a0769bd38db99fc6fd1dad1324a">icmp_te_type</a></td> </tr> </table> </div><div class="memdoc"> <p>ICMP time exceeded codes </p> <table class="fieldtable"> <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a058d0a0769bd38db99fc6fd1dad1324aa827a1f8705826a6cc3c22e2571acf02c"></a>ICMP_TE_TTL </td><td class="fielddoc"><p>time to live exceeded in transit </p> </td></tr> <tr><td class="fieldname"><a id="a058d0a0769bd38db99fc6fd1dad1324aa4d351874c3e2d4a4cf46569df28cd796"></a>ICMP_TE_FRAG </td><td class="fielddoc"><p>fragment reassembly time exceeded </p> </td></tr> </table> <p class="definition">Definition at line <a class="el" href="../../d0/d49/icmp_8h_source.html#l00071">71</a> of file <a class="el" href="../../d0/d49/icmp_8h_source.html">icmp.h</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="../../d0/d49/icmp_8h.html">icmp.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>