Newer
Older
ubixos / doc / html / dc / d7e / udpecho_8c.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>UbixOS: net/net/udpecho.c File Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">UbixOS
   &#160;<span id="projectnumber">2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.16 -->
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('../../',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('dc/d7e/udpecho_8c.html','../../');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">udpecho.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="../../d0/d27/include_2sys_2types_8h_source.html">sys/types.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="../../da/d28/kprintf_8h_source.html">lib/kprintf.h</a>&gt;</code><br />
<code>#include &quot;<a class="el" href="../../dc/d65/api_8h_source.html">net/api.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../d9/d87/sys_8h_source.html">net/sys.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for udpecho.c:</div>
<div class="dyncontent">
<div class="center"><img src="../../dd/d33/udpecho_8c__incl.png" border="0" usemap="#net_2net_2udpecho_8c" alt=""/></div>
<map name="net_2net_2udpecho_8c" id="net_2net_2udpecho_8c">
<area shape="rect" title=" " alt="" coords="434,5,561,32"/>
<area shape="rect" href="../../d0/d27/include_2sys_2types_8h.html" title=" " alt="" coords="1005,752,1096,779"/>
<area shape="rect" href="../../da/d28/kprintf_8h.html" title=" " alt="" coords="416,453,501,480"/>
<area shape="rect" href="../../dc/d65/api_8h.html" title=" " alt="" coords="224,80,296,107"/>
<area shape="rect" href="../../d9/d87/sys_8h.html" title=" " alt="" coords="333,80,409,107"/>
<area shape="rect" href="../../d0/d6f/__types_8h.html" title=" " alt="" coords="914,976,1011,1003"/>
<area shape="rect" href="../../d9/dab/select_8h.html" title=" " alt="" coords="856,827,949,853"/>
<area shape="rect" href="../../d6/d92/cdefs_8h.html" title=" " alt="" coords="899,901,989,928"/>
<area shape="rect" href="../../d6/d30/__timespec_8h.html" title=" " alt="" coords="581,901,699,928"/>
<area shape="rect" href="../../df/dc5/__timeval_8h.html" title=" " alt="" coords="1013,901,1118,928"/>
<area shape="rect" href="../../d6/da4/__sigset_8h.html" title=" " alt="" coords="723,901,823,928"/>
<area shape="rect" href="../../d1/d2d/stdarg_8h.html" title=" " alt="" coords="356,528,425,555"/>
<area shape="rect" href="../../dc/dba/opt_8h.html" title=" " alt="" coords="154,229,227,256"/>
<area shape="rect" href="../../d2/d78/lwipopts_8h.html" title=" " alt="" coords="157,304,259,331"/>
<area shape="rect" href="../../db/d16/debug_8h.html" title=" " alt="" coords="41,304,132,331"/>
<area shape="rect" href="../../d2/d2d/arch_8h.html" title=" " alt="" coords="69,379,149,405"/>
<area shape="rect" href="../../dc/df0/cc_8h.html" title=" " alt="" coords="232,453,331,480"/>
<area shape="rect" href="../../d3/d24/kpanic_8h.html" title=" " alt="" coords="43,453,157,480"/>
<area shape="rect" href="../../de/df7/time_8h.html" title=" " alt="" coords="231,528,331,555"/>
<area shape="rect" href="../../dc/dac/io_8h.html" title=" " alt="" coords="357,603,425,629"/>
<area shape="rect" href="../../df/dc7/sys__arch_8h.html" title=" " alt="" coords="366,155,503,181"/>
<area shape="rect" href="../../d6/d40/err_8h.html" title=" " alt="" coords="271,155,342,181"/>
<area shape="rect" href="../../dd/d1b/ubthread_8h.html" title=" " alt="" coords="335,304,460,331"/>
<area shape="rect" href="../../d2/d28/sem_8h.html" title=" " alt="" coords="473,229,573,256"/>
<area shape="rect" href="../../d7/d00/sched_8h.html" title=" " alt="" coords="1218,379,1329,405"/>
<area shape="rect" href="../../d6/db4/include_2vfs_2file_8h.html" title=" " alt="" coords="1017,453,1085,480"/>
<area shape="rect" href="../../db/dd5/thread_8h.html" title=" " alt="" coords="1277,528,1371,555"/>
<area shape="rect" href="../../dd/d71/tty_8h.html" title=" " alt="" coords="1161,528,1252,555"/>
<area shape="rect" href="../../de/d9a/tss_8h.html" title=" " alt="" coords="1375,453,1451,480"/>
<area shape="rect" href="../../d1/de9/dirCache_8h.html" title=" " alt="" coords="763,677,885,704"/>
<area shape="rect" href="../../d3/d73/inode_8h.html" title=" " alt="" coords="787,528,869,555"/>
<area shape="rect" href="../../df/d42/ufs_8h.html" title=" " alt="" coords="1015,603,1086,629"/>
<area shape="rect" href="../../d2/d29/mount_8h.html" title=" " alt="" coords="500,677,588,704"/>
<area shape="rect" href="../../d7/d0b/trap_8h.html" title=" " alt="" coords="1349,603,1429,629"/>
<area shape="rect" href="../../df/d92/sys_2signal_8h.html" title=" " alt="" coords="1182,677,1274,704"/>
<area shape="rect" href="../../d8/d01/resource_8h.html" title=" " alt="" coords="1339,752,1447,779"/>
<area shape="rect" href="../../d6/d35/i386_2cpu_8h.html" title=" " alt="" coords="1349,677,1432,704"/>
<area shape="rect" href="../../d1/df2/wait_8h.html" title=" " alt="" coords="601,603,700,629"/>
<area shape="rect" href="../../d1/d7d/pipe__fs_8h.html" title=" " alt="" coords="724,603,812,629"/>
<area shape="rect" href="../../d8/dff/msdos__fs_8h.html" title=" " alt="" coords="837,603,939,629"/>
<area shape="rect" href="../../d4/d7e/include_2sys_2device_8h.html" title=" " alt="" coords="961,677,1055,704"/>
<area shape="rect" href="../../db/d37/ubixos_2errno_8h.html" title=" " alt="" coords="484,304,588,331"/>
</map>
</div>
</div>
<p><a href="../../dc/d7e/udpecho_8c_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="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ab288cc2f0b684d8cffe7f074724127e2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d7e/udpecho_8c.html#ab288cc2f0b684d8cffe7f074724127e2">udpecho_init</a> (void)</td></tr>
<tr class="separator:ab288cc2f0b684d8cffe7f074724127e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd77ce4346d8d940f934ad6007214bf0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d7e/udpecho_8c.html#acd77ce4346d8d940f934ad6007214bf0">udpecho_thread</a> (void *arg)</td></tr>
<tr class="separator:acd77ce4346d8d940f934ad6007214bf0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="ab288cc2f0b684d8cffe7f074724127e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab288cc2f0b684d8cffe7f074724127e2">&#9670;&nbsp;</a></span>udpecho_init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void udpecho_init </td>
          <td>(</td>
          <td class="paramtype">void&#160;</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="../../dc/d7e/udpecho_8c_source.html#l00064">64</a> of file <a class="el" href="../../dc/d7e/udpecho_8c_source.html">udpecho.c</a>.</p>

<p class="reference">References <a class="el" href="../../d6/d8a/fat__string_8h_source.html#l00017">NULL</a>, <a class="el" href="../../d9/d56/sys__arch_8c_source.html#l00378">sys_thread_new()</a>, and <a class="el" href="../../dc/d7e/udpecho_8c_source.html#l00043">udpecho_thread()</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="../../dc/d7e/udpecho_8c_ab288cc2f0b684d8cffe7f074724127e2_cgraph.png" border="0" usemap="#dc/d7e/udpecho_8c_ab288cc2f0b684d8cffe7f074724127e2_cgraph" alt=""/></div>
<map name="dc/d7e/udpecho_8c_ab288cc2f0b684d8cffe7f074724127e2_cgraph" id="dc/d7e/udpecho_8c_ab288cc2f0b684d8cffe7f074724127e2_cgraph">
<area shape="rect" title=" " alt="" coords="5,81,100,108"/>
<area shape="rect" href="../../d1/d84/group__sys__misc.html#ga0d596afdd8dbcfad320172d39b0f607a" title=" " alt="" coords="148,56,264,83"/>
<area shape="rect" href="../../dc/d7e/udpecho_8c.html#acd77ce4346d8d940f934ad6007214bf0" title=" " alt="" coords="149,107,263,133"/>
<area shape="rect" href="../../d4/d03/kmalloc_8h.html#a150eab2ac4ce4553e21ca10e7f441762" title=" " alt="" coords="313,5,380,32"/>
<area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a71f03d2ba55111c715b6068254847a53" title=" " alt="" coords="429,31,504,57"/>
<area shape="rect" href="../../da/d66/string_8h.html#ace4b911463887af5e748326323e99a23" title=" " alt="" coords="312,107,381,133"/>
<area shape="rect" href="../../d3/d02/armv6_2sched_8c.html#a08933fe6d593a1c78b9080359f15a0b7" title=" " alt="" coords="553,5,643,32"/>
<area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a740766af5da58616f700fffab6768a78" title=" " alt="" coords="552,56,644,83"/>
</map>
</div>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void udpecho_thread </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>arg</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../dc/d7e/udpecho_8c_source.html#l00043">43</a> of file <a class="el" href="../../dc/d7e/udpecho_8c_source.html">udpecho.c</a>.</p>

<p class="reference">References <a class="el" href="../../d6/d4f/shell_8c_source.html#l00047">buffer</a>, and <a class="el" href="../../d6/d8a/fat__string_8h_source.html#l00017">NULL</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../dc/d7e/udpecho_8c_source.html#l00064">udpecho_init()</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_427baa8a9a5be237f298d4545d0d1ce2.html">net</a></li><li class="navelem"><a class="el" href="../../dir_f9f2b8691753bb6dc6dd70535846841d.html">net</a></li><li class="navelem"><a class="el" href="../../dc/d7e/udpecho_8c.html">udpecho.c</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>