⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tftps_8h.html

📁 Freescale mcu OpenTCP-1.0.4.doc.html.zip 文档
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>tftps.h File Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.2.18 --><center><a class="qindex" href="main.html">Main Page</a> &nbsp; <a class="qindex" href="modules.html">Modules</a> &nbsp; <a class="qindex" href="annotated.html">Data Structures</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Data Fields</a> &nbsp; <a class="qindex" href="globals.html">Globals</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; <a class="qindex" href="examples.html">Examples</a> &nbsp; </center><hr><h1>/opentcp/include/inet/tftp/tftps.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> <dl compact><dt><b>Author: </b></dt><dd> <ul><li> Jari Lahti (<a href="mailto:jari.lahti@violasystems.com">jari.lahti@violasystems.com</a>) </ul></dl><dl compact><dt><b>Version: </b></dt><dd>1.0 </dl><dl compact><dt><b>Date: </b></dt><dd>7.10.2002</dl>OpenTCP TFTP server protocol function declarations, constants, etc.<p><p>Definition in file <a class="el" href="tftps_8h-source.html">tftps.h</a>.<p><a href="tftps_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 nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="tftps_8h.html#a0">TFTPS_SERVERPORT</a>&nbsp;&nbsp;&nbsp;69</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Default server port for TFTP server.</em> <a href="#a0"></a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="tftps_8h.html#a1">TFTPS_FILENAME_MAXLEN</a>&nbsp;&nbsp;&nbsp;20</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Maximum filename allowed by the TFTP server.</em> <a href="#a1"></a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="tftps_8h.html#a2">TFTPS_DEF_RETRIES</a>&nbsp;&nbsp;&nbsp;4</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Default number of retries of TFTP server.</em> <a href="#a2"></a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top><a name="a3" doxytag="tftps.h::TFTPS_TIMEOUT"></a>#define&nbsp;</td><td valign=bottom><a class="el" href="tftps_8h.html#a3">TFTPS_TIMEOUT</a>&nbsp;&nbsp;&nbsp;20</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Timeout (in seconds) after which socket is deleted.</em></font><br><br></td></tr><tr><td colspan=2><br><h2>Functions</h2></td></tr><tr><td nowrap align=right valign=top>INT8&nbsp;</td><td valign=bottom><a class="el" href="tftps_8h.html#a4">tftps_init</a> (void)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Initializes TFTP server.</em> <a href="#a4"></a><em></em></font><br><br></td></tr></table><hr><h2>Define Documentation</h2><a name="a0" doxytag="tftps.h::TFTPS_SERVERPORT"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> #define TFTPS_SERVERPORT&nbsp;&nbsp;&nbsp;69      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>TFTP server will use this UDP port to listen for incoming traffic. <p>Definition at line <a class="el" href="tftps_8h-source.html#l00076">76</a> of file <a class="el" href="tftps_8h-source.html">tftps.h</a>.<p>Referenced by <a class="el" href="tftps_8c-source.html#l00136">tftps_init()</a>.    </td>  </tr></table><a name="a1" doxytag="tftps.h::TFTPS_FILENAME_MAXLEN"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> #define TFTPS_FILENAME_MAXLEN&nbsp;&nbsp;&nbsp;20      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Maximum filename-length TFTP server is ready to process. <p>Definition at line <a class="el" href="tftps_8h-source.html#l00083">83</a> of file <a class="el" href="tftps_8h-source.html">tftps.h</a>.    </td>  </tr></table><a name="a2" doxytag="tftps.h::TFTPS_DEF_RETRIES"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> #define TFTPS_DEF_RETRIES&nbsp;&nbsp;&nbsp;4      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Number of retries of resending the data before aborting. <p>Definition at line <a class="el" href="tftps_8h-source.html#l00090">90</a> of file <a class="el" href="tftps_8h-source.html">tftps.h</a>.    </td>  </tr></table><hr><h2>Function Documentation</h2><a name="a4" doxytag="tftps.h::tftps_init"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> INT8 tftps_init </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">void&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p><dl compact><dt><b>Author: </b></dt><dd> <ul><li> Jari Lahti (<a href="mailto:jari.lahti@violasystems.com">jari.lahti@violasystems.com</a>) </ul></dl><dl compact><dt><b>Date: </b></dt><dd>19.07.2002 </dl><dl compact><dt><b>Returns: </b></dt><dd> <ul><li> -1 - Error <li> &gt;=0 - OK, server intialized</ul></dl>This function should be called before the TFTP Server application is used to set the operating parameters of it <p>Definition at line <a class="el" href="tftps_8c-source.html#l00136">136</a> of file <a class="el" href="tftps_8c-source.html">tftps.c</a>.<p>References <a class="el" href="timers_8c-source.html#l00131">get_timer()</a>, <a class="el" href="tftps_8c.html#a18">tftps</a>, <a class="el" href="tftps_8h-source.html#l00076">TFTPS_SERVERPORT</a>, <a class="el" href="tftps_8c-source.html#l00078">tftpsapp_init</a>, <a class="el" href="udp_8c-source.html#l00175">udp_getsocket()</a>, <a class="el" href="udp_8c-source.html#l00291">udp_open()</a>, <a class="el" href="tcp__ip_8h-source.html#l00140">UDP_OPT_CHECK_CS</a>, and <a class="el" href="tcp__ip_8h-source.html#l00132">UDP_OPT_SEND_CS</a>.    </td>  </tr></table><hr><address style="align: right;"><small>Generated on Sun Aug 3 20:33:00 2003 for OpenTCP by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.18 </small></address></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -